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

#include "base/notreached.h"
#include "ui/ozone/platform/wayland/test/mock_surface.h"

namespace wl {

namespace {

void SetSource(wl_client* client,
               wl_resource* resource,
               wl_fixed_t x,
               wl_fixed_t y,
               wl_fixed_t width,
               wl_fixed_t height) {}

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

}  // namespace

const struct wp_viewport_interface kTestViewportImpl =;

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

TestViewport::~TestViewport() {}

void TestViewport::SetDestinationImpl(float width, float height) {}

}  // namespace wl