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

// Copyright 2016 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_wayland_server_thread.h"

#include <sys/socket.h>
#include <wayland-server.h>

#include <cstdlib>
#include <memory>
#include <utility>

#include "base/files/file_util.h"
#include "base/files/scoped_file.h"
#include "base/functional/bind.h"
#include "base/functional/callback_forward.h"
#include "base/functional/callback_helpers.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/test/bind.h"
#include "ui/ozone/platform/wayland/test/test_gtk_primary_selection.h"
#include "ui/ozone/platform/wayland/test/test_zcr_text_input_extension.h"
#include "ui/ozone/platform/wayland/test/test_zwp_primary_selection.h"

namespace wl {

namespace {

void handle_client_destroyed(struct wl_listener* listener, void* data) {}

}  // namespace

void DisplayDeleter::operator()(wl_display* display) {}

TestWaylandServerThread::TestWaylandServerThread()
    :{}

TestWaylandServerThread::TestWaylandServerThread(const ServerConfig& config)
    :{}

TestWaylandServerThread::~TestWaylandServerThread() {}

bool TestWaylandServerThread::Start() {}

void TestWaylandServerThread::RunAndWait(
    base::OnceCallback<void(TestWaylandServerThread*)> callback) {}

void TestWaylandServerThread::RunAndWait(base::OnceClosure closure) {}

void TestWaylandServerThread::Post(
    base::OnceCallback<void(TestWaylandServerThread*)> callback) {}

void TestWaylandServerThread::Post(base::OnceClosure closure) {}

MockWpPresentation* TestWaylandServerThread::EnsureAndGetWpPresentation() {}

TestSurfaceAugmenter* TestWaylandServerThread::EnsureSurfaceAugmenter() {}

void TestWaylandServerThread::OnTestOutputFlush(
    TestOutput* test_output,
    const TestOutputMetrics& metrics) {}

void TestWaylandServerThread::OnTestOutputGlobalDestroy(
    TestOutput* test_output) {}

void TestWaylandServerThread::OnClientDestroyed(wl_client* client) {}

uint32_t TestWaylandServerThread::GetNextSerial() const {}

uint32_t TestWaylandServerThread::GetNextTime() {}

bool TestWaylandServerThread::SetupPrimarySelectionManager(
    PrimarySelectionProtocol protocol) {}

bool TestWaylandServerThread::SetupExplicitSynchronizationProtocol(
    ShouldUseExplicitSynchronizationProtocol usage) {}

std::unique_ptr<base::MessagePump> TestWaylandServerThread::CreateMessagePump(
    base::OnceClosure closure) {}

void TestWaylandServerThread::DoRun(base::OnceClosure closure) {}

void TestWaylandServerThread::OnFileCanReadWithoutBlocking(int fd) {}

void TestWaylandServerThread::OnFileCanWriteWithoutBlocking(int fd) {}

// static
void TestWaylandServerThread::ProtocolLogger(
    void* user_data,
    enum wl_protocol_logger_type direction,
    const struct wl_protocol_logger_message* message) {}

}  // namespace wl