#include "cc/slim/solid_color_layer.h"
#include <utility>
#include "components/viz/common/quads/compositor_render_pass.h"
#include "components/viz/common/quads/solid_color_draw_quad.h"
namespace cc::slim {
scoped_refptr<SolidColorLayer> SolidColorLayer::Create() { … }
SolidColorLayer::SolidColorLayer() = default;
SolidColorLayer::~SolidColorLayer() = default;
void SolidColorLayer::SetBackgroundColor(SkColor4f color) { … }
void SolidColorLayer::AppendQuads(viz::CompositorRenderPass& render_pass,
FrameData& data,
const gfx::Transform& transform_to_root,
const gfx::Transform& transform_to_target,
const gfx::Rect* clip_in_target,
const gfx::Rect& visible_rect,
float opacity) { … }
}