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

Unified Diff: client/html/release/htmlimpl.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 9107050: Regenerate release/htmlimpl. (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:
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/html/release/htmlimpl.dart
diff --git a/client/html/release/htmlimpl.dart b/client/html/release/htmlimpl.dart
index ee8e7bcea24a4ccf2bcfee76a25d06daf9ebe493..ee016ffbdbff8d6bbef8c9b6b4d1116b7ab3f1b7 100644
--- a/client/html/release/htmlimpl.dart
+++ b/client/html/release/htmlimpl.dart
@@ -18573,6 +18573,10 @@ class _CssClassSet implements Set<String> {
_read().forEach(f);
}
+ Collection map(f(String element)) {
+ return _read().map(f);
+ }
+
Collection<String> filter(bool f(String element)) {
return _read().filter(f);
}
@@ -21784,6 +21788,7 @@ class FilteredElementList implements ElementList {
return last;
}
+ Collection map(f(Element element)) => _filtered.map(f);
Collection<Element> filter(bool f(Element element)) => _filtered.filter(f);
bool every(bool f(Element element)) => _filtered.every(f);
bool some(bool f(Element element)) => _filtered.some(f);
@@ -22303,6 +22308,14 @@ class _ChildrenElementList implements ElementList {
}
}
+ Collection map(f(Element element)) {
+ List output = new List();
+ forEach((Element element) {
+ output.add(f(element));
+ });
+ return output;
+ }
+
Collection<Element> filter(bool f(Element element)) {
List<Element> output = new List<Element>();
forEach((Element element) {
@@ -22434,12 +22447,19 @@ class FrozenElementList implements ElementList {
}
}
+ Collection map(f(Element element)) {
+ //TODO(jacobr): Implement this.
+ throw 'Not implemented yet.';
+ }
+
Collection<Element> filter(bool f(Element element)) {
- throw 'Not impl yet. todo(jacobr)';
+ //TODO(jacobr): Implement this.
+ throw 'Not implemented yet.';
}
bool every(bool f(Element element)) {
- throw 'Not impl yet. todo(jacobr)';
+ //TODO(jacobr): Implement this.
+ throw 'Not implemented yet.';
}
bool some(bool f(Element element)) {
@@ -23597,6 +23617,14 @@ class _ChildrenNodeList implements NodeList {
void forEach(void f(Node element)) => _toList().forEach(f);
+ Collection map(f(Node element)) {
+ List output = new List();
+ forEach((Node element) {
+ output.add(f(element));
+ });
+ return output;
+ }
+
Collection<Node> filter(bool f(Node element)) {
List<Node> output = new List<Node>();
forEach((Node element) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698