Chromium Code Reviews| Index: public/platform/WebLayer.h |
| diff --git a/public/platform/WebLayer.h b/public/platform/WebLayer.h |
| index a0f64d8ab9fca350c3d62fd7e72b370e53e0dee7..eb53aeedf0d2f77310ac25f320ca68110c11591a 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/ |
|
enne (OOO)
2013/11/07 22:59:07
Typo, although I think saying that it will create
rosca
2013/11/08 15:36:32
I removed the comments, I think the functions are
|
| + // 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; |