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

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

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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 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 "core/style/GridPositionsResolver.h" 9 #include "core/style/GridPositionsResolver.h"
9 #include "core/style/GridTrackSize.h" 10 #include "core/style/GridTrackSize.h"
10 #include "platform/LayoutUnit.h" 11 #include "platform/LayoutUnit.h"
11 #include "wtf/HashSet.h" 12 #include "wtf/HashSet.h"
12 #include "wtf/Optional.h" 13 #include "wtf/Optional.h"
13 #include <memory>
14 14
15 namespace blink { 15 namespace blink {
16 16
17 static const int infinity = -1; 17 static const int infinity = -1;
18 18
19 class Grid; 19 class Grid;
20 class GridTrackSizingAlgorithmStrategy; 20 class GridTrackSizingAlgorithmStrategy;
21 class LayoutGrid; 21 class LayoutGrid;
22 22
23 enum SizingOperation { TrackSizing, IntrinsicSizeComputation }; 23 enum SizingOperation { TrackSizing, IntrinsicSizeComputation };
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 LayoutUnit leftOverSpace) const; 261 LayoutUnit leftOverSpace) const;
262 void distributeSpaceToTracks(Vector<GridTrack*>& tracks, 262 void distributeSpaceToTracks(Vector<GridTrack*>& tracks,
263 LayoutUnit& availableLogicalSpace) const; 263 LayoutUnit& availableLogicalSpace) const;
264 const LayoutGrid* layoutGrid() const { return m_algorithm.m_layoutGrid; } 264 const LayoutGrid* layoutGrid() const { return m_algorithm.m_layoutGrid; }
265 265
266 GridTrackSizingAlgorithm& m_algorithm; 266 GridTrackSizingAlgorithm& m_algorithm;
267 }; 267 };
268 } 268 }
269 269
270 #endif // GridTrackSizingAlgorithm_h 270 #endif // GridTrackSizingAlgorithm_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698