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

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

Issue 869453002: Define class names for views class in c/b/ui/views (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 5 years, 11 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/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 fe27a71ec31216ebad6040cadaf36c25d7561504..94bdaf9846fcf7d8e33ab555765d94f83b80ec84 100644
--- a/chrome/browser/ui/views/location_bar/keyword_hint_view.h
+++ b/chrome/browser/ui/views/location_bar/keyword_hint_view.h
@@ -41,12 +41,14 @@ class KeywordHintView : public views::View {
void SetKeyword(const base::string16& keyword);
base::string16 keyword() const { return keyword_; }
+ private:
+ // views::View:
gfx::Size GetPreferredSize() const override;
// The minimum size is just big enough to show the tab.
gfx::Size GetMinimumSize() const override;
void Layout() override;
+ const char* GetClassName() const override;
- private:
views::Label* CreateLabel(const gfx::FontList& font_list,
SkColor text_color,
SkColor background_color);

Powered by Google App Engine
This is Rietveld 408576698