#include "cc/test/fake_ui_resource_layer_tree_host_impl.h"
#include <utility>
#include "base/functional/callback_helpers.h"
#include "cc/resources/ui_resource_bitmap.h"
#include "cc/test/fake_layer_tree_host_impl.h"
namespace cc {
FakeUIResourceLayerTreeHostImpl::FakeUIResourceLayerTreeHostImpl(
TaskRunnerProvider* task_runner_provider,
TaskGraphRunner* task_graph_runner)
: … { … }
FakeUIResourceLayerTreeHostImpl::~FakeUIResourceLayerTreeHostImpl() = default;
void FakeUIResourceLayerTreeHostImpl::CreateUIResource(
UIResourceId uid,
const UIResourceBitmap& bitmap) { … }
void FakeUIResourceLayerTreeHostImpl::DeleteUIResource(UIResourceId uid) { … }
viz::ResourceId FakeUIResourceLayerTreeHostImpl::ResourceIdForUIResource(
UIResourceId uid) const { … }
bool FakeUIResourceLayerTreeHostImpl::IsUIResourceOpaque(UIResourceId uid)
const { … }
}