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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 IntersectionObserver_h 5 #ifndef IntersectionObserver_h
6 #define IntersectionObserver_h 6 #define IntersectionObserver_h
7 7
8 #include "bindings/core/v8/ScriptWrappable.h" 8 #include "bindings/core/v8/ScriptWrappable.h"
9 #include "core/dom/Element.h" 9 #include "core/dom/Element.h"
10 #include "core/dom/IntersectionObservation.h" 10 #include "core/dom/IntersectionObservation.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 DECLARE_TRACE(); 57 DECLARE_TRACE();
58 58
59 private: 59 private:
60 explicit IntersectionObserver(IntersectionObserverCallback&, Node&, const Ve ctor<Length>& rootMargin, const Vector<float>& thresholds); 60 explicit IntersectionObserver(IntersectionObserverCallback&, Node&, const Ve ctor<Length>& rootMargin, const Vector<float>& thresholds);
61 #if ENABLE(OILPAN) 61 #if ENABLE(OILPAN)
62 void clearWeakMembers(Visitor*); 62 void clearWeakMembers(Visitor*);
63 #endif 63 #endif
64 64
65 Member<IntersectionObserverCallback> m_callback; 65 Member<IntersectionObserverCallback> m_callback;
66 WeakPtrWillBeWeakMember<Node> m_root; 66 WeakMember<Node> m_root;
67 HeapHashSet<WeakMember<IntersectionObservation>> m_observations; 67 HeapHashSet<WeakMember<IntersectionObservation>> m_observations;
68 HeapVector<Member<IntersectionObserverEntry>> m_entries; 68 HeapVector<Member<IntersectionObserverEntry>> m_entries;
69 Vector<float> m_thresholds; 69 Vector<float> m_thresholds;
70 Length m_topMargin; 70 Length m_topMargin;
71 Length m_rightMargin; 71 Length m_rightMargin;
72 Length m_bottomMargin; 72 Length m_bottomMargin;
73 Length m_leftMargin; 73 Length m_leftMargin;
74 }; 74 };
75 75
76 } // namespace blink 76 } // namespace blink
77 77
78 #endif // IntersectionObserver_h 78 #endif // IntersectionObserver_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698