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 VIEWS_BACKGROUND_H_ | 5 #ifndef UI_VIEWS_BACKGROUND_H_ |
6 #define VIEWS_BACKGROUND_H_ | 6 #define UI_VIEWS_BACKGROUND_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 | 10 |
11 #if defined(OS_WIN) | 11 #if defined(OS_WIN) |
12 #include <windows.h> | 12 #include <windows.h> |
13 #endif // defined(OS_WIN) | 13 #endif // defined(OS_WIN) |
14 | 14 |
15 #include "base/basictypes.h" | 15 #include "base/basictypes.h" |
16 #include "third_party/skia/include/core/SkColor.h" | 16 #include "third_party/skia/include/core/SkColor.h" |
17 #include "views/views_export.h" | 17 #include "ui/views/views_export.h" |
18 | 18 |
19 namespace gfx { | 19 namespace gfx { |
20 class Canvas; | 20 class Canvas; |
21 } | 21 } |
22 | 22 |
23 namespace views { | 23 namespace views { |
24 | 24 |
25 class Painter; | 25 class Painter; |
26 class View; | 26 class View; |
27 | 27 |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 #if defined(OS_WIN) | 93 #if defined(OS_WIN) |
94 // TODO(port): Create portable replacement for HBRUSH. | 94 // TODO(port): Create portable replacement for HBRUSH. |
95 mutable HBRUSH native_control_brush_; | 95 mutable HBRUSH native_control_brush_; |
96 #endif // defined(OS_WIN) | 96 #endif // defined(OS_WIN) |
97 | 97 |
98 DISALLOW_COPY_AND_ASSIGN(Background); | 98 DISALLOW_COPY_AND_ASSIGN(Background); |
99 }; | 99 }; |
100 | 100 |
101 } // namespace views | 101 } // namespace views |
102 | 102 |
103 #endif // VIEWS_BACKGROUND_H_ | 103 #endif // UI_VIEWS_BACKGROUND_H_ |
OLD | NEW |