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

Unified Diff: client/html/src/NodeList.dart

Issue 9271019: Make NodeList methods return NodeLists rather than List<Node>. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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 | « client/html/release/htmlimpl.dart ('k') | client/html/src/NodeWrappingImplementation.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/html/src/NodeList.dart
diff --git a/client/html/src/NodeList.dart b/client/html/src/NodeList.dart
index 4e53cc5133b767da5b5850a13c740ef287597b06..d5f403949ae5770fcfc95489d12cbb0bbc0447e6 100644
--- a/client/html/src/NodeList.dart
+++ b/client/html/src/NodeList.dart
@@ -3,5 +3,9 @@
// BSD-style license that can be found in the LICENSE file.
interface NodeList extends List<Node> {
+ NodeList filter(bool f(Node element));
+
+ NodeList getRange(int start, int length);
+
Node get first();
}
« no previous file with comments | « client/html/release/htmlimpl.dart ('k') | client/html/src/NodeWrappingImplementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698