| 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_H_ | 5 #ifndef UI_GFX_NATIVE_THEME_H_ |
| 6 #define UI_GFX_NATIVE_THEME_H_ | 6 #define UI_GFX_NATIVE_THEME_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "skia/ext/platform_canvas.h" | 9 #include "third_party/skia/include/core/SkColor.h" |
| 10 #include "ui/gfx/native_widget_types.h" | 10 #include "ui/gfx/native_widget_types.h" |
| 11 #include "ui/ui_api.h" | 11 #include "ui/ui_api.h" |
| 12 | 12 |
| 13 class SkCanvas; |
| 14 |
| 13 namespace gfx { | 15 namespace gfx { |
| 14 | 16 |
| 15 class Rect; | 17 class Rect; |
| 16 class Size; | 18 class Size; |
| 17 | 19 |
| 18 // This class supports drawing UI controls (like buttons, text fields, lists, | 20 // This class supports drawing UI controls (like buttons, text fields, lists, |
| 19 // comboboxes, etc) that look like the native UI controls of the underlying | 21 // comboboxes, etc) that look like the native UI controls of the underlying |
| 20 // platform, such as Windows or Linux. | 22 // platform, such as Windows or Linux. |
| 21 // | 23 // |
| 22 // The supported control types are listed in the Part enum. These parts can be | 24 // The supported control types are listed in the Part enum. These parts can be |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 static unsigned int thumb_inactive_color_; | 224 static unsigned int thumb_inactive_color_; |
| 223 static unsigned int thumb_active_color_; | 225 static unsigned int thumb_active_color_; |
| 224 static unsigned int track_color_; | 226 static unsigned int track_color_; |
| 225 | 227 |
| 226 DISALLOW_COPY_AND_ASSIGN(NativeTheme); | 228 DISALLOW_COPY_AND_ASSIGN(NativeTheme); |
| 227 }; | 229 }; |
| 228 | 230 |
| 229 } // namespace gfx | 231 } // namespace gfx |
| 230 | 232 |
| 231 #endif // UI_GFX_NATIVE_THEME_H_ | 233 #endif // UI_GFX_NATIVE_THEME_H_ |
| OLD | NEW |