chromium/ui/ozone/platform/wayland/test/test_wp_pointer_gestures.cc

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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 =;

}  // namespace

const struct zwp_pointer_gestures_v1_interface kInterfaceImpl =;

TestWpPointerGestures::TestWpPointerGestures()
    :{}

TestWpPointerGestures::~TestWpPointerGestures() = default;

// static
void TestWpPointerGestures::GetSwipeGesture(struct wl_client* client,
                                            struct wl_resource* resource,
                                            uint32_t id,
                                            struct wl_resource* pointer) {}

// static
void TestWpPointerGestures::GetPinchGesture(
    struct wl_client* client,
    struct wl_resource* pointer_gestures_resource,
    uint32_t id,
    struct wl_resource* pointer) {}

// static
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;

}  // namespace wl