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

Unified Diff: chrome/browser/ui/cocoa/location_bar/manage_passwords_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/manage_passwords_decoration.h
diff --git a/chrome/browser/ui/cocoa/location_bar/manage_passwords_decoration.h b/chrome/browser/ui/cocoa/location_bar/manage_passwords_decoration.h
index 981cd7b9e53bfa4b074fef038c7d49d238db8b6a..fb23053286629d65b136041c52aa46590374192f 100644
--- a/chrome/browser/ui/cocoa/location_bar/manage_passwords_decoration.h
+++ b/chrome/browser/ui/cocoa/location_bar/manage_passwords_decoration.h
@@ -22,7 +22,7 @@ class ManagePasswordsIconCocoa : public ManagePasswordsIcon {
public:
ManagePasswordsIconCocoa(ManagePasswordsDecoration* decoration);
virtual ~ManagePasswordsIconCocoa();
- virtual void UpdateVisibleUI() override;
+ void UpdateVisibleUI() override;
int icon_id() { return icon_id_; }
int tooltip_text_id() { return tooltip_text_id_; }
@@ -37,13 +37,13 @@ class ManagePasswordsDecoration : public ImageDecoration {
public:
explicit ManagePasswordsDecoration(CommandUpdater* command_updater,
LocationBarViewMac* location_bar);
- virtual ~ManagePasswordsDecoration();
+ ~ManagePasswordsDecoration() override;
// Implement |LocationBarDecoration|
- 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;
// Updates the decoration according to icon state changes.
void UpdateVisibleUI();

Powered by Google App Engine
This is Rietveld 408576698