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

Unified Diff: ui/views/controls/styled_label.cc

Issue 863223002: Add missing views class names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: table 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
« no previous file with comments | « ui/views/controls/styled_label.h ('k') | ui/views/controls/table/table_header.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/styled_label.cc
diff --git a/ui/views/controls/styled_label.cc b/ui/views/controls/styled_label.cc
index 44e42ed6549d271288d9aeefd5b50c4c6bad50d4..172a479e56262ff2921cffdfbd87a5c297c95253 100644
--- a/ui/views/controls/styled_label.cc
+++ b/ui/views/controls/styled_label.cc
@@ -92,6 +92,9 @@ bool StyledLabel::StyleRange::operator<(
// StyledLabel ----------------------------------------------------------------
+// static
+const char StyledLabel::kViewClassName[] = "StyledLabel";
+
StyledLabel::StyledLabel(const base::string16& text,
StyledLabelListener* listener)
: specified_line_height_(0),
@@ -156,6 +159,10 @@ void StyledLabel::SetDisplayedOnBackgroundColor(SkColor color) {
}
}
+const char* StyledLabel::GetClassName() const {
+ return kViewClassName;
+}
+
gfx::Insets StyledLabel::GetInsets() const {
gfx::Insets insets = View::GetInsets();
« no previous file with comments | « ui/views/controls/styled_label.h ('k') | ui/views/controls/table/table_header.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698