| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2011 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 LayoutUnit computeUsedBreadthOfMinLength(const GridTrackSize&, | 136 LayoutUnit computeUsedBreadthOfMinLength(const GridTrackSize&, |
| 137 LayoutUnit maxBreadth) const; | 137 LayoutUnit maxBreadth) const; |
| 138 LayoutUnit computeUsedBreadthOfMaxLength(const GridTrackSize&, | 138 LayoutUnit computeUsedBreadthOfMaxLength(const GridTrackSize&, |
| 139 LayoutUnit usedBreadth, | 139 LayoutUnit usedBreadth, |
| 140 LayoutUnit maxBreadth) const; | 140 LayoutUnit maxBreadth) const; |
| 141 void resolveContentBasedTrackSizingFunctions(GridTrackSizingDirection, | 141 void resolveContentBasedTrackSizingFunctions(GridTrackSizingDirection, |
| 142 GridSizingData&) const; | 142 GridSizingData&) const; |
| 143 | 143 |
| 144 size_t computeAutoRepeatTracksCount(GridTrackSizingDirection, | 144 size_t computeAutoRepeatTracksCount(GridTrackSizingDirection, |
| 145 SizingOperation) const; | 145 SizingOperation) const; |
| 146 size_t clampAutoRepeatTracks(GridTrackSizingDirection, |
| 147 size_t autoRepeatTracks) const; |
| 146 | 148 |
| 147 typedef ListHashSet<size_t> OrderedTrackIndexSet; | 149 typedef ListHashSet<size_t> OrderedTrackIndexSet; |
| 148 std::unique_ptr<OrderedTrackIndexSet> computeEmptyTracksForAutoRepeat( | 150 std::unique_ptr<OrderedTrackIndexSet> computeEmptyTracksForAutoRepeat( |
| 149 Grid&, | 151 Grid&, |
| 150 GridTrackSizingDirection) const; | 152 GridTrackSizingDirection) const; |
| 151 | 153 |
| 152 void placeItemsOnGrid(Grid&, SizingOperation) const; | 154 void placeItemsOnGrid(Grid&, SizingOperation) const; |
| 153 void populateExplicitGridAndOrderIterator(Grid&) const; | 155 void populateExplicitGridAndOrderIterator(Grid&) const; |
| 154 std::unique_ptr<GridArea> createEmptyGridAreaAtSpecifiedPositionsOutsideGrid( | 156 std::unique_ptr<GridArea> createEmptyGridAreaAtSpecifiedPositionsOutsideGrid( |
| 155 const Grid&, | 157 const Grid&, |
| (...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 436 LayoutUnit m_maxContentHeight{-1}; | 438 LayoutUnit m_maxContentHeight{-1}; |
| 437 | 439 |
| 438 Optional<bool> m_hasDefiniteLogicalHeight; | 440 Optional<bool> m_hasDefiniteLogicalHeight; |
| 439 }; | 441 }; |
| 440 | 442 |
| 441 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutGrid, isLayoutGrid()); | 443 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutGrid, isLayoutGrid()); |
| 442 | 444 |
| 443 } // namespace blink | 445 } // namespace blink |
| 444 | 446 |
| 445 #endif // LayoutGrid_h | 447 #endif // LayoutGrid_h |
| OLD | NEW |