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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 TableCellBackgroundFromColumnGroup, | 99 TableCellBackgroundFromColumnGroup, |
100 TableCellBackgroundFromColumn, | 100 TableCellBackgroundFromColumn, |
101 TableCellBackgroundFromSection, | 101 TableCellBackgroundFromSection, |
102 TableCellBackgroundFromRow, | 102 TableCellBackgroundFromRow, |
103 // Table collapsed borders can be painted together (e.g., left & top) bu
t there are at most 4 phases of collapsed | 103 // Table collapsed borders can be painted together (e.g., left & top) bu
t there are at most 4 phases of collapsed |
104 // border painting for a single cell. To disambiguate these phases of co
llapsed border painting, a mask is used. | 104 // border painting for a single cell. To disambiguate these phases of co
llapsed border painting, a mask is used. |
105 // TableCollapsedBorderBase can be larger than TableCollapsedBorderUnali
gnedBase to ensure the base lower bits are 0's. | 105 // TableCollapsedBorderBase can be larger than TableCollapsedBorderUnali
gnedBase to ensure the base lower bits are 0's. |
106 TableCollapsedBorderUnalignedBase, | 106 TableCollapsedBorderUnalignedBase, |
107 TableCollapsedBorderBase = (((TableCollapsedBorderUnalignedBase - 1) >>
4) + 1) << 4, | 107 TableCollapsedBorderBase = (((TableCollapsedBorderUnalignedBase - 1) >>
4) + 1) << 4, |
108 TableCollapsedBorderLast = TableCollapsedBorderBase + 0x0f, | 108 TableCollapsedBorderLast = TableCollapsedBorderBase + 0x0f, |
| 109 TableSectionBoxShadowInset, |
| 110 TableSectionBoxShadowNormal, |
| 111 TableRowBoxShadowInset, |
| 112 TableRowBoxShadowNormal, |
109 VideoBitmap, | 113 VideoBitmap, |
110 WebPlugin, | 114 WebPlugin, |
111 WebFont, | 115 WebFont, |
112 ReflectionMask, | 116 ReflectionMask, |
113 DrawingLast = ReflectionMask, | 117 DrawingLast = ReflectionMask, |
114 | 118 |
115 CachedDrawingFirst, | 119 CachedDrawingFirst, |
116 CachedDrawingLast = CachedDrawingFirst + DrawingLast - DrawingFirst, | 120 CachedDrawingLast = CachedDrawingFirst + DrawingLast - DrawingFirst, |
117 | 121 |
118 ForeignLayerFirst, | 122 ForeignLayerFirst, |
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 bool isEndAndPairedWith(DisplayItem::Type otherType) const override = 0; | 408 bool isEndAndPairedWith(DisplayItem::Type otherType) const override = 0; |
405 #endif | 409 #endif |
406 | 410 |
407 private: | 411 private: |
408 bool isEnd() const final { return true; } | 412 bool isEnd() const final { return true; } |
409 }; | 413 }; |
410 | 414 |
411 } // namespace blink | 415 } // namespace blink |
412 | 416 |
413 #endif // DisplayItem_h | 417 #endif // DisplayItem_h |
OLD | NEW |