OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 ElementIntersectionObserverData_h | 5 #ifndef ElementIntersectionObserverData_h |
6 #define ElementIntersectionObserverData_h | 6 #define ElementIntersectionObserverData_h |
7 | 7 |
8 #include "bindings/core/v8/TraceWrapperMember.h" | |
9 #include "platform/bindings/ScriptWrappable.h" | 8 #include "platform/bindings/ScriptWrappable.h" |
| 9 #include "platform/bindings/TraceWrapperMember.h" |
10 #include "platform/heap/Handle.h" | 10 #include "platform/heap/Handle.h" |
11 | 11 |
12 namespace blink { | 12 namespace blink { |
13 | 13 |
14 class Node; | 14 class Node; |
15 class IntersectionObservation; | 15 class IntersectionObservation; |
16 class IntersectionObserver; | 16 class IntersectionObserver; |
17 | 17 |
18 class ElementIntersectionObserverData | 18 class ElementIntersectionObserverData |
19 : public GarbageCollected<ElementIntersectionObserverData>, | 19 : public GarbageCollected<ElementIntersectionObserverData>, |
(...skipping 17 matching lines...) Expand all Loading... |
37 HeapHashSet<WeakMember<IntersectionObserver>> intersection_observers_; | 37 HeapHashSet<WeakMember<IntersectionObserver>> intersection_observers_; |
38 // IntersectionObservations for which the Node owning this data is target. | 38 // IntersectionObservations for which the Node owning this data is target. |
39 HeapHashMap<TraceWrapperMember<IntersectionObserver>, | 39 HeapHashMap<TraceWrapperMember<IntersectionObserver>, |
40 Member<IntersectionObservation>> | 40 Member<IntersectionObservation>> |
41 intersection_observations_; | 41 intersection_observations_; |
42 }; | 42 }; |
43 | 43 |
44 } // namespace blink | 44 } // namespace blink |
45 | 45 |
46 #endif // ElementIntersectionObserverData_h | 46 #endif // ElementIntersectionObserverData_h |
OLD | NEW |