Index: cc/test/layer_tree_test.h |
diff --git a/cc/test/layer_tree_test.h b/cc/test/layer_tree_test.h |
index ffba9e88c2d8026a8bee7e2f5999da6e8dffc91f..b17090c9682bc7bbbbce0cf53e7a23fbd6ca4545 100644 |
--- a/cc/test/layer_tree_test.h |
+++ b/cc/test/layer_tree_test.h |
@@ -13,6 +13,7 @@ |
#include "testing/gtest/include/gtest/gtest.h" |
namespace cc { |
+class AnimationPlayer; |
class FakeExternalBeginFrameSource; |
class FakeLayerTreeHostClient; |
class FakeOutputSurface; |
@@ -138,6 +139,12 @@ 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 PostAddAnimationToMainThreadPlayer( |
+ AnimationPlayer* player_to_receive_animation); |
+ void PostAddInstantAnimationToMainThreadPlayer( |
+ AnimationPlayer* player_to_receive_animation); |
+ void PostAddLongAnimationToMainThreadPlayer( |
+ AnimationPlayer* player_to_receive_animation); |
void PostSetDeferCommitsToMainThread(bool defer_commits); |
void PostSetNeedsCommitToMainThread(); |
void PostSetNeedsUpdateLayersToMainThread(); |
@@ -164,6 +171,9 @@ class LayerTreeTest : public testing::Test, public TestHooks { |
virtual void DispatchAddAnimation(Layer* layer_to_receive_animation, |
double animation_duration); |
+ virtual void DispatchAddAnimationToPlayer( |
+ AnimationPlayer* player_to_receive_animation, |
+ double animation_duration); |
void DispatchSetDeferCommits(bool defer_commits); |
void DispatchSetNeedsCommit(); |
void DispatchSetNeedsUpdateLayers(); |