#include "ui/ozone/platform/wayland/test/test_wayland_zcr_color_management_surface.h"
#include "base/notreached.h"
#include "ui/gfx/color_space.h"
#include "ui/ozone/platform/wayland/test/mock_wayland_zcr_color_manager.h"
#include "ui/ozone/platform/wayland/test/server_object.h"
#include "ui/ozone/platform/wayland/test/test_wayland_zcr_color_space.h"
namespace wl {
namespace {
void SetAlphaMode(wl_client* client,
wl_resource* resource,
uint32_t alpha_mode) { … }
void SetExtendedDynamicRange(wl_client* client,
wl_resource* resource,
uint32_t value) { … }
void SetColorSpace(wl_client* client,
wl_resource* resource,
wl_resource* color_space_resource,
uint32_t render_intent) { … }
void SetDefaultColorSpace(wl_client* client, wl_resource* resource) { … }
}
const struct zcr_color_management_surface_v1_interface
kTestZcrColorManagementSurfaceV1Impl = …;
TestZcrColorManagementSurfaceV1::TestZcrColorManagementSurfaceV1(
wl_resource* resource)
: … { … }
TestZcrColorManagementSurfaceV1::~TestZcrColorManagementSurfaceV1() { … }
gfx::ColorSpace TestZcrColorManagementSurfaceV1::GetGfxColorSpace() { … }
void TestZcrColorManagementSurfaceV1::SetGfxColorSpace(
gfx::ColorSpace gfx_color_space) { … }
void TestZcrColorManagementSurfaceV1::StoreZcrColorManager(
MockZcrColorManagerV1* zcr_color_manager) { … }
}