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

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

Issue 5338002: [cros] Use WideButton for all screens, increase textfield vmargin on login screen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moved ctor empty body to cc 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 | « chrome/browser/chromeos/login/textfield_with_margin.cc ('k') | no next file » | 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 fc821f4a1625fa83330bc49bfeae4214239b5f3f..b9329b4f1a0a4bdae08a0554861d155dbd2f4a17 100644
--- a/views/controls/button/text_button.h
+++ b/views/controls/button/text_button.h
@@ -138,6 +138,9 @@ class TextButton : public CustomButton {
void set_max_width(int max_width) { max_width_ = max_width; }
void SetFont(const gfx::Font& font);
+ // Return the font used by this button.
+ gfx::Font font() const { return font_; }
+
void SetEnabledColor(SkColor color);
void SetDisabledColor(SkColor color);
void SetHighlightColor(SkColor color);
« no previous file with comments | « chrome/browser/chromeos/login/textfield_with_margin.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698