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

Unified Diff: ios/web/navigation/navigation_manager_impl.h

Issue 2711683002: (Set)IsOverridingUserAgent should be called on VisibleItem (Closed)
Patch Set: Addressed feedback 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
« no previous file with comments | « ios/web/navigation/crw_session_controller.mm ('k') | ios/web/navigation/navigation_manager_impl.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/navigation/navigation_manager_impl.h
diff --git a/ios/web/navigation/navigation_manager_impl.h b/ios/web/navigation/navigation_manager_impl.h
index 11663bd8a2d402c64e304fc04f87860d430cc48d..f869c8c2ee53fbb51dea7abcdb5281e73610fbae 100644
--- a/ios/web/navigation/navigation_manager_impl.h
+++ b/ios/web/navigation/navigation_manager_impl.h
@@ -145,6 +145,10 @@ class NavigationManagerImpl : public NavigationManager {
void Reload(bool check_for_reposts) override;
void OverrideDesktopUserAgentForNextPendingItem() override;
+ // Whether or not desktop user agent is used for the currently loaded page.
+ // Returns true, if use a desktop user agent and false for a mobile one.
+ bool GetUseDesktopUserAgent() const;
kkhorimoto 2017/02/22 01:54:33 This should also be moved to the public Navigation
liaoyuke 2017/02/22 02:55:24 Done.
+
// Returns the current list of transient url rewriters, passing ownership to
// the caller.
// TODO(crbug.com/546197): remove once NavigationItem creation occurs in this
« no previous file with comments | « ios/web/navigation/crw_session_controller.mm ('k') | ios/web/navigation/navigation_manager_impl.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698