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

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

Issue 2624683002: Linux UI: Fix profile chooser button background color (Closed)
Patch Set: fix win build Created 3 years, 10 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 | « chrome/browser/ui/views/profiles/profile_chooser_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/label.h
diff --git a/ui/views/controls/label.h b/ui/views/controls/label.h
index 227929cb2b7d389a65e1b04a19f633edcc9eb7d3..516368ee974367c7a711d497590ade90e1c02af3 100644
--- a/ui/views/controls/label.h
+++ b/ui/views/controls/label.h
@@ -61,6 +61,7 @@ class VIEWS_EXPORT Label : public View,
void SetDisabledColor(SkColor color);
SkColor enabled_color() const { return actual_enabled_color_; }
+ SkColor disabled_color() const { return actual_disabled_color_; }
// Sets the background color. This won't be explicitly drawn, but the label
// will force the text color to be readable over it.
@@ -203,8 +204,6 @@ class VIEWS_EXPORT Label : public View,
void PaintText(gfx::Canvas* canvas);
- SkColor disabled_color() const { return actual_disabled_color_; }
-
// View:
void OnBoundsChanged(const gfx::Rect& previous_bounds) override;
void VisibilityChanged(View* starting_from, bool is_visible) override;
« no previous file with comments | « chrome/browser/ui/views/profiles/profile_chooser_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698