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

Unified Diff: ios/web/navigation/navigation_manager_delegate.h

Issue 2957163002: [Navigation Experiment] Add WKBasedNavigationManagerImpl. (Closed)
Patch Set: Patch for landing Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/web/navigation/legacy_navigation_manager_impl.mm ('k') | ios/web/navigation/navigation_manager_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/navigation/navigation_manager_delegate.h
diff --git a/ios/web/navigation/navigation_manager_delegate.h b/ios/web/navigation/navigation_manager_delegate.h
index 90c7675c057dbe66f4fb3fee2fe05244a4faba5d..df68122b307d5d4cbba67f34f60c9c9aaf1d9edd 100644
--- a/ios/web/navigation/navigation_manager_delegate.h
+++ b/ios/web/navigation/navigation_manager_delegate.h
@@ -9,6 +9,8 @@
#import "ios/web/public/navigation_manager.h"
+@protocol CRWWebViewNavigationProxy;
+
namespace web {
struct LoadCommittedDetails;
@@ -42,6 +44,10 @@ class NavigationManagerDelegate {
// Returns the WebState associated with this delegate.
virtual WebState* GetWebState() = 0;
+
+ // Returns a CRWWebViewNavigationProxy protocol that can be used to access
+ // navigation related functions on the main WKWebView.
+ virtual id<CRWWebViewNavigationProxy> GetWebViewNavigationProxy() const = 0;
};
} // namespace web
« no previous file with comments | « ios/web/navigation/legacy_navigation_manager_impl.mm ('k') | ios/web/navigation/navigation_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698