chromium/ui/ozone/platform/wayland/host/wayland_zwp_pointer_constraints.cc

// Copyright 2021 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/host/wayland_zwp_pointer_constraints.h"

#include <pointer-constraints-unstable-v1-client-protocol.h>

#include "base/logging.h"
#include "ui/ozone/platform/wayland/host/wayland_connection.h"
#include "ui/ozone/platform/wayland/host/wayland_pointer.h"
#include "ui/ozone/platform/wayland/host/wayland_seat.h"
#include "ui/ozone/platform/wayland/host/wayland_surface.h"
#include "ui/ozone/platform/wayland/host/wayland_zwp_relative_pointer_manager.h"

namespace ui {

namespace {
constexpr uint32_t kMinVersion =;
}

// static
constexpr char WaylandZwpPointerConstraints::kInterfaceName[];

// static
void WaylandZwpPointerConstraints::Instantiate(WaylandConnection* connection,
                                               wl_registry* registry,
                                               uint32_t name,
                                               const std::string& interface,
                                               uint32_t version) {}

WaylandZwpPointerConstraints::WaylandZwpPointerConstraints(
    zwp_pointer_constraints_v1* pointer_constraints,
    WaylandConnection* connection)
    :{}

WaylandZwpPointerConstraints::~WaylandZwpPointerConstraints() = default;

void WaylandZwpPointerConstraints::LockPointer(WaylandSurface* surface) {}

void WaylandZwpPointerConstraints::UnlockPointer() {}

// static
void WaylandZwpPointerConstraints::OnLocked(
    void* data,
    struct zwp_locked_pointer_v1* locked_pointer) {}

// static
void WaylandZwpPointerConstraints::OnUnlocked(
    void* data,
    struct zwp_locked_pointer_v1* locked_pointer) {}

}  // namespace ui