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

Unified Diff: chrome/browser/ui/cocoa/location_bar/bubble_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/bubble_decoration.h
diff --git a/chrome/browser/ui/cocoa/location_bar/bubble_decoration.h b/chrome/browser/ui/cocoa/location_bar/bubble_decoration.h
index 4a290c5a4a0dfc515142f9dc2e3e6c047aa21387..25b5bd8f70a32e6c3d6a886c5e6f8b8d8b94f712 100644
--- a/chrome/browser/ui/cocoa/location_bar/bubble_decoration.h
+++ b/chrome/browser/ui/cocoa/location_bar/bubble_decoration.h
@@ -18,7 +18,7 @@
class BubbleDecoration : public LocationBarDecoration {
public:
BubbleDecoration();
- virtual ~BubbleDecoration();
+ ~BubbleDecoration() override;
// Setup the drawing parameters.
NSImage* GetImage();
@@ -28,11 +28,11 @@ class BubbleDecoration : public LocationBarDecoration {
virtual ui::NinePartImageIds GetBubbleImageIds() = 0;
// Implement |LocationBarDecoration|.
- virtual void DrawInFrame(NSRect frame, NSView* control_view) override;
- virtual void DrawWithBackgroundInFrame(NSRect background_frame,
- NSRect frame,
- NSView* control_view) override;
- virtual CGFloat GetWidthForSpace(CGFloat width) override;
+ void DrawInFrame(NSRect frame, NSView* control_view) override;
+ void DrawWithBackgroundInFrame(NSRect background_frame,
+ NSRect frame,
+ NSView* control_view) override;
+ CGFloat GetWidthForSpace(CGFloat width) override;
protected:
// Helper returning bubble width for the given |image| and |label|

Powered by Google App Engine
This is Rietveld 408576698