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

Unified Diff: third_party/WebKit/Source/modules/compositorworker/AnimationWorkletGlobalScope.idl

Issue 2254593002: [worklets] Introduce AnimationWorkletGlobalScope and ThreadedWorkletGlobalScope (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add super call to WorkletGlobalScope::dispose() Created 4 years, 4 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/Source/modules/compositorworker/AnimationWorkletGlobalScope.idl
diff --git a/third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.idl b/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletGlobalScope.idl
similarity index 61%
copy from third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.idl
copy to third_party/WebKit/Source/modules/compositorworker/AnimationWorkletGlobalScope.idl
index a708fe9d584602804241d0e8390453ab54af643d..e8a5046de997c82364f3c77c9c4b149cb8b77383 100644
--- a/third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.idl
+++ b/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletGlobalScope.idl
@@ -3,7 +3,8 @@
// found in the LICENSE file.
[
+ Exposed=AnimationWorklet,
+ Global=(Worklet,AnimationWorklet),
RuntimeEnabled=CompositorWorker,
-] partial interface Window {
- readonly attribute Worklet animationWorklet;
+] interface AnimationWorkletGlobalScope : WorkletGlobalScope {
};

Powered by Google App Engine
This is Rietveld 408576698