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

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

Issue 1575323002: Oilpan: fix build after r368814. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 11 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/IntersectionObserverController.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IntersectionObserverController_h 5 #ifndef IntersectionObserverController_h
6 #define IntersectionObserverController_h 6 #define IntersectionObserverController_h
7 7
8 #include "core/dom/Element.h" 8 #include "core/dom/Element.h"
9 #include "core/dom/IntersectionObserver.h" 9 #include "core/dom/IntersectionObserver.h"
10 #include "platform/Timer.h" 10 #include "platform/Timer.h"
11 #include "platform/heap/Handle.h" 11 #include "platform/heap/Handle.h"
12 #include "wtf/HashSet.h" 12 #include "wtf/HashSet.h"
13 13
14 // Design doc for IntersectionObserver implementation: 14 // Design doc for IntersectionObserver implementation:
15 // https://docs.google.com/a/google.com/document/d/1hLK0eyT5_BzyNS4OkjsnoqqFQD YCbKfyBinj94OnLiQ 15 // https://docs.google.com/a/google.com/document/d/1hLK0eyT5_BzyNS4OkjsnoqqFQD YCbKfyBinj94OnLiQ
16 16
17 namespace blink { 17 namespace blink {
18 18
19 class IntersectionObserverController : public GarbageCollectedFinalized<Intersec tionObserverController>, public ActiveDOMObject { 19 class IntersectionObserverController : public GarbageCollectedFinalized<Intersec tionObserverController>, public ActiveDOMObject {
20 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(IntersectionObserverController);
20 public: 21 public:
21 static IntersectionObserverController* create(Document*); 22 static IntersectionObserverController* create(Document*);
22 ~IntersectionObserverController(); 23 ~IntersectionObserverController();
23 24
24 void resume() override; 25 void resume() override;
25 26
26 void scheduleIntersectionObserverForDelivery(IntersectionObserver&); 27 void scheduleIntersectionObserverForDelivery(IntersectionObserver&);
27 void deliverIntersectionObservations(Timer<IntersectionObserverController>*) ; 28 void deliverIntersectionObservations(Timer<IntersectionObserverController>*) ;
28 void computeTrackedIntersectionObservations(); 29 void computeTrackedIntersectionObservations();
29 void addTrackedObserver(IntersectionObserver&); 30 void addTrackedObserver(IntersectionObserver&);
(...skipping 10 matching lines...) Expand all
40 HeapHashSet<WeakMember<IntersectionObserver>> m_trackedIntersectionObservers ; 41 HeapHashSet<WeakMember<IntersectionObserver>> m_trackedIntersectionObservers ;
41 // IntersectionObservers for which this is the execution context of the call back. 42 // IntersectionObservers for which this is the execution context of the call back.
42 HeapHashSet<Member<IntersectionObserver>> m_pendingIntersectionObservers; 43 HeapHashSet<Member<IntersectionObserver>> m_pendingIntersectionObservers;
43 44
44 bool m_timerFiredWhileSuspended; 45 bool m_timerFiredWhileSuspended;
45 }; 46 };
46 47
47 } // namespace blink 48 } // namespace blink
48 49
49 #endif // IntersectionObserverController_h 50 #endif // IntersectionObserverController_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/IntersectionObserverController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698