#include "third_party/blink/renderer/core/paint/box_model_object_painter.h"
#include "third_party/blink/renderer/core/layout/layout_block.h"
#include "third_party/blink/renderer/core/layout/layout_box_model_object.h"
#include "third_party/blink/renderer/core/paint/background_image_geometry.h"
#include "third_party/blink/renderer/core/paint/box_decoration_data.h"
#include "third_party/blink/renderer/core/paint/object_painter.h"
#include "third_party/blink/renderer/core/paint/paint_info.h"
#include "third_party/blink/renderer/core/paint/paint_layer.h"
#include "third_party/blink/renderer/platform/graphics/graphics_context_state_saver.h"
namespace blink {
namespace {
Node* GetNode(const LayoutBoxModelObject& box_model) { … }
}
BoxModelObjectPainter::BoxModelObjectPainter(const LayoutBoxModelObject& box)
: … { … }
PhysicalRect BoxModelObjectPainter::AdjustRectForScrolledContent(
GraphicsContext& context,
const PhysicalBoxStrut& border,
const PhysicalRect& rect) const { … }
BoxPainterBase::FillLayerInfo BoxModelObjectPainter::GetFillLayerInfo(
const Color& color,
const FillLayer& bg_layer,
BackgroundBleedAvoidance bleed_avoidance,
bool is_painting_background_in_contents_space) const { … }
}