chromium/third_party/blink/renderer/core/layout/inline/score_line_break_context.h

// 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.

#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_LAYOUT_INLINE_SCORE_LINE_BREAK_CONTEXT_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_LAYOUT_INLINE_SCORE_LINE_BREAK_CONTEXT_H_

#include "third_party/blink/renderer/core/core_export.h"
#include "third_party/blink/renderer/core/layout/inline/line_break_point.h"
#include "third_party/blink/renderer/core/layout/inline/line_info_list.h"
#include "third_party/blink/renderer/platform/wtf/forward.h"
#include "third_party/blink/renderer/platform/wtf/vector.h"

namespace blink {

// The maximum number of lines for the balancing and the optimal line breaking.
constexpr wtf_size_t kMaxLinesForBalance =;
constexpr wtf_size_t kMaxLinesForOptimal =;

LineBreakPoints;

//
// Represents states and fields for `ScoreLineBreaker` that should be kept
// across lines in an inline formatting context.
//
// Use `ScoreLineBreakContextOf` to instantiate.
//
class CORE_EXPORT ScoreLineBreakContext {};

//
// Instantiate `ScoreLineBreakContext` with the given `max_lines`.
//
template <wtf_size_t max_lines>
class CORE_EXPORT ScoreLineBreakContextOf : public ScoreLineBreakContext {};

inline const LineBreakPoint* ScoreLineBreakContext::CurrentLineBreakPoint()
    const {}

inline void ScoreLineBreakContext::DidCreateLine(bool is_end_paragraph) {}

}  // namespace blink

#endif  // THIRD_PARTY_BLINK_RENDERER_CORE_LAYOUT_INLINE_SCORE_LINE_BREAK_CONTEXT_H_