| 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 PaintArtifact_h | 5 #ifndef PaintArtifact_h |
| 6 #define PaintArtifact_h | 6 #define PaintArtifact_h |
| 7 | 7 |
| 8 #include "platform/PlatformExport.h" | 8 #include "platform/PlatformExport.h" |
| 9 #include "platform/graphics/paint/DisplayItemList.h" | 9 #include "platform/graphics/paint/DisplayItemList.h" |
| 10 #include "platform/graphics/paint/PaintChunk.h" | 10 #include "platform/graphics/paint/PaintChunk.h" |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 // Draws the paint artifact to a GraphicsContext. | 63 // Draws the paint artifact to a GraphicsContext. |
| 64 void replay(GraphicsContext&) const; | 64 void replay(GraphicsContext&) const; |
| 65 | 65 |
| 66 // Writes the paint artifact into a WebDisplayItemList. | 66 // Writes the paint artifact into a WebDisplayItemList. |
| 67 void appendToWebDisplayItemList(WebDisplayItemList*) const; | 67 void appendToWebDisplayItemList(WebDisplayItemList*) const; |
| 68 | 68 |
| 69 private: | 69 private: |
| 70 DisplayItemList m_displayItemList; | 70 DisplayItemList m_displayItemList; |
| 71 Vector<PaintChunk> m_paintChunks; | 71 Vector<PaintChunk> m_paintChunks; |
| 72 bool m_isSuitableForGpuRasterization; | 72 bool m_isSuitableForGpuRasterization; |
| 73 | |
| 74 friend class PaintControllerTest; | |
| 75 }; | 73 }; |
| 76 | 74 |
| 77 } // namespace blink | 75 } // namespace blink |
| 78 | 76 |
| 79 #endif // PaintArtifact_h | 77 #endif // PaintArtifact_h |
| OLD | NEW |