#include "third_party/blink/renderer/core/layout/multi_column_fragmentainer_group.h"
#include "third_party/blink/renderer/core/layout/geometry/logical_rect.h"
#include "third_party/blink/renderer/core/layout/geometry/writing_mode_converter.h"
#include "third_party/blink/renderer/core/layout/layout_multi_column_set.h"
namespace blink {
static const unsigned kColumnCountClampMax = …;
static constexpr LayoutUnit kMulticolMaxClipPixels(1000000);
MultiColumnFragmentainerGroup::MultiColumnFragmentainerGroup(
const LayoutMultiColumnSet& column_set)
: … { … }
LogicalOffset MultiColumnFragmentainerGroup::OffsetFromColumnSet() const { … }
LayoutUnit MultiColumnFragmentainerGroup::LogicalHeightInFlowThreadAt(
unsigned column_index) const { … }
void MultiColumnFragmentainerGroup::ResetColumnHeight() { … }
PhysicalOffset MultiColumnFragmentainerGroup::FlowThreadTranslationAtOffset(
LayoutUnit offset_in_flow_thread,
LayoutBox::PageBoundaryRule rule) const { … }
LogicalOffset MultiColumnFragmentainerGroup::VisualPointToFlowThreadPoint(
const LogicalOffset& visual_point) const { … }
PhysicalRect MultiColumnFragmentainerGroup::FragmentsBoundingBox(
const PhysicalRect& bounding_box_in_flow_thread) const { … }
unsigned MultiColumnFragmentainerGroup::ActualColumnCount() const { … }
void MultiColumnFragmentainerGroup::SetColumnBlockSizeFromNG(
LayoutUnit block_size) { … }
void MultiColumnFragmentainerGroup::ExtendColumnBlockSizeFromNG(
LayoutUnit block_size) { … }
LogicalRect MultiColumnFragmentainerGroup::ColumnRectAt(
unsigned column_index) const { … }
LogicalRect MultiColumnFragmentainerGroup::LogicalFlowThreadPortionRectAt(
unsigned column_index) const { … }
PhysicalRect MultiColumnFragmentainerGroup::FlowThreadPortionRectAt(
unsigned column_index) const { … }
PhysicalRect MultiColumnFragmentainerGroup::FlowThreadPortionOverflowRectAt(
unsigned column_index) const { … }
unsigned MultiColumnFragmentainerGroup::ColumnIndexAtOffset(
LayoutUnit offset_in_flow_thread,
LayoutBox::PageBoundaryRule page_boundary_rule) const { … }
unsigned MultiColumnFragmentainerGroup::ConstrainedColumnIndexAtOffset(
LayoutUnit offset_in_flow_thread,
LayoutBox::PageBoundaryRule page_boundary_rule) const { … }
unsigned MultiColumnFragmentainerGroup::ColumnIndexAtVisualPoint(
const LogicalOffset& visual_point) const { … }
void MultiColumnFragmentainerGroup::ColumnIntervalForBlockRangeInFlowThread(
LayoutUnit logical_top_in_flow_thread,
LayoutUnit logical_bottom_in_flow_thread,
unsigned& first_column,
unsigned& last_column) const { … }
unsigned MultiColumnFragmentainerGroup::UnclampedActualColumnCount() const { … }
void MultiColumnFragmentainerGroup::Trace(Visitor* visitor) const { … }
MultiColumnFragmentainerGroupList::MultiColumnFragmentainerGroupList(
LayoutMultiColumnSet& column_set)
: … { … }
MultiColumnFragmentainerGroupList::~MultiColumnFragmentainerGroupList() =
default;
MultiColumnFragmentainerGroup&
MultiColumnFragmentainerGroupList::AddExtraGroup() { … }
void MultiColumnFragmentainerGroupList::DeleteExtraGroups() { … }
void MultiColumnFragmentainerGroupList::Trace(Visitor* visitor) const { … }
}