Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(631)

Unified Diff: cc/test/layer_tree_test.h

Issue 73343002: De-activate LayerAnimationControllers when all animations are WaitingForDeletion (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix TickAnimationWhileBackgrounded flake Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/test/layer_tree_test.h
diff --git a/cc/test/layer_tree_test.h b/cc/test/layer_tree_test.h
index aa5583745eab327e18b5fddc6dd20479bf673029..7ed3fc1c4dbab0d94422902b46c5b0fde7bda7fd 100644
--- a/cc/test/layer_tree_test.h
+++ b/cc/test/layer_tree_test.h
@@ -111,6 +111,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 PostSetNeedsCommitToMainThread();
void PostReadbackToMainThread();
void PostAcquireLayerTextures();
@@ -131,8 +132,8 @@ class LayerTreeTest : public testing::Test, public TestHooks {
void RealEndTest();
- virtual void DispatchAddInstantAnimation(Layer* layer_to_receive_animation);
- virtual void DispatchAddAnimation(Layer* layer_to_receive_animation);
+ virtual void DispatchAddAnimation(Layer* layer_to_receive_animation,
+ double animation_duration);
void DispatchSetNeedsCommit();
void DispatchReadback();
void DispatchAcquireLayerTextures();

Powered by Google App Engine
This is Rietveld 408576698