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

Unified Diff: Source/core/plugins/Plugin.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/plugins/MimeTypeArray.idl ('k') | Source/core/plugins/PluginArray.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/plugins/Plugin.idl
diff --git a/Source/core/plugins/Plugin.idl b/Source/core/plugins/Plugin.idl
index 689df505e60c5061d9d790c50eca1f682bb691e3..356107ff4cf020ba25f1e92b2c9e01c6ec31cb05 100644
--- a/Source/core/plugins/Plugin.idl
+++ b/Source/core/plugins/Plugin.idl
@@ -26,8 +26,8 @@
readonly attribute DOMString filename;
readonly attribute DOMString description;
readonly attribute unsigned long length;
- getter MimeType item([Default=Undefined] optional unsigned long index);
- MimeType namedItem([Default=Undefined] optional DOMString name);
- [NotEnumerable, ImplementedAs=namedItem] getter MimeType ([Default=Undefined] optional DOMString name);
+ getter MimeType item(optional unsigned long index);
+ MimeType namedItem(optional DOMString name);
+ [NotEnumerable, ImplementedAs=namedItem] getter MimeType (optional DOMString name);
};
« no previous file with comments | « Source/core/plugins/MimeTypeArray.idl ('k') | Source/core/plugins/PluginArray.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698