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

Unified Diff: public/platform/WebDisplayItemList.h

Issue 953143003: Remove unused transparency display item functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | 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 7cb5c40e85cd133c4d0a2885677a02050397ecc3..b2921badb3807a9c6cd2d33b958029f435c5cc4a 100644
--- a/public/platform/WebDisplayItemList.h
+++ b/public/platform/WebDisplayItemList.h
@@ -18,9 +18,6 @@
#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.
-#define FILTER_DISPLAY_ITEM_USES_FILTER_OPERATIONS 1
ajuma 2015/02/25 14:11:34 Thanks for cleaning this up!
-
class SkImageFilter;
class SkMatrix44;
class SkPicture;
@@ -30,8 +27,8 @@ class WebFilterOperations;
// An ordered list of items representing content to be rendered (stored in
// 'drawing' items) and operations to be performed when rendering this content
-// (stored in 'clip', 'transform', 'transparency', and 'filter' items). See
-// http://dev.chromium.org/blink/slimming-paint for more details.
+// (stored in 'clip', 'transform', 'filter', etc...). For more details see:
+// http://dev.chromium.org/blink/slimming-paint.
class WebDisplayItemList {
public:
virtual ~WebDisplayItemList() { }
@@ -47,8 +44,6 @@ public:
virtual void appendEndFloatClipItem() = 0;
virtual void appendTransformItem(const SkMatrix44&) = 0;
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;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698