| Index: public/platform/WebLayer.h
|
| diff --git a/public/platform/WebLayer.h b/public/platform/WebLayer.h
|
| index c21139208c67081f26e650d8614a0b85b2b135e6..d2cf86fb096201d2ecf1b716c9b54d3a7f317f8d 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,18 @@ public:
|
| virtual void setOpacity(float) = 0;
|
| virtual float opacity() const = 0;
|
|
|
| + // The blending formula to be used for mixing colors of
|
| + // FIXME: Make pure virtual after implementation lands.
|
| + virtual void setBlendMode(WebBlendMode) { }
|
| + virtual WebBlendMode blendMode() const { return WebBlendModeNormal; }
|
| +
|
| + // The layers within an isolated group should be composited over
|
| + // a transparent black initial backdrop. It will create a separate rendering
|
| + // surfece when required. http://dev.w3.org/fxtf/compositing-1/
|
| + // FIXME: Make pure virtual after implementation lands.
|
| + virtual void setIsIsolatedGroupRoot(bool) { }
|
| + virtual bool isIsolatedGroupRoot() { return false; }
|
| +
|
| virtual void setOpaque(bool) = 0;
|
| virtual bool opaque() const = 0;
|
|
|
|
|