#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "third_party/blink/renderer/core/layout/inline/line_info.h"
#include "base/containers/adapters.h"
#include "third_party/blink/renderer/core/layout/inline/inline_break_token.h"
#include "third_party/blink/renderer/core/layout/inline/inline_item_result_ruby_column.h"
#include "third_party/blink/renderer/core/layout/inline/inline_node.h"
#include "third_party/blink/renderer/core/layout/layout_object_inlines.h"
#include "third_party/blink/renderer/platform/fonts/shaping/shape_result_view.h"
namespace blink {
namespace {
inline bool IsHangingSpace(UChar c) { … }
wtf_size_t GlyphCount(const InlineItemResult& item_result) { … }
}
void LineInfo::Trace(Visitor* visitor) const { … }
void LineInfo::Reset() { … }
void LineInfo::SetLineStyle(const InlineNode& node,
const InlineItemsData& items_data,
bool use_first_line_style) { … }
ETextAlign LineInfo::GetTextAlign(bool is_last_line) const { … }
bool LineInfo::ComputeNeedsAccurateEndPosition() const { … }
unsigned LineInfo::InflowStartOffset() const { … }
InlineItemTextIndex LineInfo::End() const { … }
unsigned LineInfo::EndTextOffset() const { … }
unsigned LineInfo::InflowEndOffsetInternal(bool skip_forced_break) const { … }
bool LineInfo::GlyphCountIsGreaterThan(wtf_size_t limit) const { … }
bool LineInfo::ShouldHangTrailingSpaces() const { … }
bool LineInfo::IsHyphenated() const { … }
void LineInfo::UpdateTextAlign() { … }
LayoutUnit LineInfo::ComputeTrailingSpaceWidth(unsigned* end_offset_out) const { … }
LayoutUnit LineInfo::ComputeWidth() const { … }
#if DCHECK_IS_ON()
float LineInfo::ComputeWidthInFloat() const { … }
#endif
LayoutUnit LineInfo::ComputeAnnotationBlockOffsetAdjustment() const { … }
LayoutUnit LineInfo::ComputeBlockStartAdjustment() const { … }
LayoutUnit LineInfo::ComputeInitialLetterBoxBlockStartAdjustment() const { … }
LayoutUnit LineInfo::ComputeTotalBlockSize(
LayoutUnit line_height,
LayoutUnit annotation_overflow_block_end) const { … }
void LineInfo::RemoveParallelFlowBreakToken(unsigned item_index) { … }
std::ostream& operator<<(std::ostream& ostream, const LineInfo& line_info) { … }
}