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_VIEWS_BACKGROUND_H_ | 5 #ifndef UI_VIEWS_BACKGROUND_H_ |
6 #define UI_VIEWS_BACKGROUND_H_ | 6 #define UI_VIEWS_BACKGROUND_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 10 #include "base/macros.h" |
8 #include "build/build_config.h" | 11 #include "build/build_config.h" |
| 12 #include "third_party/skia/include/core/SkColor.h" |
| 13 #include "ui/views/views_export.h" |
9 | 14 |
10 #if defined(OS_WIN) | 15 #if defined(OS_WIN) |
11 #include <windows.h> | 16 #include <windows.h> |
12 #endif // defined(OS_WIN) | 17 #endif // defined(OS_WIN) |
13 | 18 |
14 #include "base/basictypes.h" | |
15 #include "third_party/skia/include/core/SkColor.h" | |
16 #include "ui/views/views_export.h" | |
17 | |
18 namespace gfx { | 19 namespace gfx { |
19 class Canvas; | 20 class Canvas; |
20 } | 21 } |
21 | 22 |
22 namespace views { | 23 namespace views { |
23 | 24 |
24 class Painter; | 25 class Painter; |
25 class View; | 26 class View; |
26 | 27 |
27 ///////////////////////////////////////////////////////////////////////////// | 28 ///////////////////////////////////////////////////////////////////////////// |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 // TODO(port): Create portable replacement for HBRUSH. | 103 // TODO(port): Create portable replacement for HBRUSH. |
103 mutable HBRUSH native_control_brush_; | 104 mutable HBRUSH native_control_brush_; |
104 #endif // defined(OS_WIN) | 105 #endif // defined(OS_WIN) |
105 | 106 |
106 DISALLOW_COPY_AND_ASSIGN(Background); | 107 DISALLOW_COPY_AND_ASSIGN(Background); |
107 }; | 108 }; |
108 | 109 |
109 } // namespace views | 110 } // namespace views |
110 | 111 |
111 #endif // UI_VIEWS_BACKGROUND_H_ | 112 #endif // UI_VIEWS_BACKGROUND_H_ |
OLD | NEW |