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

Unified Diff: Source/core/editing/Selection.idl

Issue 792013002: Make some Selection function arguments non-optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update test Created 6 years 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/editing/DOMSelection.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/Selection.idl
diff --git a/Source/core/editing/Selection.idl b/Source/core/editing/Selection.idl
index 263a3c2b8e93c7e002f5e10378aeb567b554c4a2..62458854d71bd04295e18230bce7c9fe9cb62599 100644
--- a/Source/core/editing/Selection.idl
+++ b/Source/core/editing/Selection.idl
@@ -53,12 +53,12 @@
// http://crbug.com/384966
[RaisesException, TypeChecking=Interface] void extend(Node node, optional long offset = 0);
- [RaisesException] void selectAllChildren([Default=Undefined] optional Node node);
+ [RaisesException] void selectAllChildren(Node node);
[CustomElementCallbacks] void deleteFromDocument();
readonly attribute long rangeCount;
- [RaisesException] Range getRangeAt([Default=Undefined] optional long index);
- void addRange([Default=Undefined] optional Range range);
+ [RaisesException] Range getRangeAt(long index);
+ void addRange(Range range);
void removeAllRanges();
[NotEnumerable] stringifier;
« no previous file with comments | « Source/core/editing/DOMSelection.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698