FLTWKNavigationDelegate.h 548 B

123456789101112131415161718192021
  1. // Copyright 2019 The Chromium 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. #import <Flutter/Flutter.h>
  5. #import <WebKit/WebKit.h>
  6. NS_ASSUME_NONNULL_BEGIN
  7. @interface FLTWKNavigationDelegate : NSObject <WKNavigationDelegate>
  8. - (instancetype)initWithChannel:(FlutterMethodChannel*)channel;
  9. /**
  10. * Whether to delegate navigation decisions over the method channel.
  11. */
  12. @property(nonatomic, assign) BOOL hasDartNavigationDelegate;
  13. @end
  14. NS_ASSUME_NONNULL_END