#include "third_party/blink/renderer/core/layout/frame_set_layout_algorithm.h"
#include "third_party/blink/renderer/core/html/html_frame_set_element.h"
#include "third_party/blink/renderer/core/layout/disable_layout_side_effects_scope.h"
#include "third_party/blink/renderer/core/layout/frame_set_layout_data.h"
namespace blink {
namespace {
LayoutUnit IntLayoutUnit(double value) { … }
LayoutUnit AdjustSizeToRemainingSize(LayoutUnit current,
LayoutUnit remaining,
int64_t total) { … }
}
FrameSetLayoutAlgorithm::FrameSetLayoutAlgorithm(
const LayoutAlgorithmParams& params)
: … { … }
const LayoutResult* FrameSetLayoutAlgorithm::Layout() { … }
MinMaxSizesResult FrameSetLayoutAlgorithm::ComputeMinMaxSizes(
const MinMaxSizesFloatInput&) { … }
Vector<LayoutUnit> FrameSetLayoutAlgorithm::LayoutAxis(
wtf_size_t count,
const Vector<HTMLDimension>& grid,
const Vector<int>& deltas,
LayoutUnit available_length) { … }
void FrameSetLayoutAlgorithm::LayoutChildren(
const FrameSetLayoutData& layout_data) { … }
void FrameSetLayoutAlgorithm::LayoutChild(const LayoutInputNode& child,
LogicalSize available_size,
PhysicalOffset position,
PhysicalSize child_size) { … }
}