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

Unified Diff: chrome/browser/ui/cocoa/location_bar/ev_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/ev_bubble_decoration.h
diff --git a/chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.h b/chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.h
index b63bf99869689d997d65e8f3ad5dc43a5f7a4bb2..36a9a740120869d84cd8935fc7c6d65c48bfa0ab 100644
--- a/chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.h
+++ b/chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.h
@@ -23,7 +23,7 @@ class LocationIconDecoration;
class EVBubbleDecoration : public BubbleDecoration {
public:
explicit EVBubbleDecoration(LocationIconDecoration* location_icon);
- virtual ~EVBubbleDecoration();
+ ~EVBubbleDecoration() override;
// |GetWidthForSpace()| will set |full_label| as the label, if it
// fits, else it will set an elided version.
@@ -31,17 +31,17 @@ class EVBubbleDecoration : public BubbleDecoration {
// Implement |LocationBarDecoration|.
- virtual CGFloat GetWidthForSpace(CGFloat width) override;
- virtual bool IsDraggable() override;
- virtual NSPasteboard* GetDragPasteboard() override;
- virtual NSImage* GetDragImage() override;
- virtual NSRect GetDragImageFrame(NSRect frame) override;
- virtual bool OnMousePressed(NSRect frame, NSPoint location) override;
- virtual bool AcceptsMousePress() override;
- virtual NSPoint GetBubblePointInFrame(NSRect frame) override;
+ CGFloat GetWidthForSpace(CGFloat width) override;
+ bool IsDraggable() override;
+ NSPasteboard* GetDragPasteboard() override;
+ NSImage* GetDragImage() override;
+ NSRect GetDragImageFrame(NSRect frame) override;
+ bool OnMousePressed(NSRect frame, NSPoint location) override;
+ bool AcceptsMousePress() override;
+ NSPoint GetBubblePointInFrame(NSRect frame) override;
// Implement |BubbleDecoration|.
- virtual ui::NinePartImageIds GetBubbleImageIds() override;
+ ui::NinePartImageIds GetBubbleImageIds() override;
private:
// The real label. BubbleDecoration's label may be elided.

Powered by Google App Engine
This is Rietveld 408576698