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

Unified Diff: ios/web/test/fakes/test_navigation_manager_delegate.mm

Issue 2957163002: [Navigation Experiment] Add WKBasedNavigationManagerImpl. (Closed)
Patch Set: 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/test/fakes/test_navigation_manager_delegate.mm
diff --git a/ios/web/test/fakes/test_navigation_manager_delegate.mm b/ios/web/test/fakes/test_navigation_manager_delegate.mm
index 7f480b3b9cb198bf38edb6690d60fd7347d9b91c..7b3d26c150c047a6611f4c2004e2b8e795a51a16 100644
--- a/ios/web/test/fakes/test_navigation_manager_delegate.mm
+++ b/ios/web/test/fakes/test_navigation_manager_delegate.mm
@@ -3,6 +3,8 @@
// found in the LICENSE file.
#import "ios/web/test/fakes/test_navigation_manager_delegate.h"
+#import "ios/web/navigation/web_view_navigation_proxy.h"
+#import "ios/web/navigation/web_view_navigation_proxy_impl.h"
#if !defined(__has_feature) || !__has_feature(objc_arc)
#error "This file requires ARC support."
@@ -22,5 +24,10 @@ void TestNavigationManagerDelegate::OnNavigationItemCommitted(
WebState* TestNavigationManagerDelegate::GetWebState() {
return nullptr;
}
+WebViewNavigationProxy*
+TestNavigationManagerDelegate::GetWebViewNavigationProxy() const {
+ // TODO(danyao): inject test class
+ return nullptr;
+}
} // namespace web

Powered by Google App Engine
This is Rietveld 408576698