| 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 656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 667 | 667 |
| 668 PassRefPtrWillBeRawPtr<NodeList> getDestinationInsertionPoints(); | 668 PassRefPtrWillBeRawPtr<NodeList> getDestinationInsertionPoints(); |
| 669 | 669 |
| 670 void setAlreadySpellChecked(bool flag) { setFlag(flag, AlreadySpellCheckedFl
ag); } | 670 void setAlreadySpellChecked(bool flag) { setFlag(flag, AlreadySpellCheckedFl
ag); } |
| 671 bool isAlreadySpellChecked() { return getFlag(AlreadySpellCheckedFlag); } | 671 bool isAlreadySpellChecked() { return getFlag(AlreadySpellCheckedFlag); } |
| 672 | 672 |
| 673 bool isFinishedParsingChildren() const { return getFlag(IsFinishedParsingChi
ldrenFlag); } | 673 bool isFinishedParsingChildren() const { return getFlag(IsFinishedParsingChi
ldrenFlag); } |
| 674 | 674 |
| 675 virtual void trace(Visitor*) OVERRIDE; | 675 virtual void trace(Visitor*) OVERRIDE; |
| 676 | 676 |
| 677 unsigned lengthOfContents() const; |
| 678 |
| 677 private: | 679 private: |
| 678 enum NodeFlags { | 680 enum NodeFlags { |
| 679 HasRareDataFlag = 1, | 681 HasRareDataFlag = 1, |
| 680 | 682 |
| 681 // Node type flags. These never change once created. | 683 // Node type flags. These never change once created. |
| 682 IsTextFlag = 1 << 1, | 684 IsTextFlag = 1 << 1, |
| 683 IsContainerFlag = 1 << 2, | 685 IsContainerFlag = 1 << 2, |
| 684 IsElementFlag = 1 << 3, | 686 IsElementFlag = 1 << 3, |
| 685 IsHTMLFlag = 1 << 4, | 687 IsHTMLFlag = 1 << 4, |
| 686 IsSVGFlag = 1 << 5, | 688 IsSVGFlag = 1 << 5, |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 905 } // namespace WebCore | 907 } // namespace WebCore |
| 906 | 908 |
| 907 #ifndef NDEBUG | 909 #ifndef NDEBUG |
| 908 // Outside the WebCore namespace for ease of invocation from gdb. | 910 // Outside the WebCore namespace for ease of invocation from gdb. |
| 909 void showNode(const WebCore::Node*); | 911 void showNode(const WebCore::Node*); |
| 910 void showTree(const WebCore::Node*); | 912 void showTree(const WebCore::Node*); |
| 911 void showNodePath(const WebCore::Node*); | 913 void showNodePath(const WebCore::Node*); |
| 912 #endif | 914 #endif |
| 913 | 915 |
| 914 #endif | 916 #endif |
| OLD | NEW |