chromium/third_party/blink/renderer/core/layout/inline/line_break_candidate.cc

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/core/layout/inline/line_break_candidate.h"

#include "third_party/blink/renderer/core/layout/inline/inline_item.h"
#include "third_party/blink/renderer/core/layout/inline/inline_item_result.h"
#include "third_party/blink/renderer/core/layout/inline/line_breaker.h"
#include "third_party/blink/renderer/core/layout/inline/line_info.h"

namespace blink {

void LineBreakCandidateContext::Append(State new_state,
                                       InlineItemTextIndex offset,
                                       InlineItemTextIndex end,
                                       float pos_no_break,
                                       float pos_if_break,
                                       float penalty,
                                       bool is_hyphenated) {}

void LineBreakCandidateContext::Append(State new_state,
                                       const InlineItemTextIndex& offset,
                                       float position) {}

void LineBreakCandidateContext::AppendTrailingSpaces(
    State new_state,
    const InlineItemTextIndex& offset,
    float pos_no_break) {}

bool LineBreakCandidateContext::AppendLine(const LineInfo& line_info,
                                           LineBreaker& line_breaker) {}

void LineBreakCandidateContext::EnsureFirstSentinel(
    const LineInfo& first_line_info) {}

void LineBreakCandidateContext::EnsureLastSentinel(
    const LineInfo& last_line_info) {}

#if EXPENSIVE_DCHECKS_ARE_ON()
void LineBreakCandidateContext::CheckConsistency() const {}
#endif  // EXPENSIVE_DCHECKS_ARE_ON()

std::ostream& operator<<(std::ostream& ostream,
                         const LineBreakCandidate& candidate) {}

}  // namespace blink