chromium/third_party/blink/renderer/core/layout/masonry/masonry_layout_algorithm.cc

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file.

#include "third_party/blink/renderer/core/layout/masonry/masonry_layout_algorithm.h"

#include "third_party/blink/renderer/core/layout/grid/grid_track_collection.h"

namespace blink {

MasonryLayoutAlgorithm::MasonryLayoutAlgorithm(
    const LayoutAlgorithmParams& params)
    :{}

namespace {

// Auto-placed masonry items can be placed at every cross axis track that fits
// its span size, this implies that `masonry-template-tracks` will be expanded
// to include all possible track starts, mapping 1:1 tracks to ranges.
GridRangeVector ExpandRangesFromTemplateTracks(
    const NGGridTrackList& template_tracks,
    wtf_size_t auto_repetitions) {}

}  // namespace

GridSizingTrackCollection MasonryLayoutAlgorithm::ComputeCrossAxisTrackSizes()
    const {}

wtf_size_t MasonryLayoutAlgorithm::ComputeAutomaticRepetitions() const {}

const LayoutResult* MasonryLayoutAlgorithm::Layout() {}

MinMaxSizesResult MasonryLayoutAlgorithm::ComputeMinMaxSizes(
    const MinMaxSizesFloatInput&) {}

}  // namespace blink