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

Unified Diff: ui/views/controls/button/label_button.h

Issue 2620453005: Material Design: Fix MdLabelButton not updating text colors on theme changes (Closed)
Patch Set: Refactor Created 3 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 | « no previous file | ui/views/controls/button/label_button.cc » ('j') | ui/views/controls/button/label_button.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/button/label_button.h
diff --git a/ui/views/controls/button/label_button.h b/ui/views/controls/button/label_button.h
index 6228ab2b26d2c66aa1379a730c9e972aedcf452d..307e783c69558ce5693a9f68cd369c21e164a766 100644
--- a/ui/views/controls/button/label_button.h
+++ b/ui/views/controls/button/label_button.h
@@ -114,6 +114,8 @@ class VIEWS_EXPORT LabelButton : public CustomButton,
return explicitly_set_colors_[STATE_NORMAL];
}
+ void ResetExplicitnessOfEnabledTextColors();
+
// Returns the available area for the label and image. Subclasses can change
// these bounds if they need room to do manual painting.
virtual gfx::Rect GetChildAreaBounds();
« no previous file with comments | « no previous file | ui/views/controls/button/label_button.cc » ('j') | ui/views/controls/button/label_button.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698