| // Copyright 2013 The Flutter Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef SHELL_PLATFORM_ANDROID_PLATFORM_VIEW_ANDROID_DELEGATE_H_ |
| #define SHELL_PLATFORM_ANDROID_PLATFORM_VIEW_ANDROID_DELEGATE_H_ |
| |
| #include <memory> |
| #include <string> |
| #include <vector> |
| |
| #include "flutter/shell/common/platform_view.h" |
| #include "flutter/shell/platform/android/jni/platform_view_android_jni.h" |
| |
| namespace flutter { |
| |
| class PlatformViewAndroidDelegate { |
| public: |
| PlatformViewAndroidDelegate( |
| std::shared_ptr<PlatformViewAndroidJNI> jni_facade); |
| void UpdateSemantics(flutter::SemanticsNodeUpdates update, |
| flutter::CustomAccessibilityActionUpdates actions); |
| |
| private: |
| const std::shared_ptr<PlatformViewAndroidJNI> jni_facade_; |
| }; |
| } // namespace flutter |
| |
| #endif // SHELL_PLATFORM_ANDROID_PLATFORM_VIEW_ANDROID_H_ |