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

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

Issue 2833023002: [css-grid] Remove unneeded line in GridTrackSizingAlgorithm (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 GridTrackSizingAlgorithm_h 5 #ifndef GridTrackSizingAlgorithm_h
6 #define GridTrackSizingAlgorithm_h 6 #define GridTrackSizingAlgorithm_h
7 7
8 #include <memory> 8 #include <memory>
9 #include "core/layout/LayoutBox.h" 9 #include "core/layout/LayoutBox.h"
10 #include "core/style/GridPositionsResolver.h" 10 #include "core/style/GridPositionsResolver.h"
11 #include "core/style/GridTrackSize.h" 11 #include "core/style/GridTrackSize.h"
12 #include "platform/LayoutUnit.h" 12 #include "platform/LayoutUnit.h"
13 #include "platform/wtf/HashSet.h" 13 #include "platform/wtf/HashSet.h"
14 #include "platform/wtf/Optional.h" 14 #include "platform/wtf/Optional.h"
15 15
16 namespace blink { 16 namespace blink {
17 17
18 static const int kInfinity = -1; 18 static const int kInfinity = -1;
19 19
20 class Grid; 20 class Grid;
21 class GridTrackSizingAlgorithmStrategy; 21 class GridTrackSizingAlgorithmStrategy;
22 class LayoutGrid; 22 class LayoutGrid;
23 23
24 enum MarginDirection;
25
26 enum SizingOperation { kTrackSizing, kIntrinsicSizeComputation }; 24 enum SizingOperation { kTrackSizing, kIntrinsicSizeComputation };
27 25
28 enum TrackSizeComputationPhase { 26 enum TrackSizeComputationPhase {
29 kResolveIntrinsicMinimums, 27 kResolveIntrinsicMinimums,
30 kResolveContentBasedMinimums, 28 kResolveContentBasedMinimums,
31 kResolveMaxContentMinimums, 29 kResolveMaxContentMinimums,
32 kResolveIntrinsicMaximums, 30 kResolveIntrinsicMaximums,
33 kResolveMaxContentMaximums, 31 kResolveMaxContentMaximums,
34 kMaximizeTracks, 32 kMaximizeTracks,
35 }; 33 };
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 static GridTrackSizingDirection FlowAwareDirectionForChild( 294 static GridTrackSizingDirection FlowAwareDirectionForChild(
297 const LayoutGrid*, 295 const LayoutGrid*,
298 const LayoutBox& child, 296 const LayoutBox& child,
299 GridTrackSizingDirection); 297 GridTrackSizingDirection);
300 298
301 GridTrackSizingAlgorithm& algorithm_; 299 GridTrackSizingAlgorithm& algorithm_;
302 }; 300 };
303 } 301 }
304 302
305 #endif // GridTrackSizingAlgorithm_h 303 #endif // GridTrackSizingAlgorithm_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698