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

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

Issue 2698773002: [iOS] Refactoring web CRWSessionController user agent code. (Closed)
Patch Set: Created 3 years, 10 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/public/navigation_manager.h
diff --git a/ios/web/public/navigation_manager.h b/ios/web/public/navigation_manager.h
index f3e106dcba6f44cfdc9a75fd19ffc1dd53c25696..26053ef5978cc9d176934556e611df5e024a713b 100644
--- a/ios/web/public/navigation_manager.h
+++ b/ios/web/public/navigation_manager.h
@@ -148,6 +148,11 @@ class NavigationManager {
// reload the page. In nearly all cases pass in true. If a transient item is
// showing, initiates a new navigation to its URL.
virtual void Reload(bool check_for_repost) = 0;
+
+ // Forces the pending item to be loaded using desktop user agent. Note that
+ // the pending item may or may not already exist.
+ // Removes this method once crbug.com/692303 is fixed.
kkhorimoto 2017/02/15 23:02:06 Please reformat this comment as a todo: TODO(crbu
liaoyuke 2017/02/16 01:49:05 Done.
+ virtual void OverrideDesktopUserAgentForNextPendingItem() = 0;
};
} // namespace web

Powered by Google App Engine
This is Rietveld 408576698