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

Unified Diff: ash/sticky_keys/sticky_keys_overlay.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/snap_to_pixel_layout_manager.h ('k') | ash/sticky_keys/sticky_keys_overlay.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/sticky_keys/sticky_keys_overlay.h
diff --git a/ash/sticky_keys/sticky_keys_overlay.h b/ash/sticky_keys/sticky_keys_overlay.h
index 34ea266c58404c556e352226c916f4b33dbb1826..63917941a4c4bfe872d9b88ca35efa0bc5f69513 100644
--- a/ash/sticky_keys/sticky_keys_overlay.h
+++ b/ash/sticky_keys/sticky_keys_overlay.h
@@ -31,7 +31,7 @@ class StickyKeysOverlayView;
class ASH_EXPORT StickyKeysOverlay : public ui::LayerAnimationObserver {
public:
StickyKeysOverlay();
- virtual ~StickyKeysOverlay();
+ ~StickyKeysOverlay() override;
// Shows or hides the overlay.
void Show(bool visible);
@@ -56,12 +56,9 @@ class ASH_EXPORT StickyKeysOverlay : public ui::LayerAnimationObserver {
gfx::Rect CalculateOverlayBounds();
// gfx::LayerAnimationObserver overrides:
- virtual void OnLayerAnimationEnded(
- ui::LayerAnimationSequence* sequence) override;
- virtual void OnLayerAnimationAborted(
- ui::LayerAnimationSequence* sequence) override;
- virtual void OnLayerAnimationScheduled(
- ui::LayerAnimationSequence* sequence) override;
+ void OnLayerAnimationEnded(ui::LayerAnimationSequence* sequence) override;
+ void OnLayerAnimationAborted(ui::LayerAnimationSequence* sequence) override;
+ void OnLayerAnimationScheduled(ui::LayerAnimationSequence* sequence) override;
bool is_visible_;
scoped_ptr<views::Widget> overlay_widget_;
« no previous file with comments | « ash/snap_to_pixel_layout_manager.h ('k') | ash/sticky_keys/sticky_keys_overlay.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698