#include "third_party/blink/renderer/core/paint/embedded_object_painter.h"
#include "third_party/blink/renderer/core/frame/settings.h"
#include "third_party/blink/renderer/core/layout/layout_embedded_object.h"
#include "third_party/blink/renderer/core/layout/layout_theme_font_provider.h"
#include "third_party/blink/renderer/core/paint/box_painter.h"
#include "third_party/blink/renderer/core/paint/embedded_content_painter.h"
#include "third_party/blink/renderer/core/paint/paint_auto_dark_mode.h"
#include "third_party/blink/renderer/core/paint/paint_info.h"
#include "third_party/blink/renderer/platform/fonts/font.h"
#include "third_party/blink/renderer/platform/fonts/font_selector.h"
#include "third_party/blink/renderer/platform/fonts/text_run_paint_info.h"
#include "third_party/blink/renderer/platform/graphics/paint/drawing_recorder.h"
#include "third_party/blink/renderer/platform/graphics/path.h"
#include "third_party/blink/renderer/platform/text/text_run.h"
namespace blink {
static const float kReplacementTextRoundedRectHeight = …;
static const float kReplacementTextRoundedRectLeftRightTextMargin = …;
static const float kReplacementTextRoundedRectOpacity = …;
static const float kReplacementTextRoundedRectRadius = …;
static const float kReplacementTextTextOpacity = …;
static Font ReplacementTextFont(const Document* document) { … }
void EmbeddedObjectPainter::PaintReplaced(const PaintInfo& paint_info,
const PhysicalOffset& paint_offset) { … }
}