| 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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 ContainerNode* parentElementOrDocumentFragment() const; |
| 174 Node* previousSibling() const { return m_previous; } | 174 Node* previousSibling() const { return m_previous; } |
| 175 Node* nextSibling() const { return m_next; } | 175 Node* nextSibling() const { return m_next; } |
| 176 PassRefPtr<NodeList> childNodes(); | 176 PassRefPtrWillBeRawPtr<NodeList> childNodes(); |
| 177 Node* firstChild() const; | 177 Node* firstChild() const; |
| 178 Node* lastChild() const; | 178 Node* lastChild() const; |
| 179 | 179 |
| 180 void remove(ExceptionState&); | 180 void remove(ExceptionState&); |
| 181 | 181 |
| 182 Node* pseudoAwareNextSibling() const; | 182 Node* pseudoAwareNextSibling() const; |
| 183 Node* pseudoAwarePreviousSibling() const; | 183 Node* pseudoAwarePreviousSibling() const; |
| 184 Node* pseudoAwareFirstChild() const; | 184 Node* pseudoAwareFirstChild() const; |
| 185 Node* pseudoAwareLastChild() const; | 185 Node* pseudoAwareLastChild() const; |
| 186 | 186 |
| (...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 660 virtual void registerScopedHTMLStyleChild(); | 660 virtual void registerScopedHTMLStyleChild(); |
| 661 virtual void unregisterScopedHTMLStyleChild(); | 661 virtual void unregisterScopedHTMLStyleChild(); |
| 662 size_t numberOfScopedHTMLStyleChildren() const; | 662 size_t numberOfScopedHTMLStyleChildren() const; |
| 663 | 663 |
| 664 unsigned connectedSubframeCount() const; | 664 unsigned connectedSubframeCount() const; |
| 665 void incrementConnectedSubframeCount(unsigned amount = 1); | 665 void incrementConnectedSubframeCount(unsigned amount = 1); |
| 666 void decrementConnectedSubframeCount(unsigned amount = 1); | 666 void decrementConnectedSubframeCount(unsigned amount = 1); |
| 667 void updateAncestorConnectedSubframeCountForRemoval() const; | 667 void updateAncestorConnectedSubframeCountForRemoval() const; |
| 668 void updateAncestorConnectedSubframeCountForInsertion() const; | 668 void updateAncestorConnectedSubframeCountForInsertion() const; |
| 669 | 669 |
| 670 PassRefPtr<NodeList> getDestinationInsertionPoints(); | 670 PassRefPtrWillBeRawPtr<NodeList> getDestinationInsertionPoints(); |
| 671 | 671 |
| 672 void setAlreadySpellChecked(bool flag) { setFlag(flag, AlreadySpellCheckedFl
ag); } | 672 void setAlreadySpellChecked(bool flag) { setFlag(flag, AlreadySpellCheckedFl
ag); } |
| 673 bool isAlreadySpellChecked() { return getFlag(AlreadySpellCheckedFlag); } | 673 bool isAlreadySpellChecked() { return getFlag(AlreadySpellCheckedFlag); } |
| 674 | 674 |
| 675 bool isFinishedParsingChildren() const { return getFlag(IsFinishedParsingChi
ldrenFlag); } | 675 bool isFinishedParsingChildren() const { return getFlag(IsFinishedParsingChi
ldrenFlag); } |
| 676 | 676 |
| 677 virtual void trace(Visitor*); | 677 virtual void trace(Visitor*); |
| 678 | 678 |
| 679 private: | 679 private: |
| 680 enum NodeFlags { | 680 enum NodeFlags { |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 934 } // namespace WebCore | 934 } // namespace WebCore |
| 935 | 935 |
| 936 #ifndef NDEBUG | 936 #ifndef NDEBUG |
| 937 // Outside the WebCore namespace for ease of invocation from gdb. | 937 // Outside the WebCore namespace for ease of invocation from gdb. |
| 938 void showNode(const WebCore::Node*); | 938 void showNode(const WebCore::Node*); |
| 939 void showTree(const WebCore::Node*); | 939 void showTree(const WebCore::Node*); |
| 940 void showNodePath(const WebCore::Node*); | 940 void showNodePath(const WebCore::Node*); |
| 941 #endif | 941 #endif |
| 942 | 942 |
| 943 #endif | 943 #endif |
| OLD | NEW |