diff options
author | skyostil@chromium.org <skyostil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-28 19:16:42 +0000 |
---|---|---|
committer | skyostil@chromium.org <skyostil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-28 19:16:42 +0000 |
commit | c23219664465d1fa295132ab4eede472b38ef6e9 (patch) | |
tree | 5b269f4ed61c1393773cfc8ff67aa8e5b6077773 /cc/test/fake_layer_tree_host_impl_client.h | |
parent | fda9e0f2b7efdf5bcff04df08570852e88ff60d4 (diff) | |
download | chromium_src-c23219664465d1fa295132ab4eede472b38ef6e9.zip chromium_src-c23219664465d1fa295132ab4eede472b38ef6e9.tar.gz chromium_src-c23219664465d1fa295132ab4eede472b38ef6e9.tar.bz2 |
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
Diffstat (limited to 'cc/test/fake_layer_tree_host_impl_client.h')
-rw-r--r-- | cc/test/fake_layer_tree_host_impl_client.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 {} |