OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_GFX_NATIVE_THEME_LINUX_H_ | 5 #ifndef UI_GFX_NATIVE_THEME_LINUX_H_ |
6 #define UI_GFX_NATIVE_THEME_LINUX_H_ | 6 #define UI_GFX_NATIVE_THEME_LINUX_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "skia/ext/platform_canvas.h" | 9 #include "skia/ext/platform_canvas.h" |
10 | 10 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 int track_x; | 53 int track_x; |
54 int track_y; | 54 int track_y; |
55 int track_width; | 55 int track_width; |
56 int track_height; | 56 int track_height; |
57 }; | 57 }; |
58 | 58 |
59 struct ButtonExtraParams { | 59 struct ButtonExtraParams { |
60 bool checked; | 60 bool checked; |
61 bool indeterminate; // Whether the button state is indeterminate. | 61 bool indeterminate; // Whether the button state is indeterminate. |
62 bool is_default; // Whether the button is default button. | 62 bool is_default; // Whether the button is default button. |
| 63 bool has_border; |
63 SkColor background_color; | 64 SkColor background_color; |
64 }; | 65 }; |
65 | 66 |
66 struct TextFieldExtraParams { | 67 struct TextFieldExtraParams { |
67 bool is_text_area; | 68 bool is_text_area; |
68 bool is_listbox; | 69 bool is_listbox; |
69 SkColor background_color; | 70 SkColor background_color; |
70 }; | 71 }; |
71 | 72 |
72 struct MenuListExtraParams { | 73 struct MenuListExtraParams { |
| 74 bool has_border; |
| 75 bool has_border_radius; |
73 int arrow_x; | 76 int arrow_x; |
74 int arrow_y; | 77 int arrow_y; |
75 SkColor background_color; | 78 SkColor background_color; |
76 }; | 79 }; |
77 | 80 |
78 struct SliderExtraParams { | 81 struct SliderExtraParams { |
79 bool vertical; | 82 bool vertical; |
80 bool in_drag; | 83 bool in_drag; |
81 }; | 84 }; |
82 | 85 |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 static unsigned int thumb_inactive_color_; | 232 static unsigned int thumb_inactive_color_; |
230 static unsigned int thumb_active_color_; | 233 static unsigned int thumb_active_color_; |
231 static unsigned int track_color_; | 234 static unsigned int track_color_; |
232 | 235 |
233 DISALLOW_COPY_AND_ASSIGN(NativeThemeLinux); | 236 DISALLOW_COPY_AND_ASSIGN(NativeThemeLinux); |
234 }; | 237 }; |
235 | 238 |
236 } // namespace gfx | 239 } // namespace gfx |
237 | 240 |
238 #endif // UI_GFX_NATIVE_THEME_LINUX_H_ | 241 #endif // UI_GFX_NATIVE_THEME_LINUX_H_ |
OLD | NEW |