chromium/ui/ozone/platform/wayland/host/wayland_zcr_color_space_creator.cc

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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;

// static
void WaylandZcrColorSpaceCreator::OnCreated(void* data,
                                            zcr_color_space_creator_v1* csc,
                                            zcr_color_space_v1* color_space) {}

// static
void WaylandZcrColorSpaceCreator::OnError(void* data,
                                          zcr_color_space_creator_v1* csc,
                                          uint32_t error) {}

}  // namespace ui