#include "ui/compositor/layer_owner.h"
#include <utility>
#include "base/memory/raw_ptr.h"
#include "base/observer_list.h"
#include "ui/compositor/compositor.h"
#include "ui/compositor/layer.h"
namespace ui {
LayerOwner::LayerOwner(std::unique_ptr<Layer> layer) { … }
LayerOwner::~LayerOwner() = default;
void LayerOwner::AddObserver(Observer* observer) { … }
void LayerOwner::RemoveObserver(Observer* observer) { … }
void LayerOwner::SetLayer(std::unique_ptr<Layer> layer) { … }
std::unique_ptr<Layer> LayerOwner::AcquireLayer() { … }
std::unique_ptr<Layer> LayerOwner::ReleaseLayer() { … }
void LayerOwner::Reset(std::unique_ptr<Layer> layer) { … }
std::unique_ptr<Layer> LayerOwner::RecreateLayer() { … }
void LayerOwner::DestroyLayer() { … }
bool LayerOwner::OwnsLayer() const { … }
}