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

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

Issue 119273002: Clean-up: Retires obsolete methods in views::Label and views::TextButtonBase. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Synced. Created 6 years, 11 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/label_button.cc ('k') | ui/views/controls/button/text_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/button/text_button.h
diff --git a/ui/views/controls/button/text_button.h b/ui/views/controls/button/text_button.h
index 11ba3645dd0bbe47394ab4d3fa59b375f5835345..b738e0bd404ea8ad045366ec0fbc6ccca7aeec5f 100644
--- a/ui/views/controls/button/text_button.h
+++ b/ui/views/controls/button/text_button.h
@@ -145,9 +145,6 @@ class VIEWS_EXPORT TextButtonBase : public CustomButton,
void set_max_width(int max_width) { max_width_ = max_width; }
const gfx::FontList& font_list() const { return font_list_; }
void SetFontList(const gfx::FontList& font_list);
- // Obsolete versions.
- const gfx::Font& font() const;
- void SetFont(const gfx::Font& font);
void SetEnabledColor(SkColor color);
void SetDisabledColor(SkColor color);
@@ -253,7 +250,7 @@ class VIEWS_EXPORT TextButtonBase : public CustomButton,
// The alignment of the text string within the button.
TextAlignment alignment_;
- // The font used to paint the text.
+ // The font list used to paint the text.
gfx::FontList font_list_;
// Flag indicating if a shadow should be drawn behind the text.
« no previous file with comments | « ui/views/controls/button/label_button.cc ('k') | ui/views/controls/button/text_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698