#include "ui/ozone/platform/wayland/test/mock_zcr_extended_text_input.h"
namespace wl {
namespace {
void DeprecatedSetInputType(wl_client* client,
wl_resource* resource,
uint32_t input_type,
uint32_t input_mode,
uint32_t input_flags,
uint32_t learning_mode) { … }
void SetInputType(wl_client* client,
wl_resource* resource,
uint32_t input_type,
uint32_t input_mode,
uint32_t input_flags,
uint32_t learning_mode,
uint32_t inline_composition_support) { … }
void SetGrammarFragmentAtCursor(wl_client* client,
wl_resource* resource,
uint32_t start,
uint32_t end,
const char* suggestion) { … }
void SetAutocorrectInfo(wl_client* client,
wl_resource* resource,
uint32_t start,
uint32_t end,
uint32_t x,
uint32_t y,
uint32_t width,
uint32_t height) { … }
void FinalizeVirtualKeyboardChanges(wl_client* client, wl_resource* resource) { … }
void SetFocusReason(wl_client* client, wl_resource* resource, uint32_t reason) { … }
void SetSurroundingTextSupport(wl_client* client,
wl_resource* resource,
uint32_t support) { … }
void SetSurroundingTextOffsetUtf16(wl_client* client,
wl_resource* resource,
uint32_t offset) { … }
}
const struct zcr_extended_text_input_v1_interface
kMockZcrExtendedTextInputV1Impl = …;
MockZcrExtendedTextInput::MockZcrExtendedTextInput(wl_resource* resource)
: … { … }
MockZcrExtendedTextInput::~MockZcrExtendedTextInput() = default;
}