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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 // - DEFINE_CONVERSION_METHODS(<Category>, <category>, <BaseCategory>, <base
Category>) to define methods to | 57 // - DEFINE_CONVERSION_METHODS(<Category>, <category>, <BaseCategory>, <base
Category>) to define methods to |
58 // convert types between the categories; | 58 // convert types between the categories; |
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 DebugRedFill, | |
68 DocumentBackground, | 67 DocumentBackground, |
69 DragImage, | 68 DragImage, |
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, |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 bool isEndAndPairedWith(DisplayItem::Type otherType) const override = 0; | 378 bool isEndAndPairedWith(DisplayItem::Type otherType) const override = 0; |
380 #endif | 379 #endif |
381 | 380 |
382 private: | 381 private: |
383 bool isEnd() const final { return true; } | 382 bool isEnd() const final { return true; } |
384 }; | 383 }; |
385 | 384 |
386 } // namespace blink | 385 } // namespace blink |
387 | 386 |
388 #endif // DisplayItem_h | 387 #endif // DisplayItem_h |
OLD | NEW |