summaryrefslogtreecommitdiffstats
path: root/cc/test/fake_layer_tree_host_client.h
diff options
context:
space:
mode:
authortrchen@chromium.org <trchen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-22 07:51:45 +0000
committertrchen@chromium.org <trchen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-22 07:51:45 +0000
commite3067e30ade69021a0964dd52be3a59b7137ecfa (patch)
treea6b213850e360c080b206f5159209bf2de412b35 /cc/test/fake_layer_tree_host_client.h
parent054723d440afb61122138aa61d9a466006b9077c (diff)
downloadchromium_src-e3067e30ade69021a0964dd52be3a59b7137ecfa.zip
chromium_src-e3067e30ade69021a0964dd52be3a59b7137ecfa.tar.gz
chromium_src-e3067e30ade69021a0964dd52be3a59b7137ecfa.tar.bz2
RenderWidget and RenderWidgetCompositor cleanup
This patch can be considered as two logical changes that are orthogonal. Both of the changes don't affect code behavior. [2/2] Add LayerTreeHostSingleThreadClient::ScheduleAnimation widget_->scheduleAnimation() should be routed through SingleThreadProxy:: SetNeedsAnimate(). This way we can reduce many CC API inconsistencies between single thread and threaded mode. [1/2] Remove ScheduleCompositeImpl The force_redraw parameter of ScheduleCompositeImpl only makes a difference in threaded-compositing mode. The only user of ScheduleCompositeImpl(true) always calls SetNeedsAnimate, so it doesn't harm to call it one more time. --> ScheduleCompositeImpl is fully equivalent to scheduleComposite This patch merges ScheduleCompositeImpl into scheduleComposite. R=jamesr,piman Review URL: https://codereview.chromium.org/80173002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236718 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/fake_layer_tree_host_client.h')
-rw-r--r--cc/test/fake_layer_tree_host_client.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/test/fake_layer_tree_host_client.h b/cc/test/fake_layer_tree_host_client.h
index 5d9c6ae..eac8d5e 100644
--- a/cc/test/fake_layer_tree_host_client.h
+++ b/cc/test/fake_layer_tree_host_client.h
@@ -44,6 +44,7 @@ class FakeLayerTreeHostClient : public LayerTreeHostClient,
// LayerTreeHostSingleThreadClient implementation.
virtual void ScheduleComposite() OVERRIDE {}
+ virtual void ScheduleAnimation() OVERRIDE {}
virtual void DidPostSwapBuffers() OVERRIDE {}
virtual void DidAbortSwapBuffers() OVERRIDE {}