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

Unified Diff: views/controls/button/text_button.h

Issue 5071002: Add 1px black border for ChromeOS status button. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: change how common code is shared Created 10 years, 1 month 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 | « gfx/canvas_skia_linux.cc ('k') | views/controls/button/text_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/button/text_button.h
diff --git a/views/controls/button/text_button.h b/views/controls/button/text_button.h
index 7e204d4c49422e049965ee63760c0cd5f4a89f08..fc821f4a1625fa83330bc49bfeae4214239b5f3f 100644
--- a/views/controls/button/text_button.h
+++ b/views/controls/button/text_button.h
@@ -142,6 +142,7 @@ class TextButton : public CustomButton {
void SetDisabledColor(SkColor color);
void SetHighlightColor(SkColor color);
void SetHoverColor(SkColor color);
+ void SetTextHaloColor(SkColor color);
void SetNormalHasBorder(bool normal_has_border);
// Sets whether or not to show the hot and pushed states for the button icon
// (if present) in addition to the normal state. Defaults to true.
@@ -207,6 +208,10 @@ class TextButton : public CustomButton {
SkColor color_highlight_;
SkColor color_hover_;
+ // An optional halo around text.
+ SkColor text_halo_color_;
+ bool has_text_halo_;
+
// An icon displayed with the text.
SkBitmap icon_;
« no previous file with comments | « gfx/canvas_skia_linux.cc ('k') | views/controls/button/text_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698