Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Side by Side Diff: third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h

Issue 1839533002: Revert of Make GraphicsLayer the DisplayItemClient for scrollbars composited via PaintLayerCompositor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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,
96 SelectionTint, 95 SelectionTint,
97 TableCellBackgroundFromColumnGroup, 96 TableCellBackgroundFromColumnGroup,
98 TableCellBackgroundFromColumn, 97 TableCellBackgroundFromColumn,
99 TableCellBackgroundFromSection, 98 TableCellBackgroundFromSection,
100 TableCellBackgroundFromRow, 99 TableCellBackgroundFromRow,
101 // Table collapsed borders can be painted together (e.g., left & top) bu t there are at most 4 phases of collapsed 100 // Table collapsed borders can be painted together (e.g., left & top) bu t there are at most 4 phases of collapsed
102 // border painting for a single cell. To disambiguate these phases of co llapsed border painting, a mask is used. 101 // border painting for a single cell. To disambiguate these phases of co llapsed border painting, a mask is used.
103 // TableCollapsedBorderBase can be larger than TableCollapsedBorderUnali gnedBase to ensure the base lower bits are 0's. 102 // TableCollapsedBorderBase can be larger than TableCollapsedBorderUnali gnedBase to ensure the base lower bits are 0's.
104 TableCollapsedBorderUnalignedBase, 103 TableCollapsedBorderUnalignedBase,
105 TableCollapsedBorderBase = (((TableCollapsedBorderUnalignedBase - 1) >> 4) + 1) << 4, 104 TableCollapsedBorderBase = (((TableCollapsedBorderUnalignedBase - 1) >> 4) + 1) << 4,
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 bool isEndAndPairedWith(DisplayItem::Type otherType) const override = 0; 397 bool isEndAndPairedWith(DisplayItem::Type otherType) const override = 0;
399 #endif 398 #endif
400 399
401 private: 400 private:
402 bool isEnd() const final { return true; } 401 bool isEnd() const final { return true; }
403 }; 402 };
404 403
405 } // namespace blink 404 } // namespace blink
406 405
407 #endif // DisplayItem_h 406 #endif // DisplayItem_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698