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

Unified Diff: public/platform/WebLayer.h

Issue 23511004: mix-blend-mode implementation for accelerated layers - blink part (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Renamed a variable Created 7 years, 1 month 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
Index: public/platform/WebLayer.h
diff --git a/public/platform/WebLayer.h b/public/platform/WebLayer.h
index bcd852407e7ddbf343a32f61ed1007e6248f3f42..9a42e800439f51d2136fcd43a72fa6f98f8086e3 100644
--- a/public/platform/WebLayer.h
+++ b/public/platform/WebLayer.h
@@ -27,6 +27,7 @@
#define WebLayer_h
#include "WebAnimation.h"
+#include "WebBlendMode.h"
#include "WebColor.h"
#include "WebCommon.h"
#include "WebCompositingReasons.h"
@@ -86,6 +87,14 @@ public:
virtual void setOpacity(float) = 0;
virtual float opacity() const = 0;
+ // FIXME: Make pure virtual after implementation lands.
+ virtual void setBlendMode(WebBlendMode) { }
+ virtual WebBlendMode blendMode() const { return WebBlendModeNormal; }
+
+ // FIXME: Make pure virtual after implementation lands.
+ virtual void setIsRootForIsolatedGroup(bool) { }
+ virtual bool isRootForIsolatedGroup() { return false; }
+
virtual void setOpaque(bool) = 0;
virtual bool opaque() const = 0;
« Source/core/rendering/RenderLayerCompositor.cpp ('K') | « public/platform/WebCompositingReasons.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698