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

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

Issue 867063004: [Slimming Paint] Paint the inspector overlay with GraphicsLayer DisplayList. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | Annotate | Revision Log
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/paint/DisplayItemClient.h" 9 #include "platform/graphics/paint/DisplayItemClient.h"
10 #include "wtf/Assertions.h" 10 #include "wtf/Assertions.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 // - enum value <Category>Last = <Category>First + <BaseCategory>Last - <B aseCategory>First; 51 // - enum value <Category>Last = <Category>First + <BaseCategory>Last - <B aseCategory>First;
52 // - DEFINE_CONVERSION_METHODS(<Category>, <category>, <BaseCategory>, <base Category>) to define methods to 52 // - DEFINE_CONVERSION_METHODS(<Category>, <category>, <BaseCategory>, <base Category>) to define methods to
53 // convert types between the categories; 53 // convert types between the categories;
54 enum Type { 54 enum Type {
55 DrawingFirst, 55 DrawingFirst,
56 DrawingPaintPhaseFirst = DrawingFirst, 56 DrawingPaintPhaseFirst = DrawingFirst,
57 DrawingPaintPhaseLast = DrawingFirst + PaintPhaseMax, 57 DrawingPaintPhaseLast = DrawingFirst + PaintPhaseMax,
58 BoxDecorationBackground, 58 BoxDecorationBackground,
59 Caret, 59 Caret,
60 ColumnRules, 60 ColumnRules,
61 DebugRedFill,
61 DragImage, 62 DragImage,
62 LinkHighlight, 63 LinkHighlight,
64 PageOverlay,
63 PageWidgetDelegateBackgroundFallback, 65 PageWidgetDelegateBackgroundFallback,
64 Resizer, 66 Resizer,
65 SVGFilter, 67 SVGFilter,
66 ScrollbarCorner, 68 ScrollbarCorner,
67 ScrollbarHorizontal, 69 ScrollbarHorizontal,
68 ScrollbarTickMark, 70 ScrollbarTickMark,
69 ScrollbarVertical, 71 ScrollbarVertical,
70 VideoBitmap, 72 VideoBitmap,
71 ViewBackground, 73 ViewBackground,
72 DebugRedFill, 74 DrawingLast = ViewBackground,
73 DrawingLast = DebugRedFill,
74 75
75 CachedFirst, 76 CachedFirst,
76 CachedLast = CachedFirst + DrawingLast - DrawingFirst, 77 CachedLast = CachedFirst + DrawingLast - DrawingFirst,
77 78
78 ClipFirst, 79 ClipFirst,
79 ClipBoxPaintPhaseFirst = ClipFirst, 80 ClipBoxPaintPhaseFirst = ClipFirst,
80 ClipBoxPaintPhaseLast = ClipBoxPaintPhaseFirst + PaintPhaseMax, 81 ClipBoxPaintPhaseLast = ClipBoxPaintPhaseFirst + PaintPhaseMax,
81 ClipColumnBoundsPaintPhaseFirst, 82 ClipColumnBoundsPaintPhaseFirst,
82 ClipColumnBoundsPaintPhaseLast = ClipColumnBoundsPaintPhaseFirst + Paint PhaseMax, 83 ClipColumnBoundsPaintPhaseLast = ClipColumnBoundsPaintPhaseFirst + Paint PhaseMax,
83 ClipLayerFragmentPaintPhaseFirst, 84 ClipLayerFragmentPaintPhaseFirst,
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 virtual bool isEndAndPairedWith(const DisplayItem& other) const override = 0 ; 274 virtual bool isEndAndPairedWith(const DisplayItem& other) const override = 0 ;
274 #endif 275 #endif
275 276
276 private: 277 private:
277 virtual bool isEnd() const override final { return true; } 278 virtual bool isEnd() const override final { return true; }
278 }; 279 };
279 280
280 } // namespace blink 281 } // namespace blink
281 282
282 #endif // DisplayItem_h 283 #endif // DisplayItem_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698