Index: third_party/WebKit/Source/core/dom/NodeIntersectionObserverData.h |
diff --git a/third_party/WebKit/Source/core/dom/NodeIntersectionObserverData.h b/third_party/WebKit/Source/core/dom/NodeIntersectionObserverData.h |
deleted file mode 100644 |
index 80faa6105470dd58ed8478bc45d6f61945e3811b..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/Source/core/dom/NodeIntersectionObserverData.h |
+++ /dev/null |
@@ -1,49 +0,0 @@ |
-// Copyright 2016 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#ifndef NodeIntersectionObserverData_h |
-#define NodeIntersectionObserverData_h |
- |
-#include "platform/heap/Handle.h" |
- |
-namespace blink { |
- |
-class Node; |
-class IntersectionObservation; |
-class IntersectionObserver; |
- |
-class NodeIntersectionObserverData : public GarbageCollectedFinalized<NodeIntersectionObserverData> { |
-public: |
- DECLARE_TRACE(); |
- NodeIntersectionObserverData(); |
- ~NodeIntersectionObserverData(); |
- |
- bool hasIntersectionObserver() const; |
- bool hasIntersectionObservation() const; |
- IntersectionObservation* getObservationFor(IntersectionObserver&); |
- void addObservation(IntersectionObservation&); |
- void removeObservation(IntersectionObserver&); |
- void activateValidIntersectionObservers(Node&); |
- void deactivateAllIntersectionObservers(Node&); |
- |
-#if !ENABLE(OILPAN) |
- void dispose(); |
-#endif |
- |
- WeakPtrWillBeRawPtr<Node> createWeakPtr(Node*); |
- |
-private: |
- // IntersectionObservers for which the Node owning this data is root. |
- HeapHashSet<WeakMember<IntersectionObserver>> m_intersectionObservers; |
- // IntersectionObservations for which the Node owning this data is target. |
- HeapHashMap<Member<IntersectionObserver>, Member<IntersectionObservation>> m_intersectionObservations; |
- |
-#if !ENABLE(OILPAN) |
- OwnPtr<WeakPtrFactory<Node>> m_weakPointerFactory; |
-#endif |
-}; |
- |
-} // namespace blink |
- |
-#endif // NodeIntersectionObserverData_h |