| 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-2011, 2014 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights 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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 | 198 |
| 199 void remove(ExceptionState&); | 199 void remove(ExceptionState&); |
| 200 | 200 |
| 201 Node* pseudoAwareNextSibling() const; | 201 Node* pseudoAwareNextSibling() const; |
| 202 Node* pseudoAwarePreviousSibling() const; | 202 Node* pseudoAwarePreviousSibling() const; |
| 203 Node* pseudoAwareFirstChild() const; | 203 Node* pseudoAwareFirstChild() const; |
| 204 Node* pseudoAwareLastChild() const; | 204 Node* pseudoAwareLastChild() const; |
| 205 | 205 |
| 206 virtual KURL baseURI() const; | 206 virtual KURL baseURI() const; |
| 207 | 207 |
| 208 // These should all actually return a node, but this is only important for l
anguage bindings, | |
| 209 // which will already know and hold a ref on the right node to return. | |
| 210 PassRefPtrWillBeRawPtr<Node> insertBefore(PassRefPtrWillBeRawPtr<Node> newCh
ild, Node* refChild, ExceptionState& = ASSERT_NO_EXCEPTION); | 208 PassRefPtrWillBeRawPtr<Node> insertBefore(PassRefPtrWillBeRawPtr<Node> newCh
ild, Node* refChild, ExceptionState& = ASSERT_NO_EXCEPTION); |
| 211 PassRefPtrWillBeRawPtr<Node> replaceChild(PassRefPtrWillBeRawPtr<Node> newCh
ild, PassRefPtrWillBeRawPtr<Node> oldChild, ExceptionState& = ASSERT_NO_EXCEPTIO
N); | 209 PassRefPtrWillBeRawPtr<Node> replaceChild(PassRefPtrWillBeRawPtr<Node> newCh
ild, PassRefPtrWillBeRawPtr<Node> oldChild, ExceptionState& = ASSERT_NO_EXCEPTIO
N); |
| 212 PassRefPtrWillBeRawPtr<Node> removeChild(PassRefPtrWillBeRawPtr<Node> child,
ExceptionState& = ASSERT_NO_EXCEPTION); | 210 PassRefPtrWillBeRawPtr<Node> removeChild(PassRefPtrWillBeRawPtr<Node> child,
ExceptionState& = ASSERT_NO_EXCEPTION); |
| 213 PassRefPtrWillBeRawPtr<Node> appendChild(PassRefPtrWillBeRawPtr<Node> newChi
ld, ExceptionState& = ASSERT_NO_EXCEPTION); | 211 PassRefPtrWillBeRawPtr<Node> appendChild(PassRefPtrWillBeRawPtr<Node> newChi
ld, ExceptionState& = ASSERT_NO_EXCEPTION); |
| 214 | 212 |
| 215 bool hasChildren() const { return firstChild(); } | 213 bool hasChildren() const { return firstChild(); } |
| 216 virtual PassRefPtrWillBeRawPtr<Node> cloneNode(bool deep = false) = 0; | 214 virtual PassRefPtrWillBeRawPtr<Node> cloneNode(bool deep = false) = 0; |
| 217 virtual const AtomicString& localName() const; | 215 virtual const AtomicString& localName() const; |
| 218 virtual const AtomicString& namespaceURI() const; | 216 virtual const AtomicString& namespaceURI() const; |
| 219 void normalize(); | 217 void normalize(); |
| (...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 902 } // namespace blink | 900 } // namespace blink |
| 903 | 901 |
| 904 #ifndef NDEBUG | 902 #ifndef NDEBUG |
| 905 // Outside the WebCore namespace for ease of invocation from gdb. | 903 // Outside the WebCore namespace for ease of invocation from gdb. |
| 906 void showNode(const blink::Node*); | 904 void showNode(const blink::Node*); |
| 907 void showTree(const blink::Node*); | 905 void showTree(const blink::Node*); |
| 908 void showNodePath(const blink::Node*); | 906 void showNodePath(const blink::Node*); |
| 909 #endif | 907 #endif |
| 910 | 908 |
| 911 #endif // Node_h | 909 #endif // Node_h |
| OLD | NEW |