chromium/ui/ozone/platform/wayland/test/test_zaura_toplevel.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_zaura_toplevel.h"

#include <aura-shell-server-protocol.h>

#include "base/notreached.h"

namespace wl {

namespace {

void SetOrientationLock(struct wl_client* client,
                        struct wl_resource* resource,
                        uint32_t orientation_lock) {}

void SurfaceSubmissionInPixelCoordinates(struct wl_client* client,
                                         struct wl_resource* resource) {}

void SetSupportsScreenCoordinates(struct wl_client* client,
                                  struct wl_resource* resource) {}

void SetWindowBounds(struct wl_client* client,
                     struct wl_resource* resource,
                     int32_t x,
                     int32_t y,
                     int32_t width,
                     int32_t height,
                     struct wl_resource* output) {}

void SetOrigin(struct wl_client* client,
               struct wl_resource* resource,
               int32_t x,
               int32_t y,
               struct wl_resource* output) {}

void SetRestoreInfo(struct wl_client* client,
                    struct wl_resource* resource,
                    int32_t restore_session_id,
                    int32_t restore_window_id) {}

void SetSystemModal(struct wl_client* client, struct wl_resource* resource) {}

void UnsetSystemModal(struct wl_client* client, struct wl_resource* resource) {}

void SetRestoreInfoWithWindowIdSource(struct wl_client* client,
                                      struct wl_resource* resource,
                                      int32_t restore_session_id,
                                      const char* restore_window_id_source) {}

void SetDecoration(struct wl_client* client,
                   struct wl_resource* resource,
                   uint32_t type) {}

void SetFloat(struct wl_client* client, struct wl_resource* resource) {}

void UnSetFloat(struct wl_client* client, struct wl_resource* resource) {}

void SetZOrder(struct wl_client* client,
               struct wl_resource* resource,
               uint32_t z_order) {}

void Activate(struct wl_client* client, struct wl_resource* resource) {}

void Dectivate(struct wl_client* client, struct wl_resource* resource) {}

void SetFullscreenMode(struct wl_client* client,
                       struct wl_resource* resource,
                       uint32_t mode) {}

void SetScaleFactor(wl_client* client,
                    wl_resource* resource,
                    uint32_t scale_factor_as_uint) {}

void SetSnapPrimary(wl_client* client,
                    wl_resource* resource,
                    uint32_t snap_ratio_as_uint) {}

void SetSnapSecondary(wl_client* client,
                      wl_resource* resource,
                      uint32_t snap_ratio_as_uint) {}

void IntentToSnap(wl_client* client,
                  wl_resource* resource,
                  uint32_t snap_direction) {}

void UnsetSnap(wl_client* client, wl_resource* resource) {}

void SetPersistable(wl_client* client,
                    wl_resource* resource,
                    uint32_t persistable) {}

void SetShape(wl_client* client,
              wl_resource* resource,
              wl_resource* region_resource) {}

void SetTopInset(wl_client* client, wl_resource* resource, int32_t height) {}

void AckRotateFocus(wl_client* client,
                    wl_resource* resource,
                    uint32_t serial,
                    uint32_t handled) {}

void SetCanMaximize(wl_client* client, wl_resource* resource) {}

void UnsetCanMaximize(wl_client* client, wl_resource* resource) {}

void SetCanFullscreen(wl_client* client, wl_resource* resource) {}

void UnsetCanFullscreen(wl_client* client, wl_resource* resource) {}

void SetFloatToLocation(struct wl_client* client,
                        struct wl_resource* resource,
                        uint32_t float_start_location) {}

}  // namespace

TestZAuraToplevel::TestZAuraToplevel(wl_resource* resource)
    :{}

TestZAuraToplevel::~TestZAuraToplevel() = default;

const struct zaura_toplevel_interface kTestZAuraToplevelImpl =;

}  // namespace wl