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

Side by Side Diff: ios/web/test/fakes/test_navigation_manager_delegate.mm

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
1 // Copyright 2017 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #import "ios/web/test/fakes/test_navigation_manager_delegate.h" 5 #import "ios/web/test/fakes/test_navigation_manager_delegate.h"
6 #import "ios/web/web_state/ui/web_view_navigation_proxy.h"
6 7
7 #if !defined(__has_feature) || !__has_feature(objc_arc) 8 #if !defined(__has_feature) || !__has_feature(objc_arc)
8 #error "This file requires ARC support." 9 #error "This file requires ARC support."
9 #endif 10 #endif
10 11
11 namespace web { 12 namespace web {
12 13
13 void TestNavigationManagerDelegate::GoToIndex(int index) {} 14 void TestNavigationManagerDelegate::GoToIndex(int index) {}
14 void TestNavigationManagerDelegate::LoadURLWithParams( 15 void TestNavigationManagerDelegate::LoadURLWithParams(
15 const NavigationManager::WebLoadParams&) {} 16 const NavigationManager::WebLoadParams&) {}
16 void TestNavigationManagerDelegate::Reload() {} 17 void TestNavigationManagerDelegate::Reload() {}
17 void TestNavigationManagerDelegate::OnNavigationItemsPruned( 18 void TestNavigationManagerDelegate::OnNavigationItemsPruned(
18 size_t pruned_item_count) {} 19 size_t pruned_item_count) {}
19 void TestNavigationManagerDelegate::OnNavigationItemChanged() {} 20 void TestNavigationManagerDelegate::OnNavigationItemChanged() {}
20 void TestNavigationManagerDelegate::OnNavigationItemCommitted( 21 void TestNavigationManagerDelegate::OnNavigationItemCommitted(
21 const LoadCommittedDetails& load_details) {} 22 const LoadCommittedDetails& load_details) {}
22 WebState* TestNavigationManagerDelegate::GetWebState() { 23 WebState* TestNavigationManagerDelegate::GetWebState() {
23 return nullptr; 24 return nullptr;
24 } 25 }
26 id<WebViewNavigationProxy>
27 TestNavigationManagerDelegate::GetWebViewNavigationProxy() const {
28 return nil;
29 }
25 30
26 } // namespace web 31 } // namespace web
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698