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

Unified Diff: chrome/browser/ui/cocoa/location_bar/image_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/image_decoration.h
diff --git a/chrome/browser/ui/cocoa/location_bar/image_decoration.h b/chrome/browser/ui/cocoa/location_bar/image_decoration.h
index d2730ca2250b15796823923ec0ad172ddcca6023..8f540f9dbe78738bc2d5fe6da652be29fc26f404 100644
--- a/chrome/browser/ui/cocoa/location_bar/image_decoration.h
+++ b/chrome/browser/ui/cocoa/location_bar/image_decoration.h
@@ -14,7 +14,7 @@
class ImageDecoration : public LocationBarDecoration {
public:
ImageDecoration();
- virtual ~ImageDecoration();
+ ~ImageDecoration() override;
NSImage* GetImage();
void SetImage(NSImage* image);
@@ -23,8 +23,8 @@ class ImageDecoration : public LocationBarDecoration {
NSRect GetDrawRectInFrame(NSRect frame);
// Implement |LocationBarDecoration|.
- virtual CGFloat GetWidthForSpace(CGFloat width) override;
- virtual void DrawInFrame(NSRect frame, NSView* control_view) override;
+ CGFloat GetWidthForSpace(CGFloat width) override;
+ void DrawInFrame(NSRect frame, NSView* control_view) override;
private:
base::scoped_nsobject<NSImage> image_;

Powered by Google App Engine
This is Rietveld 408576698