OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 GridResolvedPosition_h | 5 #ifndef GridResolvedPosition_h |
6 #define GridResolvedPosition_h | 6 #define GridResolvedPosition_h |
7 | 7 |
8 #include "core/style/GridPosition.h" | 8 #include "core/style/GridPosition.h" |
9 #include "wtf/Allocator.h" | 9 #include "wtf/Allocator.h" |
10 | 10 |
(...skipping 22 matching lines...) Expand all Loading... | |
33 public: | 33 public: |
34 | 34 |
35 static size_t explicitGridColumnCount(const ComputedStyle&); | 35 static size_t explicitGridColumnCount(const ComputedStyle&); |
36 static size_t explicitGridRowCount(const ComputedStyle&); | 36 static size_t explicitGridRowCount(const ComputedStyle&); |
37 | 37 |
38 static bool isValidNamedLineOrArea(const String& lineName, const ComputedSty le&, GridPositionSide); | 38 static bool isValidNamedLineOrArea(const String& lineName, const ComputedSty le&, GridPositionSide); |
39 | 39 |
40 static GridPositionSide initialPositionSide(GridTrackSizingDirection); | 40 static GridPositionSide initialPositionSide(GridTrackSizingDirection); |
41 static GridPositionSide finalPositionSide(GridTrackSizingDirection); | 41 static GridPositionSide finalPositionSide(GridTrackSizingDirection); |
42 | 42 |
43 static GridSpan resolveGridPositionsFromAutoPlacementPosition(const Computed Style&, const LayoutBox&, GridTrackSizingDirection, size_t resolvedInitialPositi on); | 43 static size_t spanSizeFromAutoPlacementPosition(const ComputedStyle&, const LayoutBox&, GridTrackSizingDirection); |
svillar
2015/12/04 13:28:36
I am not convinced with the naming. We are no long
Manuel Rego
2015/12/04 14:49:10
Nice suggestion, I was not convinced about the new
| |
44 static GridSpan resolveGridPositionsFromStyle(const ComputedStyle&, const La youtBox&, GridTrackSizingDirection); | 44 static GridSpan resolveGridPositionsFromStyle(const ComputedStyle&, const La youtBox&, GridTrackSizingDirection); |
45 | 45 |
46 }; | 46 }; |
47 | 47 |
48 } // namespace blink | 48 } // namespace blink |
49 | 49 |
50 #endif // GridResolvedPosition_h | 50 #endif // GridResolvedPosition_h |
OLD | NEW |