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

Unified Diff: lib/html/templates/html/interface/interface_Element.darttemplate

Issue 10979063: Removing ElementList. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Syncing. Created 8 years, 3 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 | « lib/html/templates/html/impl/impl_SVGElement.darttemplate ('k') | tests/html/documentfragment_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/templates/html/interface/interface_Element.darttemplate
diff --git a/lib/html/templates/html/interface/interface_Element.darttemplate b/lib/html/templates/html/interface/interface_Element.darttemplate
index b44ce0a5a5fea05f63f80025a39c35120a2edcab..620efdb8123de46d6b3bcb6fd37a2aae397319e8 100644
--- a/lib/html/templates/html/interface/interface_Element.darttemplate
+++ b/lib/html/templates/html/interface/interface_Element.darttemplate
@@ -4,21 +4,6 @@
// WARNING: Do not edit - generated code.
-// TODO(vsm): Eliminate this type.
-
-// Note, ElementList implements List (instead of List<Element>) so
-// that its implementing classes may be cast to Lists of more specific
-// type such as List<CanvasElement>.
-abstract class ElementList implements List {
- // 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
-}
-
/**
* All your attribute manipulation needs in one place.
* Extends the regular Map interface by automatically coercing non-string
@@ -75,7 +60,7 @@ abstract class Element implements Node, NodeSelector {
* @domName childElementCount, firstElementChild, lastElementChild,
* children, Node.nodes.add
*/
- ElementList get elements;
+ List<Element> get elements;
void set elements(Collection<Element> value);
« no previous file with comments | « lib/html/templates/html/impl/impl_SVGElement.darttemplate ('k') | tests/html/documentfragment_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698