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_PAINTER_H_ | 5 #ifndef UI_VIEWS_PAINTER_H_ |
6 #define VIEWS_PAINTER_H_ | 6 #define UI_VIEWS_PAINTER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "third_party/skia/include/core/SkColor.h" | 11 #include "third_party/skia/include/core/SkColor.h" |
12 #include "views/views_export.h" | 12 #include "ui/views/views_export.h" |
13 | 13 |
14 namespace gfx { | 14 namespace gfx { |
15 class Canvas; | 15 class Canvas; |
16 class Insets; | 16 class Insets; |
17 } | 17 } |
18 class SkBitmap; | 18 class SkBitmap; |
19 | 19 |
20 namespace views { | 20 namespace views { |
21 | 21 |
22 // Painter, as the name implies, is responsible for painting in a particular | 22 // Painter, as the name implies, is responsible for painting in a particular |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 // The height. | 78 // The height. |
79 int height_; | 79 int height_; |
80 // NOTE: the images are owned by ResourceBundle. Don't free them. | 80 // NOTE: the images are owned by ResourceBundle. Don't free them. |
81 SkBitmap* images_[3]; | 81 SkBitmap* images_[3]; |
82 | 82 |
83 DISALLOW_COPY_AND_ASSIGN(HorizontalPainter); | 83 DISALLOW_COPY_AND_ASSIGN(HorizontalPainter); |
84 }; | 84 }; |
85 | 85 |
86 } // namespace views | 86 } // namespace views |
87 | 87 |
88 #endif // VIEWS_PAINTER_H_ | 88 #endif // UI_VIEWS_PAINTER_H_ |
OLD | NEW |