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

Unified Diff: Source/modules/compositorworker/CompositorWorkerGlobalScope.idl

Issue 1047783002: compositor-worker: Allow registering compositor-frame callbacks. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 5 years, 9 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
« no previous file with comments | « Source/modules/compositorworker/CompositorWorkerGlobalScope.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/compositorworker/CompositorWorkerGlobalScope.idl
diff --git a/Source/modules/compositorworker/CompositorWorkerGlobalScope.idl b/Source/modules/compositorworker/CompositorWorkerGlobalScope.idl
index bcb8410c0fba9f9e49e67f1f1a9e3b4c4f7d3fb4..fb9ec840463752fd3d3a9c4b6b2a926fc6041bc0 100644
--- a/Source/modules/compositorworker/CompositorWorkerGlobalScope.idl
+++ b/Source/modules/compositorworker/CompositorWorkerGlobalScope.idl
@@ -10,4 +10,7 @@
] interface CompositorWorkerGlobalScope : WorkerGlobalScope {
[Custom, RaisesException] void postMessage(any message, optional sequence<Transferable> transfer);
attribute EventHandler onmessage;
+
+ long requestAnimationFrame(FrameRequestCallback callback);
+ void cancelAnimationFrame(long handle);
};
« no previous file with comments | « Source/modules/compositorworker/CompositorWorkerGlobalScope.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698