#include "ui/ozone/platform/wayland/test/test_augmented_surface.h"
#include "base/logging.h"
#include "base/notreached.h"
#include "ui/gfx/geometry/rounded_corners_f.h"
#include "ui/gfx/geometry/rrect_f.h"
#include "ui/ozone/platform/wayland/test/mock_surface.h"
namespace wl {
namespace {
void SetRoundedCornersDEPRECATED(struct wl_client* client,
struct wl_resource* resource,
wl_fixed_t top_left,
wl_fixed_t top_right,
wl_fixed_t bottom_right,
wl_fixed_t bottom_left) { … }
void SetDestinationSize(struct wl_client* client,
struct wl_resource* resource,
wl_fixed_t width,
wl_fixed_t height) { … }
void SetRoundedClipBoundsDEPRECATED(struct wl_client* client,
struct wl_resource* resource,
int32_t x,
int32_t y,
int32_t width,
int32_t height,
wl_fixed_t top_left,
wl_fixed_t top_right,
wl_fixed_t bottom_right,
wl_fixed_t bottom_left) { … }
void SetBackgroundColor(wl_client* client,
wl_resource* resource,
wl_array* color_data) { … }
void SetTrustedDamage(wl_client* client, wl_resource* resource, int enabled) { … }
void SetRoundedCornersClipBounds(wl_client* client,
wl_resource* resource,
wl_fixed_t x,
wl_fixed_t y,
wl_fixed_t width,
wl_fixed_t height,
wl_fixed_t top_left,
wl_fixed_t top_right,
wl_fixed_t bottom_right,
wl_fixed_t bottom_left) { … }
}
const struct augmented_surface_interface kTestAugmentedSurfaceImpl = …;
TestAugmentedSurface::TestAugmentedSurface(wl_resource* resource,
wl_resource* surface)
: … { … }
TestAugmentedSurface::~TestAugmentedSurface() { … }
}