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

Unified Diff: cc/test/animation_test_common.h

Issue 947033002: CC Animations: Establish AnimationHost, AnimationTimeline and AnimationPlayer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Implement test helpers. Created 5 years, 8 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/animation_test_common.h
diff --git a/cc/test/animation_test_common.h b/cc/test/animation_test_common.h
index b2909b8711fcf82da8238fc12bafed87bd00874f..9d334d8d02fd79a382429fae34ad838c60930464 100644
--- a/cc/test/animation_test_common.h
+++ b/cc/test/animation_test_common.h
@@ -14,6 +14,7 @@
#include "cc/test/geometry_test_utils.h"
namespace cc {
+class AnimationPlayer;
class LayerImpl;
class Layer;
}
@@ -177,6 +178,22 @@ int AddAnimatedFilterToLayer(LayerImpl* layer,
float start_brightness,
float end_brightness);
+int AddAnimatedTransformToPlayer(AnimationPlayer* player,
+ double duration,
+ int delta_x,
+ int delta_y);
+
+int AddOpacityTransitionToPlayer(AnimationPlayer* player,
+ double duration,
+ float start_opacity,
+ float end_opacity,
+ bool use_timing_function);
+
+int AddAnimatedFilterToPlayer(AnimationPlayer* player,
+ double duration,
+ float start_brightness,
+ float end_brightness);
+
} // namespace cc
#endif // CC_TEST_ANIMATION_TEST_COMMON_H_

Powered by Google App Engine
This is Rietveld 408576698