Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Side by Side Diff: third_party/WebKit/Source/core/dom/IntersectionObserverCallback.h

Issue 1449623002: IntersectionObserver: second cut. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Remove bad ASSERT Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698