#include "third_party/blink/renderer/core/layout/exclusions/layout_opportunity.h"
#include "third_party/blink/renderer/core/layout/constraint_space.h"
#include "third_party/blink/renderer/core/layout/layout_box.h"
#include "third_party/blink/renderer/core/layout/shapes/shape_outside_info.h"
namespace blink {
namespace {
LineSegment ExcludedSegment(const ExclusionArea& exclusion,
LayoutUnit bfc_block_offset,
LayoutUnit line_block_size) { … }
bool IntersectsExclusion(const ExclusionArea& exclusion,
LayoutUnit bfc_block_offset,
LayoutUnit line_block_size) { … }
}
bool LayoutOpportunity::IsBlockDeltaBelowShapes(LayoutUnit block_delta) const { … }
LayoutUnit LayoutOpportunity::ComputeLineLeftOffset(
const ConstraintSpace& space,
LayoutUnit line_block_size,
LayoutUnit block_delta) const { … }
LayoutUnit LayoutOpportunity::ComputeLineRightOffset(
const ConstraintSpace& space,
LayoutUnit line_block_size,
LayoutUnit block_delta) const { … }
bool LayoutOpportunity::operator==(const LayoutOpportunity& other) const { … }
std::ostream& operator<<(std::ostream& ostream,
const LayoutOpportunity& opportunity) { … }
}