Flutter Engine
platform_view_android_delegate.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 SHELL_PLATFORM_ANDROID_PLATFORM_VIEW_ANDROID_DELEGATE_H_
6 #define SHELL_PLATFORM_ANDROID_PLATFORM_VIEW_ANDROID_DELEGATE_H_
7 
8 #include <memory>
9 #include <string>
10 #include <vector>
11 
12 #include "flutter/shell/common/platform_view.h"
13 #include "flutter/shell/platform/android/jni/platform_view_android_jni.h"
14 
15 namespace flutter {
16 
18  public:
20  std::shared_ptr<PlatformViewAndroidJNI> jni_facade);
23 
24  private:
25  const std::shared_ptr<PlatformViewAndroidJNI> jni_facade_;
26 };
27 } // namespace flutter
28 
29 #endif // SHELL_PLATFORM_ANDROID_PLATFORM_VIEW_ANDROID_H_
std::unordered_map< int32_t, SemanticsNode > SemanticsNodeUpdates
PlatformViewAndroidDelegate(std::shared_ptr< PlatformViewAndroidJNI > jni_facade)
std::unordered_map< int32_t, CustomAccessibilityAction > CustomAccessibilityActionUpdates
void UpdateSemantics(flutter::SemanticsNodeUpdates update, flutter::CustomAccessibilityActionUpdates actions)