#include "flutter/shell/platform/linux/testing/mock_text_input_plugin.h"
Go to the source code of this file.
◆ fl_mock_text_input_plugin_class_init()
static void fl_mock_text_input_plugin_class_init |
( |
FlMockTextInputPluginClass * |
klass | ) |
|
|
static |
Definition at line 26 of file mock_text_input_plugin.cc.
27 {
28 FL_TEXT_INPUT_PLUGIN_CLASS(klass)->filter_keypress =
29 mock_text_input_plugin_filter_keypress;
30}
◆ fl_mock_text_input_plugin_init()
static void fl_mock_text_input_plugin_init |
( |
FlMockTextInputPlugin * |
self | ) |
|
|
static |
◆ fl_mock_text_input_plugin_new()
FlMockTextInputPlugin * fl_mock_text_input_plugin_new |
( |
gboolean(*)(FlTextInputPlugin *self, FlKeyEvent *event) |
filter_keypress | ) |
|
Definition at line 35 of file mock_text_input_plugin.cc.
36 {
37 FlMockTextInputPlugin*
self = FL_MOCK_TEXT_INPUT_PLUGIN(
38 g_object_new(fl_mock_text_input_plugin_get_type(), nullptr));
39 self->filter_keypress = filter_keypress;
41}
◆ G_DEFINE_TYPE()
G_DEFINE_TYPE |
( |
FlMockTextInputPlugin |
, |
|
|
fl_mock_text_input_plugin |
, |
|
|
fl_text_input_plugin_get_type() |
|
|
) |
| |
◆ if()
if |
( |
mock_self-> |
filter_keypress | ) |
|
◆ event
◆ FALSE