Index: chrome/browser/ui/views/location_bar/keyword_hint_view.cc |
diff --git a/chrome/browser/ui/views/location_bar/keyword_hint_view.cc b/chrome/browser/ui/views/location_bar/keyword_hint_view.cc |
index e68ea89a6a60d2c9bfcfe7c8e8f11f8b2e7793b7..a2645fb5edae8f009462894c267c29a5aa543e2b 100644 |
--- a/chrome/browser/ui/views/location_bar/keyword_hint_view.cc |
+++ b/chrome/browser/ui/views/location_bar/keyword_hint_view.cc |
@@ -21,7 +21,6 @@ |
#include "ui/views/controls/image_view.h" |
#include "ui/views/controls/label.h" |
- |
Peter Kasting
2015/01/23 07:28:10
Nit: Don't remove this (I generally try to separat
oshima
2015/01/24 01:23:07
Done.
|
KeywordHintView::KeywordHintView(Profile* profile, |
const gfx::FontList& font_list, |
SkColor text_color, |
@@ -65,6 +64,10 @@ void KeywordHintView::SetKeyword(const base::string16& keyword) { |
trailing_label_->SetText(keyword_hint.substr(content_param_offsets.front())); |
} |
+const char* KeywordHintView::GetClassName() const { |
+ return "KeywordHintView"; |
+} |
+ |
gfx::Size KeywordHintView::GetPreferredSize() const { |
// Height will be ignored by the LocationBarView. |
return gfx::Size(leading_label_->GetPreferredSize().width() + |