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

Unified Diff: Source/core/dom/ChildNode.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/ChildNode.h
diff --git a/Source/core/dom/ChildNode.h b/Source/core/dom/ChildNode.h
index 3c3b1f5b0560251ee311f174acf1ac75e3025a61..6dd625cf34933b06e29e0f2e4c28a21af9b55c8b 100644
--- a/Source/core/dom/ChildNode.h
+++ b/Source/core/dom/ChildNode.h
@@ -11,6 +11,21 @@ namespace blink {
class ChildNode {
public:
+ static void before(Node& node, const HeapVector<NodeOrString>& nodes, ExceptionState& exceptionState)
+ {
+ return node.before(nodes, exceptionState);
+ }
+
+ static void after(Node& node, const HeapVector<NodeOrString>& nodes, ExceptionState& exceptionState)
+ {
+ return node.after(nodes, exceptionState);
+ }
+
+ static void replaceWith(Node& node, const HeapVector<NodeOrString>& nodes, ExceptionState& exceptionState)
+ {
+ return node.replaceWith(nodes, exceptionState);
+ }
+
static void remove(Node& node, ExceptionState& exceptionState)
{
return node.remove(exceptionState);

Powered by Google App Engine
This is Rietveld 408576698