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

Side by Side Diff: third_party/WebKit/Source/core/page/scrolling/SnapCoordinator.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 SnapCoordinator_h 5 #ifndef SnapCoordinator_h
6 #define SnapCoordinator_h 6 #define SnapCoordinator_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/css/CSSPrimitiveValueMappings.h" 9 #include "core/css/CSSPrimitiveValueMappings.h"
10 #include "platform/heap/Handle.h" 10 #include "platform/heap/Handle.h"
11 #include "wtf/Vector.h" 11 #include "wtf/Vector.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 class ComputedStyle;
16 class ContainerNode; 15 class ContainerNode;
17 class Element;
18 class LayoutBox; 16 class LayoutBox;
19 struct LengthPoint; 17 struct LengthPoint;
20 18
21 // Snap Coordinator keeps track of snap containers and all of their associated 19 // Snap Coordinator keeps track of snap containers and all of their associated
22 // snap areas. It also contains the logic to generate the list of valid snap 20 // snap areas. It also contains the logic to generate the list of valid snap
23 // positions for a given snap container. 21 // positions for a given snap container.
24 // 22 //
25 // Snap container: 23 // Snap container:
26 // An scroll container that has 'scroll-snap-type' value other 24 // An scroll container that has 'scroll-snap-type' value other
27 // than 'none'. 25 // than 'none'.
(...skipping 26 matching lines...) Expand all
54 explicit SnapCoordinator(); 52 explicit SnapCoordinator();
55 53
56 Vector<double> snapOffsets(const ContainerNode&, ScrollbarOrientation); 54 Vector<double> snapOffsets(const ContainerNode&, ScrollbarOrientation);
57 55
58 HashSet<const LayoutBox*> m_snapContainers; 56 HashSet<const LayoutBox*> m_snapContainers;
59 }; 57 };
60 58
61 } // namespace blink 59 } // namespace blink
62 60
63 #endif // SnapCoordinator_h 61 #endif // SnapCoordinator_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698