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

Unified Diff: public/platform/WebLayer.h

Issue 15181006: Plumb CompositingReason from Blink to compositor. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rearranged reasons to hold us over with 32 reasons for now Created 7 years, 7 months 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 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
« public/platform/WebCompositingReasons.h ('K') | « public/platform/WebCompositingReasons.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698