#include "ui/ozone/platform/wayland/test/test_zaura_surface.h"
#include <aura-shell-server-protocol.h>
#include "base/notreached.h"
#include "ui/ozone/platform/wayland/test/server_object.h"
namespace wl {
namespace {
void set_frame(struct wl_client* client,
struct wl_resource* resource,
uint32_t type) { … }
void set_parent(struct wl_client* client,
struct wl_resource* resource,
struct wl_resource* parent,
int32_t x,
int32_t y) { … }
void set_frame_colors(struct wl_client* client,
struct wl_resource* resource,
uint32_t active_color,
uint32_t inactive_color) { … }
void set_startup_id(struct wl_client* client,
struct wl_resource* resource,
const char* startup_id) { … }
void set_application_id(struct wl_client* client,
struct wl_resource* resource,
const char* application_id) { … }
void set_client_surface_id(struct wl_client* client,
struct wl_resource* resource,
int32_t client_surface_id) { … }
void set_occlusion_tracking(struct wl_client* client,
struct wl_resource* resource) { … }
void unset_occlusion_tracking(struct wl_client* client,
struct wl_resource* resource) { … }
void activate(struct wl_client* client, struct wl_resource* resource) { … }
void draw_attention(struct wl_client* client, struct wl_resource* resource) { … }
void set_fullscreen_mode(struct wl_client* client,
struct wl_resource* resource,
uint32_t mode) { … }
void set_client_surface_str_id(struct wl_client* client,
struct wl_resource* resource,
const char* client_surface_id) { … }
void set_server_start_resize(struct wl_client* client,
struct wl_resource* resource) { … }
void intent_to_snap(struct wl_client* client,
struct wl_resource* resource,
uint32_t direction) { … }
void set_snap_left(struct wl_client* client, struct wl_resource* resource) { … }
void set_snap_right(struct wl_client* client, struct wl_resource* resource) { … }
void unset_snap(struct wl_client* client, struct wl_resource* resource) { … }
void set_window_session_id(struct wl_client* client,
struct wl_resource* resource,
int32_t id) { … }
void set_can_go_back(struct wl_client* client, struct wl_resource* resource) { … }
void unset_can_go_back(struct wl_client* client, struct wl_resource* resource) { … }
void set_pip(struct wl_client* client, struct wl_resource* resource) { … }
void unset_pip(struct wl_client* client, struct wl_resource* resource) { … }
void set_aspect_ratio(struct wl_client* client,
struct wl_resource* resource,
int32_t width,
int32_t height) { … }
void move_to_desk(struct wl_client* client,
struct wl_resource* resource,
int32_t index) { … }
void set_initial_workspace(struct wl_client* client,
struct wl_resource* resource,
const char* initial_workspace) { … }
void set_pin(struct wl_client* client,
struct wl_resource* resource,
int32_t trusted) { … }
void unset_pin(struct wl_client* client, struct wl_resource* resource) { … }
}
TestZAuraSurface::TestZAuraSurface(wl_resource* resource)
: … { … }
TestZAuraSurface::~TestZAuraSurface() = default;
const struct zaura_surface_interface kTestZAuraSurfaceImpl = …;
}