diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-01 23:20:52 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-01 23:20:52 +0000 |
commit | 059e7a559572484fb677480ef6b95322cde3b34f (patch) | |
tree | d21b6b7393c4d27d1fb2ee172c2a0ac7330138ae /app/slide_animation.h | |
parent | e3f4cc62db9c967b911b00399674e392c71d0a7d (diff) | |
download | chromium_src-059e7a559572484fb677480ef6b95322cde3b34f.zip chromium_src-059e7a559572484fb677480ef6b95322cde3b34f.tar.gz chromium_src-059e7a559572484fb677480ef6b95322cde3b34f.tar.bz2 |
Adds AnimationContainer, which can be used to group a set of
animations to have the same timer. By default each animation has one
animationcontainer, but I'm going to change the tab renderer to share
the animationcontainer so that the pulse effects happen in unison.
Also updated the BoundsAnimator so that I can use it by the TabStrip.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/1575011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43407 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/slide_animation.h')
-rw-r--r-- | app/slide_animation.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/slide_animation.h b/app/slide_animation.h index 15357fd..3cf32d9 100644 --- a/app/slide_animation.h +++ b/app/slide_animation.h @@ -43,9 +43,6 @@ // } class SlideAnimation : public Animation { public: - explicit SlideAnimation(AnimationDelegate* target); - virtual ~SlideAnimation(); - enum TweenType { NONE, // Linear. EASE_OUT, // Fast in, slow out (default). @@ -55,6 +52,9 @@ class SlideAnimation : public Animation { EASE_OUT_SNAP, // Fast in, slow out, snap to final value. }; + explicit SlideAnimation(AnimationDelegate* target); + virtual ~SlideAnimation(); + // Set the animation back to the 0 state. virtual void Reset(); virtual void Reset(double value); |