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

Unified Diff: third_party/WebKit/Source/modules/worklet/WindowWorklet.idl

Issue 1590583002: Expose worklet on Window through attribute renderWorklet. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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/Source/modules/worklet/WindowWorklet.idl
diff --git a/third_party/WebKit/Source/modules/worklet/Worklet.idl b/third_party/WebKit/Source/modules/worklet/WindowWorklet.idl
similarity index 58%
copy from third_party/WebKit/Source/modules/worklet/Worklet.idl
copy to third_party/WebKit/Source/modules/worklet/WindowWorklet.idl
index e4ad4f16744cc588b391d5134eacc3ed4dfa0d4c..8b98be2900e50133525963e47bfd526f5438060a 100644
--- a/third_party/WebKit/Source/modules/worklet/Worklet.idl
+++ b/third_party/WebKit/Source/modules/worklet/WindowWorklet.idl
@@ -2,10 +2,9 @@
// 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/#worklet
-
[
- GarbageCollected,
+ ImplementedAs=DOMWindowWorklet,
RuntimeEnabled=Worklet,
-] interface Worklet {
+] partial interface Window {
+ [CallWith=ExecutionContext] readonly attribute Worklet renderWorklet;
};

Powered by Google App Engine
This is Rietveld 408576698