Index: sky/engine/core/dom/Node.h |
diff --git a/sky/engine/core/dom/Node.h b/sky/engine/core/dom/Node.h |
index 357b8248eac1fa9d47e5e5607016b5081d0c97be..4518265a9915677e534f3dc13a55d7169e5a2c9d 100644 |
--- a/sky/engine/core/dom/Node.h |
+++ b/sky/engine/core/dom/Node.h |
@@ -144,6 +144,14 @@ public: |
Node* firstChild() const; |
Node* lastChild() const; |
+ Element* previousElementSibling(); |
+ Element* nextElementSibling(); |
+ |
+ // These functions release the nodes from |nodes|. |
+ void newInsertBefore(Vector<RefPtr<Node>>& nodes, ExceptionState&); |
+ void newInsertAfter(Vector<RefPtr<Node>>& nodes, ExceptionState&); |
+ void replaceWith(Vector<RefPtr<Node>>& nodes, ExceptionState&); |
+ |
void remove(ExceptionState&); |
// These should all actually return a node, but this is only important for language bindings, |
@@ -340,7 +348,7 @@ public: |
return *m_treeScope; |
} |
- ContainerNode* ownerScope() const; |
+ ContainerNode* owner() const; |
bool inActiveDocument() const; |