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

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: Fix MSVC warning. Created 5 years, 6 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
« no previous file with comments | « cc/layers/layer.cc ('k') | cc/test/animation_test_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/animation_test_common.h
diff --git a/cc/test/animation_test_common.h b/cc/test/animation_test_common.h
index 6f4b6cbf390821104858aa256e8c86420ec35fcd..5d0d4b5dacfa61e4465190a772c0a330f48060fb 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;
}
@@ -179,6 +180,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_
« no previous file with comments | « cc/layers/layer.cc ('k') | cc/test/animation_test_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698