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

Unified Diff: chrome/browser/ui/cocoa/location_bar/zoom_decoration.h

Issue 671653002: Standardize usage of virtual/override/final in chrome/browser/ui/ (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
Index: chrome/browser/ui/cocoa/location_bar/zoom_decoration.h
diff --git a/chrome/browser/ui/cocoa/location_bar/zoom_decoration.h b/chrome/browser/ui/cocoa/location_bar/zoom_decoration.h
index 7faa47e638de3a137083dd39b62eb6dd92259cae..a856a2f2704c55f1cc584894521dd3c9d1927491 100644
--- a/chrome/browser/ui/cocoa/location_bar/zoom_decoration.h
+++ b/chrome/browser/ui/cocoa/location_bar/zoom_decoration.h
@@ -22,7 +22,7 @@ class ZoomDecoration : public ImageDecoration,
public ZoomBubbleControllerDelegate {
public:
explicit ZoomDecoration(LocationBarViewMac* owner);
- virtual ~ZoomDecoration();
+ ~ZoomDecoration() override;
// Called when this decoration should show or hide itself in its most current
// state. Returns whether any updates were made.
@@ -54,14 +54,14 @@ class ZoomDecoration : public ImageDecoration,
virtual bool ShouldShowDecoration() const;
// LocationBarDecoration implementation.
- virtual bool AcceptsMousePress() override;
- virtual bool OnMousePressed(NSRect frame, NSPoint location) override;
- virtual NSString* GetToolTip() override;
- virtual NSPoint GetBubblePointInFrame(NSRect frame) override;
+ bool AcceptsMousePress() override;
+ bool OnMousePressed(NSRect frame, NSPoint location) override;
+ NSString* GetToolTip() override;
+ NSPoint GetBubblePointInFrame(NSRect frame) override;
// ZoomBubbleControllerDelegate implementation.
- virtual content::WebContents* GetWebContents() override;
- virtual void OnClose() override;
+ content::WebContents* GetWebContents() override;
+ void OnClose() override;
// The control that owns this. Weak.
LocationBarViewMac* owner_;

Powered by Google App Engine
This is Rietveld 408576698