chromium/remoting/host/linux/wayland_display.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 "remoting/host/linux/wayland_display.h"

#include <vector>

#include "base/check.h"
#include "base/hash/hash.h"
#include "remoting/base/logging.h"

namespace remoting {

namespace {

constexpr int kOutputInterfaceVersion =;
constexpr int kZxdgOutputManagerVersion =;

}  // namespace

WaylandDisplay::WaylandDisplay()
    :{}

WaylandDisplay::~WaylandDisplay() = default;

void WaylandDisplay::HandleGlobalDisplayEvent(struct wl_registry* registry,
                                              uint32_t name,
                                              const char* interface,
                                              uint32_t version) {}

bool WaylandDisplay::HandleGlobalRemoveDisplayEvent(uint32_t name) {}

void WaylandDisplay::InitXdgOutputIfPossible(DisplayInfo& display_info) {}

void WaylandDisplay::FinishPartialXdgOutputInitializations() {}

// static
void WaylandDisplay::UpdateDisplayInfo(DisplayInfo display_info,
                                       DisplayInfo& existing_info) {}

// static
void WaylandDisplay::OnGeometryEvent(void* data,
                                     wl_output* wl_output,
                                     int x,
                                     int y,
                                     int physical_width,
                                     int physical_height,
                                     int subpixel,
                                     const char* make,
                                     const char* model,
                                     int transform) {}

// static
void WaylandDisplay::OnModeEvent(void* data,
                                 wl_output* wl_output,
                                 uint flags,
                                 int width,
                                 int height,
                                 int refresh) {}

// static
void WaylandDisplay::OnDoneEvent(void* data, wl_output* wl_output) {}

// static
void WaylandDisplay::OnScaleEvent(void* data,
                                  wl_output* wl_output,
                                  int factor) {}

// static
void WaylandDisplay::OnXdgOutputLogicalPositionEvent(
    void* data,
    struct zxdg_output_v1* xdg_output,
    int32_t x,
    int32_t y) {}

// static
void WaylandDisplay::OnXdgOutputLogicalSizeEvent(
    void* data,
    struct zxdg_output_v1* xdg_output,
    int32_t width,
    int32_t height) {}

// static
void WaylandDisplay::OnXdgOutputDoneEvent(void* data,
                                          struct zxdg_output_v1* xdg_output) {}

// static
void WaylandDisplay::OnXdgOutputNameEvent(void* data,
                                          struct zxdg_output_v1* xdg_output,
                                          const char* name) {}

// static
void WaylandDisplay::OnXdgOutputDescriptionEvent(
    void* data,
    struct zxdg_output_v1* xdg_output,
    const char* description) {}

DesktopDisplayInfo WaylandDisplay::GetCurrentDisplayInfo() const {}

}  // namespace remoting