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

Unified Diff: client/html/generated/html/dartium/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/dartium/Element.dart
diff --git a/client/html/generated/html/dartium/Element.dart b/client/html/generated/html/dartium/Element.dart
index 48caaa58251b906c1d0709f8dd17d80f95f1baeb..93857ac2e0a6a13517ae7f4e901d210faa0119b1 100644
--- a/client/html/generated/html/dartium/Element.dart
+++ b/client/html/generated/html/dartium/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)) {
@@ -623,6 +631,10 @@ class _ElementImpl extends _NodeImpl implements Element {
String get tagName() => _wrap(_ptr.tagName);
+ String get title() => _wrap(_ptr.title);
+
+ void set title(String value) { _ptr.title = _unwrap(value); }
+
String get webkitRegionOverflow() => _wrap(_ptr.webkitRegionOverflow);
String get webkitdropzone() => _wrap(_ptr.webkitdropzone);
« no previous file with comments | « client/html/generated/html/dartium/DocumentFragment.dart ('k') | client/html/generated/html/dartium/HtmlElement.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698