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

Unified Diff: app/slide_animation.h

Issue 5648004: Add the "virtual" keyword on method overrides that are missing it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missing file Created 10 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 | « app/hi_res_timer_manager.h ('k') | base/file_descriptor_shuffle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/slide_animation.h
diff --git a/app/slide_animation.h b/app/slide_animation.h
index 91e64bc79e3b3370ce5311f395c61c5fab01f326..d073db16adc9e5ac2a8a9314380b3e9a88ddeb93 100644
--- a/app/slide_animation.h
+++ b/app/slide_animation.h
@@ -65,13 +65,13 @@ class SlideAnimation : public LinearAnimation {
int GetSlideDuration() const { return slide_duration_; }
void SetTweenType(Tween::Type tween_type) { tween_type_ = tween_type; }
- double GetCurrentValue() const { return value_current_; }
+ virtual double GetCurrentValue() const { return value_current_; }
bool IsShowing() const { return showing_; }
bool IsClosing() const { return !showing_ && value_end_ < value_current_; }
private:
// Overridden from Animation.
- void AnimateToState(double state);
+ virtual void AnimateToState(double state);
AnimationDelegate* target_;
« no previous file with comments | « app/hi_res_timer_manager.h ('k') | base/file_descriptor_shuffle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698