#include "cc/test/fake_scoped_ui_resource.h"
#include "base/memory/ptr_util.h"
#include "cc/resources/ui_resource_manager.h"
#include "cc/trees/layer_tree_host.h"
namespace cc {
namespace {
UIResourceBitmap CreateMockUIResourceBitmap() { … }
}
std::unique_ptr<FakeScopedUIResource> FakeScopedUIResource::Create(
UIResourceManager* ui_resource_manager) { … }
FakeScopedUIResource::FakeScopedUIResource(
UIResourceManager* ui_resource_manager)
: … { … }
void FakeScopedUIResource::DeleteResource() { … }
UIResourceBitmap FakeScopedUIResource::GetBitmap(UIResourceId uid,
bool resource_lost) { … }
void FakeScopedUIResource::ResetCounters() { … }
}