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

Unified Diff: chrome/browser/ui/views/location_bar/icon_label_bubble_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/icon_label_bubble_view.cc
diff --git a/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc b/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc
index 490b6be004ef005c482a6d99c6053a3e21b6a10c..1529a0cbe5cedab9e24a94a244b3840a2ddf72e5 100644
--- a/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc
+++ b/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc
@@ -12,7 +12,6 @@
#include "ui/views/controls/image_view.h"
#include "ui/views/painter.h"
-
IconLabelBubbleView::IconLabelBubbleView(const int background_images[],
const int hover_background_images[],
int contained_image,
@@ -78,6 +77,10 @@ void IconLabelBubbleView::SetImage(const gfx::ImageSkia& image_skia) {
image_->SetImage(image_skia);
}
+const char* IconLabelBubbleView::GetClassName() const {
+ return "IconLabelBubbleView";
+}
+
gfx::Size IconLabelBubbleView::GetPreferredSize() const {
// Height will be ignored by the LocationBarView.
return GetSizeForLabelWidth(label_->GetPreferredSize().width());

Powered by Google App Engine
This is Rietveld 408576698