Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Side by Side Diff: ios/web/web_state/ui/web_view_navigation_proxy.h

Issue 2957163002: [Navigation Experiment] Add WKBasedNavigationManagerImpl. (Closed)
Patch Set: Changed WebViewNavigationProxy to a protocol Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 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
5 #ifndef IOS_WEB_WEB_STATE_UI_WEB_VIEW_NAVIGATION_PROXY_H_
6 #define IOS_WEB_WEB_STATE_UI_WEB_VIEW_NAVIGATION_PROXY_H_
7
8 #import <WebKit/WebKit.h>
9
10 NS_ASSUME_NONNULL_BEGIN
11
12 // A protocol to expose a subset of the WKWebView API to NavigationManager.
13 @protocol WebViewNavigationProxy
Eugene But (OOO till 7-30) 2017/06/29 22:28:02 s/WebViewNavigationProxy/CRWWebViewNavigationProxy
danyao 2017/06/29 23:09:48 Done.
14
15 @property(nonatomic, readonly, strong) WKBackForwardList* backForwardList;
16 @property(nonatomic, readonly) BOOL canGoBack;
17 @property(nonatomic, readonly) BOOL canGoForward;
18
19 - (nullable WKNavigation*)goBack;
20 - (nullable WKNavigation*)goForward;
21 - (nullable WKNavigation*)goToBackForwardListItem:(WKBackForwardListItem*)item;
22
23 @end
24 NS_ASSUME_NONNULL_END
25
26 #endif // IOS_WEB_WEB_STATE_UI_WEB_VIEW_NAVIGATION_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698