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

Unified Diff: cc/animation/layer_animation_controller.h

Issue 1700653002: CC Animation: Expose TargetProperty enum to be aliased in Blink Platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 10 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/animation/element_animations.cc ('k') | cc/animation/layer_animation_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/layer_animation_controller.h
diff --git a/cc/animation/layer_animation_controller.h b/cc/animation/layer_animation_controller.h
index 70c76d104c51241fdc7af58ddd7a0d3b7d1935f9..a364172cded9f4efe0a1d11865b375db3b5dafa3 100644
--- a/cc/animation/layer_animation_controller.h
+++ b/cc/animation/layer_animation_controller.h
@@ -47,7 +47,7 @@ class CC_EXPORT LayerAnimationController
void PauseAnimation(int animation_id, base::TimeDelta time_offset);
void RemoveAnimation(int animation_id);
void AbortAnimation(int animation_id);
- void AbortAnimations(Animation::TargetProperty target_property);
+ void AbortAnimations(TargetProperty::Type target_property);
// Ensures that the list of active animations on the main thread and the impl
// thread are kept in sync. This function does not take ownership of the impl
@@ -68,7 +68,7 @@ class CC_EXPORT LayerAnimationController
// Returns the active animation animating the given property that is either
// running, or is next to run, if such an animation exists.
- Animation* GetAnimation(Animation::TargetProperty target_property) const;
+ Animation* GetAnimation(TargetProperty::Type target_property) const;
// Returns the active animation for the given unique animation id.
Animation* GetAnimationById(int animation_id) const;
@@ -83,12 +83,12 @@ class CC_EXPORT LayerAnimationController
// Returns true if there is an animation that is either currently animating
// the given property or scheduled to animate this property in the future, and
// that affects the given observer type.
- bool IsPotentiallyAnimatingProperty(Animation::TargetProperty target_property,
+ bool IsPotentiallyAnimatingProperty(TargetProperty::Type target_property,
ObserverType observer_type) const;
// Returns true if there is an animation that is currently animating the given
// property and that affects the given observer type.
- bool IsCurrentlyAnimatingProperty(Animation::TargetProperty target_property,
+ bool IsCurrentlyAnimatingProperty(TargetProperty::Type target_property,
ObserverType observer_type) const;
void SetAnimationRegistrar(AnimationRegistrar* registrar);
« no previous file with comments | « cc/animation/element_animations.cc ('k') | cc/animation/layer_animation_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698