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

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

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/slider.cc ('k') | ui/views/controls/styled_label.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « ui/views/controls/slider.cc ('k') | ui/views/controls/styled_label.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698