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

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

Issue 2787173005: Some cleanup after https://codereview.chromium.org/2751433002 (Closed)
Patch Set: none Created 3 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 kDragImage, 78 kDragImage,
79 kDragCaret, 79 kDragCaret,
80 kSVGImage, 80 kSVGImage,
81 kLinkHighlight, 81 kLinkHighlight,
82 kImageAreaFocusRing, 82 kImageAreaFocusRing,
83 kPageOverlay, 83 kPageOverlay,
84 kPageWidgetDelegateBackgroundFallback, 84 kPageWidgetDelegateBackgroundFallback,
85 kPopupContainerBorder, 85 kPopupContainerBorder,
86 kPopupListBoxBackground, 86 kPopupListBoxBackground,
87 kPopupListBoxRow, 87 kPopupListBoxRow,
88 kPrintedContentBackground,
89 kPrintedContentDestinationLocations, 88 kPrintedContentDestinationLocations,
90 kPrintedContentLineBoundary,
91 kPrintedContentPDFURLRect, 89 kPrintedContentPDFURLRect,
92 kResizer, 90 kResizer,
93 kSVGClip, 91 kSVGClip,
94 kSVGFilter, 92 kSVGFilter,
95 kSVGMask, 93 kSVGMask,
96 kScrollbarBackButtonEnd, 94 kScrollbarBackButtonEnd,
97 kScrollbarBackButtonStart, 95 kScrollbarBackButtonStart,
98 kScrollbarBackground, 96 kScrollbarBackground,
99 kScrollbarBackTrack, 97 kScrollbarBackTrack,
100 kScrollbarCorner, 98 kScrollbarCorner,
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 kClipLayerFragmentPaintPhaseFirst + kPaintPhaseMax, 144 kClipLayerFragmentPaintPhaseFirst + kPaintPhaseMax,
147 kClipFileUploadControlRect, 145 kClipFileUploadControlRect,
148 kClipFrameToVisibleContentRect, 146 kClipFrameToVisibleContentRect,
149 kClipFrameScrollbars, 147 kClipFrameScrollbars,
150 kClipLayerBackground, 148 kClipLayerBackground,
151 kClipLayerColumnBounds, 149 kClipLayerColumnBounds,
152 kClipLayerFilter, 150 kClipLayerFilter,
153 kClipLayerForeground, 151 kClipLayerForeground,
154 kClipLayerParent, 152 kClipLayerParent,
155 kClipLayerOverflowControls, 153 kClipLayerOverflowControls,
156 kClipNodeImage,
157 kClipPopupListBoxFrame, 154 kClipPopupListBoxFrame,
158 kClipScrollbarsToBoxBounds, 155 kClipScrollbarsToBoxBounds,
159 kClipSelectionImage, 156 kClipSelectionImage,
160 kPageWidgetDelegateClip, 157 kPageWidgetDelegateClip,
161 kClipPrintedPage, 158 kClipLast = kPageWidgetDelegateClip,
162 kClipLast = kClipPrintedPage,
163 159
164 kEndClipFirst, 160 kEndClipFirst,
165 kEndClipLast = kEndClipFirst + kClipLast - kClipFirst, 161 kEndClipLast = kEndClipFirst + kClipLast - kClipFirst,
166 162
167 kFloatClipFirst, 163 kFloatClipFirst,
168 kFloatClipPaintPhaseFirst = kFloatClipFirst, 164 kFloatClipPaintPhaseFirst = kFloatClipFirst,
169 kFloatClipPaintPhaseLast = kFloatClipFirst + kPaintPhaseMax, 165 kFloatClipPaintPhaseLast = kFloatClipFirst + kPaintPhaseMax,
170 kFloatClipLast = kFloatClipPaintPhaseLast, 166 kFloatClipLast = kFloatClipPaintPhaseLast,
171 kEndFloatClipFirst, 167 kEndFloatClipFirst,
172 kEndFloatClipLast = kEndFloatClipFirst + kFloatClipLast - kFloatClipFirst, 168 kEndFloatClipLast = kEndFloatClipFirst + kFloatClipLast - kFloatClipFirst,
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 bool isEndAndPairedWith(DisplayItem::Type otherType) const override = 0; 418 bool isEndAndPairedWith(DisplayItem::Type otherType) const override = 0;
423 #endif 419 #endif
424 420
425 private: 421 private:
426 bool isEnd() const final { return true; } 422 bool isEnd() const final { return true; }
427 }; 423 };
428 424
429 } // namespace blink 425 } // namespace blink
430 426
431 #endif // DisplayItem_h 427 #endif // DisplayItem_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698