blob: 6e4b18de19ff02d96f4952aa57de89280c2a890f [file] [log] [blame]
// 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:
explicit PlatformViewAndroidDelegate(
std::shared_ptr<PlatformViewAndroidJNI> jni_facade);
void UpdateSemantics(
const flutter::SemanticsNodeUpdates& update,
const flutter::CustomAccessibilityActionUpdates& actions);
private:
const std::shared_ptr<PlatformViewAndroidJNI> jni_facade_;
};
} // namespace flutter
#endif // SHELL_PLATFORM_ANDROID_PLATFORM_VIEW_ANDROID_H_