OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef IntersectionObserverCallback_h |
| 6 #define IntersectionObserverCallback_h |
| 7 |
| 8 #include "platform/heap/Handle.h" |
| 9 #include "wtf/RefPtr.h" |
| 10 #include "wtf/Vector.h" |
| 11 |
| 12 namespace blink { |
| 13 |
| 14 class ExecutionContext; |
| 15 class IntersectionObserver; |
| 16 class IntersectionObserverEntry; |
| 17 |
| 18 class IntersectionObserverCallback : public GarbageCollectedFinalized<Intersecti
onObserverCallback> { |
| 19 public: |
| 20 virtual void handleEvent(HeapVector<Member<IntersectionObserverEntry>>&, Int
ersectionObserver&) = 0; |
| 21 virtual ExecutionContext* executionContext() const = 0; |
| 22 DEFINE_INLINE_VIRTUAL_TRACE() { } |
| 23 }; |
| 24 |
| 25 } |
| 26 |
| 27 #endif // IntersectionObserverCallback_h |
OLD | NEW |