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

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

Issue 1963313002: Implement box-shadow for table section and row (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 TableCellBackgroundFromColumnGroup, 98 TableCellBackgroundFromColumnGroup,
99 TableCellBackgroundFromColumn, 99 TableCellBackgroundFromColumn,
100 TableCellBackgroundFromSection, 100 TableCellBackgroundFromSection,
101 TableCellBackgroundFromRow, 101 TableCellBackgroundFromRow,
102 // 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
103 // 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.
104 // 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.
105 TableCollapsedBorderUnalignedBase, 105 TableCollapsedBorderUnalignedBase,
106 TableCollapsedBorderBase = (((TableCollapsedBorderUnalignedBase - 1) >> 4) + 1) << 4, 106 TableCollapsedBorderBase = (((TableCollapsedBorderUnalignedBase - 1) >> 4) + 1) << 4,
107 TableCollapsedBorderLast = TableCollapsedBorderBase + 0x0f, 107 TableCollapsedBorderLast = TableCollapsedBorderBase + 0x0f,
108 TableSectionBoxShadowInset,
109 TableSectionBoxShadowNormal,
110 TableRowBoxShadowInset,
111 TableRowBoxShadowNormal,
108 VideoBitmap, 112 VideoBitmap,
109 WebPlugin, 113 WebPlugin,
110 WebFont, 114 WebFont,
111 ReflectionMask, 115 ReflectionMask,
112 DrawingLast = ReflectionMask, 116 DrawingLast = ReflectionMask,
113 117
114 CachedDrawingFirst, 118 CachedDrawingFirst,
115 CachedDrawingLast = CachedDrawingFirst + DrawingLast - DrawingFirst, 119 CachedDrawingLast = CachedDrawingFirst + DrawingLast - DrawingFirst,
116 120
117 ForeignLayerFirst, 121 ForeignLayerFirst,
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 bool isEndAndPairedWith(DisplayItem::Type otherType) const override = 0; 404 bool isEndAndPairedWith(DisplayItem::Type otherType) const override = 0;
401 #endif 405 #endif
402 406
403 private: 407 private:
404 bool isEnd() const final { return true; } 408 bool isEnd() const final { return true; }
405 }; 409 };
406 410
407 } // namespace blink 411 } // namespace blink
408 412
409 #endif // DisplayItem_h 413 #endif // DisplayItem_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698