#include <test_keyboard.h>
Definition at line 50 of file test_keyboard.h.
◆ ChannelCallbackHandler
◆ EmbedderCallbackHandler
◆ ResponseCallback
◆ TextInputCallbackHandler
◆ MockKeyResponseController()
| flutter::testing::MockKeyResponseController::MockKeyResponseController |
( |
| ) |
|
|
inline |
Definition at line 59 of file test_keyboard.h.
60 : channel_response_(ChannelRespondFalse),
61 embedder_response_(EmbedderRespondFalse),
62 text_input_response_(
63 [](std::unique_ptr<rapidjson::Document> document) {}) {}
◆ HandleChannelMessage()
| void flutter::testing::MockKeyResponseController::HandleChannelMessage |
( |
ResponseCallback |
callback | ) |
|
|
inline |
◆ HandleEmbedderMessage()
◆ HandleTextInputMessage()
| void flutter::testing::MockKeyResponseController::HandleTextInputMessage |
( |
std::unique_ptr< rapidjson::Document > |
document | ) |
|
|
inline |
Definition at line 86 of file test_keyboard.h.
86 {
87 text_input_response_(std::move(document));
88 }
◆ SetChannelResponse()
Definition at line 65 of file test_keyboard.h.
65 {
66 channel_response_ = std::move(
handler);
67 }
const gchar FlBinaryMessengerMessageHandler handler
References handler.
◆ SetEmbedderResponse()
◆ SetTextInputResponse()
The documentation for this class was generated from the following file: