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

Unified Diff: client/html/generated/html/frog/Element.dart

Issue 9600035: Enable new dart:html wrapperless frog bindings and wrapper dartium bindings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Handle all code review comments Created 8 years, 10 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
Index: client/html/generated/html/frog/Element.dart
diff --git a/client/html/generated/html/frog/Element.dart b/client/html/generated/html/frog/Element.dart
index 46363ba280e18f67f8c0afe413dd9f41dc5805e5..c94bf8b3f5e04fdde8b61081a1765209e391c95b 100644
--- a/client/html/generated/html/frog/Element.dart
+++ b/client/html/generated/html/frog/Element.dart
@@ -59,6 +59,14 @@ class _ChildrenElementList implements ElementList {
return false;
}
+ Collection map(f(Element element)) {
+ final out = [];
+ for (Element el in this) {
+ out.add(f(el));
+ }
+ return out;
+ }
+
bool isEmpty() {
return _element._firstElementChild == null;
}
@@ -156,7 +164,7 @@ class _FrozenElementList implements ElementList {
_FrozenElementList._wrap(this._nodeList);
Element get first() {
- return _nodeList.first;
+ return _nodeList[0];
}
void forEach(void f(Element element)) {
@@ -606,6 +614,8 @@ class _ElementImpl extends _NodeImpl implements Element native "*Element" {
final String tagName;
+ String title;
+
final String webkitRegionOverflow;
String webkitdropzone;
« no previous file with comments | « client/html/generated/html/frog/DocumentFragment.dart ('k') | client/html/generated/html/frog/HtmlElement.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698