Chromium Code Reviews| 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 105 CachedDrawingFirst, | 105 CachedDrawingFirst, |
| 106 CachedDrawingLast = CachedDrawingFirst + DrawingLast - DrawingFirst, | 106 CachedDrawingLast = CachedDrawingFirst + DrawingLast - DrawingFirst, |
| 107 | 107 |
| 108 ClipFirst, | 108 ClipFirst, |
| 109 ClipBoxPaintPhaseFirst = ClipFirst, | 109 ClipBoxPaintPhaseFirst = ClipFirst, |
| 110 ClipBoxPaintPhaseLast = ClipBoxPaintPhaseFirst + PaintPhaseMax, | 110 ClipBoxPaintPhaseLast = ClipBoxPaintPhaseFirst + PaintPhaseMax, |
| 111 ClipColumnBoundsPaintPhaseFirst, | 111 ClipColumnBoundsPaintPhaseFirst, |
| 112 ClipColumnBoundsPaintPhaseLast = ClipColumnBoundsPaintPhaseFirst + Paint PhaseMax, | 112 ClipColumnBoundsPaintPhaseLast = ClipColumnBoundsPaintPhaseFirst + Paint PhaseMax, |
| 113 ClipLayerFragmentPaintPhaseFirst, | 113 ClipLayerFragmentPaintPhaseFirst, |
| 114 ClipLayerFragmentPaintPhaseLast = ClipLayerFragmentPaintPhaseFirst + Pai ntPhaseMax, | 114 ClipLayerFragmentPaintPhaseLast = ClipLayerFragmentPaintPhaseFirst + Pai ntPhaseMax, |
| 115 ClipDescendantStackingContext, | |
| 115 ClipFileUploadControlRect, | 116 ClipFileUploadControlRect, |
| 116 ClipFrameToVisibleContentRect, | 117 ClipFrameToVisibleContentRect, |
| 117 ClipFrameScrollbars, | 118 ClipFrameScrollbars, |
| 118 ClipLayerBackground, | 119 ClipLayerBackground, |
| 119 ClipLayerColumnBounds, | 120 ClipLayerColumnBounds, |
| 120 ClipLayerFilter, | 121 ClipLayerFilter, |
| 121 ClipLayerForeground, | 122 ClipLayerForeground, |
| 122 ClipLayerParent, | 123 ClipLayerParent, |
| 123 ClipLayerOverflowControls, | 124 ClipLayerOverflowControls, |
| 124 ClipNodeImage, | 125 ClipNodeImage, |
| (...skipping 29 matching lines...) Expand all Loading... | |
| 154 BeginFilter, | 155 BeginFilter, |
| 155 EndFilter, | 156 EndFilter, |
| 156 BeginCompositing, | 157 BeginCompositing, |
| 157 EndCompositing, | 158 EndCompositing, |
| 158 BeginTransform, | 159 BeginTransform, |
| 159 EndTransform, | 160 EndTransform, |
| 160 BeginClipPath, | 161 BeginClipPath, |
| 161 EndClipPath, | 162 EndClipPath, |
| 162 BeginFixedPosition, | 163 BeginFixedPosition, |
| 163 EndFixedPosition, | 164 EndFixedPosition, |
| 164 BeginFixedPositionContainer, | 165 FixedPositionContainer, |
|
pdr.
2015/09/03 06:16:59
Won't we still need begin/end pairs for multiple f
trchen
2015/09/04 06:10:15
Previously when I added it I was thinking the fixe
| |
| 165 EndFixedPositionContainer, | |
| 166 | 166 |
| 167 BeginSubsequence, | 167 BeginSubsequence, |
| 168 EndSubsequence, | 168 EndSubsequence, |
| 169 CachedSubsequence, | 169 CachedSubsequence, |
| 170 | 170 |
| 171 UninitializedType, | 171 UninitializedType, |
| 172 TypeLast = UninitializedType | 172 TypeLast = UninitializedType |
| 173 }; | 173 }; |
| 174 | 174 |
| 175 static_assert(TableCollapsedBorderBase >= TableCollapsedBorderUnalignedBase, "TableCollapsedBorder types overlap with other types"); | 175 static_assert(TableCollapsedBorderBase >= TableCollapsedBorderUnalignedBase, "TableCollapsedBorder types overlap with other types"); |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 377 bool isEndAndPairedWith(DisplayItem::Type otherType) const override = 0; | 377 bool isEndAndPairedWith(DisplayItem::Type otherType) const override = 0; |
| 378 #endif | 378 #endif |
| 379 | 379 |
| 380 private: | 380 private: |
| 381 bool isEnd() const final { return true; } | 381 bool isEnd() const final { return true; } |
| 382 }; | 382 }; |
| 383 | 383 |
| 384 } // namespace blink | 384 } // namespace blink |
| 385 | 385 |
| 386 #endif // DisplayItem_h | 386 #endif // DisplayItem_h |
| OLD | NEW |