|
7 | 7 |
|
8 | 8 | #include <unordered_map>
|
9 | 9 |
|
| 10 | +#include "flutter/fml/mapping.h" |
10 | 11 | #include "flutter/shell/platform/embedder/embedder.h"
|
11 | 12 |
|
12 | 13 | #include "flutter/third_party/accessibility/ax/ax_event_generator.h"
|
@@ -86,10 +87,9 @@ class AccessibilityBridge
|
86 | 87 | /// @param[in] action The generated flutter semantics action.
|
87 | 88 | /// @param[in] data Additional data associated with the
|
88 | 89 | /// action.
|
89 |
| - virtual void DispatchAccessibilityAction( |
90 |
| - AccessibilityNodeId target, |
91 |
| - FlutterSemanticsAction action, |
92 |
| - const std::vector<uint8_t>& data) = 0; |
| 90 | + virtual void DispatchAccessibilityAction(AccessibilityNodeId target, |
| 91 | + FlutterSemanticsAction action, |
| 92 | + fml::NonOwnedMapping data) = 0; |
93 | 93 |
|
94 | 94 | //---------------------------------------------------------------------------
|
95 | 95 | /// @brief Creates a platform specific FlutterPlatformNodeDelegate.
|
@@ -277,7 +277,7 @@ class AccessibilityBridge
|
277 | 277 | // |FlutterPlatformNodeDelegate::OwnerBridge|
|
278 | 278 | void DispatchAccessibilityAction(AccessibilityNodeId target,
|
279 | 279 | FlutterSemanticsAction action,
|
280 |
| - std::vector<uint8_t> data) override; |
| 280 | + fml::NonOwnedMapping data) override; |
281 | 281 |
|
282 | 282 | // |FlutterPlatformNodeDelegate::OwnerBridge|
|
283 | 283 | gfx::RectF RelativeToGlobalBounds(const ui::AXNode* node,
|
|
0 commit comments