New issue
Advanced search Search tips

Issue 693800 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 1
Type: Bug

Blocking:
issue 678047



Sign in to add a comment

NavigationManager should encapsulate VisibleItem for accessing IsOverridingUserAgent() and SetIsOverridingUserAgent()

Project Member Reported by liaoyuke@chromium.org, Feb 18 2017

Issue description

To access IsOverridingUserAgent() and SetIsOverridingUserAgent() of visible item.

Instead of doing:
web::NavigationItemImpl* visible_item = navigation_manager->GetVisibleItem();
visible_item->SetIsOverridingUserAgent(true);

We should do:
navigation_manager->SetUseDesktopUserAgent(true);

where we encapsulate visible item to provide one more layer of abstraction.

 
Labels: OS-iOS
Status: WontFix (was: Assigned)
It turns out this approach is error prone, so won't fix.

Sign in to add a comment