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

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

Issue 1239653003: Fixed a few more things to make Dartium build w/o --gen-interop (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Re-enable analyzer tests - now pass. Created 5 years, 5 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/templates/html/impl/impl_Element.darttemplate ('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_Node.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_Node.darttemplate b/tools/dom/templates/html/impl/impl_Node.darttemplate
index 4ebc8bea43dc2abadaa96fa490f7e147bd353cfa..13e5588b8900a3247369b21fbad7c997112be396 100644
--- a/tools/dom/templates/html/impl/impl_Node.darttemplate
+++ b/tools/dom/templates/html/impl/impl_Node.darttemplate
@@ -291,6 +291,8 @@ $if JSINTEROP
*/
@DomName('Node.childNodes')
@DocsEditable()
+ @Returns('NodeList')
+ @Creates('NodeList')
List<Node> get childNodes {
if (_childNodes == null) {
window.console.log(">>> construct childNodes collection/list");
@@ -305,6 +307,22 @@ $if JSINTEROP
return _childNodes;
}
$else
+ $if DARTIUM
+ /**
+ * A list of this node's children.
+ *
+ * ## Other resources
+ *
+ * * [Node.childNodes]
+ * (https://developer.mozilla.org/en-US/docs/Web/API/Node.childNodes)
+ * from MDN.
+ */
+ @DomName('Node.childNodes')
+ @DocsEditable()
+ @Returns('NodeList')
+ @Creates('NodeList')
+ List<Node> get childNodes => _blink.BlinkNode.instance.childNodes_Getter_(this);
+ $else
/**
* A list of this node's children.
*
@@ -320,6 +338,7 @@ $else
@Creates('NodeList')
final List<Node> childNodes;
+ $endif
$endif
$!MEMBERS
}
« no previous file with comments | « tools/dom/templates/html/impl/impl_Element.darttemplate ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698