#include "ui/ozone/platform/wayland/test/test_zwp_text_input_manager.h"
#include <wayland-server-core.h>
#include "ui/ozone/platform/wayland/test/mock_zwp_text_input.h"
namespace wl {
namespace {
constexpr uint32_t kTextInputManagerV1Version = …;
constexpr uint32_t kTextInputManagerV3Version = …;
void CreateTextInputV1(struct wl_client* client,
struct wl_resource* resource,
uint32_t id) { … }
void CreateTextInputV3(struct wl_client* client,
struct wl_resource* resource,
uint32_t id,
struct wl_resource* seat) { … }
}
const struct zwp_text_input_manager_v1_interface
kTestZwpTextInputManagerV1Impl = …;
const struct zwp_text_input_manager_v3_interface
kTestZwpTextInputManagerV3Impl = …;
TestZwpTextInputManagerV1::TestZwpTextInputManagerV1()
: … { … }
void TestZwpTextInputManagerV1::OnTextInputDestroyed(
MockZwpTextInputV1* text_input) { … }
TestZwpTextInputManagerV1::~TestZwpTextInputManagerV1() = default;
TestZwpTextInputManagerV3::TestZwpTextInputManagerV3()
: … { … }
void TestZwpTextInputManagerV3::OnTextInputDestroyed(
MockZwpTextInputV3* text_input) { … }
TestZwpTextInputManagerV3::~TestZwpTextInputManagerV3() = default;
}