Chromium Code Reviews

Unified Diff: Source/core/events/TextEvent.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.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « Source/core/events/MutationEvent.idl ('k') | Source/core/events/TouchEvent.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/TextEvent.idl
diff --git a/Source/core/events/TextEvent.idl b/Source/core/events/TextEvent.idl
index 3d03594e04329f6c0602db409354ba0c9f2a7ab2..c486f4f0249d87c2ace078bcebcbceee92547f7a 100644
--- a/Source/core/events/TextEvent.idl
+++ b/Source/core/events/TextEvent.idl
@@ -28,11 +28,11 @@ interface TextEvent : UIEvent {
readonly attribute DOMString data;
- void initTextEvent([Default=Undefined] optional DOMString typeArg,
- [Default=Undefined] optional boolean canBubbleArg,
- [Default=Undefined] optional boolean cancelableArg,
- [Default=Undefined] optional Window viewArg,
- [Default=Undefined] optional DOMString dataArg);
+ void initTextEvent(optional DOMString typeArg,
+ optional boolean canBubbleArg,
+ optional boolean cancelableArg,
+ optional Window viewArg,
+ optional DOMString dataArg);
};
« no previous file with comments | « Source/core/events/MutationEvent.idl ('k') | Source/core/events/TouchEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine