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

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, 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: Source/core/dom/Node.h
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h
index 77eb482c2f2ceb9259f0e4b06e0b069e7d057b5c..b2168406fbce77de26204dd20be214d78eee356e 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"
@@ -204,7 +205,13 @@ public:
Node* firstChild() const;
Node* lastChild() const;
+ void prepend(const Vector<NodeOrString>&, ExceptionState&);
+ void append(const Vector<NodeOrString>&, ExceptionState&);
+ void before(const Vector<NodeOrString>&, ExceptionState&);
+ void after(const Vector<NodeOrString>&, ExceptionState&);
+ void replaceWith(const Vector<NodeOrString>&, ExceptionState&);
void remove(ExceptionState&);
+ PassRefPtrWillBeRawPtr<Node> mutationMethodMacro(const Vector<NodeOrString>&, ExceptionState&);
Node* pseudoAwareNextSibling() const;
Node* pseudoAwarePreviousSibling() const;

Powered by Google App Engine
This is Rietveld 408576698