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 779 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
790 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter); | 790 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter); |
791 } | 791 } |
792 | 792 |
793 virtual void didMoveToNewDocument(Document& oldDocument); | 793 virtual void didMoveToNewDocument(Document& oldDocument); |
794 | 794 |
795 virtual void addSubresourceAttributeURLs(ListHashSet<KURL>&) const { } | 795 virtual void addSubresourceAttributeURLs(ListHashSet<KURL>&) const { } |
796 | 796 |
797 bool hasRareData() const { return getFlag(HasRareDataFlag); } | 797 bool hasRareData() const { return getFlag(HasRareDataFlag); } |
798 | 798 |
799 NodeRareData* rareData() const; | 799 NodeRareData* rareData() const; |
800 NodeRareData* ensureRareData(); | 800 NodeRareData& ensureRareData(); |
801 void clearRareData(); | 801 void clearRareData(); |
802 | 802 |
803 void clearEventTargetData(); | 803 void clearEventTargetData(); |
804 | 804 |
805 void setHasCustomStyleCallbacks() { setFlag(true, HasCustomStyleCallbacksFla
g); } | 805 void setHasCustomStyleCallbacks() { setFlag(true, HasCustomStyleCallbacksFla
g); } |
806 | 806 |
807 Document* documentInternal() const { return treeScope().documentScope(); } | 807 Document* documentInternal() const { return treeScope().documentScope(); } |
808 void setTreeScope(TreeScope* scope) { m_treeScope = scope; } | 808 void setTreeScope(TreeScope* scope) { m_treeScope = scope; } |
809 | 809 |
810 private: | 810 private: |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
936 | 936 |
937 } // namespace WebCore | 937 } // namespace WebCore |
938 | 938 |
939 #ifndef NDEBUG | 939 #ifndef NDEBUG |
940 // Outside the WebCore namespace for ease of invocation from gdb. | 940 // Outside the WebCore namespace for ease of invocation from gdb. |
941 void showTree(const WebCore::Node*); | 941 void showTree(const WebCore::Node*); |
942 void showNodePath(const WebCore::Node*); | 942 void showNodePath(const WebCore::Node*); |
943 #endif | 943 #endif |
944 | 944 |
945 #endif | 945 #endif |
OLD | NEW |