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

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

Issue 15061006: views: Switch Checkbox over to LabelButton. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: override GetImage + SetCheckedImage Created 7 years, 7 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
Index: ui/views/controls/button/button.h
diff --git a/ui/views/controls/button/button.h b/ui/views/controls/button/button.h
index 8164be2a23836e4ba6c6fe36d1b772447796a32f..6b702a86a1137ccd5c3632632b9d3e2f7cf5c2e1 100644
--- a/ui/views/controls/button/button.h
+++ b/ui/views/controls/button/button.h
@@ -29,7 +29,6 @@ class VIEWS_EXPORT Button : public View {
virtual ~Button();
// Button states for various button sub-types.
- // TODO(msw): Add toggled state for checkboxes, radio buttons, etc.
enum ButtonState {
STATE_NORMAL = 0,
STATE_HOVERED,
@@ -39,11 +38,13 @@ class VIEWS_EXPORT Button : public View {
};
// Button styles with associated images and border painters.
- // TODO(msw): Add "Blue Button", Checkbox, Radio, Menu, ComboBox, etc.
+ // TODO(msw): Add "Blue Button", Menu, ComboBox, etc.
enum ButtonStyle {
STYLE_BUTTON = 0,
STYLE_TEXTBUTTON,
STYLE_NATIVE_TEXTBUTTON,
+ STYLE_CHECKBOX,
+ STYLE_RADIO,
STYLE_COUNT,
};

Powered by Google App Engine
This is Rietveld 408576698