OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. |
6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 Node* pseudoAwareNextSibling() const; | 189 Node* pseudoAwareNextSibling() const; |
190 Node* pseudoAwarePreviousSibling() const; | 190 Node* pseudoAwarePreviousSibling() const; |
191 Node* pseudoAwareFirstChild() const; | 191 Node* pseudoAwareFirstChild() const; |
192 Node* pseudoAwareLastChild() const; | 192 Node* pseudoAwareLastChild() const; |
193 | 193 |
194 virtual KURL baseURI() const; | 194 virtual KURL baseURI() const; |
195 | 195 |
196 // These should all actually return a node, but this is only important for l
anguage bindings, | 196 // These should all actually return a node, but this is only important for l
anguage bindings, |
197 // which will already know and hold a ref on the right node to return. | 197 // which will already know and hold a ref on the right node to return. |
198 PassRefPtrWillBeRawPtr<Node> insertBefore(PassRefPtrWillBeRawPtr<Node> newCh
ild, Node* refChild, ExceptionState& = ASSERT_NO_EXCEPTION); | 198 PassRefPtrWillBeRawPtr<Node> insertBefore(PassRefPtrWillBeRawPtr<Node> newCh
ild, Node* refChild, ExceptionState& = ASSERT_NO_EXCEPTION); |
199 void replaceChild(PassRefPtrWillBeRawPtr<Node> newChild, Node* oldChild, Exc
eptionState& = ASSERT_NO_EXCEPTION); | 199 PassRefPtrWillBeRawPtr<Node> replaceChild(PassRefPtrWillBeRawPtr<Node> newCh
ild, PassRefPtrWillBeRawPtr<Node> oldChild, ExceptionState& = ASSERT_NO_EXCEPTIO
N); |
200 void removeChild(Node* child, ExceptionState&); | 200 PassRefPtrWillBeRawPtr<Node> removeChild(PassRefPtrWillBeRawPtr<Node> child,
ExceptionState& = ASSERT_NO_EXCEPTION); |
201 PassRefPtrWillBeRawPtr<Node> appendChild(PassRefPtrWillBeRawPtr<Node> newChi
ld, ExceptionState& = ASSERT_NO_EXCEPTION); | 201 PassRefPtrWillBeRawPtr<Node> appendChild(PassRefPtrWillBeRawPtr<Node> newChi
ld, ExceptionState& = ASSERT_NO_EXCEPTION); |
202 | 202 |
203 bool hasChildren() const { return firstChild(); } | 203 bool hasChildren() const { return firstChild(); } |
204 virtual PassRefPtrWillBeRawPtr<Node> cloneNode(bool deep = false) = 0; | 204 virtual PassRefPtrWillBeRawPtr<Node> cloneNode(bool deep = false) = 0; |
205 virtual const AtomicString& localName() const; | 205 virtual const AtomicString& localName() const; |
206 virtual const AtomicString& namespaceURI() const; | 206 virtual const AtomicString& namespaceURI() const; |
207 void normalize(); | 207 void normalize(); |
208 | 208 |
209 bool isSameNode(Node* other) const { return this == other; } | 209 bool isSameNode(Node* other) const { return this == other; } |
210 bool isEqualNode(Node*) const; | 210 bool isEqualNode(Node*) const; |
(...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
904 } // namespace WebCore | 904 } // namespace WebCore |
905 | 905 |
906 #ifndef NDEBUG | 906 #ifndef NDEBUG |
907 // Outside the WebCore namespace for ease of invocation from gdb. | 907 // Outside the WebCore namespace for ease of invocation from gdb. |
908 void showNode(const WebCore::Node*); | 908 void showNode(const WebCore::Node*); |
909 void showTree(const WebCore::Node*); | 909 void showTree(const WebCore::Node*); |
910 void showNodePath(const WebCore::Node*); | 910 void showNodePath(const WebCore::Node*); |
911 #endif | 911 #endif |
912 | 912 |
913 #endif | 913 #endif |
OLD | NEW |