#include "ui/ozone/platform/wayland/test/test_surface_augmenter.h"
#include <surface-augmenter-server-protocol.h>
#include "base/files/scoped_file.h"
#include "base/notreached.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_augmented_subsurface.h"
#include "ui/ozone/platform/wayland/test/test_augmented_surface.h"
#include "ui/ozone/platform/wayland/test/test_buffer.h"
namespace wl {
namespace {
constexpr uint32_t kSurfaceAugmenterProtocolVersion = …;
void CreateSolidColorBuffer(struct wl_client* client,
struct wl_resource* resource,
uint32_t id,
struct wl_array* color,
int32_t width,
int32_t height) { … }
void GetGetAugmentedSurface(struct wl_client* client,
struct wl_resource* resource,
uint32_t id,
struct wl_resource* surface) { … }
void GetAugmentedSubsurface(struct wl_client* client,
struct wl_resource* resource,
uint32_t id,
struct wl_resource* subsurface) { … }
}
const struct surface_augmenter_interface kTestSurfaceAugmenterImpl = …;
TestSurfaceAugmenter::TestSurfaceAugmenter()
: … { … }
TestSurfaceAugmenter::~TestSurfaceAugmenter() = default;
}