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

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

Issue 337343002: IDL: make optional arguments (without default) explicit sometimes Base URL: https://chromium.googlesource.com/chromium/blink.git@idl-default-arguments-next
Patch Set: Created 6 years, 4 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') | Source/core/events/HashChangeEvent.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/Event.idl
diff --git a/Source/core/events/Event.idl b/Source/core/events/Event.idl
index 58a832a3a62598adba2dbea923183845ada2cb0f..5738f4b00cda2e79a038628a951b6909992b7a27 100644
--- a/Source/core/events/Event.idl
+++ b/Source/core/events/Event.idl
@@ -59,9 +59,9 @@
void stopPropagation();
void preventDefault();
- void initEvent([Default=Undefined] optional DOMString eventTypeArg,
- [Default=Undefined] optional boolean canBubbleArg,
- [Default=Undefined] optional boolean cancelableArg);
+ void initEvent(optional DOMString eventTypeArg,
+ optional boolean canBubbleArg,
+ optional boolean cancelableArg);
// DOM Level 3 Additions.
readonly attribute boolean defaultPrevented;
« no previous file with comments | « Source/core/events/CustomEvent.idl ('k') | Source/core/events/HashChangeEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698