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

Side by Side Diff: ios/web/public/test/test_navigation_manager.h

Issue 2606873002: Move the offline URL trimming to GetFormattedURL. (Closed)
Patch Set: fix DEPS Created 3 years, 11 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_PUBLIC_TEST_TEST_NAVIGATION_MANAGER_H_ 5 #ifndef IOS_WEB_PUBLIC_TEST_TEST_NAVIGATION_MANAGER_H_
6 #define IOS_WEB_PUBLIC_TEST_TEST_NAVIGATION_MANAGER_H_ 6 #define IOS_WEB_PUBLIC_TEST_TEST_NAVIGATION_MANAGER_H_
7 7
8 #import "ios/web/public/navigation_manager.h" 8 #import "ios/web/public/navigation_manager.h"
9 9
10 namespace web { 10 namespace web {
(...skipping 25 matching lines...) Expand all
36 bool CanGoForward() const override; 36 bool CanGoForward() const override;
37 bool CanGoToOffset(int offset) const override; 37 bool CanGoToOffset(int offset) const override;
38 void GoBack() override; 38 void GoBack() override;
39 void GoForward() override; 39 void GoForward() override;
40 void GoToIndex(int index) override; 40 void GoToIndex(int index) override;
41 void Reload(bool check_for_reposts) override; 41 void Reload(bool check_for_reposts) override;
42 42
43 // Setters for test data. 43 // Setters for test data.
44 void SetLastCommittedItem(NavigationItem* item); 44 void SetLastCommittedItem(NavigationItem* item);
45 void SetPendingItem(NavigationItem* item); 45 void SetPendingItem(NavigationItem* item);
46 void SetVisibleItem(NavigationItem* item);
46 47
47 private: 48 private:
48 NavigationItem* pending_item_; 49 NavigationItem* pending_item_;
49 NavigationItem* last_committed_item_; 50 NavigationItem* last_committed_item_;
51 NavigationItem* visible_item_;
50 }; 52 };
51 53
52 } // namespace web 54 } // namespace web
53 55
54 #endif 56 #endif
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/toolbar/web_toolbar_controller.mm ('k') | ios/web/public/test/test_navigation_manager.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698