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

#include <memory>

#include "base/run_loop.h"
#include "ui/base/ui_base_features.h"
#include "ui/events/devices/device_data_manager.h"
#include "ui/events/ozone/layout/keyboard_layout_engine_manager.h"
#include "ui/events/ozone/layout/scoped_keyboard_layout_engine.h"
#include "ui/ozone/common/features.h"
#include "ui/ozone/platform/wayland/host/wayland_event_source.h"
#include "ui/ozone/platform/wayland/host/wayland_output_manager.h"
#include "ui/ozone/platform/wayland/host/wayland_screen.h"
#include "ui/ozone/platform/wayland/test/mock_surface.h"
#include "ui/ozone/platform/wayland/test/scoped_wl_array.h"
#include "ui/ozone/platform/wayland/test/test_keyboard.h"
#include "ui/ozone/platform/wayland/test/test_wayland_server_thread.h"
#include "ui/ozone/platform/wayland/test/wayland_connection_test_api.h"
#include "ui/platform_window/platform_window_init_properties.h"

#if BUILDFLAG(USE_XKBCOMMON)
#include "ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.h"
#else
#include "ui/events/ozone/layout/stub/stub_keyboard_layout_engine.h"
#endif

_;
SaveArg;

namespace ui {

WaylandTestBase::WaylandTestBase(wl::ServerConfig config)
    :{}

WaylandTestBase::~WaylandTestBase() = default;

void WaylandTestBase::SetUp() {}

void WaylandTestBase::TearDown() {}

void WaylandTestBase::PostToServerAndWait(
    base::OnceCallback<void(wl::TestWaylandServerThread* server)> callback,
    bool no_nested_runloops) {}

void WaylandTestBase::PostToServerAndWait(base::OnceClosure closure,
                                          bool no_nested_runloops) {}

void WaylandTestBase::DisableSyncOnTearDown() {}

void WaylandTestBase::SetPointerFocusedWindow(WaylandWindow* window) {}

void WaylandTestBase::SetKeyboardFocusedWindow(WaylandWindow* window) {}

void WaylandTestBase::SendConfigureEvent(uint32_t surface_id,
                                         const gfx::Size& size,
                                         const wl::ScopedWlArray& states,
                                         std::optional<uint32_t> serial) {}

void WaylandTestBase::ActivateSurface(uint32_t surface_id,
                                      std::optional<uint32_t> serial) {}

void WaylandTestBase::InitializeSurfaceAugmenter() {}

void WaylandTestBase::MaybeSetUpXkb() {}

void WaylandTestBase::WaitForAllDisplaysReady() {}

std::unique_ptr<WaylandWindow> WaylandTestBase::CreateWaylandWindowWithParams(
    PlatformWindowType type,
    const gfx::Rect bounds,
    MockWaylandPlatformWindowDelegate* delegate,
    gfx::AcceleratedWidget parent_widget) {}

void WaylandTestBase::SyncDisplay() {}

WaylandTest::WaylandTest() :{}

WaylandTest::~WaylandTest() = default;

void WaylandTest::SetUp() {}

void WaylandTest::TearDown() {}

bool WaylandTest::IsAuraShellEnabled() {}

WaylandTestSimple::WaylandTestSimple()
    :{}

WaylandTestSimple::WaylandTestSimple(wl::ServerConfig config)
    :{}

WaylandTestSimple::~WaylandTestSimple() = default;

void WaylandTestSimple::SetUp() {}

void WaylandTestSimple::TearDown() {}

WaylandTestSimpleWithAuraShell::WaylandTestSimpleWithAuraShell()
    :{}

WaylandTestSimpleWithAuraShell::~WaylandTestSimpleWithAuraShell() = default;

void WaylandTestSimpleWithAuraShell::SetUp() {}

void WaylandTestSimpleWithAuraShell ::TearDown() {}

}  // namespace ui