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

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

Issue 2124893002: [SPv2] Use foreign layer support to enable composited video. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge with master, integration test Created 4 years, 5 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 WebPlugin, 114 WebPlugin,
115 WebFont, 115 WebFont,
116 ReflectionMask, 116 ReflectionMask,
117 DrawingLast = ReflectionMask, 117 DrawingLast = ReflectionMask,
118 118
119 CachedDrawingFirst, 119 CachedDrawingFirst,
120 CachedDrawingLast = CachedDrawingFirst + DrawingLast - DrawingFirst, 120 CachedDrawingLast = CachedDrawingFirst + DrawingLast - DrawingFirst,
121 121
122 ForeignLayerFirst, 122 ForeignLayerFirst,
123 ForeignLayerPlugin = ForeignLayerFirst, 123 ForeignLayerPlugin = ForeignLayerFirst,
124 ForeignLayerLast = ForeignLayerPlugin, 124 ForeignLayerVideo,
125 ForeignLayerLast = ForeignLayerVideo,
125 126
126 ClipFirst, 127 ClipFirst,
127 ClipBoxPaintPhaseFirst = ClipFirst, 128 ClipBoxPaintPhaseFirst = ClipFirst,
128 ClipBoxPaintPhaseLast = ClipBoxPaintPhaseFirst + PaintPhaseMax, 129 ClipBoxPaintPhaseLast = ClipBoxPaintPhaseFirst + PaintPhaseMax,
129 ClipColumnBoundsPaintPhaseFirst, 130 ClipColumnBoundsPaintPhaseFirst,
130 ClipColumnBoundsPaintPhaseLast = ClipColumnBoundsPaintPhaseFirst + Paint PhaseMax, 131 ClipColumnBoundsPaintPhaseLast = ClipColumnBoundsPaintPhaseFirst + Paint PhaseMax,
131 ClipLayerFragmentPaintPhaseFirst, 132 ClipLayerFragmentPaintPhaseFirst,
132 ClipLayerFragmentPaintPhaseLast = ClipLayerFragmentPaintPhaseFirst + Pai ntPhaseMax, 133 ClipLayerFragmentPaintPhaseLast = ClipLayerFragmentPaintPhaseFirst + Pai ntPhaseMax,
133 ClipFileUploadControlRect, 134 ClipFileUploadControlRect,
134 ClipFrameToVisibleContentRect, 135 ClipFrameToVisibleContentRect,
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 bool isEndAndPairedWith(DisplayItem::Type otherType) const override = 0; 398 bool isEndAndPairedWith(DisplayItem::Type otherType) const override = 0;
398 #endif 399 #endif
399 400
400 private: 401 private:
401 bool isEnd() const final { return true; } 402 bool isEnd() const final { return true; }
402 }; 403 };
403 404
404 } // namespace blink 405 } // namespace blink
405 406
406 #endif // DisplayItem_h 407 #endif // DisplayItem_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698