// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_COMPOSITOR_TEST_DRAW_WAITER_FOR_TEST_H_ #define UI_COMPOSITOR_TEST_DRAW_WAITER_FOR_TEST_H_ #include <memory> #include "base/run_loop.h" #include "ui/compositor/compositor_observer.h" namespace ui { class Compositor; // This is only to be used for test. It allows execution of other tasks on // the current message loop before the current task finishs (there is a // potential for re-entrancy). class DrawWaiterForTest : public CompositorObserver { … }; } // namespace ui #endif // UI_COMPOSITOR_TEST_DRAW_WAITER_FOR_TEST_H_