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

Unified Diff: lib/html/doc/interface/Node.dartdoc

Issue 10544064: Add dummy dart:html library for documentation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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/html/doc/interface/Node.dartdoc
diff --git a/lib/html/doc/interface/Node.dartdoc b/lib/html/doc/interface/Node.dartdoc
new file mode 100644
index 0000000000000000000000000000000000000000..17f7246a508b3cb96d1773f3bfa356ac4a535616
--- /dev/null
+++ b/lib/html/doc/interface/Node.dartdoc
@@ -0,0 +1,124 @@
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+// WARNING:
+// This file contains documentation that is merged into the real source.
+// Do not make code changes here.
+
+/// @domName Node
+interface Node extends EventTarget {
+ 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();
+
+
+ static final int ATTRIBUTE_NODE = 2;
+
+ static final int CDATA_SECTION_NODE = 4;
+
+ static final int COMMENT_NODE = 8;
+
+ static final int DOCUMENT_FRAGMENT_NODE = 11;
+
+ static final int DOCUMENT_NODE = 9;
+
+ static final int DOCUMENT_POSITION_CONTAINED_BY = 0x10;
+
+ static final int DOCUMENT_POSITION_CONTAINS = 0x08;
+
+ static final int DOCUMENT_POSITION_DISCONNECTED = 0x01;
+
+ static final int DOCUMENT_POSITION_FOLLOWING = 0x04;
+
+ static final int DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20;
+
+ static final int DOCUMENT_POSITION_PRECEDING = 0x02;
+
+ static final int DOCUMENT_TYPE_NODE = 10;
+
+ static final int ELEMENT_NODE = 1;
+
+ static final int ENTITY_NODE = 6;
+
+ static final int ENTITY_REFERENCE_NODE = 5;
+
+ static final int NOTATION_NODE = 12;
+
+ static final int PROCESSING_INSTRUCTION_NODE = 7;
+
+ static final int TEXT_NODE = 3;
+
+ /** @domName Node.attributes */
+ final NamedNodeMap $dom_attributes;
+
+ /** @domName Node.childNodes */
+ final NodeList $dom_childNodes;
+
+ /** @domName Node.firstChild */
+ final Node $dom_firstChild;
+
+ /** @domName Node.lastChild */
+ final Node $dom_lastChild;
+
+ /** @domName Node.nextSibling */
+ final Node nextNode;
+
+ /** @domName Node.nodeType */
+ final int $dom_nodeType;
+
+ /** @domName Node.ownerDocument */
+ final Document document;
+
+ /** @domName Node.parentNode */
+ final Node parent;
+
+ /** @domName Node.previousSibling */
+ final Node previousNode;
+
+ /** @domName Node.textContent */
+ String text;
+
+ /** @domName Node.addEventListener */
+ void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
+
+ /** @domName Node.appendChild */
+ Node $dom_appendChild(Node newChild);
+
+ /** @domName Node.cloneNode */
+ Node clone(bool deep);
+
+ /** @domName Node.contains */
+ bool contains(Node other);
+
+ /** @domName Node.dispatchEvent */
+ bool $dom_dispatchEvent(Event event);
+
+ /** @domName Node.hasChildNodes */
+ bool hasChildNodes();
+
+ /** @domName Node.insertBefore */
+ Node insertBefore(Node newChild, Node refChild);
+
+ /** @domName Node.removeChild */
+ Node $dom_removeChild(Node oldChild);
+
+ /** @domName Node.removeEventListener */
+ void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
+
+ /** @domName Node.replaceChild */
+ Node $dom_replaceChild(Node newChild, Node oldChild);
+
+}
« no previous file with comments | « lib/html/doc/interface/NavigatorUserMediaSuccessCallback.dartdoc ('k') | lib/html/doc/interface/NodeFilter.dartdoc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698