| 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 660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 671 virtual void reportMemoryUsage(MemoryObjectInfo*) const; | 671 virtual void reportMemoryUsage(MemoryObjectInfo*) const; |
| 672 | 672 |
| 673 void textRects(Vector<IntRect>&) const; | 673 void textRects(Vector<IntRect>&) const; |
| 674 | 674 |
| 675 unsigned connectedSubframeCount() const; | 675 unsigned connectedSubframeCount() const; |
| 676 void incrementConnectedSubframeCount(unsigned amount = 1); | 676 void incrementConnectedSubframeCount(unsigned amount = 1); |
| 677 void decrementConnectedSubframeCount(unsigned amount = 1); | 677 void decrementConnectedSubframeCount(unsigned amount = 1); |
| 678 void updateAncestorConnectedSubframeCountForRemoval() const; | 678 void updateAncestorConnectedSubframeCountForRemoval() const; |
| 679 void updateAncestorConnectedSubframeCountForInsertion() const; | 679 void updateAncestorConnectedSubframeCountForInsertion() const; |
| 680 | 680 |
| 681 bool canReach(const Node*) const; |
| 682 |
| 681 private: | 683 private: |
| 682 enum NodeFlags { | 684 enum NodeFlags { |
| 683 IsTextFlag = 1, | 685 IsTextFlag = 1, |
| 684 IsContainerFlag = 1 << 1, | 686 IsContainerFlag = 1 << 1, |
| 685 IsElementFlag = 1 << 2, | 687 IsElementFlag = 1 << 2, |
| 686 IsStyledElementFlag = 1 << 3, | 688 IsStyledElementFlag = 1 << 3, |
| 687 IsHTMLFlag = 1 << 4, | 689 IsHTMLFlag = 1 << 4, |
| 688 IsSVGFlag = 1 << 5, | 690 IsSVGFlag = 1 << 5, |
| 689 IsAttachedFlag = 1 << 6, | 691 IsAttachedFlag = 1 << 6, |
| 690 ChildNeedsStyleRecalcFlag = 1 << 7, | 692 ChildNeedsStyleRecalcFlag = 1 << 7, |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 888 | 890 |
| 889 } //namespace | 891 } //namespace |
| 890 | 892 |
| 891 #ifndef NDEBUG | 893 #ifndef NDEBUG |
| 892 // Outside the WebCore namespace for ease of invocation from gdb. | 894 // Outside the WebCore namespace for ease of invocation from gdb. |
| 893 void showTree(const WebCore::Node*); | 895 void showTree(const WebCore::Node*); |
| 894 void showNodePath(const WebCore::Node*); | 896 void showNodePath(const WebCore::Node*); |
| 895 #endif | 897 #endif |
| 896 | 898 |
| 897 #endif | 899 #endif |
| OLD | NEW |