Chromium Code Reviews

Unified Diff: chrome/browser/ui/cocoa/location_bar/selected_keyword_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.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/browser/ui/cocoa/location_bar/selected_keyword_decoration.h
diff --git a/chrome/browser/ui/cocoa/location_bar/selected_keyword_decoration.h b/chrome/browser/ui/cocoa/location_bar/selected_keyword_decoration.h
index 1e9c9bc788d83494e941ecd7d228ae3f10d2ac78..e34c22a107b292e65382ea7347c84a4c228d6c03 100644
--- a/chrome/browser/ui/cocoa/location_bar/selected_keyword_decoration.h
+++ b/chrome/browser/ui/cocoa/location_bar/selected_keyword_decoration.h
@@ -15,7 +15,7 @@
class SelectedKeywordDecoration : public BubbleDecoration {
public:
SelectedKeywordDecoration();
- virtual ~SelectedKeywordDecoration();
+ ~SelectedKeywordDecoration() override;
// Calculates appropriate full and partial label strings based on
// inputs.
@@ -24,10 +24,10 @@ class SelectedKeywordDecoration : public BubbleDecoration {
// Determines what combination of labels and image will best fit
// within |width|, makes those current for |BubbleDecoration|, and
// return the resulting width.
- virtual CGFloat GetWidthForSpace(CGFloat width) override;
+ CGFloat GetWidthForSpace(CGFloat width) override;
// Implements |BubbleDecoration|.
- virtual ui::NinePartImageIds GetBubbleImageIds() override;
+ ui::NinePartImageIds GetBubbleImageIds() override;
void SetImage(NSImage* image);

Powered by Google App Engine