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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 enum Type { | 59 enum Type { |
60 DrawingFirst, | 60 DrawingFirst, |
61 DrawingPaintPhaseFirst = DrawingFirst, | 61 DrawingPaintPhaseFirst = DrawingFirst, |
62 DrawingPaintPhaseLast = DrawingFirst + PaintPhaseMax, | 62 DrawingPaintPhaseLast = DrawingFirst + PaintPhaseMax, |
63 BoxDecorationBackground, | 63 BoxDecorationBackground, |
64 Caret, | 64 Caret, |
65 ColumnRules, | 65 ColumnRules, |
66 DebugDrawing, | 66 DebugDrawing, |
67 DocumentBackground, | 67 DocumentBackground, |
68 DragImage, | 68 DragImage, |
69 DragCaret, | |
70 SVGImage, | 69 SVGImage, |
71 LinkHighlight, | 70 LinkHighlight, |
72 ImageAreaFocusRing, | 71 ImageAreaFocusRing, |
73 PageOverlay, | 72 PageOverlay, |
74 PageWidgetDelegateBackgroundFallback, | 73 PageWidgetDelegateBackgroundFallback, |
75 PopupContainerBorder, | 74 PopupContainerBorder, |
76 PopupListBoxBackground, | 75 PopupListBoxBackground, |
77 PopupListBoxRow, | 76 PopupListBoxRow, |
78 PrintedContentBackground, | 77 PrintedContentBackground, |
79 PrintedContentDestinationLocations, | 78 PrintedContentDestinationLocations, |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
381 bool isEndAndPairedWith(DisplayItem::Type otherType) const override = 0; | 380 bool isEndAndPairedWith(DisplayItem::Type otherType) const override = 0; |
382 #endif | 381 #endif |
383 | 382 |
384 private: | 383 private: |
385 bool isEnd() const final { return true; } | 384 bool isEnd() const final { return true; } |
386 }; | 385 }; |
387 | 386 |
388 } // namespace blink | 387 } // namespace blink |
389 | 388 |
390 #endif // DisplayItem_h | 389 #endif // DisplayItem_h |
OLD | NEW |