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..2f1e5d5a4983248244aa2125ebb440b21ca7fb6e 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); |