| Flutter Linux Embedder |

fl_accessibility_plugin.h
Go to the documentation of this file.
1 // Copyright 2013 The Flutter Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef FLUTTER_SHELL_PLATFORM_LINUX_FL_ACCESSIBILITY_PLUGIN_H_
6 #define FLUTTER_SHELL_PLATFORM_LINUX_FL_ACCESSIBILITY_PLUGIN_H_
7
8 #include "flutter/shell/platform/linux/public/flutter_linux/fl_view.h"
9
10 #include "flutter/shell/platform/embedder/embedder.h"
11
12 G_BEGIN_DECLS
13
14 G_DECLARE_FINAL_TYPE(FlAccessibilityPlugin,
15 fl_accessibility_plugin,
16 FL,
17 ACCESSIBILITY_PLUGIN,
18 GObject);
19
20 /**
21 * FlAccessibilityPlugin:
22 *
23 * #FlAccessibilityPlugin is a plugin that handles semantic node updates and
24 * converts them to ATK events.
25 */
26
27 /**
28 * fl_accessibility_plugin_new:
29 * @view: an #FlView to export accessibility information to.
30 *
31 * Creates a new plugin handles semantic node updates.
32 *
33 * Returns: a new #FlAccessibilityPlugin.
34 */
35 FlAccessibilityPlugin* fl_accessibility_plugin_new(FlView* view);
36
37 /**
38 * fl_accessibility_plugin_handle_update_semantics_node:
39 * @plugin: an #FlAccessibilityPlugin.
40 * @node: semantic node information.
41 *
42 * Handle a semantics node update.
43 */
44 void fl_accessibility_plugin_handle_update_semantics_node(
45 FlAccessibilityPlugin* plugin,
46 const FlutterSemanticsNode* node);
47
48 G_END_DECLS
49
50 #endif // FLUTTER_SHELL_PLATFORM_LINUX_FL_ACCESSIBILITY_PLUGIN_H_
G_DECLARE_FINAL_TYPE
G_BEGIN_DECLS G_DECLARE_FINAL_TYPE(FlAccessibilityPlugin, fl_accessibility_plugin, FL, ACCESSIBILITY_PLUGIN, GObject)
fl_accessibility_plugin_handle_update_semantics_node
void fl_accessibility_plugin_handle_update_semantics_node(FlAccessibilityPlugin *plugin, const FlutterSemanticsNode *node)
Definition: fl_accessibility_plugin.cc:46
fl_accessibility_plugin_new
FlAccessibilityPlugin * fl_accessibility_plugin_new(FlView *view)
Definition: fl_accessibility_plugin.cc:35
FL
FL
Definition: fl_binary_messenger.cc:27
fl_view.h
node
G_BEGIN_DECLS const FlutterSemanticsNode * node
Definition: fl_view_accessible.h:40