| 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..6ddc4b660110498096ead6b93e30119363c4ff11 100644
|
| --- a/cc/test/layer_tree_test.h
|
| +++ b/cc/test/layer_tree_test.h
|
| @@ -88,13 +88,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 +141,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 +167,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();
|
|
|