Index: ui/views/controls/styled_label.h |
diff --git a/ui/views/controls/styled_label.h b/ui/views/controls/styled_label.h |
index adbd7a99ba27cdab3d83074ecdb1dc57b8765faf..40cdafb7124c7c711c363e576a71e556c5219aef 100644 |
--- a/ui/views/controls/styled_label.h |
+++ b/ui/views/controls/styled_label.h |
@@ -29,6 +29,9 @@ class StyledLabelListener; |
// In this case, leading whitespace is ignored. |
class VIEWS_EXPORT StyledLabel : public View, public LinkListener { |
public: |
+ // Internal class name. |
+ static const char kViewClassName[]; |
+ |
// Parameters that define label style for a styled label's text range. |
struct VIEWS_EXPORT RangeStyleInfo { |
RangeStyleInfo(); |
@@ -90,7 +93,8 @@ class VIEWS_EXPORT StyledLabel : public View, public LinkListener { |
auto_color_readability_enabled_ = auto_color_readability; |
} |
- // View implementation: |
+ // views::View: |
+ const char* GetClassName() const override; |
gfx::Insets GetInsets() const override; |
int GetHeightForWidth(int w) const override; |
void Layout() override; |