diff options
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; |