From c23219664465d1fa295132ab4eede472b38ef6e9 Mon Sep 17 00:00:00 2001 From: "skyostil@chromium.org" Date: Mon, 28 Apr 2014 19:16:42 +0000 Subject: cc: Split animating and drawing into separate actions Split impl-side animating and drawing into separate actions. This is needed to allow for the possibility of a commit between animating and drawing so that the main thread gets a chance to consume the new animation state. In particular this allows the main thread to synchronize with a fling animation using an onscroll handler. BUG=347366 Review URL: https://codereview.chromium.org/206793003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266624 0039d316-1c4b-4281-b951-d872f2087c98 --- cc/test/fake_layer_tree_host_impl_client.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cc/test/fake_layer_tree_host_impl_client.h') diff --git a/cc/test/fake_layer_tree_host_impl_client.h b/cc/test/fake_layer_tree_host_impl_client.h index 57350bf..3944bf7 100644 --- a/cc/test/fake_layer_tree_host_impl_client.h +++ b/cc/test/fake_layer_tree_host_impl_client.h @@ -27,6 +27,7 @@ class FakeLayerTreeHostImplClient : public LayerTreeHostImplClient { virtual void SetNeedsRedrawOnImplThread() OVERRIDE {} virtual void SetNeedsRedrawRectOnImplThread( const gfx::Rect& damage_rect) OVERRIDE {} + virtual void SetNeedsAnimateOnImplThread() OVERRIDE {} virtual void DidInitializeVisibleTileOnImplThread() OVERRIDE {} virtual void SetNeedsCommitOnImplThread() OVERRIDE {} virtual void SetNeedsManageTilesOnImplThread() OVERRIDE {} -- cgit v1.1