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

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: 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.h ('k') | ui/views/controls/button/text_button.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 31315b48105c2e89074a9ae753271266996578ce..4fd7751fc47e7ec22b85a913c6ed6b16ad4ffcb9 100644
--- a/ui/views/controls/button/label_button.cc
+++ b/ui/views/controls/button/label_button.cc
@@ -108,14 +108,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);
}
« no previous file with comments | « ui/views/controls/button/label_button.h ('k') | ui/views/controls/button/text_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698