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

Issue 2789433006: Implement request mobile site. (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, pkl (ping after 24h if needed), ios-reviews+web_chromium.org, noyau+watch_chromium.org, marq+watch_chromium.org, sdefresne+watch_chromium.org, sczs, rohitrao (ping after 24h)
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement request mobile site. This CL implements the "Request Mobile Site" functionality to enable switching from the desktop version of a page to mobile version. BUG=678047 Review-Url: https://codereview.chromium.org/2789433006 Cr-Commit-Position: refs/heads/master@{#464046} Committed: https://chromium.googlesource.com/chromium/src/+/6ab36201c67153ba617a6a9817e22bc3d303f927

Patch Set 1 #

Patch Set 2 : Address self review comments #

Total comments: 34

Patch Set 3 : Address comments #

Total comments: 2

Patch Set 4 : Address comments #

Patch Set 5 : Rebase #

Patch Set 6 : Update unit tests to reflect the changed behaviors #

Patch Set 7 : Fix failing eg tests on iPad. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+356 lines, -186 lines) Patch
M ios/chrome/browser/tabs/BUILD.gn View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M ios/chrome/browser/tabs/tab.h View 1 2 2 chunks +5 lines, -3 lines 0 comments Download
M ios/chrome/browser/tabs/tab.mm View 1 2 3 chunks +37 lines, -12 lines 0 comments Download
M ios/chrome/browser/ui/browser_view_controller.mm View 1 2 3 4 3 chunks +2 lines, -19 lines 0 comments Download
M ios/chrome/browser/ui/tools_menu/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A ios/chrome/browser/ui/tools_menu/request_desktop_mobile_site_egtest.mm View 1 2 3 4 5 6 1 chunk +293 lines, -0 lines 0 comments Download
M ios/chrome/browser/ui/tools_menu/tools_menu_configuration.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M ios/chrome/browser/ui/tools_menu/tools_menu_model.h View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/tools_menu/tools_menu_model.mm View 3 chunks +3 lines, -14 lines 0 comments Download
M ios/chrome/browser/ui/tools_menu/tools_menu_view_controller.mm View 2 chunks +0 lines, -10 lines 0 comments Download
M ios/chrome/browser/ui/tools_menu/tools_menu_view_controller_unittest.mm View 1 2 3 4 5 1 chunk +6 lines, -6 lines 0 comments Download
M ios/chrome/browser/ui/tools_menu/tools_popup_menu_egtest.mm View 1 2 3 4 chunks +1 line, -96 lines 0 comments Download
M ios/testing/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
D ios/testing/data/http_server_files/request_desktop_test_page.html View 1 chunk +0 lines, -20 lines 0 comments Download
A + ios/testing/data/http_server_files/user_agent_test_page.html View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 36 (22 generated)
liaoyuke
Last CL. TPAL! Thank you very much!
3 years, 8 months ago (2017-04-07 19:04:16 UTC) #5
liaoyuke
CC Sergio and Rohit who are working on refactoring tools popup menu.
3 years, 8 months ago (2017-04-07 19:05:21 UTC) #6
liaoyuke
PTAL. Thank you very much!
3 years, 8 months ago (2017-04-10 22:35:53 UTC) #7
Eugene But (OOO till 7-30)
On 2017/04/10 22:35:53, liaoyuke wrote: > PTAL. > > Thank you very much! Sorry for ...
3 years, 8 months ago (2017-04-11 00:13:40 UTC) #8
kkhorimoto
lgtm with a couple nits. sorry for the delay! https://codereview.chromium.org/2789433006/diff/60001/ios/chrome/browser/tabs/tab.h File ios/chrome/browser/tabs/tab.h (right): https://codereview.chromium.org/2789433006/diff/60001/ios/chrome/browser/tabs/tab.h#newcode242 ios/chrome/browser/tabs/tab.h:242: ...
3 years, 8 months ago (2017-04-11 01:09:42 UTC) #9
Eugene But (OOO till 7-30)
Generally looks good. Have a few minor comments. https://codereview.chromium.org/2789433006/diff/60001/ios/chrome/browser/tabs/tab.h File ios/chrome/browser/tabs/tab.h (right): https://codereview.chromium.org/2789433006/diff/60001/ios/chrome/browser/tabs/tab.h#newcode242 ios/chrome/browser/tabs/tab.h:242: // ...
3 years, 8 months ago (2017-04-11 02:11:57 UTC) #10
sczs
Just a quick comment, when trying to understand the new feature I realized that ToolsMenuContext ...
3 years, 8 months ago (2017-04-11 02:26:55 UTC) #12
Eugene But (OOO till 7-30)
On 2017/04/11 02:26:55, sczs wrote: > Just a quick comment, when trying to understand the ...
3 years, 8 months ago (2017-04-11 14:41:39 UTC) #13
liaoyuke
On 2017/04/11 14:41:39, Eugene But wrote: > On 2017/04/11 02:26:55, sczs wrote: > > Just ...
3 years, 8 months ago (2017-04-11 17:25:07 UTC) #14
liaoyuke
Thanks for catching the header Sergio! Thanks Eugene, it's also good to know there is ...
3 years, 8 months ago (2017-04-11 18:27:21 UTC) #16
Eugene But (OOO till 7-30)
lgtm! https://codereview.chromium.org/2789433006/diff/60001/ios/chrome/browser/ui/tools_menu/tools_popup_menu_egtest.mm File ios/chrome/browser/ui/tools_menu/tools_popup_menu_egtest.mm (right): https://codereview.chromium.org/2789433006/diff/60001/ios/chrome/browser/ui/tools_menu/tools_popup_menu_egtest.mm#newcode320 ios/chrome/browser/ui/tools_menu/tools_popup_menu_egtest.mm:320: // Tests requesting desktop site works correctly for ...
3 years, 8 months ago (2017-04-11 22:21:19 UTC) #17
liaoyuke
Thank you very much for reviewing! https://codereview.chromium.org/2789433006/diff/60001/ios/chrome/browser/ui/tools_menu/tools_popup_menu_egtest.mm File ios/chrome/browser/ui/tools_menu/tools_popup_menu_egtest.mm (right): https://codereview.chromium.org/2789433006/diff/60001/ios/chrome/browser/ui/tools_menu/tools_popup_menu_egtest.mm#newcode320 ios/chrome/browser/ui/tools_menu/tools_popup_menu_egtest.mm:320: // Tests requesting ...
3 years, 8 months ago (2017-04-12 00:26:18 UTC) #18
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/2789433006/180001
3 years, 8 months ago (2017-04-12 16:01:40 UTC) #33
commit-bot: I haz the power
3 years, 8 months ago (2017-04-12 16:11:03 UTC) #36
Message was sent while issue was closed.
Committed patchset #7 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/6ab36201c67153ba617a6a9817e2...

Powered by Google App Engine
This is Rietveld 408576698