| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 ScrollbarBackButtonStart, | 85 ScrollbarBackButtonStart, |
| 86 ScrollbarBackground, | 86 ScrollbarBackground, |
| 87 ScrollbarBackTrack, | 87 ScrollbarBackTrack, |
| 88 ScrollbarCorner, | 88 ScrollbarCorner, |
| 89 ScrollbarForwardButtonEnd, | 89 ScrollbarForwardButtonEnd, |
| 90 ScrollbarForwardButtonStart, | 90 ScrollbarForwardButtonStart, |
| 91 ScrollbarForwardTrack, | 91 ScrollbarForwardTrack, |
| 92 ScrollbarThumb, | 92 ScrollbarThumb, |
| 93 ScrollbarTickmarks, | 93 ScrollbarTickmarks, |
| 94 ScrollbarTrackBackground, | 94 ScrollbarTrackBackground, |
| 95 ScrollbarCompositedScrollbar, |
| 95 SelectionTint, | 96 SelectionTint, |
| 96 TableCellBackgroundFromColumnGroup, | 97 TableCellBackgroundFromColumnGroup, |
| 97 TableCellBackgroundFromColumn, | 98 TableCellBackgroundFromColumn, |
| 98 TableCellBackgroundFromSection, | 99 TableCellBackgroundFromSection, |
| 99 TableCellBackgroundFromRow, | 100 TableCellBackgroundFromRow, |
| 100 // Table collapsed borders can be painted together (e.g., left & top) bu
t there are at most 4 phases of collapsed | 101 // Table collapsed borders can be painted together (e.g., left & top) bu
t there are at most 4 phases of collapsed |
| 101 // border painting for a single cell. To disambiguate these phases of co
llapsed border painting, a mask is used. | 102 // border painting for a single cell. To disambiguate these phases of co
llapsed border painting, a mask is used. |
| 102 // TableCollapsedBorderBase can be larger than TableCollapsedBorderUnali
gnedBase to ensure the base lower bits are 0's. | 103 // TableCollapsedBorderBase can be larger than TableCollapsedBorderUnali
gnedBase to ensure the base lower bits are 0's. |
| 103 TableCollapsedBorderUnalignedBase, | 104 TableCollapsedBorderUnalignedBase, |
| 104 TableCollapsedBorderBase = (((TableCollapsedBorderUnalignedBase - 1) >>
4) + 1) << 4, | 105 TableCollapsedBorderBase = (((TableCollapsedBorderUnalignedBase - 1) >>
4) + 1) << 4, |
| (...skipping 292 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 |