chromium/ui/ozone/platform/wayland/test/test_positioner.cc

// Copyright 2019 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_positioner.h"

#include <wayland-server-core.h>

namespace wl {

namespace {

void SetSize(struct wl_client* wl_client,
             struct wl_resource* resource,
             int32_t width,
             int32_t height) {}

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

void SetAnchor(struct wl_client* wl_client,
               struct wl_resource* resource,
               uint32_t anchor) {}

void SetGravity(struct wl_client* client,
                struct wl_resource* resource,
                uint32_t gravity) {}

void SetConstraintAdjustment(struct wl_client* client,
                             struct wl_resource* resource,
                             uint32_t constraint_adjustment) {}

}  // namespace

const struct xdg_positioner_interface kTestXdgPositionerImpl =;

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

TestPositioner::~TestPositioner() {}

}  // namespace wl