| 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();
|
|
|
|
|