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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 | 218 |
219 virtual KURL baseURI() const; | 219 virtual KURL baseURI() const; |
220 | 220 |
221 PassRefPtrWillBeRawPtr<Node> insertBefore(PassRefPtrWillBeRawPtr<Node> newCh
ild, Node* refChild, ExceptionState& = ASSERT_NO_EXCEPTION); | 221 PassRefPtrWillBeRawPtr<Node> insertBefore(PassRefPtrWillBeRawPtr<Node> newCh
ild, Node* refChild, ExceptionState& = ASSERT_NO_EXCEPTION); |
222 PassRefPtrWillBeRawPtr<Node> replaceChild(PassRefPtrWillBeRawPtr<Node> newCh
ild, PassRefPtrWillBeRawPtr<Node> oldChild, ExceptionState& = ASSERT_NO_EXCEPTIO
N); | 222 PassRefPtrWillBeRawPtr<Node> replaceChild(PassRefPtrWillBeRawPtr<Node> newCh
ild, PassRefPtrWillBeRawPtr<Node> oldChild, ExceptionState& = ASSERT_NO_EXCEPTIO
N); |
223 PassRefPtrWillBeRawPtr<Node> removeChild(PassRefPtrWillBeRawPtr<Node> child,
ExceptionState& = ASSERT_NO_EXCEPTION); | 223 PassRefPtrWillBeRawPtr<Node> removeChild(PassRefPtrWillBeRawPtr<Node> child,
ExceptionState& = ASSERT_NO_EXCEPTION); |
224 PassRefPtrWillBeRawPtr<Node> appendChild(PassRefPtrWillBeRawPtr<Node> newChi
ld, ExceptionState& = ASSERT_NO_EXCEPTION); | 224 PassRefPtrWillBeRawPtr<Node> appendChild(PassRefPtrWillBeRawPtr<Node> newChi
ld, ExceptionState& = ASSERT_NO_EXCEPTION); |
225 | 225 |
226 bool hasChildren() const { return firstChild(); } | 226 bool hasChildren() const { return firstChild(); } |
227 virtual PassRefPtrWillBeRawPtr<Node> cloneNode(bool deep = false) = 0; | 227 virtual PassRefPtrWillBeRawPtr<Node> cloneNode(bool deep = false) = 0; |
228 virtual const AtomicString& localName() const; | |
229 virtual const AtomicString& namespaceURI() const; | |
230 void normalize(); | 228 void normalize(); |
231 | 229 |
232 bool isSameNode(Node* other) const { return this == other; } | 230 bool isSameNode(Node* other) const { return this == other; } |
233 bool isEqualNode(Node*) const; | 231 bool isEqualNode(Node*) const; |
234 bool isDefaultNamespace(const AtomicString& namespaceURI) const; | 232 bool isDefaultNamespace(const AtomicString& namespaceURI) const; |
235 const AtomicString& lookupPrefix(const AtomicString& namespaceURI) const; | 233 const AtomicString& lookupPrefix(const AtomicString& namespaceURI) const; |
236 const AtomicString& lookupNamespaceURI(const String& prefix) const; | 234 const AtomicString& lookupNamespaceURI(const String& prefix) const; |
237 | 235 |
238 String textContent(bool convertBRsToNewlines = false) const; | 236 String textContent(bool convertBRsToNewlines = false) const; |
239 void setTextContent(const String&); | 237 void setTextContent(const String&); |
(...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
898 } // namespace blink | 896 } // namespace blink |
899 | 897 |
900 #ifndef NDEBUG | 898 #ifndef NDEBUG |
901 // Outside the WebCore namespace for ease of invocation from gdb. | 899 // Outside the WebCore namespace for ease of invocation from gdb. |
902 void showNode(const blink::Node*); | 900 void showNode(const blink::Node*); |
903 void showTree(const blink::Node*); | 901 void showTree(const blink::Node*); |
904 void showNodePath(const blink::Node*); | 902 void showNodePath(const blink::Node*); |
905 #endif | 903 #endif |
906 | 904 |
907 #endif // Node_h | 905 #endif // Node_h |
OLD | NEW |