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

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: removed a failing reftest dependent on render-compositor bindings Created 7 years 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 | « public/platform/WebCompositingReasons.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebLayer.h
diff --git a/public/platform/WebLayer.h b/public/platform/WebLayer.h
index 900a85fe63c82d6a8d2859bfe708e9822b32d1fe..8c120e465628e0ba2383036a4443ce1f700e22e0 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;
« no previous file with comments | « public/platform/WebCompositingReasons.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698