| 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 // - enum value <Category>Last = <Category>First + <BaseCategory>Last - <B
aseCategory>First; | 57 // - enum value <Category>Last = <Category>First + <BaseCategory>Last - <B
aseCategory>First; |
| 58 // - DEFINE_CONVERSION_METHODS(<Category>, <category>, <BaseCategory>, <base
Category>) to define methods to | 58 // - DEFINE_CONVERSION_METHODS(<Category>, <category>, <BaseCategory>, <base
Category>) to define methods to |
| 59 // convert types between the categories; | 59 // convert types between the categories; |
| 60 enum Type { | 60 enum Type { |
| 61 DrawingFirst, | 61 DrawingFirst, |
| 62 DrawingPaintPhaseFirst = DrawingFirst, | 62 DrawingPaintPhaseFirst = DrawingFirst, |
| 63 DrawingPaintPhaseLast = DrawingFirst + PaintPhaseMax, | 63 DrawingPaintPhaseLast = DrawingFirst + PaintPhaseMax, |
| 64 BoxDecorationBackground, | 64 BoxDecorationBackground, |
| 65 Caret, | 65 Caret, |
| 66 ColumnRules, | 66 ColumnRules, |
| 67 DebugDrawing, |
| 67 DebugRedFill, | 68 DebugRedFill, |
| 68 DocumentBackground, | 69 DocumentBackground, |
| 69 DragImage, | 70 DragImage, |
| 70 SVGImage, | 71 SVGImage, |
| 71 LinkHighlight, | 72 LinkHighlight, |
| 72 ImageAreaFocusRing, | 73 ImageAreaFocusRing, |
| 73 PageOverlay, | 74 PageOverlay, |
| 74 PageWidgetDelegateBackgroundFallback, | 75 PageWidgetDelegateBackgroundFallback, |
| 75 PopupContainerBorder, | 76 PopupContainerBorder, |
| 76 PopupListBoxBackground, | 77 PopupListBoxBackground, |
| (...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 397 bool isEndAndPairedWith(DisplayItem::Type otherType) const override = 0; | 398 bool isEndAndPairedWith(DisplayItem::Type otherType) const override = 0; |
| 398 #endif | 399 #endif |
| 399 | 400 |
| 400 private: | 401 private: |
| 401 bool isEnd() const final { return true; } | 402 bool isEnd() const final { return true; } |
| 402 }; | 403 }; |
| 403 | 404 |
| 404 } // namespace blink | 405 } // namespace blink |
| 405 | 406 |
| 406 #endif // DisplayItem_h | 407 #endif // DisplayItem_h |
| OLD | NEW |