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

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
Index: Source/core/dom/Node.h
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h
index 63b3599828d035b1541d653dbf0829ba1841540f..170ff919b8b3bf2ac9be9365c4af08678fa580d2 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"
@@ -206,6 +207,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;

Powered by Google App Engine
This is Rietveld 408576698