#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_LAYOUT_INLINE_JUSTIFICATION_UTILS_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_LAYOUT_INLINE_JUSTIFICATION_UTILS_H_
#include <optional>
#include "third_party/blink/renderer/core/layout/inline/logical_line_item.h"
#include "third_party/blink/renderer/platform/geometry/layout_unit.h"
namespace blink {
class LineInfo;
enum class JustificationTarget { … };
std::optional<LayoutUnit> ApplyJustification(LayoutUnit space,
JustificationTarget target,
LineInfo* line_info);
std::optional<LayoutUnit> ComputeRubyBaseInset(LayoutUnit space,
const LineInfo& line_info);
bool ApplyLeftAndRightExpansion(LayoutUnit leading_expansion,
LayoutUnit trailing_expansion,
base::span<LogicalLineItem> items);
}
#endif