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

// Copyright 2022 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_INLINE_PAINT_CONTEXT_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_PAINT_INLINE_PAINT_CONTEXT_H_

#include "base/auto_reset.h"
#include "third_party/blink/renderer/core/core_export.h"
#include "third_party/blink/renderer/core/layout/inline/inline_cursor.h"
#include "third_party/blink/renderer/core/paint/decorating_box.h"
#include "third_party/blink/renderer/platform/wtf/vector.h"

namespace blink {

// Carries contextual information shared across multiple inline fragments within
// an inline formatting context.
class CORE_EXPORT InlinePaintContext {};

inline void InlinePaintContext::PopDecoratingBox(wtf_size_t size) {}

inline InlinePaintContext::ScopedInlineItem::~ScopedInlineItem() {}

inline InlinePaintContext::ScopedInlineBoxAncestors::
    ~ScopedInlineBoxAncestors() {}

inline InlinePaintContext::ScopedLineBox::~ScopedLineBox() {}

}  // namespace blink

#endif  // THIRD_PARTY_BLINK_RENDERER_CORE_PAINT_INLINE_PAINT_CONTEXT_H_