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

Unified Diff: ui/base/animation/linear_animation.h

Issue 8468021: Add OVERRIDE to ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes n stuff Created 9 years, 1 month 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 | « ui/base/animation/animation.h ('k') | ui/base/animation/multi_animation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/animation/linear_animation.h
diff --git a/ui/base/animation/linear_animation.h b/ui/base/animation/linear_animation.h
index a327c0a165e3748516eff975a4bf1266ae0bcf4a..7baf4767302be1d382849d2cee9b6115c4cf6cdf 100644
--- a/ui/base/animation/linear_animation.h
+++ b/ui/base/animation/linear_animation.h
@@ -31,7 +31,7 @@ class UI_EXPORT LinearAnimation : public Animation {
// Gets the value for the current state, according to the animation curve in
// use. This class provides only for a linear relationship, however subclasses
// can override this to provide others.
- virtual double GetCurrentValue() const;
+ virtual double GetCurrentValue() const OVERRIDE;
// Skip to the end of the current animation.
void End();
@@ -48,13 +48,13 @@ class UI_EXPORT LinearAnimation : public Animation {
// Invoked by the AnimationContainer when the animation is running to advance
// the animation. Use |time_now| rather than Time::Now to avoid multiple
// animations running at the same time diverging.
- virtual void Step(base::TimeTicks time_now);
+ virtual void Step(base::TimeTicks time_now) OVERRIDE;
// Overriden to advance to the end (if End was invoked).
- virtual void AnimationStopped();
+ virtual void AnimationStopped() OVERRIDE;
// Overriden to return true if state is not 1.
- virtual bool ShouldSendCanceledFromStop();
+ virtual bool ShouldSendCanceledFromStop() OVERRIDE;
private:
base::TimeDelta duration_;
« no previous file with comments | « ui/base/animation/animation.h ('k') | ui/base/animation/multi_animation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698