OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef NthIndexCache_h | 5 #ifndef NthIndexCache_h |
6 #define NthIndexCache_h | 6 #define NthIndexCache_h |
7 | 7 |
8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
9 #include "core/dom/Element.h" | 9 #include "core/dom/Element.h" |
10 #include "platform/heap/Handle.h" | 10 #include "platform/heap/Handle.h" |
11 #include "wtf/HashMap.h" | 11 #include "wtf/HashMap.h" |
12 #include "wtf/OwnPtr.h" | |
13 #include "wtf/RefPtr.h" | |
14 | 12 |
15 namespace blink { | 13 namespace blink { |
16 | 14 |
17 class Document; | 15 class Document; |
18 | 16 |
19 class CORE_EXPORT NthIndexData final : public GarbageCollected<NthIndexData> { | 17 class CORE_EXPORT NthIndexData final : public GarbageCollected<NthIndexData> { |
20 WTF_MAKE_NONCOPYABLE(NthIndexData); | 18 WTF_MAKE_NONCOPYABLE(NthIndexData); |
21 public: | 19 public: |
22 NthIndexData(ContainerNode&); | 20 NthIndexData(ContainerNode&); |
23 NthIndexData(ContainerNode&, const QualifiedName& type); | 21 NthIndexData(ContainerNode&, const QualifiedName& type); |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 Member<ParentMapForType> m_parentMapForType; | 59 Member<ParentMapForType> m_parentMapForType; |
62 | 60 |
63 #if ENABLE(ASSERT) | 61 #if ENABLE(ASSERT) |
64 uint64_t m_domTreeVersion; | 62 uint64_t m_domTreeVersion; |
65 #endif | 63 #endif |
66 }; | 64 }; |
67 | 65 |
68 } // namespace blink | 66 } // namespace blink |
69 | 67 |
70 #endif // NthIndexCache_h | 68 #endif // NthIndexCache_h |
OLD | NEW |