#include "ui/ozone/platform/wayland/test/test_positioner.h"
#include <wayland-server-core.h>
namespace wl {
namespace {
void SetSize(struct wl_client* wl_client,
struct wl_resource* resource,
int32_t width,
int32_t height) { … }
void SetAnchorRect(struct wl_client* client,
struct wl_resource* resource,
int32_t x,
int32_t y,
int32_t width,
int32_t height) { … }
void SetAnchor(struct wl_client* wl_client,
struct wl_resource* resource,
uint32_t anchor) { … }
void SetGravity(struct wl_client* client,
struct wl_resource* resource,
uint32_t gravity) { … }
void SetConstraintAdjustment(struct wl_client* client,
struct wl_resource* resource,
uint32_t constraint_adjustment) { … }
}
const struct xdg_positioner_interface kTestXdgPositionerImpl = …;
TestPositioner::TestPositioner(wl_resource* resource)
: … { … }
TestPositioner::~TestPositioner() { … }
}