#include "ui/ozone/platform/wayland/test/test_wp_pointer_gestures.h"
#include <pointer-gestures-unstable-v1-server-protocol.h>
#include <wayland-server-core.h>
#include "base/logging.h"
#include "base/notreached.h"
namespace wl {
namespace {
const struct zwp_pointer_gesture_pinch_v1_interface kTestPinchImpl = …;
const struct zwp_pointer_gesture_hold_v1_interface kTestHoldImpl = …;
constexpr uint32_t kInterfaceVersion = …;
}
const struct zwp_pointer_gestures_v1_interface kInterfaceImpl = …;
TestWpPointerGestures::TestWpPointerGestures()
: … { … }
TestWpPointerGestures::~TestWpPointerGestures() = default;
void TestWpPointerGestures::GetSwipeGesture(struct wl_client* client,
struct wl_resource* resource,
uint32_t id,
struct wl_resource* pointer) { … }
void TestWpPointerGestures::GetPinchGesture(
struct wl_client* client,
struct wl_resource* pointer_gestures_resource,
uint32_t id,
struct wl_resource* pointer) { … }
void TestWpPointerGestures::GetHoldGesture(
struct wl_client* client,
struct wl_resource* pointer_gestures_resource,
uint32_t id,
struct wl_resource* pointer) { … }
TestPinchGesture::TestPinchGesture(wl_resource* resource)
: … { … }
TestPinchGesture::~TestPinchGesture() = default;
TestHoldGesture::TestHoldGesture(wl_resource* resource)
: … { … }
TestHoldGesture::~TestHoldGesture() = default;
}