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

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

Issue 1879223002: Support mask images for filter-based -webkit-box-reflect. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@reflection-refactor
Patch Set: add comment referring to skbug.com/5210 Created 4 years, 8 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 TableCellBackgroundFromRow, 100 TableCellBackgroundFromRow,
101 // 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
102 // 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.
103 // 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.
104 TableCollapsedBorderUnalignedBase, 104 TableCollapsedBorderUnalignedBase,
105 TableCollapsedBorderBase = (((TableCollapsedBorderUnalignedBase - 1) >> 4) + 1) << 4, 105 TableCollapsedBorderBase = (((TableCollapsedBorderUnalignedBase - 1) >> 4) + 1) << 4,
106 TableCollapsedBorderLast = TableCollapsedBorderBase + 0x0f, 106 TableCollapsedBorderLast = TableCollapsedBorderBase + 0x0f,
107 VideoBitmap, 107 VideoBitmap,
108 WebPlugin, 108 WebPlugin,
109 WebFont, 109 WebFont,
110 DrawingLast = WebFont, 110 ReflectionMask,
111 DrawingLast = ReflectionMask,
111 112
112 CachedDrawingFirst, 113 CachedDrawingFirst,
113 CachedDrawingLast = CachedDrawingFirst + DrawingLast - DrawingFirst, 114 CachedDrawingLast = CachedDrawingFirst + DrawingLast - DrawingFirst,
114 115
115 ForeignLayerFirst, 116 ForeignLayerFirst,
116 ForeignLayerPlugin = ForeignLayerFirst, 117 ForeignLayerPlugin = ForeignLayerFirst,
117 ForeignLayerLast = ForeignLayerPlugin, 118 ForeignLayerLast = ForeignLayerPlugin,
118 119
119 ClipFirst, 120 ClipFirst,
120 ClipBoxPaintPhaseFirst = ClipFirst, 121 ClipBoxPaintPhaseFirst = ClipFirst,
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 bool isEndAndPairedWith(DisplayItem::Type otherType) const override = 0; 399 bool isEndAndPairedWith(DisplayItem::Type otherType) const override = 0;
399 #endif 400 #endif
400 401
401 private: 402 private:
402 bool isEnd() const final { return true; } 403 bool isEnd() const final { return true; }
403 }; 404 };
404 405
405 } // namespace blink 406 } // namespace blink
406 407
407 #endif // DisplayItem_h 408 #endif // DisplayItem_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698