blob: c70c4abb5445827a0c0faf648e09be75b57c2ac6 [file] [log] [blame]
// Copyright 2017 The Chromium 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 IOS_WEB_WEB_STATE_UI_CRW_WEB_VIEW_NAVIGATION_PROXY_H_
#define IOS_WEB_WEB_STATE_UI_CRW_WEB_VIEW_NAVIGATION_PROXY_H_
#import <WebKit/WebKit.h>
NS_ASSUME_NONNULL_BEGIN
// A protocol to expose a subset of the WKWebView API to NavigationManager.
@protocol CRWWebViewNavigationProxy
@property(nullable, nonatomic, readonly, copy) NSURL* URL;
@property(nonatomic, readonly, strong) WKBackForwardList* backForwardList;
@end
NS_ASSUME_NONNULL_END
#endif // IOS_WEB_WEB_STATE_UI_CRW_WEB_VIEW_NAVIGATION_PROXY_H_