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

Unified Diff: chrome/browser/ui/cocoa/location_bar/search_button_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/search_button_decoration.h
diff --git a/chrome/browser/ui/cocoa/location_bar/search_button_decoration.h b/chrome/browser/ui/cocoa/location_bar/search_button_decoration.h
index 1507566d436ca019179c41a84944604b8561770b..c6dc1f3c864e8043e19c63fe6497c6510bd0b381 100644
--- a/chrome/browser/ui/cocoa/location_bar/search_button_decoration.h
+++ b/chrome/browser/ui/cocoa/location_bar/search_button_decoration.h
@@ -16,12 +16,12 @@ class LocationBarViewMac;
class SearchButtonDecoration : public ButtonDecoration {
public:
explicit SearchButtonDecoration(LocationBarViewMac* owner);
- virtual ~SearchButtonDecoration();
+ ~SearchButtonDecoration() override;
// Implement |LocationBarDecoration|.
- virtual CGFloat GetWidthForSpace(CGFloat width) override;
- virtual void DrawInFrame(NSRect frame, NSView* control_view) override;
- virtual bool OnMousePressed(NSRect frame, NSPoint location) override;
+ CGFloat GetWidthForSpace(CGFloat width) override;
+ void DrawInFrame(NSRect frame, NSView* control_view) override;
+ bool OnMousePressed(NSRect frame, NSPoint location) override;
private:
// The control view that owns this. Weak.

Powered by Google App Engine
This is Rietveld 408576698