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

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

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: inline class name strings 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.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() +

Powered by Google App Engine
This is Rietveld 408576698