#include "third_party/blink/renderer/core/layout/inline/inline_containing_block_utils.h"
#include "third_party/blink/renderer/core/layout/box_fragment_builder.h"
#include "third_party/blink/renderer/core/layout/fragmentation_utils.h"
#include "third_party/blink/renderer/core/layout/layout_box.h"
#include "third_party/blink/renderer/core/layout/physical_box_fragment.h"
#include "third_party/blink/renderer/platform/geometry/layout_unit.h"
namespace blink {
namespace {
LineBoxPair;
template <class Items>
void GatherInlineContainerFragmentsFromItems(
const Items& items,
const PhysicalOffset& box_offset,
InlineContainingBlockUtils::InlineContainingBlockMap*
inline_containing_block_map,
HeapHashMap<Member<const LayoutObject>, LineBoxPair>*
containing_linebox_map,
const WritingModeConverter* fragment_converter = nullptr,
const WritingModeConverter* containing_block_converter = nullptr) { … }
}
void InlineContainingBlockUtils::ComputeInlineContainerGeometry(
InlineContainingBlockMap* inline_containing_block_map,
BoxFragmentBuilder* container_builder) { … }
void InlineContainingBlockUtils::ComputeInlineContainerGeometryForFragmentainer(
const LayoutBox* box,
PhysicalSize accumulated_containing_block_size,
InlineContainingBlockMap* inline_containing_block_map) { … }
}