Flutter Engine
The Flutter Engine
semantics_update.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_LIB_UI_SEMANTICS_SEMANTICS_UPDATE_H_
6#define FLUTTER_LIB_UI_SEMANTICS_SEMANTICS_UPDATE_H_
7
8#include "flutter/lib/ui/dart_wrapper.h"
9#include "flutter/lib/ui/semantics/custom_accessibility_action.h"
10#include "flutter/lib/ui/semantics/semantics_node.h"
11
12namespace flutter {
13
14class SemanticsUpdate : public RefCountedDartWrappable<SemanticsUpdate> {
15 DEFINE_WRAPPERTYPEINFO();
16 FML_FRIEND_MAKE_REF_COUNTED(SemanticsUpdate);
17
18 public:
19 ~SemanticsUpdate() override;
20 static void create(Dart_Handle semantics_update_handle,
23
25
27
28 void dispose();
29
30 private:
33
36};
37
38} // namespace flutter
39
40#endif // FLUTTER_LIB_UI_SEMANTICS_SEMANTICS_UPDATE_H_
static void create(Dart_Handle semantics_update_handle, SemanticsNodeUpdates nodes, CustomAccessibilityActionUpdates actions)
SemanticsNodeUpdates takeNodes()
CustomAccessibilityActionUpdates takeActions()
struct _Dart_Handle * Dart_Handle
Definition: dart_api.h:258
std::unordered_map< int32_t, SemanticsNode > SemanticsNodeUpdates
std::unordered_map< int32_t, CustomAccessibilityAction > CustomAccessibilityActionUpdates