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

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

Issue 2463703003: blink: Cleanup core class forward declarations (Closed)
Patch Set: Remove redundant empty lines 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
14 class StickyPositionScrollingConstraints final { 12 class StickyPositionScrollingConstraints final {
15 public: 13 public:
16 enum AnchorEdgeFlags { 14 enum AnchorEdgeFlags {
17 AnchorEdgeLeft = 1 << 0, 15 AnchorEdgeLeft = 1 << 0,
18 AnchorEdgeRight = 1 << 1, 16 AnchorEdgeRight = 1 << 1,
19 AnchorEdgeTop = 1 << 2, 17 AnchorEdgeTop = 1 << 2,
20 AnchorEdgeBottom = 1 << 3 18 AnchorEdgeBottom = 1 << 3
21 }; 19 };
22 typedef unsigned AnchorEdges; 20 typedef unsigned AnchorEdges;
23 21
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 float m_rightOffset; 92 float m_rightOffset;
95 float m_topOffset; 93 float m_topOffset;
96 float m_bottomOffset; 94 float m_bottomOffset;
97 FloatRect m_scrollContainerRelativeContainingBlockRect; 95 FloatRect m_scrollContainerRelativeContainingBlockRect;
98 FloatRect m_scrollContainerRelativeStickyBoxRect; 96 FloatRect m_scrollContainerRelativeStickyBoxRect;
99 }; 97 };
100 98
101 } // namespace blink 99 } // namespace blink
102 100
103 #endif // StickyPositionScrollingConstraints_h 101 #endif // StickyPositionScrollingConstraints_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698