| 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_PAINTER_H_ | 5 #ifndef UI_VIEWS_PAINTER_H_ |
| 6 #define UI_VIEWS_PAINTER_H_ | 6 #define UI_VIEWS_PAINTER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include <stddef.h> |
| 9 |
| 9 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" |
| 10 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 11 #include "third_party/skia/include/core/SkColor.h" | 13 #include "third_party/skia/include/core/SkColor.h" |
| 12 #include "ui/base/nine_image_painter_factory.h" | 14 #include "ui/base/nine_image_painter_factory.h" |
| 13 #include "ui/views/views_export.h" | 15 #include "ui/views/views_export.h" |
| 14 | 16 |
| 15 namespace gfx { | 17 namespace gfx { |
| 16 class Canvas; | 18 class Canvas; |
| 17 class ImageSkia; | 19 class ImageSkia; |
| 18 class Insets; | 20 class Insets; |
| 19 class Rect; | 21 class Rect; |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 | 115 |
| 114 // NOTE: the images are owned by ResourceBundle. Don't free them. | 116 // NOTE: the images are owned by ResourceBundle. Don't free them. |
| 115 const gfx::ImageSkia* images_[3]; | 117 const gfx::ImageSkia* images_[3]; |
| 116 | 118 |
| 117 DISALLOW_COPY_AND_ASSIGN(HorizontalPainter); | 119 DISALLOW_COPY_AND_ASSIGN(HorizontalPainter); |
| 118 }; | 120 }; |
| 119 | 121 |
| 120 } // namespace views | 122 } // namespace views |
| 121 | 123 |
| 122 #endif // UI_VIEWS_PAINTER_H_ | 124 #endif // UI_VIEWS_PAINTER_H_ |
| OLD | NEW |