OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008, 2010 Apple Inc. All rights reserved. |
3 * Copyright (C) 2008 David Smith <catfish.man@gmail.com> | 3 * Copyright (C) 2008 David Smith <catfish.man@gmail.com> |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 * Library General Public License for more details. | 13 * Library General Public License for more details. |
14 * | 14 * |
15 * You should have received a copy of the GNU Library General Public License | 15 * You should have received a copy of the GNU Library General Public License |
16 * along with this library; see the file COPYING.LIB. If not, write to | 16 * along with this library; see the file COPYING.LIB. If not, write to |
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
18 * Boston, MA 02110-1301, USA. | 18 * Boston, MA 02110-1301, USA. |
19 * | 19 * |
20 */ | 20 */ |
21 | 21 |
22 #ifndef NodeRareData_h | 22 #ifndef NodeRareData_h |
23 #define NodeRareData_h | 23 #define NodeRareData_h |
24 | 24 |
25 #include "HTMLNames.h" | |
26 #include "core/dom/ChildNodeList.h" | 25 #include "core/dom/ChildNodeList.h" |
27 #include "core/dom/LiveNodeList.h" | 26 #include "core/dom/LiveNodeList.h" |
28 #include "core/dom/MutationObserver.h" | |
29 #include "core/dom/MutationObserverRegistration.h" | 27 #include "core/dom/MutationObserverRegistration.h" |
30 #include "core/dom/QualifiedName.h" | 28 #include "core/dom/QualifiedName.h" |
31 #include "core/dom/TagNodeList.h" | 29 #include "core/dom/TagNodeList.h" |
32 #include "core/html/DOMSettableTokenList.h" | |
33 #include "core/html/track/TextTrack.h" | |
34 #include "core/page/Page.h" | 30 #include "core/page/Page.h" |
35 #include <wtf/HashSet.h> | 31 #include "wtf/HashSet.h" |
36 #include <wtf/OwnPtr.h> | 32 #include "wtf/OwnPtr.h" |
37 #include <wtf/PassOwnPtr.h> | 33 #include "wtf/PassOwnPtr.h" |
38 #include <wtf/text/AtomicString.h> | 34 #include "wtf/text/AtomicString.h" |
39 #include <wtf/text/StringHash.h> | 35 #include "wtf/text/StringHash.h" |
40 | 36 |
41 namespace WebCore { | 37 namespace WebCore { |
42 | 38 |
43 class LabelsNodeList; | 39 class LabelsNodeList; |
44 class RadioNodeList; | 40 class RadioNodeList; |
45 class TreeScope; | 41 class TreeScope; |
46 | 42 |
47 class NodeListsNodeData { | 43 class NodeListsNodeData { |
48 WTF_MAKE_NONCOPYABLE(NodeListsNodeData); WTF_MAKE_FAST_ALLOCATED; | 44 WTF_MAKE_NONCOPYABLE(NodeListsNodeData); WTF_MAKE_FAST_ALLOCATED; |
49 public: | 45 public: |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 ownerNode->clearNodeLists(); | 303 ownerNode->clearNodeLists(); |
308 return true; | 304 return true; |
309 } | 305 } |
310 | 306 |
311 // Ensure the 10 bits reserved for the m_connectedFrameCount cannot overflow | 307 // Ensure the 10 bits reserved for the m_connectedFrameCount cannot overflow |
312 COMPILE_ASSERT(Page::maxNumberOfFrames < 1024, Frame_limit_should_fit_in_rare_da
ta_count); | 308 COMPILE_ASSERT(Page::maxNumberOfFrames < 1024, Frame_limit_should_fit_in_rare_da
ta_count); |
313 | 309 |
314 } // namespace WebCore | 310 } // namespace WebCore |
315 | 311 |
316 #endif // NodeRareData_h | 312 #endif // NodeRareData_h |
OLD | NEW |