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

// Copyright 2020 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_zcr_cursor_shapes.h"

#include <cursor-shapes-unstable-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 WaylandZcrCursorShapes::kInterfaceName[];

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

WaylandZcrCursorShapes::WaylandZcrCursorShapes(
    zcr_cursor_shapes_v1* zcr_cursor_shapes,
    WaylandConnection* connection)
    :{}

WaylandZcrCursorShapes::~WaylandZcrCursorShapes() = default;

// static
std::optional<int32_t> WaylandZcrCursorShapes::ShapeFromType(CursorType type) {}

void WaylandZcrCursorShapes::SetCursorShape(int32_t shape) {}

}  // namespace ui