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

Unified Diff: ui/views/animation/scroll_animator.h

Issue 679233002: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months 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/views/animation/bounds_animator_unittest.cc ('k') | ui/views/background.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/animation/scroll_animator.h
diff --git a/ui/views/animation/scroll_animator.h b/ui/views/animation/scroll_animator.h
index b941cdb03627a9a332432662b1fb5f7c6b1b71c6..dcca55aac84d2ec58152189e2f0c1ce7c75a5fb8 100644
--- a/ui/views/animation/scroll_animator.h
+++ b/ui/views/animation/scroll_animator.h
@@ -29,7 +29,7 @@ class VIEWS_EXPORT ScrollAnimator : public gfx::AnimationDelegate {
public:
// The ScrollAnimator does not own the delegate. Uses default acceleration.
explicit ScrollAnimator(ScrollDelegate* delegate);
- virtual ~ScrollAnimator();
+ ~ScrollAnimator() override;
// Use this if you would prefer different acceleration than the default.
void set_acceleration(float acceleration) { acceleration_ = acceleration; }
@@ -41,9 +41,9 @@ class VIEWS_EXPORT ScrollAnimator : public gfx::AnimationDelegate {
private:
// Implementation of gfx::AnimationDelegate.
- virtual void AnimationEnded(const gfx::Animation* animation) override;
- virtual void AnimationProgressed(const gfx::Animation* animation) override;
- virtual void AnimationCanceled(const gfx::Animation* animation) override;
+ void AnimationEnded(const gfx::Animation* animation) override;
+ void AnimationProgressed(const gfx::Animation* animation) override;
+ void AnimationCanceled(const gfx::Animation* animation) override;
ScrollDelegate* delegate_;
« no previous file with comments | « ui/views/animation/bounds_animator_unittest.cc ('k') | ui/views/background.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698