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

Issue 2822003002: Re-land "Replace requirePageReconstruction with setCustomUserAgent" (Closed)

Created:
3 years, 8 months ago by liaoyuke
Modified:
3 years, 8 months ago
CC:
chromium-reviews, ios-reviews+chrome_chromium.org, ios-reviews_chromium.org, Eugene But (OOO till 7-30), pkl (ping after 24h if needed), ios-reviews+web_chromium.org, noyau+watch_chromium.org, marq+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Re-land "Replace requirePageReconstruction with setCustomUserAgent" This CL re-lands the "Replace requirePageReconstruction with setCustomUserAgent" CL. The following is the original CL descriptions: WKWebView provides a property: customUserAgent that we can use to change the user agent associated with the web view, which means that we don't have to requirePageConstruction anymore when user agent changes. After applying this change, I observed that it's becoming significantly faster to navigate between desktop and mobile pages during back and forward navigations. BUG=707368 Review-Url: https://codereview.chromium.org/2822003002 Cr-Commit-Position: refs/heads/master@{#465042} Committed: https://chromium.googlesource.com/chromium/src/+/b1688d0107c311a09b0bfb03df0b81ab9b21afc0

Patch Set 1 #

Patch Set 2 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -49 lines) Patch
M ios/chrome/browser/tabs/tab.mm View 1 chunk +0 lines, -3 lines 0 comments Download
M ios/web/web_state/ui/crw_web_controller.h View 1 chunk +0 lines, -8 lines 0 comments Download
M ios/web/web_state/ui/crw_web_controller.mm View 7 chunks +36 lines, -24 lines 0 comments Download
M ios/web/web_state/web_view_internal_creation_util.h View 3 chunks +4 lines, -2 lines 0 comments Download
M ios/web/web_state/web_view_internal_creation_util.mm View 1 3 chunks +9 lines, -11 lines 0 comments Download
M ios/web/web_view_creation_util.mm View 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 13 (8 generated)
liaoyuke
Hey Eugene, Kurt, PTAL. Here is what went wrong: In CRWWebCOntroller, I replaced BOOL usesDesktopUserAgent ...
3 years, 8 months ago (2017-04-17 20:40:09 UTC) #2
kkhorimoto
lgtm
3 years, 8 months ago (2017-04-17 20:48:18 UTC) #3
Eugene But (OOO till 7-30)
lgtm
3 years, 8 months ago (2017-04-17 21:22:08 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2822003002/20001
3 years, 8 months ago (2017-04-17 22:14:16 UTC) #10
commit-bot: I haz the power
3 years, 8 months ago (2017-04-17 22:18:35 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/b1688d0107c311a09b0bfb03df0b...

Powered by Google App Engine
This is Rietveld 408576698