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

Unified Diff: lib/dom/templates/html/interface/interface_Node.darttemplate

Issue 10068019: Fix ApiDoc to work with new dart:html code. Tweak dart:html generator to generate clearer @domName … (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review fixes Created 8 years, 8 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: lib/dom/templates/html/interface/interface_Node.darttemplate
diff --git a/lib/dom/templates/html/interface/interface_Node.darttemplate b/lib/dom/templates/html/interface/interface_Node.darttemplate
index f7303b5c597a1c64a96aa9d0822a9816905b2ff3..118b63338a32e16d58c6443b98deb29cd2ef9c8d 100644
--- a/lib/dom/templates/html/interface/interface_Node.darttemplate
+++ b/lib/dom/templates/html/interface/interface_Node.darttemplate
@@ -4,13 +4,22 @@
// WARNING: Do not edit - generated code.
+$!COMMENT
interface $ID$EXTENDS {
NodeList get nodes();
void set nodes(Collection<Node> value);
+ /**
+ * Replaces this node with another node.
+ * @domName Node.replaceChild
+ */
Node replaceWith(Node otherNode);
+ /**
+ * Removes this node from the DOM.
+ * @domName Node.removeChild
+ */
Node remove();
$!MEMBERS

Powered by Google App Engine
This is Rietveld 408576698