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

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

Issue 871983003: [Slimming Paint] Implement deferred SVG filters (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Cleanup Created 5 years, 11 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 "wtf/Assertions.h" 9 #include "wtf/Assertions.h"
10 #include "wtf/PassOwnPtr.h" 10 #include "wtf/PassOwnPtr.h"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 FloatClipSelection, 83 FloatClipSelection,
84 FloatClipSelfOutline, 84 FloatClipSelfOutline,
85 EndFloatClip, 85 EndFloatClip,
86 BeginClipPath, 86 BeginClipPath,
87 EndClipPath, 87 EndClipPath,
88 VideoBitmap, 88 VideoBitmap,
89 ImageBitmap, 89 ImageBitmap,
90 DragImage, 90 DragImage,
91 LinkHighlight, 91 LinkHighlight,
92 PageWidgetDelegateClip, 92 PageWidgetDelegateClip,
93 PageWidgetDelegateBackgroundFallback 93 PageWidgetDelegateBackgroundFallback,
94 SVGFilter
94 }; 95 };
95 96
96 // Create a dummy display item which just holds the id but has no display op eration. 97 // Create a dummy display item which just holds the id but has no display op eration.
97 // It helps a CachedDisplayItem to match the corresponding original empty di splay item. 98 // It helps a CachedDisplayItem to match the corresponding original empty di splay item.
98 static PassOwnPtr<DisplayItem> create(DisplayItemClient client, Type type) { return adoptPtr(new DisplayItem(client, type)); } 99 static PassOwnPtr<DisplayItem> create(DisplayItemClient client, Type type) { return adoptPtr(new DisplayItem(client, type)); }
99 100
100 virtual ~DisplayItem() { } 101 virtual ~DisplayItem() { }
101 102
102 virtual void replay(GraphicsContext*) { } 103 virtual void replay(GraphicsContext*) { }
103 104
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 const Type type; 141 const Type type;
141 } m_id; 142 } m_id;
142 #ifndef NDEBUG 143 #ifndef NDEBUG
143 WTF::String m_clientDebugString; 144 WTF::String m_clientDebugString;
144 #endif 145 #endif
145 }; 146 };
146 147
147 } 148 }
148 149
149 #endif // DisplayItem_h 150 #endif // DisplayItem_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698