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

Unified Diff: public/platform/WebDisplayItemList.h

Issue 947893002: Implement SVG masking with slimming paint (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add a mask debug print string 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/platform/graphics/paint/DrawingDisplayItem.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebDisplayItemList.h
diff --git a/public/platform/WebDisplayItemList.h b/public/platform/WebDisplayItemList.h
index c2281cd7591cfb17678718fb30b30c0b4ba47659..7cb5c40e85cd133c4d0a2885677a02050397ecc3 100644
--- a/public/platform/WebDisplayItemList.h
+++ b/public/platform/WebDisplayItemList.h
@@ -12,8 +12,10 @@
#include "WebSize.h"
#include "WebVector.h"
+#include "third_party/skia/include/core/SkColorFilter.h"
#include "third_party/skia/include/core/SkRRect.h"
#include "third_party/skia/include/core/SkRegion.h"
+#include "third_party/skia/include/core/SkXfermode.h"
#include "third_party/skia/include/utils/SkMatrix44.h"
// FIXME: Remove this once references to this macro in chromium are removed.
@@ -47,6 +49,9 @@ public:
virtual void appendEndTransformItem() = 0;
virtual void appendTransparencyItem(float opacity, WebBlendMode) = 0;
virtual void appendEndTransparencyItem() = 0;
+ virtual void appendCompositingItem(float opacity,
+ SkXfermode::Mode, SkColorFilter*) = 0;
+ virtual void appendEndCompositingItem() = 0;
virtual void appendFilterItem(const WebFilterOperations&, const WebFloatRect& bounds) = 0;
virtual void appendEndFilterItem() = 0;
« no previous file with comments | « Source/platform/graphics/paint/DrawingDisplayItem.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698