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

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

Issue 343853002: Fix new avatar button appearance regressions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unused label halo code; update example. Created 6 years, 6 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/new_avatar_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 425f5c02864075b998569fafb09d78366643a2b9..87a3415f81af7b32b23f97da1949662fdf0fd7fa 100644
--- a/ui/views/controls/button/label_button.h
+++ b/ui/views/controls/button/label_button.h
@@ -43,8 +43,11 @@ class VIEWS_EXPORT LabelButton : public CustomButton,
// Set the text color shown for the specified button state.
void SetTextColor(ButtonState for_state, SkColor color);
- // Sets a halo color on the label.
- void SetHaloColor(SkColor color);
+ // Set drop shadows underneath the text.
+ void SetTextShadows(const gfx::ShadowValues& shadows);
+
+ // Sets whether subpixel rendering is used on the label.
+ void SetTextSubpixelRenderingEnabled(bool enabled);
// Get or set the text's multi-line property to break on '\n', etc.
bool GetTextMultiLine() const;
« no previous file with comments | « chrome/browser/ui/views/profiles/new_avatar_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