| 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 "wtf/Noncopyable.h" | 10 #include "wtf/Noncopyable.h" |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 class ContentLayerClientImpl; | 53 class ContentLayerClientImpl; |
| 54 | 54 |
| 55 void updateInLayerListMode(const PaintArtifact&); | 55 void updateInLayerListMode(const PaintArtifact&); |
| 56 | 56 |
| 57 // Builds a leaf layer that represents a single paint chunk. | 57 // Builds a leaf layer that represents a single paint chunk. |
| 58 scoped_refptr<cc::Layer> layerForPaintChunk(const PaintArtifact&, const Pain
tChunk&, gfx::Vector2dF& layerOffset); | 58 scoped_refptr<cc::Layer> layerForPaintChunk(const PaintArtifact&, const Pain
tChunk&, gfx::Vector2dF& layerOffset); |
| 59 | 59 |
| 60 scoped_refptr<cc::Layer> m_rootLayer; | 60 scoped_refptr<cc::Layer> m_rootLayer; |
| 61 OwnPtr<WebLayer> m_webLayer; | 61 OwnPtr<WebLayer> m_webLayer; |
| 62 Vector<OwnPtr<ContentLayerClientImpl>> m_contentLayerClients; | 62 Vector<OwnPtr<ContentLayerClientImpl>> m_contentLayerClients; |
| 63 int m_propertyTreeSequenceNumber; |
| 63 }; | 64 }; |
| 64 | 65 |
| 65 } // namespace blink | 66 } // namespace blink |
| 66 | 67 |
| 67 #endif // PaintArtifactCompositor_h | 68 #endif // PaintArtifactCompositor_h |
| OLD | NEW |