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

Unified Diff: third_party/WebKit/Source/core/events/CustomEvent.idl

Issue 1383543004: Reland: Store |detail| as a hidden value of custom event wrappers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | « third_party/WebKit/Source/core/events/CustomEvent.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/events/CustomEvent.idl
diff --git a/third_party/WebKit/Source/core/events/CustomEvent.idl b/third_party/WebKit/Source/core/events/CustomEvent.idl
index 5e6d7abd36049c1f94cae0be83e1847462b91137..ca1e27ff5cce78b37620ea5b58bf3d6db94cb977 100644
--- a/third_party/WebKit/Source/core/events/CustomEvent.idl
+++ b/third_party/WebKit/Source/core/events/CustomEvent.idl
@@ -26,10 +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;
- [Measure] void initCustomEvent(DOMString type, boolean bubbles, boolean cancelable, any detail);
+ [Measure,Custom=(CallEpilogue)] void initCustomEvent(DOMString type, boolean bubbles, boolean cancelable, any detail);
};
« no previous file with comments | « third_party/WebKit/Source/core/events/CustomEvent.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698