#include "cc/slim/nine_patch_layer.h"
#include <utility>
#include "cc/layers/nine_patch_generator.h"
#include "cc/slim/layer_tree_impl.h"
#include "components/viz/common/quads/compositor_render_pass.h"
#include "components/viz/common/resources/resource_id.h"
namespace cc::slim {
scoped_refptr<NinePatchLayer> NinePatchLayer::Create() { … }
NinePatchLayer::NinePatchLayer() = default;
NinePatchLayer::~NinePatchLayer() = default;
void NinePatchLayer::SetBorder(const gfx::Rect& border) { … }
void NinePatchLayer::SetAperture(const gfx::Rect& aperture) { … }
void NinePatchLayer::SetFillCenter(bool fill_center) { … }
void NinePatchLayer::SetNearestNeighbor(bool nearest_neighbor) { … }
void NinePatchLayer::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) { … }
}