#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 |
Definition at line 77 of file test_keyboard.h.
77 {
79 }
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback
◆ 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 }
◆ SetEmbedderResponse()
Definition at line 69 of file test_keyboard.h.
69 {
70 embedder_response_ = std::move(handler);
71 }
◆ SetTextInputResponse()
Definition at line 73 of file test_keyboard.h.
73 {
74 text_input_response_ = std::move(handler);
75 }
The documentation for this class was generated from the following file: