OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 DisplayItem_h | 5 #ifndef DisplayItem_h |
6 #define DisplayItem_h | 6 #define DisplayItem_h |
7 | 7 |
8 #include "platform/PlatformExport.h" | 8 #include "platform/PlatformExport.h" |
9 #include "platform/graphics/ContiguousContainer.h" | 9 #include "platform/graphics/ContiguousContainer.h" |
10 #include "platform/graphics/paint/DisplayItemClient.h" | 10 #include "platform/graphics/paint/DisplayItemClient.h" |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 VideoBitmap, | 113 VideoBitmap, |
114 WebPlugin, | 114 WebPlugin, |
115 WebFont, | 115 WebFont, |
116 ReflectionMask, | 116 ReflectionMask, |
117 DrawingLast = ReflectionMask, | 117 DrawingLast = ReflectionMask, |
118 | 118 |
119 CachedDrawingFirst, | 119 CachedDrawingFirst, |
120 CachedDrawingLast = CachedDrawingFirst + DrawingLast - DrawingFirst, | 120 CachedDrawingLast = CachedDrawingFirst + DrawingLast - DrawingFirst, |
121 | 121 |
122 ForeignLayerFirst, | 122 ForeignLayerFirst, |
123 ForeignLayerPlugin = ForeignLayerFirst, | 123 ForeignLayerCanvas = ForeignLayerFirst, |
| 124 ForeignLayerPlugin, |
124 ForeignLayerVideo, | 125 ForeignLayerVideo, |
125 ForeignLayerLast = ForeignLayerVideo, | 126 ForeignLayerLast = ForeignLayerVideo, |
126 | 127 |
127 ClipFirst, | 128 ClipFirst, |
128 ClipBoxPaintPhaseFirst = ClipFirst, | 129 ClipBoxPaintPhaseFirst = ClipFirst, |
129 ClipBoxPaintPhaseLast = ClipBoxPaintPhaseFirst + PaintPhaseMax, | 130 ClipBoxPaintPhaseLast = ClipBoxPaintPhaseFirst + PaintPhaseMax, |
130 ClipColumnBoundsPaintPhaseFirst, | 131 ClipColumnBoundsPaintPhaseFirst, |
131 ClipColumnBoundsPaintPhaseLast = ClipColumnBoundsPaintPhaseFirst + Paint
PhaseMax, | 132 ClipColumnBoundsPaintPhaseLast = ClipColumnBoundsPaintPhaseFirst + Paint
PhaseMax, |
132 ClipLayerFragmentPaintPhaseFirst, | 133 ClipLayerFragmentPaintPhaseFirst, |
133 ClipLayerFragmentPaintPhaseLast = ClipLayerFragmentPaintPhaseFirst + Pai
ntPhaseMax, | 134 ClipLayerFragmentPaintPhaseLast = ClipLayerFragmentPaintPhaseFirst + Pai
ntPhaseMax, |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 bool isEndAndPairedWith(DisplayItem::Type otherType) const override = 0; | 399 bool isEndAndPairedWith(DisplayItem::Type otherType) const override = 0; |
399 #endif | 400 #endif |
400 | 401 |
401 private: | 402 private: |
402 bool isEnd() const final { return true; } | 403 bool isEnd() const final { return true; } |
403 }; | 404 }; |
404 | 405 |
405 } // namespace blink | 406 } // namespace blink |
406 | 407 |
407 #endif // DisplayItem_h | 408 #endif // DisplayItem_h |
OLD | NEW |