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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 // DOM methods & attributes for Node | 163 // DOM methods & attributes for Node |
164 | 164 |
165 bool hasTagName(const QualifiedName&) const; | 165 bool hasTagName(const QualifiedName&) const; |
166 virtual String nodeName() const = 0; | 166 virtual String nodeName() const = 0; |
167 virtual String nodeValue() const; | 167 virtual String nodeValue() const; |
168 virtual void setNodeValue(const String&); | 168 virtual void setNodeValue(const String&); |
169 virtual NodeType nodeType() const = 0; | 169 virtual NodeType nodeType() const = 0; |
170 ContainerNode* parentNode() const; | 170 ContainerNode* parentNode() const; |
171 Element* parentElement() const; | 171 Element* parentElement() const; |
172 ContainerNode* parentElementOrShadowRoot() const; | 172 ContainerNode* parentElementOrShadowRoot() const; |
| 173 ContainerNode* parentElementOrDocumentFragment() const; |
173 Node* previousSibling() const { return m_previous; } | 174 Node* previousSibling() const { return m_previous; } |
174 Node* nextSibling() const { return m_next; } | 175 Node* nextSibling() const { return m_next; } |
175 PassRefPtr<NodeList> childNodes(); | 176 PassRefPtr<NodeList> childNodes(); |
176 Node* firstChild() const; | 177 Node* firstChild() const; |
177 Node* lastChild() const; | 178 Node* lastChild() const; |
178 | 179 |
179 void remove(ExceptionState&); | 180 void remove(ExceptionState&); |
180 | 181 |
181 Node* pseudoAwareNextSibling() const; | 182 Node* pseudoAwareNextSibling() const; |
182 Node* pseudoAwarePreviousSibling() const; | 183 Node* pseudoAwarePreviousSibling() const; |
(...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
925 } // namespace WebCore | 926 } // namespace WebCore |
926 | 927 |
927 #ifndef NDEBUG | 928 #ifndef NDEBUG |
928 // Outside the WebCore namespace for ease of invocation from gdb. | 929 // Outside the WebCore namespace for ease of invocation from gdb. |
929 void showNode(const WebCore::Node*); | 930 void showNode(const WebCore::Node*); |
930 void showTree(const WebCore::Node*); | 931 void showTree(const WebCore::Node*); |
931 void showNodePath(const WebCore::Node*); | 932 void showNodePath(const WebCore::Node*); |
932 #endif | 933 #endif |
933 | 934 |
934 #endif | 935 #endif |
OLD | NEW |