Flutter Engine
The Flutter Engine
test_accessibility_bridge.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_COMMON_TEST_ACCESSIBILITY_BRIDGE_H_
6#define FLUTTER_SHELL_PLATFORM_COMMON_TEST_ACCESSIBILITY_BRIDGE_H_
7
9
10namespace flutter {
11
13 public:
15
18 fml::MallocMapping data) override;
19
20 std::vector<ui::AXEventGenerator::Event> accessibility_events;
21 std::vector<FlutterSemanticsAction> performed_actions;
22
23 protected:
25 ui::AXEventGenerator::TargetedEvent targeted_event) override;
26
27 std::shared_ptr<FlutterPlatformNodeDelegate>
29};
30
31} // namespace flutter
32
33#endif // FLUTTER_SHELL_PLATFORM_COMMON_TEST_ACCESSIBILITY_BRIDGE_H_
std::vector< FlutterSemanticsAction > performed_actions
void DispatchAccessibilityAction(AccessibilityNodeId target, FlutterSemanticsAction action, fml::MallocMapping data) override
Dispatch accessibility action back to the Flutter framework. These actions are generated in the nativ...
void OnAccessibilityEvent(ui::AXEventGenerator::TargetedEvent targeted_event) override
Handle accessibility events generated due to accessibility tree changes. These events are needed to b...
std::shared_ptr< FlutterPlatformNodeDelegate > CreateFlutterPlatformNodeDelegate() override
Creates a platform specific FlutterPlatformNodeDelegate. Ownership passes to the caller....
std::vector< ui::AXEventGenerator::Event > accessibility_events
A Mapping like NonOwnedMapping, but uses Free as its release proc.
Definition: mapping.h:144
FlutterSemanticsAction
Definition: embedder.h:113
uint32_t * target
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot data
Definition: switches.h:41
ui::AXNode::AXID AccessibilityNodeId