Index: public/platform/WebLayer.h |
diff --git a/public/platform/WebLayer.h b/public/platform/WebLayer.h |
index 599e6d881777752613fb21fc9ccdfe3df9f5bdac..fe59490ccd55e8b9279629185bb6ab2c1fb52c89 100644 |
--- a/public/platform/WebLayer.h |
+++ b/public/platform/WebLayer.h |
@@ -29,6 +29,7 @@ |
#include "WebAnimation.h" |
#include "WebColor.h" |
#include "WebCommon.h" |
+#include "WebCompositingReasons.h" |
// Remove after making setPositionConstraint() pure virtual. |
#include "WebLayerPositionConstraint.h" |
@@ -140,6 +141,10 @@ public: |
virtual void setDebugName(WebString) = 0; |
+ // Provides a bitfield that describe why this composited layer was created. |
+ // FIXME: non-pure until the chromium-side implements this.x |
jamesr
2013/05/22 21:47:34
typo "this.x"
|
+ virtual void setCompositingReasons(WebCompositingReasons) { }; |
jamesr
2013/05/22 21:47:34
no ;
|
+ |
// An animation delegate is notified when animations are started and |
// stopped. The WebLayer does not take ownership of the delegate, and it is |
// the responsibility of the client to reset the layer's delegate before |