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

#include <wayland-server-core.h>

#include "base/logging.h"
#include "ui/ozone/platform/wayland/test/server_object.h"

namespace wl {

namespace {

void Feedback(struct wl_client* client,
              struct wl_resource* resource,
              struct wl_resource* surface,
              uint32_t callback) {}

}  // namespace

const struct wp_presentation_interface kMockWpPresentationImpl =;

MockWpPresentation::MockWpPresentation()
    :{}

MockWpPresentation::~MockWpPresentation() = default;

void MockWpPresentation::OnFeedback(wl_resource* callback_resource) {}

void MockWpPresentation::DropPresentationCallback(bool last) {}

void MockWpPresentation::SendPresentationCallback() {}

void MockWpPresentation::SendPresentationCallbackDiscarded(bool last) {}

void MockWpPresentation::SendPresentationFeedbackToClient(
    bool last,
    std::optional<PresentationFeedbackParams> params) {}

wl_resource* MockWpPresentation::GetPresentationCallbackResource(bool last) {}

}  // namespace wl