summaryrefslogtreecommitdiffstats
path: root/app/throb_animation.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/throb_animation.h')
-rw-r--r--app/throb_animation.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/throb_animation.h b/app/throb_animation.h
index 43e4197..2405724 100644
--- a/app/throb_animation.h
+++ b/app/throb_animation.h
@@ -31,9 +31,6 @@ class ThrobAnimation : public SlideAnimation {
virtual void Show();
virtual void Hide();
- // Overriden to continually throb (assuming we're throbbing).
- virtual void Step();
-
// Overridden to maintain the slide duration.
virtual void SetSlideDuration(int duration) { slide_duration_ = duration; }
@@ -41,6 +38,10 @@ class ThrobAnimation : public SlideAnimation {
void set_cycles_remaining(int value) { cycles_remaining_ = value; }
int cycles_remaining() const { return cycles_remaining_; }
+ protected:
+ // Overriden to continually throb (assuming we're throbbing).
+ virtual void Step(base::TimeTicks time_now);
+
private:
// Resets state such that we behave like SlideAnimation.
void ResetForSlide();