#include "cc/layers/nine_patch_layer.h"
#include "base/trace_event/trace_event.h"
#include "cc/layers/nine_patch_layer_impl.h"
#include "cc/resources/scoped_ui_resource.h"
#include "cc/resources/ui_resource_bitmap.h"
#include "cc/trees/layer_tree_host.h"
namespace cc {
scoped_refptr<NinePatchLayer> NinePatchLayer::Create() { … }
NinePatchLayer::NinePatchLayer()
: … { … }
NinePatchLayer::~NinePatchLayer() = default;
std::unique_ptr<LayerImpl> NinePatchLayer::CreateLayerImpl(
LayerTreeImpl* tree_impl) const { … }
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::SetLayerOcclusion(const gfx::Rect& occlusion) { … }
void NinePatchLayer::PushPropertiesTo(
LayerImpl* layer,
const CommitState& commit_state,
const ThreadUnsafeCommitState& unsafe_state) { … }
}