| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 VIEWS_BACKGROUND_H_ |
| 6 #define VIEWS_BACKGROUND_H_ | 6 #define VIEWS_BACKGROUND_H_ |
| 7 | 7 |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 | 9 |
| 10 #if defined(OS_WIN) | 10 #if defined(OS_WIN) |
| 11 #include <windows.h> | 11 #include <windows.h> |
| 12 #endif // defined(OS_WIN) | 12 #endif // defined(OS_WIN) |
| 13 | 13 |
| 14 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
| 15 #include "skia/include/SkColor.h" | 15 #include "third_party/skia/include/core/SkColor.h" |
| 16 | 16 |
| 17 class ChromeCanvas; | 17 class ChromeCanvas; |
| 18 | 18 |
| 19 namespace views { | 19 namespace views { |
| 20 | 20 |
| 21 class Painter; | 21 class Painter; |
| 22 class View; | 22 class View; |
| 23 | 23 |
| 24 ///////////////////////////////////////////////////////////////////////////// | 24 ///////////////////////////////////////////////////////////////////////////// |
| 25 // | 25 // |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 #if defined(OS_WIN) | 82 #if defined(OS_WIN) |
| 83 // TODO(port): Create portable replacement for HBRUSH. | 83 // TODO(port): Create portable replacement for HBRUSH. |
| 84 HBRUSH native_control_brush_; | 84 HBRUSH native_control_brush_; |
| 85 #endif // defined(OS_WIN) | 85 #endif // defined(OS_WIN) |
| 86 DISALLOW_COPY_AND_ASSIGN(Background); | 86 DISALLOW_COPY_AND_ASSIGN(Background); |
| 87 }; | 87 }; |
| 88 | 88 |
| 89 } // namespace views | 89 } // namespace views |
| 90 | 90 |
| 91 #endif // VIEWS_BACKGROUND_H_ | 91 #endif // VIEWS_BACKGROUND_H_ |
| OLD | NEW |