Index: third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.idl |
diff --git a/third_party/WebKit/Source/modules/worklet/WorkletGlobalScope.idl b/third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.idl |
similarity index 41% |
copy from third_party/WebKit/Source/modules/worklet/WorkletGlobalScope.idl |
copy to third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.idl |
index de3c347077d1cb3a25af7ebe3dee8fee2672e001..ee716fa06d6860b62f1265ca9822521d67f5b4d9 100644 |
--- a/third_party/WebKit/Source/modules/worklet/WorkletGlobalScope.idl |
+++ b/third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.idl |
@@ -2,13 +2,13 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-// https://drafts.css-houdini.org/worklets/#workletglobalscope |
+// https://drafts.css-houdini.org/css-paint-api/#paintworkletglobalscope |
[ |
- Exposed=Worklet, |
- Global=Worklet, |
- RuntimeEnabled=Worklet, |
+ Exposed=PaintWorklet, |
+ Global=(Worklet,PaintWorklet), |
+ RuntimeEnabled=CSSPaintAPI, |
WillBeGarbageCollected, |
-] interface WorkletGlobalScope { |
- [Replaceable] readonly attribute WorkletConsole console; |
+] interface PaintWorkletGlobalScope : WorkletGlobalScope { |
+ void registerPaint(DOMString name, Function paintCtor); |
}; |