| 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; |
| 73 int arrow_x; | 75 int arrow_x; |
| 74 int arrow_y; | 76 int arrow_y; |
| 75 SkColor background_color; | 77 SkColor background_color; |
| 76 }; | 78 }; |
| 77 | 79 |
| 78 struct SliderExtraParams { | 80 struct SliderExtraParams { |
| 79 bool vertical; | 81 bool vertical; |
| 80 bool in_drag; | 82 bool in_drag; |
| 81 }; | 83 }; |
| 82 | 84 |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 static unsigned int thumb_inactive_color_; | 231 static unsigned int thumb_inactive_color_; |
| 230 static unsigned int thumb_active_color_; | 232 static unsigned int thumb_active_color_; |
| 231 static unsigned int track_color_; | 233 static unsigned int track_color_; |
| 232 | 234 |
| 233 DISALLOW_COPY_AND_ASSIGN(NativeThemeLinux); | 235 DISALLOW_COPY_AND_ASSIGN(NativeThemeLinux); |
| 234 }; | 236 }; |
| 235 | 237 |
| 236 } // namespace gfx | 238 } // namespace gfx |
| 237 | 239 |
| 238 #endif // UI_GFX_NATIVE_THEME_LINUX_H_ | 240 #endif // UI_GFX_NATIVE_THEME_LINUX_H_ |
| OLD | NEW |