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

Side by Side Diff: third_party/WebKit/Source/core/layout/ScrollAnchor.h

Issue 1852663002: Oilpan: Remove WillBe types (part 9) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 2015 The Chromium Authors. All rights reserved. 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 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 ScrollAnchor_h 5 #ifndef ScrollAnchor_h
6 #define ScrollAnchor_h 6 #define ScrollAnchor_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "platform/geometry/LayoutPoint.h" 9 #include "platform/geometry/LayoutPoint.h"
10 #include "platform/heap/Handle.h" 10 #include "platform/heap/Handle.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 , viable(true) 70 , viable(true)
71 , corner(c) {} 71 , corner(c) {}
72 72
73 WalkStatus status; 73 WalkStatus status;
74 bool viable; 74 bool viable;
75 Corner corner; 75 Corner corner;
76 }; 76 };
77 ExamineResult examine(const LayoutObject*) const; 77 ExamineResult examine(const LayoutObject*) const;
78 78
79 // The scroller that owns and is adjusted by this ScrollAnchor. 79 // The scroller that owns and is adjusted by this ScrollAnchor.
80 RawPtrWillBeMember<ScrollableArea> m_scroller; 80 Member<ScrollableArea> m_scroller;
81 81
82 // The LayoutObject we should anchor to. Lazily computed. 82 // The LayoutObject we should anchor to. Lazily computed.
83 LayoutObject* m_anchorObject; 83 LayoutObject* m_anchorObject;
84 84
85 // Which corner of m_anchorObject's bounding box to anchor to. 85 // Which corner of m_anchorObject's bounding box to anchor to.
86 Corner m_corner; 86 Corner m_corner;
87 87
88 // Location of m_layoutObject relative to scroller at time of save(). 88 // Location of m_layoutObject relative to scroller at time of save().
89 LayoutPoint m_savedRelativeOffset; 89 LayoutPoint m_savedRelativeOffset;
90 }; 90 };
91 91
92 } // namespace blink 92 } // namespace blink
93 93
94 #endif // ScrollAnchor_h 94 #endif // ScrollAnchor_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutView.h ('k') | third_party/WebKit/Source/core/layout/TextAutosizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698