chromium/third_party/blink/renderer/core/layout/inline/inline_child_layout_context.cc

// Copyright 2018 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/inline/inline_child_layout_context.h"

#include "third_party/blink/renderer/core/layout/block_break_token.h"
#include "third_party/blink/renderer/core/layout/box_fragment_builder.h"

namespace blink {

namespace {

struct SameSizeAsInlineChildLayoutContext {};

static_assert;

// Return true if we're inside a fragmentainer with known block-size (i.e. not
// if we're in an initial column balancing pass, in which case the fragmentainer
// block-size would be unconstrained). This information will be used to
// determine whether it's reasonable to pre-allocate a buffer for all the
// estimated fragment items inside the node.
bool IsBlockFragmented(const BoxFragmentBuilder& fragment_builder) {}

}  // namespace

InlineChildLayoutContext::InlineChildLayoutContext(
    const InlineNode& node,
    BoxFragmentBuilder* container_builder,
    LineInfo* line_info)
    :{}

InlineChildLayoutContext::InlineChildLayoutContext(
    const InlineNode& node,
    BoxFragmentBuilder* container_builder,
    ScoreLineBreakContext* score_line_break_context)
    :{}

InlineChildLayoutContext::~InlineChildLayoutContext() {}

InlineLayoutStateStack* InlineChildLayoutContext::BoxStatesIfValidForItemIndex(
    const HeapVector<InlineItem>& items,
    unsigned item_index) {}

void InlineChildLayoutContext::ClearParallelFlowBreakTokens() {}

void InlineChildLayoutContext::PropagateParallelFlowBreakToken(
    const BreakToken* token) {}

}  // namespace blink