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

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

Issue 9270054: Make ElementList return ElementLists. (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/ElementWrappingImplementation.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/html/src/Element.dart
diff --git a/client/html/src/Element.dart b/client/html/src/Element.dart
index ea5a3de313e826245c101113a4754df92a1f1ab9..2a583f193a0a0baab271229bcddd6c9f1ba632ef 100644
--- a/client/html/src/Element.dart
+++ b/client/html/src/Element.dart
@@ -4,6 +4,10 @@
interface ElementList extends List<Element> {
// TODO(jacobr): add element batch manipulation methods.
+ ElementList filter(bool f(Element element));
+
+ ElementList getRange(int start, int length);
+
Element get first();
// TODO(jacobr): add insertAt
}
« no previous file with comments | « client/html/release/htmlimpl.dart ('k') | client/html/src/ElementWrappingImplementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698