New issue
Advanced search Search tips

Issue 697512 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Task



Sign in to add a comment

Use UserAgentType enum for NavigationEntry

Project Member Reported by kkhorimoto@chromium.org, Mar 1 2017

Issue description

https://codereview.chromium.org/2705293014/ introduces an enum type to describe which type of user agent is used for a particular NavigationItem in the iOS web layer (MOBILE, DESKTOP, or NONE).  The primary motivation for this is to have more accurate information in the model objects, as the user agent is not actually sent for native pages since they are not loaded via HTTP requests.  Additionally, this helps clean up logic for when to display the "Request Desktop/Mobile Site" option, and whether or not that option should be displayed.
 
Cc: liaoyuke@chromium.org
Cc: kkhorimoto@chromium.org
Owner: mrefaat@chromium.org
Labels: -Type-Bug Type-Task

Sign in to add a comment