Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit e431738

Browse files
Renamed plugin classes to handler (#53736)
The Linux embedder had a number of handlers for Flutter channels that were named plugin/handler/manager. Rename these all to handler to be consistent and reduce confusion with Flutter plugins (which these don't use the infrastructure for).
1 parent b65c93e commit e431738

35 files changed

+724
-719
lines changed

ci/licenses_golden/licenses_flutter

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -44098,9 +44098,9 @@ ORIGIN: ../../../flutter/shell/platform/linux/fl_key_event.cc + ../../../flutter
4409844098
ORIGIN: ../../../flutter/shell/platform/linux/fl_key_event.h + ../../../flutter/LICENSE
4409944099
ORIGIN: ../../../flutter/shell/platform/linux/fl_key_responder.cc + ../../../flutter/LICENSE
4410044100
ORIGIN: ../../../flutter/shell/platform/linux/fl_key_responder.h + ../../../flutter/LICENSE
44101-
ORIGIN: ../../../flutter/shell/platform/linux/fl_keyboard_manager.cc + ../../../flutter/LICENSE
44102-
ORIGIN: ../../../flutter/shell/platform/linux/fl_keyboard_manager.h + ../../../flutter/LICENSE
44103-
ORIGIN: ../../../flutter/shell/platform/linux/fl_keyboard_manager_test.cc + ../../../flutter/LICENSE
44101+
ORIGIN: ../../../flutter/shell/platform/linux/fl_keyboard_handler.cc + ../../../flutter/LICENSE
44102+
ORIGIN: ../../../flutter/shell/platform/linux/fl_keyboard_handler.h + ../../../flutter/LICENSE
44103+
ORIGIN: ../../../flutter/shell/platform/linux/fl_keyboard_handler_test.cc + ../../../flutter/LICENSE
4410444104
ORIGIN: ../../../flutter/shell/platform/linux/fl_keyboard_view_delegate.cc + ../../../flutter/LICENSE
4410544105
ORIGIN: ../../../flutter/shell/platform/linux/fl_keyboard_view_delegate.h + ../../../flutter/LICENSE
4410644106
ORIGIN: ../../../flutter/shell/platform/linux/fl_message_codec.cc + ../../../flutter/LICENSE
@@ -44115,14 +44115,14 @@ ORIGIN: ../../../flutter/shell/platform/linux/fl_method_codec_private.h + ../../
4411544115
ORIGIN: ../../../flutter/shell/platform/linux/fl_method_codec_test.cc + ../../../flutter/LICENSE
4411644116
ORIGIN: ../../../flutter/shell/platform/linux/fl_method_response.cc + ../../../flutter/LICENSE
4411744117
ORIGIN: ../../../flutter/shell/platform/linux/fl_method_response_test.cc + ../../../flutter/LICENSE
44118-
ORIGIN: ../../../flutter/shell/platform/linux/fl_mouse_cursor_plugin.cc + ../../../flutter/LICENSE
44119-
ORIGIN: ../../../flutter/shell/platform/linux/fl_mouse_cursor_plugin.h + ../../../flutter/LICENSE
44118+
ORIGIN: ../../../flutter/shell/platform/linux/fl_mouse_cursor_handler.cc + ../../../flutter/LICENSE
44119+
ORIGIN: ../../../flutter/shell/platform/linux/fl_mouse_cursor_handler.h + ../../../flutter/LICENSE
4412044120
ORIGIN: ../../../flutter/shell/platform/linux/fl_pixel_buffer_texture.cc + ../../../flutter/LICENSE
4412144121
ORIGIN: ../../../flutter/shell/platform/linux/fl_pixel_buffer_texture_private.h + ../../../flutter/LICENSE
4412244122
ORIGIN: ../../../flutter/shell/platform/linux/fl_pixel_buffer_texture_test.cc + ../../../flutter/LICENSE
44123-
ORIGIN: ../../../flutter/shell/platform/linux/fl_platform_plugin.cc + ../../../flutter/LICENSE
44124-
ORIGIN: ../../../flutter/shell/platform/linux/fl_platform_plugin.h + ../../../flutter/LICENSE
44125-
ORIGIN: ../../../flutter/shell/platform/linux/fl_platform_plugin_test.cc + ../../../flutter/LICENSE
44123+
ORIGIN: ../../../flutter/shell/platform/linux/fl_platform_handler.cc + ../../../flutter/LICENSE
44124+
ORIGIN: ../../../flutter/shell/platform/linux/fl_platform_handler.h + ../../../flutter/LICENSE
44125+
ORIGIN: ../../../flutter/shell/platform/linux/fl_platform_handler_test.cc + ../../../flutter/LICENSE
4412644126
ORIGIN: ../../../flutter/shell/platform/linux/fl_plugin_registrar.cc + ../../../flutter/LICENSE
4412744127
ORIGIN: ../../../flutter/shell/platform/linux/fl_plugin_registrar_private.h + ../../../flutter/LICENSE
4412844128
ORIGIN: ../../../flutter/shell/platform/linux/fl_plugin_registrar_test.cc + ../../../flutter/LICENSE
@@ -44141,9 +44141,9 @@ ORIGIN: ../../../flutter/shell/platform/linux/fl_scrolling_view_delegate.cc + ..
4414144141
ORIGIN: ../../../flutter/shell/platform/linux/fl_scrolling_view_delegate.h + ../../../flutter/LICENSE
4414244142
ORIGIN: ../../../flutter/shell/platform/linux/fl_settings.cc + ../../../flutter/LICENSE
4414344143
ORIGIN: ../../../flutter/shell/platform/linux/fl_settings.h + ../../../flutter/LICENSE
44144-
ORIGIN: ../../../flutter/shell/platform/linux/fl_settings_plugin.cc + ../../../flutter/LICENSE
44145-
ORIGIN: ../../../flutter/shell/platform/linux/fl_settings_plugin.h + ../../../flutter/LICENSE
44146-
ORIGIN: ../../../flutter/shell/platform/linux/fl_settings_plugin_test.cc + ../../../flutter/LICENSE
44144+
ORIGIN: ../../../flutter/shell/platform/linux/fl_settings_handler.cc + ../../../flutter/LICENSE
44145+
ORIGIN: ../../../flutter/shell/platform/linux/fl_settings_handler.h + ../../../flutter/LICENSE
44146+
ORIGIN: ../../../flutter/shell/platform/linux/fl_settings_handler_test.cc + ../../../flutter/LICENSE
4414744147
ORIGIN: ../../../flutter/shell/platform/linux/fl_settings_portal.cc + ../../../flutter/LICENSE
4414844148
ORIGIN: ../../../flutter/shell/platform/linux/fl_settings_portal.h + ../../../flutter/LICENSE
4414944149
ORIGIN: ../../../flutter/shell/platform/linux/fl_settings_portal_test.cc + ../../../flutter/LICENSE
@@ -44157,9 +44157,9 @@ ORIGIN: ../../../flutter/shell/platform/linux/fl_string_codec.cc + ../../../flut
4415744157
ORIGIN: ../../../flutter/shell/platform/linux/fl_string_codec_test.cc + ../../../flutter/LICENSE
4415844158
ORIGIN: ../../../flutter/shell/platform/linux/fl_task_runner.cc + ../../../flutter/LICENSE
4415944159
ORIGIN: ../../../flutter/shell/platform/linux/fl_task_runner.h + ../../../flutter/LICENSE
44160-
ORIGIN: ../../../flutter/shell/platform/linux/fl_text_input_plugin.cc + ../../../flutter/LICENSE
44161-
ORIGIN: ../../../flutter/shell/platform/linux/fl_text_input_plugin.h + ../../../flutter/LICENSE
44162-
ORIGIN: ../../../flutter/shell/platform/linux/fl_text_input_plugin_test.cc + ../../../flutter/LICENSE
44160+
ORIGIN: ../../../flutter/shell/platform/linux/fl_text_input_handler.cc + ../../../flutter/LICENSE
44161+
ORIGIN: ../../../flutter/shell/platform/linux/fl_text_input_handler.h + ../../../flutter/LICENSE
44162+
ORIGIN: ../../../flutter/shell/platform/linux/fl_text_input_handler_test.cc + ../../../flutter/LICENSE
4416344163
ORIGIN: ../../../flutter/shell/platform/linux/fl_text_input_view_delegate.cc + ../../../flutter/LICENSE
4416444164
ORIGIN: ../../../flutter/shell/platform/linux/fl_text_input_view_delegate.h + ../../../flutter/LICENSE
4416544165
ORIGIN: ../../../flutter/shell/platform/linux/fl_texture.cc + ../../../flutter/LICENSE
@@ -47004,9 +47004,9 @@ FILE: ../../../flutter/shell/platform/linux/fl_key_event.cc
4700447004
FILE: ../../../flutter/shell/platform/linux/fl_key_event.h
4700547005
FILE: ../../../flutter/shell/platform/linux/fl_key_responder.cc
4700647006
FILE: ../../../flutter/shell/platform/linux/fl_key_responder.h
47007-
FILE: ../../../flutter/shell/platform/linux/fl_keyboard_manager.cc
47008-
FILE: ../../../flutter/shell/platform/linux/fl_keyboard_manager.h
47009-
FILE: ../../../flutter/shell/platform/linux/fl_keyboard_manager_test.cc
47007+
FILE: ../../../flutter/shell/platform/linux/fl_keyboard_handler.cc
47008+
FILE: ../../../flutter/shell/platform/linux/fl_keyboard_handler.h
47009+
FILE: ../../../flutter/shell/platform/linux/fl_keyboard_handler_test.cc
4701047010
FILE: ../../../flutter/shell/platform/linux/fl_keyboard_view_delegate.cc
4701147011
FILE: ../../../flutter/shell/platform/linux/fl_keyboard_view_delegate.h
4701247012
FILE: ../../../flutter/shell/platform/linux/fl_message_codec.cc
@@ -47021,14 +47021,14 @@ FILE: ../../../flutter/shell/platform/linux/fl_method_codec_private.h
4702147021
FILE: ../../../flutter/shell/platform/linux/fl_method_codec_test.cc
4702247022
FILE: ../../../flutter/shell/platform/linux/fl_method_response.cc
4702347023
FILE: ../../../flutter/shell/platform/linux/fl_method_response_test.cc
47024-
FILE: ../../../flutter/shell/platform/linux/fl_mouse_cursor_plugin.cc
47025-
FILE: ../../../flutter/shell/platform/linux/fl_mouse_cursor_plugin.h
47024+
FILE: ../../../flutter/shell/platform/linux/fl_mouse_cursor_handler.cc
47025+
FILE: ../../../flutter/shell/platform/linux/fl_mouse_cursor_handler.h
4702647026
FILE: ../../../flutter/shell/platform/linux/fl_pixel_buffer_texture.cc
4702747027
FILE: ../../../flutter/shell/platform/linux/fl_pixel_buffer_texture_private.h
4702847028
FILE: ../../../flutter/shell/platform/linux/fl_pixel_buffer_texture_test.cc
47029-
FILE: ../../../flutter/shell/platform/linux/fl_platform_plugin.cc
47030-
FILE: ../../../flutter/shell/platform/linux/fl_platform_plugin.h
47031-
FILE: ../../../flutter/shell/platform/linux/fl_platform_plugin_test.cc
47029+
FILE: ../../../flutter/shell/platform/linux/fl_platform_handler.cc
47030+
FILE: ../../../flutter/shell/platform/linux/fl_platform_handler.h
47031+
FILE: ../../../flutter/shell/platform/linux/fl_platform_handler_test.cc
4703247032
FILE: ../../../flutter/shell/platform/linux/fl_plugin_registrar.cc
4703347033
FILE: ../../../flutter/shell/platform/linux/fl_plugin_registrar_private.h
4703447034
FILE: ../../../flutter/shell/platform/linux/fl_plugin_registrar_test.cc
@@ -47047,9 +47047,9 @@ FILE: ../../../flutter/shell/platform/linux/fl_scrolling_view_delegate.cc
4704747047
FILE: ../../../flutter/shell/platform/linux/fl_scrolling_view_delegate.h
4704847048
FILE: ../../../flutter/shell/platform/linux/fl_settings.cc
4704947049
FILE: ../../../flutter/shell/platform/linux/fl_settings.h
47050-
FILE: ../../../flutter/shell/platform/linux/fl_settings_plugin.cc
47051-
FILE: ../../../flutter/shell/platform/linux/fl_settings_plugin.h
47052-
FILE: ../../../flutter/shell/platform/linux/fl_settings_plugin_test.cc
47050+
FILE: ../../../flutter/shell/platform/linux/fl_settings_handler.cc
47051+
FILE: ../../../flutter/shell/platform/linux/fl_settings_handler.h
47052+
FILE: ../../../flutter/shell/platform/linux/fl_settings_handler_test.cc
4705347053
FILE: ../../../flutter/shell/platform/linux/fl_settings_portal.cc
4705447054
FILE: ../../../flutter/shell/platform/linux/fl_settings_portal.h
4705547055
FILE: ../../../flutter/shell/platform/linux/fl_settings_portal_test.cc
@@ -47063,9 +47063,9 @@ FILE: ../../../flutter/shell/platform/linux/fl_string_codec.cc
4706347063
FILE: ../../../flutter/shell/platform/linux/fl_string_codec_test.cc
4706447064
FILE: ../../../flutter/shell/platform/linux/fl_task_runner.cc
4706547065
FILE: ../../../flutter/shell/platform/linux/fl_task_runner.h
47066-
FILE: ../../../flutter/shell/platform/linux/fl_text_input_plugin.cc
47067-
FILE: ../../../flutter/shell/platform/linux/fl_text_input_plugin.h
47068-
FILE: ../../../flutter/shell/platform/linux/fl_text_input_plugin_test.cc
47066+
FILE: ../../../flutter/shell/platform/linux/fl_text_input_handler.cc
47067+
FILE: ../../../flutter/shell/platform/linux/fl_text_input_handler.h
47068+
FILE: ../../../flutter/shell/platform/linux/fl_text_input_handler_test.cc
4706947069
FILE: ../../../flutter/shell/platform/linux/fl_text_input_view_delegate.cc
4707047070
FILE: ../../../flutter/shell/platform/linux/fl_text_input_view_delegate.h
4707147071
FILE: ../../../flutter/shell/platform/linux/fl_texture.cc

shell/platform/linux/BUILD.gn

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ source_set("flutter_linux_sources") {
7979
"fl_binary_messenger_private.h",
8080
"fl_dart_project_private.h",
8181
"fl_engine_private.h",
82-
"fl_keyboard_manager.h",
82+
"fl_keyboard_handler.h",
8383
"fl_keyboard_view_delegate.h",
8484
"fl_key_event.h",
8585
"fl_key_responder.h",
@@ -112,16 +112,16 @@ source_set("flutter_linux_sources") {
112112
"fl_key_embedder_responder.cc",
113113
"fl_key_event.cc",
114114
"fl_key_responder.cc",
115-
"fl_keyboard_manager.cc",
115+
"fl_keyboard_handler.cc",
116116
"fl_keyboard_view_delegate.cc",
117117
"fl_message_codec.cc",
118118
"fl_method_call.cc",
119119
"fl_method_channel.cc",
120120
"fl_method_codec.cc",
121121
"fl_method_response.cc",
122-
"fl_mouse_cursor_plugin.cc",
122+
"fl_mouse_cursor_handler.cc",
123123
"fl_pixel_buffer_texture.cc",
124-
"fl_platform_plugin.cc",
124+
"fl_platform_handler.cc",
125125
"fl_plugin_registrar.cc",
126126
"fl_plugin_registry.cc",
127127
"fl_renderer.cc",
@@ -130,15 +130,15 @@ source_set("flutter_linux_sources") {
130130
"fl_scrolling_manager.cc",
131131
"fl_scrolling_view_delegate.cc",
132132
"fl_settings.cc",
133-
"fl_settings_plugin.cc",
133+
"fl_settings_handler.cc",
134134
"fl_settings_portal.cc",
135135
"fl_socket_accessible.cc",
136136
"fl_standard_message_codec.cc",
137137
"fl_standard_method_codec.cc",
138138
"fl_string_codec.cc",
139139
"fl_task_runner.cc",
140140
"fl_task_runner.h",
141-
"fl_text_input_plugin.cc",
141+
"fl_text_input_handler.cc",
142142
"fl_text_input_view_delegate.cc",
143143
"fl_texture.cc",
144144
"fl_texture_gl.cc",
@@ -206,22 +206,22 @@ executable("flutter_linux_unittests") {
206206
"fl_json_method_codec_test.cc",
207207
"fl_key_channel_responder_test.cc",
208208
"fl_key_embedder_responder_test.cc",
209-
"fl_keyboard_manager_test.cc",
209+
"fl_keyboard_handler_test.cc",
210210
"fl_message_codec_test.cc",
211211
"fl_method_channel_test.cc",
212212
"fl_method_codec_test.cc",
213213
"fl_method_response_test.cc",
214214
"fl_pixel_buffer_texture_test.cc",
215-
"fl_platform_plugin_test.cc",
215+
"fl_platform_handler_test.cc",
216216
"fl_plugin_registrar_test.cc",
217217
"fl_renderer_test.cc",
218218
"fl_scrolling_manager_test.cc",
219-
"fl_settings_plugin_test.cc",
219+
"fl_settings_handler_test.cc",
220220
"fl_settings_portal_test.cc",
221221
"fl_standard_message_codec_test.cc",
222222
"fl_standard_method_codec_test.cc",
223223
"fl_string_codec_test.cc",
224-
"fl_text_input_plugin_test.cc",
224+
"fl_text_input_handler_test.cc",
225225
"fl_texture_gl_test.cc",
226226
"fl_texture_registrar_test.cc",
227227
"fl_value_test.cc",
@@ -240,7 +240,7 @@ executable("flutter_linux_unittests") {
240240
"testing/mock_renderer.cc",
241241
"testing/mock_settings.cc",
242242
"testing/mock_signal_handler.cc",
243-
"testing/mock_text_input_plugin.cc",
243+
"testing/mock_text_input_handler.cc",
244244
"testing/mock_text_input_view_delegate.cc",
245245
"testing/mock_texture_registrar.cc",
246246
]

shell/platform/linux/fl_engine.cc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include "flutter/shell/platform/linux/fl_plugin_registrar_private.h"
2222
#include "flutter/shell/platform/linux/fl_renderer.h"
2323
#include "flutter/shell/platform/linux/fl_renderer_headless.h"
24-
#include "flutter/shell/platform/linux/fl_settings_plugin.h"
24+
#include "flutter/shell/platform/linux/fl_settings_handler.h"
2525
#include "flutter/shell/platform/linux/fl_texture_gl_private.h"
2626
#include "flutter/shell/platform/linux/fl_texture_registrar_private.h"
2727
#include "flutter/shell/platform/linux/public/flutter_linux/fl_plugin_registry.h"
@@ -46,7 +46,7 @@ struct _FlEngine {
4646
FlDartProject* project;
4747
FlRenderer* renderer;
4848
FlBinaryMessenger* binary_messenger;
49-
FlSettingsPlugin* settings_plugin;
49+
FlSettingsHandler* settings_handler;
5050
FlTextureRegistrar* texture_registrar;
5151
FlTaskRunner* task_runner;
5252
FlutterEngineAOTData aot_data;
@@ -406,7 +406,7 @@ static void fl_engine_dispose(GObject* object) {
406406
g_clear_object(&self->renderer);
407407
g_clear_object(&self->texture_registrar);
408408
g_clear_object(&self->binary_messenger);
409-
g_clear_object(&self->settings_plugin);
409+
g_clear_object(&self->settings_handler);
410410
g_clear_object(&self->task_runner);
411411

412412
if (self->platform_message_handler_destroy_notify) {
@@ -568,8 +568,8 @@ gboolean fl_engine_start(FlEngine* self, GError** error) {
568568
setup_locales(self);
569569

570570
g_autoptr(FlSettings) settings = fl_settings_new();
571-
self->settings_plugin = fl_settings_plugin_new(self);
572-
fl_settings_plugin_start(self->settings_plugin, settings);
571+
self->settings_handler = fl_settings_handler_new(self);
572+
fl_settings_handler_start(self->settings_handler, settings);
573573

574574
result = self->embedder_api.UpdateSemanticsEnabled(self->engine, TRUE);
575575
if (result != kSuccess) {

shell/platform/linux/fl_engine_test.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ TEST(FlEngineTest, PlatformMessageResponse) {
220220
EXPECT_TRUE(called);
221221
}
222222

223-
// Checks settings plugin sends settings on startup.
224-
TEST(FlEngineTest, SettingsPlugin) {
223+
// Checks settings handler sends settings on startup.
224+
TEST(FlEngineTest, SettingsHandler) {
225225
g_autoptr(FlEngine) engine = make_mock_engine();
226226
FlutterEngineProcTable* embedder_api = fl_engine_get_embedder_api(engine);
227227

shell/platform/linux/fl_key_channel_responder.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ struct _FlKeyChannelUserData {
4343

4444
// The current responder.
4545
FlKeyChannelResponder* responder;
46-
// The callback provided by the caller #FlKeyboardManager.
46+
// The callback provided by the caller #FlKeyboardHandler.
4747
FlKeyResponderAsyncCallback callback;
48-
// The user_data provided by the caller #FlKeyboardManager.
48+
// The user_data provided by the caller #FlKeyboardHandler.
4949
gpointer user_data;
5050
};
5151

@@ -179,7 +179,7 @@ static void fl_key_channel_responder_class_init(
179179
static void fl_key_channel_responder_init(FlKeyChannelResponder* self) {}
180180

181181
// Creates a new FlKeyChannelResponder instance, with a messenger used to send
182-
// messages to the framework, and an FlTextInputPlugin that is used to handle
182+
// messages to the framework, and an FlTextInputHandler that is used to handle
183183
// key events that the framework doesn't handle. Mainly for testing purposes, it
184184
// also takes an optional callback to call when a response is received, and an
185185
// optional channel name to use when sending messages.

shell/platform/linux/fl_key_channel_responder.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include <gdk/gdk.h>
99

1010
#include "flutter/shell/platform/linux/fl_key_responder.h"
11-
#include "flutter/shell/platform/linux/fl_keyboard_manager.h"
11+
#include "flutter/shell/platform/linux/fl_keyboard_handler.h"
1212
#include "flutter/shell/platform/linux/public/flutter_linux/fl_binary_messenger.h"
1313
#include "flutter/shell/platform/linux/public/flutter_linux/fl_value.h"
1414

shell/platform/linux/fl_key_embedder_responder.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include <functional>
1010

1111
#include "flutter/shell/platform/linux/fl_key_responder.h"
12-
#include "flutter/shell/platform/linux/fl_keyboard_manager.h"
12+
#include "flutter/shell/platform/linux/fl_keyboard_handler.h"
1313
#include "flutter/shell/platform/linux/public/flutter_linux/fl_binary_messenger.h"
1414
#include "flutter/shell/platform/linux/public/flutter_linux/fl_value.h"
1515

shell/platform/linux/fl_key_embedder_responder_private.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include <gdk/gdk.h>
99

1010
#include "flutter/shell/platform/linux/fl_key_responder.h"
11-
#include "flutter/shell/platform/linux/fl_keyboard_manager.h"
11+
#include "flutter/shell/platform/linux/fl_keyboard_handler.h"
1212
#include "flutter/shell/platform/linux/public/flutter_linux/fl_binary_messenger.h"
1313
#include "flutter/shell/platform/linux/public/flutter_linux/fl_value.h"
1414

shell/platform/linux/fl_key_event.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* A struct that stores information from GdkEvent.
1313
*
1414
* This is a class only used within the GTK embedding, created by
15-
* FlView and consumed by FlKeyboardManager. It is not sent to
15+
* FlView and consumed by FlKeyboardHandler. It is not sent to
1616
* the embedder.
1717
*
1818
* This object contains information from GdkEvent as well as an origin event

shell/platform/linux/fl_key_responder.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414

1515
G_BEGIN_DECLS
1616

17-
typedef struct _FlKeyboardManager FlKeyboardManager;
18-
1917
/**
2018
* FlKeyResponderAsyncCallback:
2119
* @event: whether the event has been handled.
@@ -40,7 +38,7 @@ G_DECLARE_INTERFACE(FlKeyResponder,
4038
* An interface for a responder that can process a key event and decides
4139
* asynchronously whether to handle an event.
4240
*
43-
* To use this class, add it with #fl_keyboard_manager_add_responder.
41+
* To use this class, add it with #fl_keyboard_handler_add_responder.
4442
*/
4543

4644
struct _FlKeyResponderInterface {

0 commit comments

Comments
 (0)