#include "ui/ozone/platform/wayland/host/wayland_zcr_color_space_creator.h"
#include <chrome-color-management-client-protocol.h>
#include <cstddef>
#include <memory>
#include "base/check.h"
#include "base/memory/scoped_refptr.h"
#include "base/notreached.h"
#include "ui/ozone/platform/wayland/host/wayland_zcr_color_space.h"
namespace ui {
WaylandZcrColorSpaceCreator::WaylandZcrColorSpaceCreator(
wl::Object<zcr_color_space_creator_v1> color_space_creator,
CreatorResultCallback on_creation)
: … { … }
WaylandZcrColorSpaceCreator::~WaylandZcrColorSpaceCreator() = default;
void WaylandZcrColorSpaceCreator::OnCreated(void* data,
zcr_color_space_creator_v1* csc,
zcr_color_space_v1* color_space) { … }
void WaylandZcrColorSpaceCreator::OnError(void* data,
zcr_color_space_creator_v1* csc,
uint32_t error) { … }
}