#include "ui/ozone/platform/wayland/test/test_compositor.h"
#include <wayland-server-core.h>
#include "ui/ozone/platform/wayland/test/mock_surface.h"
#include "ui/ozone/platform/wayland/test/server_object.h"
#include "ui/ozone/platform/wayland/test/test_region.h"
namespace wl {
namespace {
void CreateSurface(wl_client* client,
wl_resource* compositor_resource,
uint32_t id) { … }
void CreateRegion(wl_client* client, wl_resource* resource, uint32_t id) { … }
}
const struct wl_compositor_interface kTestCompositorImpl = …;
TestCompositor::TestCompositor(TestCompositor::Version intended_version)
: … { … }
TestCompositor::~TestCompositor() = default;
void TestCompositor::AddSurface(MockSurface* surface) { … }
}