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

Unified Diff: ash/rotator/screen_rotation.h

Issue 680153002: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix formatting 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 | « ash/root_window_controller_unittest.cc ('k') | ash/screensaver/screensaver_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/rotator/screen_rotation.h
diff --git a/ash/rotator/screen_rotation.h b/ash/rotator/screen_rotation.h
index 500f6c367cb61b5b7d1067375abcdfdc342fc2f1..360e53be97a37e95d94cb27a89ee27cbabc50e12 100644
--- a/ash/rotator/screen_rotation.h
+++ b/ash/rotator/screen_rotation.h
@@ -31,7 +31,7 @@ class ASH_EXPORT ScreenRotation : public ui::LayerAnimationElement {
// |degrees| are clockwise. |layer| is the target of the animation. Does not
// take ownership of |layer|.
ScreenRotation(int degrees, ui::Layer* layer);
- virtual ~ScreenRotation();
+ ~ScreenRotation() override;
private:
// Generates the intermediate transformation matrices used during the
@@ -39,11 +39,10 @@ class ASH_EXPORT ScreenRotation : public ui::LayerAnimationElement {
void InitTransform(ui::Layer* layer);
// Implementation of ui::LayerAnimationDelegate
- virtual void OnStart(ui::LayerAnimationDelegate* delegate) override;
- virtual bool OnProgress(double t,
- ui::LayerAnimationDelegate* delegate) override;
- virtual void OnGetTarget(TargetValue* target) const override;
- virtual void OnAbort(ui::LayerAnimationDelegate* delegate) override;
+ void OnStart(ui::LayerAnimationDelegate* delegate) override;
+ bool OnProgress(double t, ui::LayerAnimationDelegate* delegate) override;
+ void OnGetTarget(TargetValue* target) const override;
+ void OnAbort(ui::LayerAnimationDelegate* delegate) override;
scoped_ptr<ui::InterpolatedTransform> interpolated_transform_;
« no previous file with comments | « ash/root_window_controller_unittest.cc ('k') | ash/screensaver/screensaver_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698