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_BASE_THEME_PROVIDER_H_ | 5 #ifndef UI_BASE_THEME_PROVIDER_H_ |
6 #define UI_BASE_THEME_PROVIDER_H_ | 6 #define UI_BASE_THEME_PROVIDER_H_ |
7 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "third_party/skia/include/core/SkColor.h" | 9 #include "third_party/skia/include/core/SkColor.h" |
10 #include "ui/base/layout.h" | 10 #include "ui/base/layout.h" |
11 #include "ui/base/ui_base_export.h" | 11 #include "ui/base/ui_base_export.h" |
12 | 12 |
13 #if defined(OS_MACOSX) | 13 #if defined(OS_MACOSX) |
14 #ifdef __OBJC__ | 14 #ifdef __OBJC__ |
15 @class NSColor; | 15 @class NSColor; |
16 @class NSGradient; | 16 @class NSGradient; |
17 @class NSImage; | 17 @class NSImage; |
18 #else | 18 #else |
19 class NSColor; | 19 class NSColor; |
20 class NSGradient; | 20 class NSGradient; |
21 class NSImage; | 21 class NSImage; |
22 #endif // __OBJC__ | 22 #endif // __OBJC__ |
23 #endif // OS_* | 23 #endif // OS_* |
24 | 24 |
25 class SkBitmap; | |
26 | |
27 namespace base { | 25 namespace base { |
28 class RefCountedMemory; | 26 class RefCountedMemory; |
29 } | 27 } |
30 | 28 |
31 namespace color_utils { | 29 namespace color_utils { |
32 struct HSL; | 30 struct HSL; |
33 } | 31 } |
34 | 32 |
35 namespace gfx { | 33 namespace gfx { |
36 class ImageSkia; | 34 class ImageSkia; |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 virtual NSGradient* GetNSGradient(int id) const = 0; | 108 virtual NSGradient* GetNSGradient(int id) const = 0; |
111 | 109 |
112 // Whether the "increase contrast" accessibility setting is enabled. | 110 // Whether the "increase contrast" accessibility setting is enabled. |
113 virtual bool ShouldIncreaseContrast() const = 0; | 111 virtual bool ShouldIncreaseContrast() const = 0; |
114 #endif | 112 #endif |
115 }; | 113 }; |
116 | 114 |
117 } // namespace ui | 115 } // namespace ui |
118 | 116 |
119 #endif // UI_BASE_THEME_PROVIDER_H_ | 117 #endif // UI_BASE_THEME_PROVIDER_H_ |
OLD | NEW |