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

// Copyright 2021 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_augmented_surface.h"

#include "base/logging.h"
#include "base/notreached.h"
#include "ui/gfx/geometry/rounded_corners_f.h"
#include "ui/gfx/geometry/rrect_f.h"
#include "ui/ozone/platform/wayland/test/mock_surface.h"

namespace wl {

namespace {

void SetRoundedCornersDEPRECATED(struct wl_client* client,
                                 struct wl_resource* resource,
                                 wl_fixed_t top_left,
                                 wl_fixed_t top_right,
                                 wl_fixed_t bottom_right,
                                 wl_fixed_t bottom_left) {}

void SetDestinationSize(struct wl_client* client,
                        struct wl_resource* resource,
                        wl_fixed_t width,
                        wl_fixed_t height) {}

void SetRoundedClipBoundsDEPRECATED(struct wl_client* client,
                                    struct wl_resource* resource,
                                    int32_t x,
                                    int32_t y,
                                    int32_t width,
                                    int32_t height,
                                    wl_fixed_t top_left,
                                    wl_fixed_t top_right,
                                    wl_fixed_t bottom_right,
                                    wl_fixed_t bottom_left) {}

void SetBackgroundColor(wl_client* client,
                        wl_resource* resource,
                        wl_array* color_data) {}

void SetTrustedDamage(wl_client* client, wl_resource* resource, int enabled) {}

void SetRoundedCornersClipBounds(wl_client* client,
                                 wl_resource* resource,
                                 wl_fixed_t x,
                                 wl_fixed_t y,
                                 wl_fixed_t width,
                                 wl_fixed_t height,
                                 wl_fixed_t top_left,
                                 wl_fixed_t top_right,
                                 wl_fixed_t bottom_right,
                                 wl_fixed_t bottom_left) {}

}  // namespace

const struct augmented_surface_interface kTestAugmentedSurfaceImpl =;

TestAugmentedSurface::TestAugmentedSurface(wl_resource* resource,
                                           wl_resource* surface)
    :{}

TestAugmentedSurface::~TestAugmentedSurface() {}

}  // namespace wl