chromium/third_party/blink/renderer/core/paint/text_fragment_painter.h

// Copyright 2017 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_PAINT_TEXT_FRAGMENT_PAINTER_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_PAINT_TEXT_FRAGMENT_PAINTER_H_

#include <optional>

#include "third_party/blink/renderer/core/layout/inline/inline_cursor.h"
#include "third_party/blink/renderer/core/style/computed_style_constants.h"
#include "third_party/blink/renderer/platform/wtf/allocator/allocator.h"

namespace blink {

class ComputedStyle;
class DisplayItemClient;
class InlineCursor;
class InlinePaintContext;
class LayoutObject;
struct PaintInfo;
struct PhysicalOffset;
struct PhysicalRect;
struct PhysicalSize;
struct TextFragmentPaintInfo;

// Text fragment painter for LayoutNG. Operates on FragmentItem that IsText()
// and handles clipping, selection, etc. Delegates to TextPainter to paint the
// text itself.
class TextFragmentPainter {};

}  // namespace blink

#endif  // THIRD_PARTY_BLINK_RENDERER_CORE_PAINT_TEXT_FRAGMENT_PAINTER_H_