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

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

Issue 2186203002: [worklets] Add stub classes for window.animationWorklet (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 5 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/WindowAnimationWorklet.idl
diff --git a/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.idl b/third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.idl
similarity index 63%
copy from third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.idl
copy to third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.idl
index d6ebafd2be749e85821b266761dfae8f4fa555ef..d25cf23f199ef5f55e373c2696735dcc280cc79e 100644
--- a/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.idl
+++ b/third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.idl
@@ -3,7 +3,7 @@
// found in the LICENSE file.
[
- RuntimeEnabled=CSSPaintAPI,
+ RuntimeEnabled=CompositorWorker,
] partial interface Window {
- [CallWith=ExecutionContext] readonly attribute Worklet paintWorklet;
+ [CallWith=ExecutionContext] readonly attribute Worklet animationWorklet;
};

Powered by Google App Engine
This is Rietveld 408576698