Chromium Code Reviews| 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" | |
| 
 
sof
2015/12/30 13:09:33
not needed
 
szager1
2016/01/02 18:05:59
Done.
 
 | |
| 10 #include "wtf/Vector.h" | |
| 
 
sof
2015/12/30 13:09:33
not needed.
 
szager1
2016/01/02 18:05:59
Done.
 
 | |
| 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(const HeapVector<Member<IntersectionObserverEntry>> &, IntersectionObserver&) = 0; | |
| 21 virtual ExecutionContext* executionContext() const = 0; | |
| 22 DEFINE_INLINE_VIRTUAL_TRACE() { } | |
| 23 }; | |
| 24 | |
| 25 } | |
| 26 | |
| 27 #endif // IntersectionObserverCallback_h | |
| OLD | NEW |