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

Unified Diff: cc/animation/element_animations.h

Issue 2554773002: CC Animation: Rename Active Players to Ticking Players. (Closed)
Patch Set: Rename the argument. Created 4 years 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/animation_player_unittest.cc ('k') | cc/animation/element_animations.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/element_animations.h
diff --git a/cc/animation/element_animations.h b/cc/animation/element_animations.h
index 8aa851f6e936dc3648c3280684402e08618a9e28..81ce7aff03d267e20a7eee21a1908d846d8e6b3a 100644
--- a/cc/animation/element_animations.h
+++ b/cc/animation/element_animations.h
@@ -30,7 +30,7 @@ class FilterOperations;
enum class ElementListType;
struct AnimationEvent;
-enum class ActivationType { NORMAL, FORCE };
+enum class UpdateTickingType { NORMAL, FORCE };
// An ElementAnimations owns a list of all AnimationPlayers, attached to
// the element.
@@ -70,7 +70,7 @@ class CC_ANIMATION_EXPORT ElementAnimations
// Returns true if there are any animations that have neither finished nor
// aborted.
- bool HasActiveAnimation() const;
+ bool HasTickingAnimation() const;
// Returns true if there are any animations at all to process.
bool HasAnyAnimation() const;
@@ -175,8 +175,8 @@ class CC_ANIMATION_EXPORT ElementAnimations
static TargetProperties GetPropertiesMaskForAnimationState();
- void UpdateActivation(ActivationType activation_type) const;
- void Deactivate() const;
+ void UpdatePlayersTickingState(UpdateTickingType update_ticking_type) const;
+ void RemovePlayersFromTicking() const;
PlayersList players_list_;
AnimationHost* animation_host_;
« no previous file with comments | « cc/animation/animation_player_unittest.cc ('k') | cc/animation/element_animations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698