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

Unified Diff: third_party/WebKit/public/platform/WebLayerTreeView.h

Issue 2644653003: Make OffscreenCanvas animation in sync with its placeholder canvas's parent frame rate (Closed)
Patch Set: No Mojo for frameless canvas Created 3 years, 11 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: third_party/WebKit/public/platform/WebLayerTreeView.h
diff --git a/third_party/WebKit/public/platform/WebLayerTreeView.h b/third_party/WebKit/public/platform/WebLayerTreeView.h
index e2919800eed802e5f2de25b2d2fca72547a4750c..58b6f8e45ff0fe4786f49444cab7cffcca24b4b9 100644
--- a/third_party/WebKit/public/platform/WebLayerTreeView.h
+++ b/third_party/WebKit/public/platform/WebLayerTreeView.h
@@ -33,6 +33,7 @@
#include "WebEventListenerProperties.h"
#include "WebFloatPoint.h"
#include "WebSize.h"
+#include "cc/surfaces/frame_sink_id.h"
namespace cc {
class AnimationHost;
@@ -162,6 +163,9 @@ class WebLayerTreeView {
WebEventListenerProperties){};
virtual void setHaveScrollEventHandlers(bool){};
+ // Returns the FrameSinkId of the widget associated with this layer tree view.
+ virtual cc::FrameSinkId getFrameSinkId() { return cc::FrameSinkId(); }
+
// Debugging / dangerous ---------------------------------------------
virtual WebEventListenerProperties eventListenerProperties(

Powered by Google App Engine
This is Rietveld 408576698