OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_COMPOSITOR_PAINT_CONTEXT_H_ | 5 #ifndef UI_COMPOSITOR_PAINT_CONTEXT_H_ |
6 #define UI_COMPOSITOR_PAINT_CONTEXT_H_ | 6 #define UI_COMPOSITOR_PAINT_CONTEXT_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "ui/compositor/compositor_export.h" | 12 #include "ui/compositor/compositor_export.h" |
13 #include "ui/gfx/geometry/rect.h" | 13 #include "ui/gfx/geometry/rect.h" |
14 | 14 |
15 namespace cc { | 15 namespace cc { |
16 class DisplayItemList; | 16 class DisplayItemList; |
17 } | 17 } |
18 | 18 |
19 namespace gfx { | |
20 class Canvas; | |
21 } | |
22 | |
23 class SkPictureRecorder; | 19 class SkPictureRecorder; |
24 | 20 |
25 namespace ui { | 21 namespace ui { |
26 class ClipRecorder; | 22 class ClipRecorder; |
27 class CompositingRecorder; | 23 class CompositingRecorder; |
28 class PaintRecorder; | 24 class PaintRecorder; |
29 class TransformRecorder; | 25 class TransformRecorder; |
30 | 26 |
31 class COMPOSITOR_EXPORT PaintContext { | 27 class COMPOSITOR_EXPORT PaintContext { |
32 public: | 28 public: |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 // recorder is active. | 109 // recorder is active. |
114 mutable bool inside_paint_recorder_; | 110 mutable bool inside_paint_recorder_; |
115 #endif | 111 #endif |
116 | 112 |
117 DISALLOW_COPY_AND_ASSIGN(PaintContext); | 113 DISALLOW_COPY_AND_ASSIGN(PaintContext); |
118 }; | 114 }; |
119 | 115 |
120 } // namespace ui | 116 } // namespace ui |
121 | 117 |
122 #endif // UI_COMPOSITOR_PAINT_CONTEXT_H_ | 118 #endif // UI_COMPOSITOR_PAINT_CONTEXT_H_ |
OLD | NEW |