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

Unified Diff: chrome/browser/ui/views/location_bar/keyword_hint_view.h

Issue 678093002: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 1 month 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/views/location_bar/keyword_hint_view.h
diff --git a/chrome/browser/ui/views/location_bar/keyword_hint_view.h b/chrome/browser/ui/views/location_bar/keyword_hint_view.h
index 7dde478dd0846b1e9a066f7b27f4f26edf3cca5a..da374ffa4f6037f8af2f7c15d762eebb5c30f387 100644
--- a/chrome/browser/ui/views/location_bar/keyword_hint_view.h
+++ b/chrome/browser/ui/views/location_bar/keyword_hint_view.h
@@ -36,15 +36,15 @@ class KeywordHintView : public views::View {
const gfx::FontList& font_list,
SkColor text_color,
SkColor background_color);
- virtual ~KeywordHintView();
+ ~KeywordHintView() override;
void SetKeyword(const base::string16& keyword);
base::string16 keyword() const { return keyword_; }
- virtual gfx::Size GetPreferredSize() const override;
+ gfx::Size GetPreferredSize() const override;
// The minimum size is just big enough to show the tab.
- virtual gfx::Size GetMinimumSize() const override;
- virtual void Layout() override;
+ gfx::Size GetMinimumSize() const override;
+ void Layout() override;
private:
views::Label* CreateLabel(const gfx::FontList& font_list,

Powered by Google App Engine
This is Rietveld 408576698