| 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 PaintArtifactCompositor_h | 5 #ifndef PaintArtifactCompositor_h |
| 6 #define PaintArtifactCompositor_h | 6 #define PaintArtifactCompositor_h |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "platform/PlatformExport.h" | 9 #include "platform/PlatformExport.h" |
| 10 #include "platform/RuntimeEnabledFeatures.h" | 10 #include "platform/RuntimeEnabledFeatures.h" |
| 11 #include "platform/graphics/GraphicsLayerClient.h" | 11 #include "platform/graphics/GraphicsLayerClient.h" |
| 12 #include "platform/graphics/paint/PaintController.h" | 12 #include "platform/graphics/paint/PaintController.h" |
| 13 #include "wtf/Noncopyable.h" | 13 #include "wtf/Noncopyable.h" |
| 14 #include "wtf/PtrUtil.h" | 14 #include "wtf/PtrUtil.h" |
| 15 #include "wtf/Vector.h" | 15 #include "wtf/Vector.h" |
| 16 #include <memory> | 16 #include <memory> |
| 17 | 17 |
| 18 namespace cc { | 18 namespace cc { |
| 19 class Layer; | 19 class Layer; |
| 20 } | 20 } |
| 21 | 21 |
| 22 namespace gfx { | 22 namespace gfx { |
| 23 class Transform; | |
| 24 class Vector2dF; | 23 class Vector2dF; |
| 25 } | 24 } |
| 26 | 25 |
| 27 namespace blink { | 26 namespace blink { |
| 28 | 27 |
| 29 class DisplayItemClient; | |
| 30 class IntRect; | |
| 31 class JSONObject; | 28 class JSONObject; |
| 32 class PaintArtifact; | 29 class PaintArtifact; |
| 33 class WebLayer; | 30 class WebLayer; |
| 34 struct PaintChunk; | 31 struct PaintChunk; |
| 35 | 32 |
| 36 // Responsible for managing compositing in terms of a PaintArtifact. | 33 // Responsible for managing compositing in terms of a PaintArtifact. |
| 37 // | 34 // |
| 38 // Owns a subtree of the compositor layer tree, and updates it in response to | 35 // Owns a subtree of the compositor layer tree, and updates it in response to |
| 39 // changes in the paint artifact. | 36 // changes in the paint artifact. |
| 40 // | 37 // |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 bool m_extraDataForTestingEnabled = false; | 108 bool m_extraDataForTestingEnabled = false; |
| 112 std::unique_ptr<ExtraDataForTesting> m_extraDataForTesting; | 109 std::unique_ptr<ExtraDataForTesting> m_extraDataForTesting; |
| 113 friend class StubChromeClientForSPv2; | 110 friend class StubChromeClientForSPv2; |
| 114 | 111 |
| 115 bool m_isTrackingRasterInvalidations; | 112 bool m_isTrackingRasterInvalidations; |
| 116 }; | 113 }; |
| 117 | 114 |
| 118 } // namespace blink | 115 } // namespace blink |
| 119 | 116 |
| 120 #endif // PaintArtifactCompositor_h | 117 #endif // PaintArtifactCompositor_h |
| OLD | NEW |