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" | |
| 10 #include "wtf/Vector.h" | |
| 11 | |
| 12 namespace blink { | |
| 13 | |
| 14 class ExecutionContext; | |
| 15 class IntersectionObserver; | |
| 16 class IntersectionObserverEntry; | |
| 17 | |
| 18 class IntersectionObserverCallback : public NoBaseWillBeGarbageCollectedFinalize d<IntersectionObserverCallback> { | |
|
haraken
2015/11/16 00:41:35
You don't need to use WillBe types for newly intro
szager1
2015/11/19 19:15:38
Working on it.
| |
| 19 public: | |
| 20 virtual ~IntersectionObserverCallback() { } | |
| 21 | |
| 22 virtual void handleEvent(WillBeHeapVector<RefPtrWillBeMember<IntersectionObs erverEntry>>&, IntersectionObserver*) = 0; | |
| 23 virtual ExecutionContext* executionContext() const = 0; | |
| 24 | |
| 25 DEFINE_INLINE_VIRTUAL_TRACE() { } | |
| 26 }; | |
| 27 | |
| 28 } | |
| 29 | |
| 30 #endif // IntersectionObserverCallback_h | |
| OLD | NEW |