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

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: fix based on both reviewers 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..2867d422e21befb8d3916c8dcaaf55f551d8be9f 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;
@@ -183,6 +184,9 @@ class WebLayerTreeView {
// Toggles scroll bottleneck rects on the HUD layer
virtual void setShowScrollBottleneckRects(bool) {}
+
+ // Returns the FrameSinkId of the current render view
dcheng 2017/01/20 08:44:12 As in content::RenderView?
xlai (Olivia) 2017/01/20 16:36:22 I've edited the comment to reflect the origin of t
+ virtual cc::FrameSinkId getFrameSinkId() { return cc::FrameSinkId(); }
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698