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/paint/DisplayItemClient.h" | 9 #include "platform/graphics/paint/DisplayItemClient.h" |
10 #include "wtf/Assertions.h" | 10 #include "wtf/Assertions.h" |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
63 PageWidgetDelegateBackgroundFallback, | 63 PageWidgetDelegateBackgroundFallback, |
64 Resizer, | 64 Resizer, |
65 SVGFilter, | 65 SVGFilter, |
66 ScrollbarCorner, | 66 ScrollbarCorner, |
67 ScrollbarHorizontal, | 67 ScrollbarHorizontal, |
68 ScrollbarTickMark, | 68 ScrollbarTickMark, |
69 ScrollbarVertical, | 69 ScrollbarVertical, |
70 VideoBitmap, | 70 VideoBitmap, |
71 ViewBackground, | 71 ViewBackground, |
72 DebugRedFill, | 72 DebugRedFill, |
73 DrawingLast = DebugRedFill, | 73 PageOverlay, |
74 DrawingLast = PageOverlay, | |
Xianzhu
2015/02/09 17:57:10
Please keep the above list sorted.
jbroman
2015/02/09 18:13:36
Ah, I hadn't realized it was sorted (I saw D, B, C
| |
74 | 75 |
75 CachedFirst, | 76 CachedFirst, |
76 CachedLast = CachedFirst + DrawingLast - DrawingFirst, | 77 CachedLast = CachedFirst + DrawingLast - DrawingFirst, |
77 | 78 |
78 ClipFirst, | 79 ClipFirst, |
79 ClipBoxPaintPhaseFirst = ClipFirst, | 80 ClipBoxPaintPhaseFirst = ClipFirst, |
80 ClipBoxPaintPhaseLast = ClipBoxPaintPhaseFirst + PaintPhaseMax, | 81 ClipBoxPaintPhaseLast = ClipBoxPaintPhaseFirst + PaintPhaseMax, |
81 ClipColumnBoundsPaintPhaseFirst, | 82 ClipColumnBoundsPaintPhaseFirst, |
82 ClipColumnBoundsPaintPhaseLast = ClipColumnBoundsPaintPhaseFirst + Paint PhaseMax, | 83 ClipColumnBoundsPaintPhaseLast = ClipColumnBoundsPaintPhaseFirst + Paint PhaseMax, |
83 ClipLayerFragmentPaintPhaseFirst, | 84 ClipLayerFragmentPaintPhaseFirst, |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
273 virtual bool isEndAndPairedWith(const DisplayItem& other) const override = 0 ; | 274 virtual bool isEndAndPairedWith(const DisplayItem& other) const override = 0 ; |
274 #endif | 275 #endif |
275 | 276 |
276 private: | 277 private: |
277 virtual bool isEnd() const override final { return true; } | 278 virtual bool isEnd() const override final { return true; } |
278 }; | 279 }; |
279 | 280 |
280 } // namespace blink | 281 } // namespace blink |
281 | 282 |
282 #endif // DisplayItem_h | 283 #endif // DisplayItem_h |
OLD | NEW |