| Index: cc/test/layer_tree_test.h
|
| diff --git a/cc/test/layer_tree_test.h b/cc/test/layer_tree_test.h
|
| index ba40e350d2dee3df9f0c221227a9485dc3e5d87e..4abedd701d47b4ad4453e423e87eff77c0ad7199 100644
|
| --- a/cc/test/layer_tree_test.h
|
| +++ b/cc/test/layer_tree_test.h
|
| @@ -12,10 +12,6 @@
|
| #include "cc/trees/layer_tree_host_impl.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| -namespace Webkit {
|
| -class WebGraphicsContext3D;
|
| -}
|
| -
|
| namespace cc {
|
| class FakeExternalBeginFrameSource;
|
| class FakeLayerTreeHostClient;
|
| @@ -88,13 +84,13 @@ class TestHooks : public AnimationDelegate {
|
| virtual void DidCommit() {}
|
| virtual void DidCommitAndDrawFrame() {}
|
| virtual void DidCompleteSwapBuffers() {}
|
| - virtual void DidDeferCommit() {}
|
| virtual void DidSetVisibleOnImplTree(LayerTreeHostImpl* host_impl,
|
| bool visible) {}
|
| virtual void ScheduleComposite() {}
|
| virtual void SendBeginFramesToChildren(const BeginFrameArgs& args) {}
|
|
|
| // Hooks for SchedulerClient.
|
| + virtual void WillBeginImplFrame(const BeginFrameArgs& args) {}
|
| virtual void ScheduledActionWillSendBeginMainFrame() {}
|
| virtual void ScheduledActionSendBeginMainFrame() {}
|
| virtual void ScheduledActionDrawAndSwapIfPossible() {}
|
| @@ -141,6 +137,7 @@ class LayerTreeTest : public testing::Test, public TestHooks {
|
| void PostAddAnimationToMainThread(Layer* layer_to_receive_animation);
|
| void PostAddInstantAnimationToMainThread(Layer* layer_to_receive_animation);
|
| void PostAddLongAnimationToMainThread(Layer* layer_to_receive_animation);
|
| + void PostSetDeferCommitsToMainThread(bool defer_commits);
|
| void PostSetNeedsCommitToMainThread();
|
| void PostSetNeedsUpdateLayersToMainThread();
|
| void PostSetNeedsRedrawToMainThread();
|
| @@ -166,6 +163,7 @@ class LayerTreeTest : public testing::Test, public TestHooks {
|
|
|
| virtual void DispatchAddAnimation(Layer* layer_to_receive_animation,
|
| double animation_duration);
|
| + void DispatchSetDeferCommits(bool defer_commits);
|
| void DispatchSetNeedsCommit();
|
| void DispatchSetNeedsUpdateLayers();
|
| void DispatchSetNeedsRedraw();
|
|
|