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

Unified Diff: chrome/browser/ui/cocoa/location_bar/content_setting_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/content_setting_decoration.h
diff --git a/chrome/browser/ui/cocoa/location_bar/content_setting_decoration.h b/chrome/browser/ui/cocoa/location_bar/content_setting_decoration.h
index 5358d6a233983d45a553f916c5f0e54d410a6cba..5782b5c4dc293ae79be730720c7a22e68dbd87cc 100644
--- a/chrome/browser/ui/cocoa/location_bar/content_setting_decoration.h
+++ b/chrome/browser/ui/cocoa/location_bar/content_setting_decoration.h
@@ -26,19 +26,19 @@ class ContentSettingDecoration : public ImageDecoration {
ContentSettingDecoration(ContentSettingsType settings_type,
LocationBarViewMac* owner,
Profile* profile);
- virtual ~ContentSettingDecoration();
+ ~ContentSettingDecoration() override;
// Updates the image and visibility state based on the supplied WebContents.
// Returns true if the decoration's visible state changed.
bool UpdateFromWebContents(content::WebContents* web_contents);
// Overridden from |LocationBarDecoration|
- virtual bool AcceptsMousePress() override;
- virtual bool OnMousePressed(NSRect frame, NSPoint location) override;
- virtual NSString* GetToolTip() override;
- virtual CGFloat GetWidthForSpace(CGFloat width) override;
- virtual void DrawInFrame(NSRect frame, NSView* control_view) override;
- virtual NSPoint GetBubblePointInFrame(NSRect frame) override;
+ bool AcceptsMousePress() override;
+ bool OnMousePressed(NSRect frame, NSPoint location) override;
+ NSString* GetToolTip() override;
+ CGFloat GetWidthForSpace(CGFloat width) override;
+ void DrawInFrame(NSRect frame, NSView* control_view) override;
+ NSPoint GetBubblePointInFrame(NSRect frame) override;
// Called from internal animator. Only public because ObjC objects can't
// be friends.

Powered by Google App Engine
This is Rietveld 408576698