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

Side by Side Diff: third_party/WebKit/Source/core/dom/IntersectionObservation.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 IntersectionObservation_h 5 #ifndef IntersectionObservation_h
6 #define IntersectionObservation_h 6 #define IntersectionObservation_h
7 7
8 #include "core/dom/DOMHighResTimeStamp.h" 8 #include "core/dom/DOMHighResTimeStamp.h"
9 #include "platform/geometry/LayoutRect.h" 9 #include "platform/geometry/LayoutRect.h"
10 #include "platform/heap/Handle.h" 10 #include "platform/heap/Handle.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 void initializeGeometry(IntersectionGeometry&); 43 void initializeGeometry(IntersectionGeometry&);
44 void clipToRoot(LayoutRect&); 44 void clipToRoot(LayoutRect&);
45 void clipToFrameView(IntersectionGeometry&); 45 void clipToFrameView(IntersectionGeometry&);
46 bool computeGeometry(IntersectionGeometry&); 46 bool computeGeometry(IntersectionGeometry&);
47 47
48 Member<IntersectionObserver> m_observer; 48 Member<IntersectionObserver> m_observer;
49 49
50 // TODO(szager): Why Node instead of Element? Because NodeIntersectionObser verData::createWeakPtr() 50 // TODO(szager): Why Node instead of Element? Because NodeIntersectionObser verData::createWeakPtr()
51 // returns a WeakPtr<Node>, which cannot be coerced into a WeakPtr<Element>. When oilpan rolls out, 51 // returns a WeakPtr<Node>, which cannot be coerced into a WeakPtr<Element>. When oilpan rolls out,
52 // this can be changed to WeakMember<Element>. 52 // this can be changed to WeakMember<Element>.
53 WeakPtrWillBeWeakMember<Node> m_target; 53 WeakMember<Node> m_target;
54 54
55 unsigned m_active : 1; 55 unsigned m_active : 1;
56 unsigned m_shouldReportRootBounds : 1; 56 unsigned m_shouldReportRootBounds : 1;
57 unsigned m_lastThresholdIndex : 30; 57 unsigned m_lastThresholdIndex : 30;
58 }; 58 };
59 59
60 } // namespace blink 60 } // namespace blink
61 61
62 #endif // IntersectionObservation_h 62 #endif // IntersectionObservation_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698