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

Unified Diff: ui/views/controls/button/label_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: Merged. 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
Index: ui/views/controls/button/label_button.cc
diff --git a/ui/views/controls/button/label_button.cc b/ui/views/controls/button/label_button.cc
index 888a97c53fe1258e7a073d6f38ad2182d3fb7267..57938cbdabf0d9282f3797d4c0d108a5182efcf1 100644
--- a/ui/views/controls/button/label_button.cc
+++ b/ui/views/controls/button/label_button.cc
@@ -110,14 +110,6 @@ void LabelButton::SetFontList(const gfx::FontList& font_list) {
label_->SetFontList(font_list);
}
-const gfx::Font& LabelButton::GetFont() const {
- return label_->font();
-}
-
-void LabelButton::SetFont(const gfx::Font& font) {
- label_->SetFont(font);
-}
-
void LabelButton::SetElideBehavior(Label::ElideBehavior elide_behavior) {
label_->SetElideBehavior(elide_behavior);
}

Powered by Google App Engine
This is Rietveld 408576698