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

Side by Side Diff: third_party/WebKit/Source/core/page/scrolling/StickyPositionScrollingConstraints.h

Issue 2463703003: blink: Cleanup core class forward declarations (Closed)
Patch Set: Created 4 years, 1 month 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 StickyPositionScrollingConstraints_h 5 #ifndef StickyPositionScrollingConstraints_h
6 #define StickyPositionScrollingConstraints_h 6 #define StickyPositionScrollingConstraints_h
7 7
8 #include "platform/geometry/FloatRect.h" 8 #include "platform/geometry/FloatRect.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 class LayoutBoxModelObjectTest;
13 12
14 class StickyPositionScrollingConstraints final { 13 class StickyPositionScrollingConstraints final {
15 public: 14 public:
16 enum AnchorEdgeFlags { 15 enum AnchorEdgeFlags {
17 AnchorEdgeLeft = 1 << 0, 16 AnchorEdgeLeft = 1 << 0,
18 AnchorEdgeRight = 1 << 1, 17 AnchorEdgeRight = 1 << 1,
19 AnchorEdgeTop = 1 << 2, 18 AnchorEdgeTop = 1 << 2,
20 AnchorEdgeBottom = 1 << 3 19 AnchorEdgeBottom = 1 << 3
21 }; 20 };
22 typedef unsigned AnchorEdges; 21 typedef unsigned AnchorEdges;
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 float m_rightOffset; 93 float m_rightOffset;
95 float m_topOffset; 94 float m_topOffset;
96 float m_bottomOffset; 95 float m_bottomOffset;
97 FloatRect m_scrollContainerRelativeContainingBlockRect; 96 FloatRect m_scrollContainerRelativeContainingBlockRect;
98 FloatRect m_scrollContainerRelativeStickyBoxRect; 97 FloatRect m_scrollContainerRelativeStickyBoxRect;
99 }; 98 };
100 99
101 } // namespace blink 100 } // namespace blink
102 101
103 #endif // StickyPositionScrollingConstraints_h 102 #endif // StickyPositionScrollingConstraints_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698