#include "cc/layers/ui_resource_layer.h"
#include "base/trace_event/trace_event.h"
#include "cc/layers/ui_resource_layer_impl.h"
#include "cc/resources/scoped_ui_resource.h"
#include "cc/resources/ui_resource_bitmap.h"
#include "cc/resources/ui_resource_manager.h"
#include "cc/trees/layer_tree_host.h"
namespace cc {
scoped_refptr<UIResourceLayer> UIResourceLayer::Create() { … }
UIResourceLayer::UIResourceLayer()
: … { … }
UIResourceLayer::~UIResourceLayer() = default;
std::unique_ptr<LayerImpl> UIResourceLayer::CreateLayerImpl(
LayerTreeImpl* tree_impl) const { … }
void UIResourceLayer::SetUV(const gfx::PointF& top_left,
const gfx::PointF& bottom_right) { … }
void UIResourceLayer::SetLayerTreeHost(LayerTreeHost* host) { … }
void UIResourceLayer::SetBitmap(const SkBitmap& bitmap) { … }
void UIResourceLayer::SetUIResourceId(UIResourceId resource_id) { … }
bool UIResourceLayer::HasDrawableContent() const { … }
void UIResourceLayer::PushPropertiesTo(
LayerImpl* layer,
const CommitState& commit_state,
const ThreadUnsafeCommitState& unsafe_state) { … }
void UIResourceLayer::RecreateUIResourceIdFromBitmap() { … }
void UIResourceLayer::SetUIResourceIdInternal(UIResourceId resource_id) { … }
}