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

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

Issue 23534062: Fix Views blue button's blurry text on Aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make LabelButton::ResetColorsFromNativeTheme virtual; override for BlueButton. Created 7 years, 3 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/button/blue_button.cc ('k') | ui/views/controls/button/label_button.cc » ('j') | no next file with comments »
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 139ea76318bb0923bd10374eeb2770246a81b0c1..f48e9a8e2ebcbeaf9fce1d3ba5669463769380fc 100644
--- a/ui/views/controls/button/label_button.h
+++ b/ui/views/controls/button/label_button.h
@@ -73,6 +73,9 @@ class VIEWS_EXPORT LabelButton : public CustomButton,
// Fill |params| with information about the button.
virtual void GetExtraParams(ui::NativeTheme::ExtraParams* params) const;
+ // Resets colors from the NativeTheme, explicitly set colors are unchanged.
+ virtual void ResetColorsFromNativeTheme();
+
// Updates the image view to contain the appropriate button state image.
void UpdateImage();
@@ -83,9 +86,6 @@ class VIEWS_EXPORT LabelButton : public CustomButton,
FRIEND_TEST_ALL_PREFIXES(LabelButtonTest, LabelAndImage);
FRIEND_TEST_ALL_PREFIXES(LabelButtonTest, Font);
- // Resets colors from the NativeTheme, explicitly set colors are unchanged.
- void ResetColorsFromNativeTheme();
-
// Overridden from CustomButton:
virtual void StateChanged() OVERRIDE;
« no previous file with comments | « ui/views/controls/button/blue_button.cc ('k') | ui/views/controls/button/label_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698