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

Unified Diff: Source/core/dom/Node.h

Issue 1085843002: Implement DOM: prepend, append, before, after & replaceWith (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 | « Source/core/dom/ChildNode.idl ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Node.h
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h
index a4cb3d09bcbd6fd56c308e2a01bae555e3d9cc6b..fe29a7d48957baa4ed65f0088aa54c83938e8817 100644
--- a/Source/core/dom/Node.h
+++ b/Source/core/dom/Node.h
@@ -26,6 +26,7 @@
#define Node_h
#include "bindings/core/v8/ExceptionStatePlaceholder.h"
+#include "bindings/core/v8/UnionTypesCore.h"
#include "core/CoreExport.h"
#include "core/dom/MutationObserver.h"
#include "core/dom/SimulatedClickOptions.h"
@@ -209,6 +210,11 @@ public:
Node* firstChild() const;
Node* lastChild() const;
+ void prepend(const HeapVector<NodeOrString>&, ExceptionState&);
+ void append(const HeapVector<NodeOrString>&, ExceptionState&);
+ void before(const HeapVector<NodeOrString>&, ExceptionState&);
+ void after(const HeapVector<NodeOrString>&, ExceptionState&);
+ void replaceWith(const HeapVector<NodeOrString>&, ExceptionState&);
void remove(ExceptionState&);
Node* pseudoAwareNextSibling() const;
« no previous file with comments | « Source/core/dom/ChildNode.idl ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698