diff options
author | rogerta@chromium.org <rogerta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-06 20:57:18 +0000 |
---|---|---|
committer | rogerta@chromium.org <rogerta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-06 20:57:18 +0000 |
commit | 0aea4ebbe5fb6e967a3bdb762e58cccc43716cc7 (patch) | |
tree | 050984c680bb4d353d8a67c37dc1a9700d7f84ca /views | |
parent | 889565c71c334d3c2281180cf6e2ab4919a5253d (diff) | |
download | chromium_src-0aea4ebbe5fb6e967a3bdb762e58cccc43716cc7.zip chromium_src-0aea4ebbe5fb6e967a3bdb762e58cccc43716cc7.tar.gz chromium_src-0aea4ebbe5fb6e967a3bdb762e58cccc43716cc7.tar.bz2 |
Remove SetMultiLine() method from CheckboxNt class, since its now properly
implemented in TextButtonBase base class.
BUG=None
TEST=None, no code calls this function yet
Review URL: http://codereview.chromium.org/6932042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84496 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r-- | views/controls/button/checkbox.cc | 4 | ||||
-rw-r--r-- | views/controls/button/checkbox.h | 9 |
2 files changed, 0 insertions, 13 deletions
diff --git a/views/controls/button/checkbox.cc b/views/controls/button/checkbox.cc index 45d0501..71116cd 100644 --- a/views/controls/button/checkbox.cc +++ b/views/controls/button/checkbox.cc @@ -238,10 +238,6 @@ void CheckboxNt::SetChecked(bool checked) { SchedulePaint(); } -void CheckboxNt::SetMultiLine(bool multiline) { - NOTREACHED() << "Not yet implemented"; -} - gfx::Size CheckboxNt::GetPreferredSize() { gfx::Size prefsize(TextButtonBase::GetPreferredSize()); gfx::NativeTheme::ExtraParams extra; diff --git a/views/controls/button/checkbox.h b/views/controls/button/checkbox.h index c9787b8..cc4a3e0 100644 --- a/views/controls/button/checkbox.h +++ b/views/controls/button/checkbox.h @@ -93,8 +93,6 @@ class Checkbox : public NativeButtonBase { // // This class will eventually be renamed to Checkbox to replace the class // above. -// -// TODO: A Checkbox feature not support by CheckboxNt is multi-line. class CheckboxNt : public TextButtonBase { public: explicit CheckboxNt(const std::wstring& label); @@ -108,13 +106,6 @@ class CheckboxNt : public TextButtonBase { virtual void SetChecked(bool checked); bool checked() const { return checked_; } - // Sets whether or not the checkbox label should wrap multiple lines of text. - // If true, long lines are wrapped, and this is reflected in the preferred - // size returned by GetPreferredSize. If false, text that will not fit within - // the available bounds for the label will be cropped. - // TODO: not yet implemented. - void SetMultiLine(bool multiline); - protected: // Overridden from View: virtual gfx::Size GetPreferredSize() OVERRIDE; |