| 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_RECORDER_H_ | 5 #ifndef UI_COMPOSITOR_PAINT_RECORDER_H_ |
| 6 #define UI_COMPOSITOR_PAINT_RECORDER_H_ | 6 #define UI_COMPOSITOR_PAINT_RECORDER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "skia/ext/refptr.h" | |
| 12 #include "ui/compositor/compositor_export.h" | 11 #include "ui/compositor/compositor_export.h" |
| 13 #include "ui/gfx/canvas.h" | 12 #include "ui/gfx/canvas.h" |
| 14 #include "ui/gfx/geometry/rect.h" | 13 #include "ui/gfx/geometry/rect.h" |
| 15 | 14 |
| 16 namespace cc { | 15 namespace cc { |
| 17 class DisplayItemList; | 16 class DisplayItemList; |
| 18 } | 17 } |
| 19 | 18 |
| 20 namespace gfx { | 19 namespace gfx { |
| 21 class Canvas; | 20 class Canvas; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 50 gfx::Canvas canvas_; | 49 gfx::Canvas canvas_; |
| 51 PaintCache* cache_; | 50 PaintCache* cache_; |
| 52 gfx::Rect bounds_in_layer_; | 51 gfx::Rect bounds_in_layer_; |
| 53 | 52 |
| 54 DISALLOW_COPY_AND_ASSIGN(PaintRecorder); | 53 DISALLOW_COPY_AND_ASSIGN(PaintRecorder); |
| 55 }; | 54 }; |
| 56 | 55 |
| 57 } // namespace ui | 56 } // namespace ui |
| 58 | 57 |
| 59 #endif // UI_COMPOSITOR_PAINT_RECORDER_H_ | 58 #endif // UI_COMPOSITOR_PAINT_RECORDER_H_ |
| OLD | NEW |