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

// Copyright 2024 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_cursor_shape.h"

#include <cursor-shape-v1-client-protocol.h>

#include <optional>

#include "base/check.h"
#include "ui/base/cursor/mojom/cursor_type.mojom-shared.h"
#include "ui/gfx/native_widget_types.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"

namespace ui {

namespace {
constexpr uint32_t kMinVersion =;
}

CursorType;

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

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

WaylandCursorShape::WaylandCursorShape(wp_cursor_shape_manager_v1* cursor_shape,
                                       WaylandConnection* connection)
    :{}

WaylandCursorShape::~WaylandCursorShape() = default;

wp_cursor_shape_device_v1* WaylandCursorShape::GetShapeDevice() {}

// static
std::optional<uint32_t> WaylandCursorShape::ShapeFromType(CursorType type) {}

void WaylandCursorShape::SetCursorShape(uint32_t shape) {}

}  // namespace ui