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

Unified Diff: ios/web/public/navigation_manager.h

Issue 2745873002: Created NavigationManager::CopyStateFromAndPrune(). (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « ios/web/navigation/navigation_manager_impl.mm ('k') | ios/web/public/test/fakes/test_navigation_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/public/navigation_manager.h
diff --git a/ios/web/public/navigation_manager.h b/ios/web/public/navigation_manager.h
index 10361b497599d3cd24c4df415fe61633c771c220..25c1206f1f0c77e7e78dc5c4413e5bb8d820d488 100644
--- a/ios/web/public/navigation_manager.h
+++ b/ios/web/public/navigation_manager.h
@@ -161,6 +161,10 @@ class NavigationManager {
// showing, initiates a new navigation to its URL.
virtual void Reload(bool check_for_repost) = 0;
+ // Inserts copies of |other_controller|'s NavigationItems to the front of this
+ // session history.
+ virtual void InsertStateFromManager(const NavigationManager* manager) = 0;
Eugene But (OOO till 7-30) 2017/03/11 00:27:47 Per my previous comments can we mirror content? Ma
+
// Forces the pending item to be loaded using desktop user agent. Note that
// the pending item may or may not already exist.
// TODO(crbug.com/692303): Remove this when overriding the user agent doesn't
« no previous file with comments | « ios/web/navigation/navigation_manager_impl.mm ('k') | ios/web/public/test/fakes/test_navigation_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698