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

Unified Diff: core/events/CustomEvent.idl

Issue 2786203002: Roll 50: Copied IDLs, PYTHON scripts from WebKit removed deleted files in WebCore (Closed)
Patch Set: Created 3 years, 9 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 | « core/events/AnimationPlayerEvent.idl ('k') | core/events/DragEvent.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/events/CustomEvent.idl
diff --git a/core/events/CustomEvent.idl b/core/events/CustomEvent.idl
index 4d4cb085c639989686d3f31d2cb996645c8f84df..ca1e27ff5cce78b37620ea5b58bf3d6db94cb977 100644
--- a/core/events/CustomEvent.idl
+++ b/core/events/CustomEvent.idl
@@ -26,14 +26,12 @@
// https://dom.spec.whatwg.org/#interface-customevent
[
- Constructor(DOMString type, optional CustomEventInit eventInitDict),
+ // TODO(bashi): Don't use CustomConstructor. Constructor should be:
+ // Constructor(DOMString type, optional CustomEventInit eventInitDict),
+ CustomConstructor,
Exposed=(Window,Worker),
] interface CustomEvent : Event {
[Custom=Getter] readonly attribute any detail;
- // FIXME: initCustomEvent()'s arguments should not be optional.
- [Custom, Measure] void initCustomEvent([Default=Undefined] optional DOMString type,
- [Default=Undefined] optional boolean bubbles,
- [Default=Undefined] optional boolean cancelable,
- [Default=Undefined] optional any detail);
+ [Measure,Custom=(CallEpilogue)] void initCustomEvent(DOMString type, boolean bubbles, boolean cancelable, any detail);
};
« no previous file with comments | « core/events/AnimationPlayerEvent.idl ('k') | core/events/DragEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698