diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-21 01:02:15 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-21 01:02:15 +0000 |
commit | 415f53ef5d509c8a3ea0f472f9fd6bd175129d78 (patch) | |
tree | c690b043e72fb535709fd0934a098a12ed880b0f /cc/layer_animation_controller.h | |
parent | dfad18be78e099d61120b44ebaafa236fc5f8be0 (diff) | |
download | chromium_src-415f53ef5d509c8a3ea0f472f9fd6bd175129d78.zip chromium_src-415f53ef5d509c8a3ea0f472f9fd6bd175129d78.tar.gz chromium_src-415f53ef5d509c8a3ea0f472f9fd6bd175129d78.tar.bz2 |
Revert "Rename ActiveAnimation -> Animation"
TBR=vollick
BUG=none
Review URL: https://codereview.chromium.org/11642055
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174296 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/layer_animation_controller.h')
-rw-r--r-- | cc/layer_animation_controller.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cc/layer_animation_controller.h b/cc/layer_animation_controller.h index 2169442..aeb5048 100644 --- a/cc/layer_animation_controller.h +++ b/cc/layer_animation_controller.h @@ -37,10 +37,10 @@ public: int id() const { return m_id; } // These methods are virtual for testing. - virtual void addAnimation(scoped_ptr<Animation>); + virtual void addAnimation(scoped_ptr<ActiveAnimation>); virtual void pauseAnimation(int animationId, double timeOffset); virtual void removeAnimation(int animationId); - virtual void removeAnimation(int animationId, Animation::TargetProperty); + virtual void removeAnimation(int animationId, ActiveAnimation::TargetProperty); virtual void suspendAnimations(double monotonicTime); virtual void resumeAnimations(double monotonicTime); @@ -52,11 +52,11 @@ public: // Returns the active animation in the given group, animating the given property, if such an // animation exists. - Animation* getAnimation(int groupId, Animation::TargetProperty) const; + ActiveAnimation* getActiveAnimation(int groupId, ActiveAnimation::TargetProperty) const; // 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) const; + ActiveAnimation* getActiveAnimation(ActiveAnimation::TargetProperty) const; // Returns true if there are any animations that have neither finished nor aborted. bool hasActiveAnimation() const; @@ -66,7 +66,7 @@ public: // Returns true if there is an animation currently animating the given property, or // if there is an animation scheduled to animate this property in the future. - bool isAnimatingProperty(Animation::TargetProperty) const; + bool isAnimatingProperty(ActiveAnimation::TargetProperty) const; // This is called in response to an animation being started on the impl thread. This // function updates the corresponding main thread animation's start time. @@ -114,7 +114,7 @@ private: AnimationRegistrar* m_registrar; int m_id; - ScopedPtrVector<Animation> m_activeAnimations; + ScopedPtrVector<ActiveAnimation> m_activeAnimations; // This is used to ensure that we don't spam the registrar. bool m_isActive; |