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

Unified Diff: Source/core/dom/shadow/ShadowRoot.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/dom/Range.idl ('k') | Source/core/editing/Selection.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/shadow/ShadowRoot.idl
diff --git a/Source/core/dom/shadow/ShadowRoot.idl b/Source/core/dom/shadow/ShadowRoot.idl
index f884756a4f942ac4d426364c6fa72ec529ff9334..f67a06f20f83216820191510d632637dac7316d6 100644
--- a/Source/core/dom/shadow/ShadowRoot.idl
+++ b/Source/core/dom/shadow/ShadowRoot.idl
@@ -31,16 +31,16 @@ interface ShadowRoot : DocumentFragment {
[TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter] attribute DOMString innerHTML;
- [RaisesException] Node cloneNode([Default=Undefined] optional boolean deep);
+ [RaisesException] Node cloneNode(optional boolean deep);
Selection getSelection();
- Element getElementById([Default=Undefined] optional DOMString elementId);
- HTMLCollection getElementsByClassName([Default=Undefined] optional DOMString className);
- HTMLCollection getElementsByTagName([Default=Undefined] optional DOMString tagName);
- HTMLCollection getElementsByTagNameNS([Default=Undefined] optional DOMString? namespaceURI,
- [Default=Undefined] optional DOMString localName);
+ Element getElementById(optional DOMString elementId);
+ HTMLCollection getElementsByClassName(optional DOMString className);
+ HTMLCollection getElementsByTagName(optional DOMString tagName);
+ HTMLCollection getElementsByTagNameNS(optional DOMString? namespaceURI,
+ optional DOMString localName);
- Element elementFromPoint([Default=Undefined] optional long x,
- [Default=Undefined] optional long y);
+ Element elementFromPoint(optional long x,
+ optional long y);
readonly attribute StyleSheetList styleSheets;
readonly attribute Element host;
« no previous file with comments | « Source/core/dom/Range.idl ('k') | Source/core/editing/Selection.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698