#include "ui/ozone/platform/wayland/test/mock_surface.h"
#include "base/notreached.h"
#include "ui/ozone/platform/wayland/test/test_augmented_subsurface.h"
namespace wl {
namespace {
void SetPosition(wl_client* client,
wl_resource* resource,
int32_t x,
int32_t y) { … }
void PlaceAbove(wl_client* client,
wl_resource* resource,
wl_resource* reference_resource) { … }
void PlaceBelow(wl_client* client,
wl_resource* resource,
wl_resource* sibling_resource) { … }
void SetSync(wl_client* client, wl_resource* resource) { … }
void SetDesync(wl_client* client, wl_resource* resource) { … }
}
const struct wl_subsurface_interface kTestSubSurfaceImpl = …;
TestSubSurface::TestSubSurface(wl_resource* resource,
wl_resource* surface,
wl_resource* parent_resource)
: … { … }
TestSubSurface::~TestSubSurface() { … }
void TestSubSurface::SetPositionImpl(float x, float y) { … }
}