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

Unified Diff: tools/dom/templates/html/impl/impl_Document.darttemplate

Issue 153603004: Fixing issues from IDL upgrade (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
« no previous file with comments | « tools/dom/scripts/systemhtml.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/templates/html/impl/impl_Document.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_Document.darttemplate b/tools/dom/templates/html/impl/impl_Document.darttemplate
index b39ee908c75d7338f19be84ebaa6f7d90e552a50..98df72e69bd06c9d84c0780b75560bbe6cd62924 100644
--- a/tools/dom/templates/html/impl/impl_Document.darttemplate
+++ b/tools/dom/templates/html/impl/impl_Document.darttemplate
@@ -29,7 +29,7 @@ $!MEMBERS
return new _FrozenElementList._wrap(_querySelectorAll(selectors));
}
- /**
+ /**
* Alias for [querySelector]. Note this function is deprecated because its
* semantics will be changing in the future.
*/
@@ -38,7 +38,7 @@ $!MEMBERS
@DomName('Document.querySelector')
Element query(String relativeSelectors) => querySelector(relativeSelectors);
- /**
+ /**
* Alias for [querySelectorAll]. Note this function is deprecated because its
* semantics will be changing in the future.
*/
@@ -70,4 +70,18 @@ $else
}
$endif
}
+
+$if DART2JS
+ @DomName('Document.createNodeIterator')
+ NodeIterator _createNodeIterator(Node root,
+ [int whatToShow, NodeFilter filter])
+ => JS('NodeIterator', '#.createNodeIterator(#, #, #, false)',
+ this, root, whatToShow, filter);
+
+ @DomName('Document.createTreeWalker')
+ TreeWalker _createTreeWalker(Node root,
+ [int whatToShow, NodeFilter filter])
+ => JS('TreeWalker', '#.createTreeWalker(#, #, #, false)',
+ this, root, whatToShow, filter);
+$endif
}
« no previous file with comments | « tools/dom/scripts/systemhtml.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698