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

Unified Diff: chrome/browser/ui/cocoa/location_bar/location_icon_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/location_icon_decoration.h
diff --git a/chrome/browser/ui/cocoa/location_bar/location_icon_decoration.h b/chrome/browser/ui/cocoa/location_bar/location_icon_decoration.h
index 64c6d3d48499daf1ac54d19beaaec3fd6cf10cea..5e9e55ebb6d43e5f436e6522ce658dacbbfd4105 100644
--- a/chrome/browser/ui/cocoa/location_bar/location_icon_decoration.h
+++ b/chrome/browser/ui/cocoa/location_bar/location_icon_decoration.h
@@ -17,19 +17,19 @@ class LocationBarViewMac;
class LocationIconDecoration : public ImageDecoration {
public:
explicit LocationIconDecoration(LocationBarViewMac* owner);
- virtual ~LocationIconDecoration();
+ ~LocationIconDecoration() override;
// Allow dragging the current URL.
- virtual bool IsDraggable() override;
- virtual NSPasteboard* GetDragPasteboard() override;
- virtual NSImage* GetDragImage() override;
- virtual NSRect GetDragImageFrame(NSRect frame) override;
+ bool IsDraggable() override;
+ NSPasteboard* GetDragPasteboard() override;
+ NSImage* GetDragImage() override;
+ NSRect GetDragImageFrame(NSRect frame) override;
// Show the page info panel on click.
- virtual bool OnMousePressed(NSRect frame, NSPoint location) override;
- virtual bool AcceptsMousePress() override;
- virtual NSString* GetToolTip() override;
- virtual NSPoint GetBubblePointInFrame(NSRect frame) override;
+ bool OnMousePressed(NSRect frame, NSPoint location) override;
+ bool AcceptsMousePress() override;
+ NSString* GetToolTip() override;
+ NSPoint GetBubblePointInFrame(NSRect frame) override;
private:
NSRect drag_frame_;

Powered by Google App Engine
This is Rietveld 408576698