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

Unified Diff: views/controls/button/checkbox.h

Issue 7717028: views: Remove NativeTextButton::SetLabel() and replace all call sites with SetText(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: also removes label() Created 9 years, 4 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 | « chrome/browser/ui/views/first_run_search_engine_view.cc ('k') | views/controls/button/text_button.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/button/checkbox.h
diff --git a/views/controls/button/checkbox.h b/views/controls/button/checkbox.h
index e8d52b6cf4b763cd8c34bea392c464438be71669..2916c54518b37777a88d8b94c098219b5f1fc362 100644
--- a/views/controls/button/checkbox.h
+++ b/views/controls/button/checkbox.h
@@ -30,10 +30,6 @@ class VIEWS_EXPORT Checkbox : public TextButtonBase {
virtual void SetChecked(bool checked);
bool checked() const { return checked_; }
- void SetLabel(const std::wstring& label) {
- SetText(label);
- }
-
protected:
// Overridden from View:
virtual gfx::Size GetPreferredSize() OVERRIDE;
« no previous file with comments | « chrome/browser/ui/views/first_run_search_engine_view.cc ('k') | views/controls/button/text_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698