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

Unified Diff: ui/views/controls/label.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/text_button.cc ('k') | ui/views/controls/label.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/label.h
diff --git a/ui/views/controls/label.h b/ui/views/controls/label.h
index ed03a2de8a5dc7ca45a3b376987cde6feb5cb7cd..979810c14d7a5f7028a8958a46f5640223e5c2d2 100644
--- a/ui/views/controls/label.h
+++ b/ui/views/controls/label.h
@@ -58,15 +58,11 @@ class VIEWS_EXPORT Label : public View {
Label();
explicit Label(const base::string16& text);
Label(const base::string16& text, const gfx::FontList& font_list);
- Label(const base::string16& text, const gfx::Font& font); // OBSOLETE
virtual ~Label();
// Gets or sets the fonts used by this label.
const gfx::FontList& font_list() const { return font_list_; }
virtual void SetFontList(const gfx::FontList& font_list);
- // Obsolete gfx::Font version. Should use gfx::FontList version instead.
- const gfx::Font& font() const; // OBSOLETE
- virtual void SetFont(const gfx::Font& font); // OBSOLETE
// Get or set the label text.
const base::string16& text() const { return text_; }
« no previous file with comments | « ui/views/controls/button/text_button.cc ('k') | ui/views/controls/label.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698