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

Unified Diff: chrome/browser/ui/views/location_bar/selected_keyword_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/selected_keyword_view.h
diff --git a/chrome/browser/ui/views/location_bar/selected_keyword_view.h b/chrome/browser/ui/views/location_bar/selected_keyword_view.h
index cba9ef9345863c0be3765fac96c43d72eb514170..1be64e836e0eb33df5350e79733277aee9792f17 100644
--- a/chrome/browser/ui/views/location_bar/selected_keyword_view.h
+++ b/chrome/browser/ui/views/location_bar/selected_keyword_view.h
@@ -26,6 +26,7 @@ class SelectedKeywordView : public IconLabelBubbleView {
Profile* profile);
~SelectedKeywordView() override;
+ // IconLabelBubbleView:
gfx::Size GetPreferredSize() const override;
gfx::Size GetMinimumSize() const override;
void Layout() override;
@@ -35,6 +36,9 @@ class SelectedKeywordView : public IconLabelBubbleView {
const base::string16& keyword() const { return keyword_; }
private:
+ // IconLabelBubbleView:
+ const char* GetClassName() const override;
+
// The keyword we're showing. If empty, no keyword is selected.
// NOTE: we don't cache the TemplateURL as it is possible for it to get
// deleted out from under us.

Powered by Google App Engine
This is Rietveld 408576698