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

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

Issue 1642223002: Delete selection gap code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Integrate feedback. Created 4 years, 10 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 ScrollbarBackTrack, 87 ScrollbarBackTrack,
88 ScrollbarCorner, 88 ScrollbarCorner,
89 ScrollbarForwardButtonEnd, 89 ScrollbarForwardButtonEnd,
90 ScrollbarForwardButtonStart, 90 ScrollbarForwardButtonStart,
91 ScrollbarForwardTrack, 91 ScrollbarForwardTrack,
92 ScrollbarHorizontal, // For ScrollbarThemeMacNonOverlayAPI only. 92 ScrollbarHorizontal, // For ScrollbarThemeMacNonOverlayAPI only.
93 ScrollbarThumb, 93 ScrollbarThumb,
94 ScrollbarTickmarks, 94 ScrollbarTickmarks,
95 ScrollbarTrackBackground, 95 ScrollbarTrackBackground,
96 ScrollbarVertical, // For ScrollbarThemeMacNonOverlayAPI only. 96 ScrollbarVertical, // For ScrollbarThemeMacNonOverlayAPI only.
97 SelectionGap,
98 SelectionTint, 97 SelectionTint,
99 TableCellBackgroundFromColumnGroup, 98 TableCellBackgroundFromColumnGroup,
100 TableCellBackgroundFromColumn, 99 TableCellBackgroundFromColumn,
101 TableCellBackgroundFromSection, 100 TableCellBackgroundFromSection,
102 TableCellBackgroundFromRow, 101 TableCellBackgroundFromRow,
103 // Table collapsed borders can be painted together (e.g., left & top) bu t there are at most 4 phases of collapsed 102 // 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. 103 // 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. 104 // TableCollapsedBorderBase can be larger than TableCollapsedBorderUnali gnedBase to ensure the base lower bits are 0's.
106 TableCollapsedBorderUnalignedBase, 105 TableCollapsedBorderUnalignedBase,
107 TableCollapsedBorderBase = (((TableCollapsedBorderUnalignedBase - 1) >> 4) + 1) << 4, 106 TableCollapsedBorderBase = (((TableCollapsedBorderUnalignedBase - 1) >> 4) + 1) << 4,
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 bool isEndAndPairedWith(DisplayItem::Type otherType) const override = 0; 396 bool isEndAndPairedWith(DisplayItem::Type otherType) const override = 0;
398 #endif 397 #endif
399 398
400 private: 399 private:
401 bool isEnd() const final { return true; } 400 bool isEnd() const final { return true; }
402 }; 401 };
403 402
404 } // namespace blink 403 } // namespace blink
405 404
406 #endif // DisplayItem_h 405 #endif // DisplayItem_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698