#include "third_party/blink/renderer/core/layout/layout_result.h"
#include <memory>
#include <utility>
#include "third_party/blink/renderer/core/dom/flat_tree_traversal.h"
#include "third_party/blink/renderer/core/layout/box_fragment_builder.h"
#include "third_party/blink/renderer/core/layout/column_spanner_path.h"
#include "third_party/blink/renderer/core/layout/exclusions/exclusion_space.h"
#include "third_party/blink/renderer/core/layout/inline/line_box_fragment_builder.h"
#include "third_party/blink/renderer/core/layout/physical_box_fragment.h"
#include "third_party/blink/renderer/core/layout/positioned_float.h"
#include "third_party/blink/renderer/platform/geometry/layout_unit.h"
#include "third_party/blink/renderer/platform/wtf/size_assertions.h"
namespace blink {
namespace …
const LayoutResult* LayoutResult::Clone(const LayoutResult& other) { … }
const LayoutResult* LayoutResult::CloneWithPostLayoutFragments(
const LayoutResult& other) { … }
LayoutResult::LayoutResult(BoxFragmentBuilderPassKey passkey,
const PhysicalFragment* physical_fragment,
BoxFragmentBuilder* builder)
: … { … }
LayoutResult::LayoutResult(LineBoxFragmentBuilderPassKey passkey,
const PhysicalFragment* physical_fragment,
LineBoxFragmentBuilder* builder)
: … { … }
LayoutResult::LayoutResult(FragmentBuilderPassKey key,
EStatus status,
FragmentBuilder* builder)
: … { … }
LayoutResult::LayoutResult(const LayoutResult& other,
const ConstraintSpace& new_space,
const MarginStrut& new_end_margin_strut,
LayoutUnit bfc_line_offset,
std::optional<LayoutUnit> bfc_block_offset,
LayoutUnit block_offset_delta)
: … { … }
LayoutResult::LayoutResult(const LayoutResult& other,
const PhysicalFragment* physical_fragment)
: … { … }
LayoutResult::LayoutResult(const PhysicalFragment* physical_fragment,
FragmentBuilder* builder)
: … { … }
ExclusionSpace LayoutResult::MergeExclusionSpaces(
const LayoutResult& other,
const ExclusionSpace& new_input_exclusion_space,
LayoutUnit bfc_line_offset,
LayoutUnit block_offset_delta) { … }
LayoutResult::RareData* LayoutResult::EnsureRareData() { … }
void LayoutResult::CopyMutableOutOfFlowData(const LayoutResult& other) const { … }
void LayoutResult::MutableForOutOfFlow::SetDisplayLocksAffectedByAnchors(
HeapHashSet<Member<Element>>* display_locks) { … }
#if DCHECK_IS_ON()
void LayoutResult::CheckSameForSimplifiedLayout(
const LayoutResult& other,
bool check_same_block_size,
bool check_no_fragmentation) const { … }
#endif
#if DCHECK_IS_ON()
void LayoutResult::AssertSoleBoxFragment() const { … }
#endif
void LayoutResult::Trace(Visitor* visitor) const { … }
void LayoutResult::RareData::Trace(Visitor* visitor) const { … }
}