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

Unified Diff: chrome/browser/ui/views/location_bar/content_setting_image_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/content_setting_image_view.cc
diff --git a/chrome/browser/ui/views/location_bar/content_setting_image_view.cc b/chrome/browser/ui/views/location_bar/content_setting_image_view.cc
index 2f7459bf091c000bf596a298c00be003823117bd..b10aa3c3496eb7eee1e1899cd95caab69f63ca7e 100644
--- a/chrome/browser/ui/views/location_bar/content_setting_image_view.cc
+++ b/chrome/browser/ui/views/location_bar/content_setting_image_view.cc
@@ -153,6 +153,10 @@ void ContentSettingImageView::AnimationCanceled(
AnimationEnded(animation);
}
+const char* ContentSettingImageView::GetClassName() const {
+ return "ContentSettingsImageView";
+}
+
gfx::Size ContentSettingImageView::GetPreferredSize() const {
// Height will be ignored by the LocationBarView.
gfx::Size size(icon_->GetPreferredSize());

Powered by Google App Engine
This is Rietveld 408576698