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

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

Issue 2957163002: [Navigation Experiment] Add WKBasedNavigationManagerImpl. (Closed)
Patch Set: Patch for landing 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 #ifndef IOS_WEB_TEST_FAKES_TEST_NAVIGATION_MANAGER_DELEGATE_H_ 5 #ifndef IOS_WEB_TEST_FAKES_TEST_NAVIGATION_MANAGER_DELEGATE_H_
6 #define IOS_WEB_TEST_FAKES_TEST_NAVIGATION_MANAGER_DELEGATE_H_ 6 #define IOS_WEB_TEST_FAKES_TEST_NAVIGATION_MANAGER_DELEGATE_H_
7 7
8 #import "ios/web/navigation/navigation_manager_delegate.h" 8 #import "ios/web/navigation/navigation_manager_delegate.h"
9 9
10 @protocol CRWWebViewNavigationProxy;
11
10 namespace web { 12 namespace web {
11 13
12 class TestNavigationManagerDelegate : public NavigationManagerDelegate { 14 class TestNavigationManagerDelegate : public NavigationManagerDelegate {
13 public: 15 public:
14 void GoToIndex(int index) override; 16 void GoToIndex(int index) override;
15 void LoadURLWithParams(const NavigationManager::WebLoadParams&) override; 17 void LoadURLWithParams(const NavigationManager::WebLoadParams&) override;
16 void Reload() override; 18 void Reload() override;
17 void OnNavigationItemsPruned(size_t pruned_item_count) override; 19 void OnNavigationItemsPruned(size_t pruned_item_count) override;
18 void OnNavigationItemChanged() override; 20 void OnNavigationItemChanged() override;
19 void OnNavigationItemCommitted( 21 void OnNavigationItemCommitted(
20 const LoadCommittedDetails& load_details) override; 22 const LoadCommittedDetails& load_details) override;
21 WebState* GetWebState() override; 23 WebState* GetWebState() override;
24 id<CRWWebViewNavigationProxy> GetWebViewNavigationProxy() const override;
22 }; 25 };
23 26
24 } // namespace web 27 } // namespace web
25 28
26 #endif // IOS_WEB_TEST_FAKES_TEST_NAVIGATION_MANAGER_DELEGATE_H_ 29 #endif // IOS_WEB_TEST_FAKES_TEST_NAVIGATION_MANAGER_DELEGATE_H_
OLDNEW
« no previous file with comments | « ios/web/navigation/wk_based_navigation_manager_impl.mm ('k') | ios/web/test/fakes/test_navigation_manager_delegate.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698