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

Unified Diff: cc/test/layer_tree_test.h

Issue 13613003: cc: Make animations tick regardless of drawing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months 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 9a495dc3feadd0758964e29f1f7dc024ae578b05..0c56267cf1f1463dd64ebd20e64799ea849ef59b 100644
--- a/cc/test/layer_tree_test.h
+++ b/cc/test/layer_tree_test.h
@@ -105,7 +105,7 @@ class LayerTreeTest : public testing::Test, public TestHooks {
void EndTestAfterDelay(int delay_milliseconds);
void PostAddAnimationToMainThread(Layer* layer_to_receive_animation);
- void PostAddInstantAnimationToMainThread();
+ void PostAddInstantAnimationToMainThread(Layer* layer_to_receive_animation);
void PostSetNeedsCommitToMainThread();
void PostAcquireLayerTextures();
void PostSetNeedsRedrawToMainThread();
@@ -123,8 +123,8 @@ class LayerTreeTest : public testing::Test, public TestHooks {
void RealEndTest();
- void DispatchAddInstantAnimation();
- void DispatchAddAnimation(Layer* layer_to_receive_animation);
+ virtual void DispatchAddInstantAnimation(Layer* layer_to_receive_animation);
+ virtual void DispatchAddAnimation(Layer* layer_to_receive_animation);
void DispatchSetNeedsCommit();
void DispatchAcquireLayerTextures();
void DispatchSetNeedsRedraw();

Powered by Google App Engine
This is Rietveld 408576698