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

Unified Diff: Source/core/events/CustomEventInit.idl

Issue 1130763006: IDL: Add any support to IDL dictionary and use it in CustomEventInit (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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/core/events/CustomEvent.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/CustomEventInit.idl
diff --git a/Source/modules/app_banner/BeforeInstallPromptEventInit.idl b/Source/core/events/CustomEventInit.idl
similarity index 58%
copy from Source/modules/app_banner/BeforeInstallPromptEventInit.idl
copy to Source/core/events/CustomEventInit.idl
index fc66cc8d9a905f64723a05065d055c7281fae321..0c02acd922fcd22ed48dfde37f298ed17d9c958f 100644
--- a/Source/modules/app_banner/BeforeInstallPromptEventInit.idl
+++ b/Source/core/events/CustomEventInit.idl
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-dictionary BeforeInstallPromptEventInit : EventInit {
- sequence<DOMString> platforms;
+// https://dom.spec.whatwg.org/#interface-customevent
+
+dictionary CustomEventInit : EventInit {
+ any detail = null;
};
« no previous file with comments | « Source/core/events/CustomEvent.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698