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

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

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/text_button.h ('k') | ui/views/controls/label.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/button/text_button.cc
diff --git a/ui/views/controls/button/text_button.cc b/ui/views/controls/button/text_button.cc
index 1debc72084bee1d0411a607e07a2d8233dc6243f..8b5c8b2b53b6a7606c268b2f842c92e853240d0e 100644
--- a/ui/views/controls/button/text_button.cc
+++ b/ui/views/controls/button/text_button.cc
@@ -251,14 +251,6 @@ void TextButtonBase::SetFontList(const gfx::FontList& font_list) {
UpdateTextSize();
}
-const gfx::Font& TextButtonBase::font() const {
- return font_list_.GetPrimaryFont();
-}
-
-void TextButtonBase::SetFont(const gfx::Font& font) {
- SetFontList(gfx::FontList(font));
-}
-
void TextButtonBase::SetEnabledColor(SkColor color) {
color_enabled_ = color;
use_enabled_color_from_theme_ = false;
« no previous file with comments | « ui/views/controls/button/text_button.h ('k') | ui/views/controls/label.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698