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

Unified Diff: cc/test/animation_test_common.h

Issue 2261113002: CC Animation: Introduce some dirty flags to optimize PushProperties on commit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 e0bfe8645c6a95d4237efa88b35c0577bc3d7b4b..3d57b548a1b2aaeb448ba778fb70f5b04eec820c 100644
--- a/cc/test/animation_test_common.h
+++ b/cc/test/animation_test_common.h
@@ -100,6 +100,20 @@ int AddAnimatedFilterToElementAnimations(ElementAnimations* target,
float start_brightness,
float end_brightness);
+void AddAnimationToElementAnimations(ElementAnimations* target,
+ std::unique_ptr<Animation> animation);
+
+void RemoveAnimationFromElementAnimations(ElementAnimations* target,
+ int animation_id);
+
+void PauseAnimationInElementAnimations(ElementAnimations* target,
+ int animation_id,
+ base::TimeDelta time);
+
+void AbortAnimationsInElementAnimations(ElementAnimations* target,
+ TargetProperty::Type target_property,
+ bool needs_completion);
+
int AddAnimatedTransformToPlayer(AnimationPlayer* player,
double duration,
int delta_x,

Powered by Google App Engine
This is Rietveld 408576698