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

Side by Side Diff: ui/native_theme/native_theme.h

Issue 15061006: views: Switch Checkbox over to LabelButton. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: set the image for STATE_TOGGLED 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_NATIVE_THEME_NATIVE_THEME_H_ 5 #ifndef UI_NATIVE_THEME_NATIVE_THEME_H_
6 #define UI_NATIVE_THEME_NATIVE_THEME_H_ 6 #define UI_NATIVE_THEME_NATIVE_THEME_H_
7 7
8 #include "third_party/skia/include/core/SkColor.h" 8 #include "third_party/skia/include/core/SkColor.h"
9 #include "ui/gfx/native_widget_types.h" 9 #include "ui/gfx/native_widget_types.h"
10 #include "ui/native_theme/native_theme_export.h" 10 #include "ui/native_theme/native_theme_export.h"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 kWindowResizeGripper, 75 kWindowResizeGripper,
76 kMaxPart, 76 kMaxPart,
77 }; 77 };
78 78
79 // The state of the part. 79 // The state of the part.
80 enum State { 80 enum State {
81 kDisabled, 81 kDisabled,
82 kHovered, 82 kHovered,
83 kNormal, 83 kNormal,
84 kPressed, 84 kPressed,
85 kToggled,
85 kMaxState, 86 kMaxState,
86 }; 87 };
87 88
88 enum MenuVariation { 89 enum MenuVariation {
89 MENU_VARIATION_NORMAL, 90 MENU_VARIATION_NORMAL,
90 MENU_VARIATION_COMPACT_1, 91 MENU_VARIATION_COMPACT_1,
91 MENU_VARIATION_COMPACT_2, 92 MENU_VARIATION_COMPACT_2,
92 MENU_VARIATION_CONTRAST 93 MENU_VARIATION_CONTRAST
93 }; 94 };
94 95
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 unsigned int thumb_inactive_color_; 307 unsigned int thumb_inactive_color_;
307 unsigned int thumb_active_color_; 308 unsigned int thumb_active_color_;
308 unsigned int track_color_; 309 unsigned int track_color_;
309 310
310 DISALLOW_COPY_AND_ASSIGN(NativeTheme); 311 DISALLOW_COPY_AND_ASSIGN(NativeTheme);
311 }; 312 };
312 313
313 } // namespace ui 314 } // namespace ui
314 315
315 #endif // UI_NATIVE_THEME_NATIVE_THEME_H_ 316 #endif // UI_NATIVE_THEME_NATIVE_THEME_H_
OLDNEW
« no previous file with comments | « no previous file | ui/resources/default_100_percent/common/checkbox.png » ('j') | ui/views/controls/button/button.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698