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

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

Issue 2957163002: [Navigation Experiment] Add WKBasedNavigationManagerImpl. (Closed)
Patch Set: Changed WebViewNavigationProxy to a protocol 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
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..c8f6216748bbb3a08585efad87e157eff3ba8c38 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 WebViewNavigationProxy;
+
namespace web {
struct LoadCommittedDetails;
@@ -42,6 +44,10 @@ class NavigationManagerDelegate {
// Returns the WebState associated with this delegate.
virtual WebState* GetWebState() = 0;
+
+ // Returns a WebViewNavigationProxy protocol that can be used to access
+ // navigation related functions on the main WKWebView.
+ virtual id<WebViewNavigationProxy> GetWebViewNavigationProxy() const = 0;
};
} // namespace web

Powered by Google App Engine
This is Rietveld 408576698