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

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

Issue 2390543002: Reflow comments in core/dom/. (Closed)
Patch Set: Reformat comments in core/dom/. Created 4 years, 2 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
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/ActiveDOMObject.h" 8 #include "core/dom/ActiveDOMObject.h"
9 #include "core/dom/IntersectionObserver.h" 9 #include "core/dom/IntersectionObserver.h"
10 #include "platform/heap/Handle.h" 10 #include "platform/heap/Handle.h"
(...skipping 25 matching lines...) Expand all
36 void removeTrackedObserversForRoot(const Node&); 36 void removeTrackedObserversForRoot(const Node&);
37 37
38 DECLARE_TRACE(); 38 DECLARE_TRACE();
39 39
40 private: 40 private:
41 explicit IntersectionObserverController(Document*); 41 explicit IntersectionObserverController(Document*);
42 42
43 private: 43 private:
44 // IntersectionObservers for which this is the tracking document. 44 // IntersectionObservers for which this is the tracking document.
45 HeapHashSet<WeakMember<IntersectionObserver>> m_trackedIntersectionObservers; 45 HeapHashSet<WeakMember<IntersectionObserver>> m_trackedIntersectionObservers;
46 // IntersectionObservers for which this is the execution context of the callba ck. 46 // IntersectionObservers for which this is the execution context of the
47 // callback.
47 HeapHashSet<Member<IntersectionObserver>> m_pendingIntersectionObservers; 48 HeapHashSet<Member<IntersectionObserver>> m_pendingIntersectionObservers;
48 WTF::WeakPtrFactory<IntersectionObserverController> m_weakPtrFactory; 49 WTF::WeakPtrFactory<IntersectionObserverController> m_weakPtrFactory;
49 50
50 bool m_callbackFiredWhileSuspended; 51 bool m_callbackFiredWhileSuspended;
51 }; 52 };
52 53
53 } // namespace blink 54 } // namespace blink
54 55
55 #endif // IntersectionObserverController_h 56 #endif // IntersectionObserverController_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698