#include "ui/ozone/platform/wayland/host/wayland_zcr_color_management_surface.h"
#include <chrome-color-management-client-protocol.h>
#include "base/logging.h"
#include "base/memory/scoped_refptr.h"
#include "base/notreached.h"
#include "third_party/skia/include/core/SkColorSpace.h"
#include "ui/base/wayland/color_manager_util.h"
#include "ui/ozone/platform/wayland/host/wayland_connection.h"
#include "ui/ozone/platform/wayland/host/wayland_output.h"
#include "ui/ozone/platform/wayland/host/wayland_zcr_color_manager.h"
#include "ui/ozone/platform/wayland/host/wayland_zcr_color_space.h"
#include "ui/ozone/platform/wayland/host/wayland_zcr_color_space_creator.h"
#include "ui/ozone/platform/wayland/wayland_utils.h"
namespace ui {
WaylandZcrColorManagementSurface::WaylandZcrColorManagementSurface(
zcr_color_management_surface_v1* color_management_surface,
WaylandConnection* connection)
: … { … }
WaylandZcrColorManagementSurface::~WaylandZcrColorManagementSurface() = default;
void WaylandZcrColorManagementSurface::SetDefaultColorSpace() { … }
void WaylandZcrColorManagementSurface::SetColorSpace(
scoped_refptr<WaylandZcrColorSpace> wayland_zcr_color_space) { … }
void WaylandZcrColorManagementSurface::OnPreferredColorSpace(
void* data,
zcr_color_management_surface_v1* cms,
wl_output* output) { … }
}