#include "ui/ozone/platform/wayland/test/test_zaura_shell.h"
#include "base/notreached.h"
#include "ui/ozone/platform/wayland/test/mock_xdg_surface.h"
#include "ui/ozone/platform/wayland/test/server_object.h"
#include "ui/ozone/platform/wayland/test/test_output.h"
#include "ui/ozone/platform/wayland/test/test_zaura_output.h"
#include "ui/ozone/platform/wayland/test/test_zaura_popup.h"
#include "ui/ozone/platform/wayland/test/test_zaura_surface.h"
#include "ui/ozone/platform/wayland/test/test_zaura_toplevel.h"
namespace wl {
namespace {
constexpr uint32_t kZAuraShellVersion = …;
constexpr uint32_t kZAuraOutputVersion = …;
void GetAuraSurface(wl_client* client,
wl_resource* resource,
uint32_t id,
wl_resource* surface_resource) { … }
void GetAuraOutput(wl_client* client,
wl_resource* resource,
uint32_t id,
wl_resource* output_resource) { … }
void SurfaceSubmissionInPixelCoordinates(wl_client* client,
wl_resource* resource) { … }
void GetAuraToplevelForXdgToplevel(wl_client* client,
wl_resource* resource,
uint32_t id,
wl_resource* toplevel) { … }
void GetAuraPopupForXdgPopup(wl_client* client,
wl_resource* resource,
uint32_t id,
wl_resource* popup) { … }
const struct zaura_shell_interface kTestZAuraShellImpl = …;
}
TestZAuraShell::TestZAuraShell()
: … { … }
TestZAuraShell::~TestZAuraShell() = default;
void TestZAuraShell::SetCompositorVersion(const std::string& version_string) { … }
void TestZAuraShell::SetBugFixes(std::vector<uint32_t> bug_fixes) { … }
void TestZAuraShell::SendAllBugFixesSent() { … }
void TestZAuraShell::OnBind() { … }
void TestZAuraShell::MaybeSendCompositorVersion() { … }
void TestZAuraShell::SendBugFixes() { … }
}