OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |