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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 kScrollbarBackTrack, | 97 kScrollbarBackTrack, |
98 kScrollbarCorner, | 98 kScrollbarCorner, |
99 kScrollbarForwardButtonEnd, | 99 kScrollbarForwardButtonEnd, |
100 kScrollbarForwardButtonStart, | 100 kScrollbarForwardButtonStart, |
101 kScrollbarForwardTrack, | 101 kScrollbarForwardTrack, |
102 kScrollbarThumb, | 102 kScrollbarThumb, |
103 kScrollbarTickmarks, | 103 kScrollbarTickmarks, |
104 kScrollbarTrackBackground, | 104 kScrollbarTrackBackground, |
105 kScrollbarCompositedScrollbar, | 105 kScrollbarCompositedScrollbar, |
106 kSelectionTint, | 106 kSelectionTint, |
107 kTableCellBackgroundFromColumnGroup, | |
108 kTableCellBackgroundFromColumn, | |
109 kTableCellBackgroundFromSection, | |
110 kTableCellBackgroundFromRow, | |
111 // Table collapsed borders can be painted together (e.g., left & top) but | 107 // Table collapsed borders can be painted together (e.g., left & top) but |
112 // there are at most 4 phases of collapsed border painting for a single | 108 // there are at most 4 phases of collapsed border painting for a single |
113 // cell. To disambiguate these phases of collapsed border painting, a mask | 109 // cell. To disambiguate these phases of collapsed border painting, a mask |
114 // is used. TableCollapsedBorderBase can be larger than | 110 // is used. TableCollapsedBorderBase can be larger than |
115 // TableCollapsedBorderUnalignedBase to ensure the base lower bits are 0's. | 111 // TableCollapsedBorderUnalignedBase to ensure the base lower bits are 0's. |
116 kTableCollapsedBorderUnalignedBase, | 112 kTableCollapsedBorderUnalignedBase, |
117 kTableCollapsedBorderBase = | 113 kTableCollapsedBorderBase = |
118 (((kTableCollapsedBorderUnalignedBase - 1) >> 4) + 1) << 4, | 114 (((kTableCollapsedBorderUnalignedBase - 1) >> 4) + 1) << 4, |
119 kTableCollapsedBorderLast = kTableCollapsedBorderBase + 0x0f, | 115 kTableCollapsedBorderLast = kTableCollapsedBorderBase + 0x0f, |
120 kTableSectionBoxShadowInset, | |
121 kTableSectionBoxShadowNormal, | |
122 kTableRowBoxShadowInset, | |
123 kTableRowBoxShadowNormal, | |
124 kVideoBitmap, | 116 kVideoBitmap, |
125 kWebPlugin, | 117 kWebPlugin, |
126 kWebFont, | 118 kWebFont, |
127 kReflectionMask, | 119 kReflectionMask, |
128 kDrawingLast = kReflectionMask, | 120 kDrawingLast = kReflectionMask, |
129 | 121 |
130 kForeignLayerFirst, | 122 kForeignLayerFirst, |
131 kForeignLayerCanvas = kForeignLayerFirst, | 123 kForeignLayerCanvas = kForeignLayerFirst, |
132 kForeignLayerPlugin, | 124 kForeignLayerPlugin, |
133 kForeignLayerVideo, | 125 kForeignLayerVideo, |
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 bool isEndAndPairedWith(DisplayItem::Type otherType) const override = 0; | 410 bool isEndAndPairedWith(DisplayItem::Type otherType) const override = 0; |
419 #endif | 411 #endif |
420 | 412 |
421 private: | 413 private: |
422 bool isEnd() const final { return true; } | 414 bool isEnd() const final { return true; } |
423 }; | 415 }; |
424 | 416 |
425 } // namespace blink | 417 } // namespace blink |
426 | 418 |
427 #endif // DisplayItem_h | 419 #endif // DisplayItem_h |
OLD | NEW |