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 |
| 10 namespace blink { |
| 11 |
| 12 class ExecutionContext; |
| 13 class IntersectionObserver; |
| 14 class IntersectionObserverEntry; |
| 15 |
| 16 class IntersectionObserverCallback : public GarbageCollectedFinalized<Intersecti
onObserverCallback> { |
| 17 public: |
| 18 virtual void handleEvent(const HeapVector<Member<IntersectionObserverEntry>>
&, IntersectionObserver&) = 0; |
| 19 virtual ExecutionContext* executionContext() const = 0; |
| 20 DEFINE_INLINE_VIRTUAL_TRACE() { } |
| 21 }; |
| 22 |
| 23 } |
| 24 |
| 25 #endif // IntersectionObserverCallback_h |
OLD | NEW |