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

Issue 2455113003: MD Settings: Fix Client Navigations to Search Query URLs (Closed)

Created:
4 years, 1 month ago by tommycli
Modified:
4 years, 1 month ago
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Settings: Fix Client Navigations to Search Query URLs Previously, ChromeOS client would navigate directly to URLs such as: chrome://settings/search#Bluetooth. This was a hack because Old Options did not have section routes. This CL replaces all those navigations with section URLs, such as: chrome://settings/bluetooth This is part of the legacy URL migration. The if-branches will be removed once Old Options is removed from Chrome. BUG=623587 Committed: https://crrev.com/d5c63244f585d1dfa18f9532c4882b1dea93488b Cr-Commit-Position: refs/heads/master@{#428215}

Patch Set 1 #

Patch Set 2 : merge #

Total comments: 4

Patch Set 3 : fix #

Total comments: 2

Patch Set 4 : fix #

Patch Set 5 : Fix implementation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -29 lines) Patch
M chrome/browser/interstitials/chrome_controller_client.cc View 1 2 3 2 chunks +1 line, -6 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_client.cc View 1 2 3 4 chunks +2 lines, -10 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.cc View 1 2 3 2 chunks +2 lines, -9 lines 0 comments Download
M chrome/browser/ui/chrome_pages.cc View 1 2 3 4 3 chunks +30 lines, -2 lines 0 comments Download
M chrome/common/url_constants.h View 1 1 chunk +4 lines, -1 line 0 comments Download
M chrome/common/url_constants.cc View 1 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 37 (18 generated)
tommycli
stevenjb: PTAL chrome/browser/ui/ash/system_tray_client.cc chrome/browser/ui/ash/system_tray_delegate_chromeos.cc chrome/common rsleevi: PTAL chrome/browser/interstitials/chrome_controller_client.cc Thanks all!
4 years, 1 month ago (2016-10-27 16:34:15 UTC) #10
Ryan Sleevi
Wrong reviewer? I'm not an owner for that file / have no knowledge of it ...
4 years, 1 month ago (2016-10-27 17:05:20 UTC) #11
tommycli
On 2016/10/27 17:05:20, Ryan Sleevi wrote: > Wrong reviewer? I'm not an owner for that ...
4 years, 1 month ago (2016-10-27 17:06:38 UTC) #12
tommycli
On 2016/10/27 17:06:38, tommycli wrote: > On 2016/10/27 17:05:20, Ryan Sleevi wrote: > > Wrong ...
4 years, 1 month ago (2016-10-27 17:06:49 UTC) #13
Ryan Sleevi
On 2016/10/27 17:06:49, tommycli wrote: > Oh that's odd, you seem to be in chrome/browser/interstitials/OWNERS ...
4 years, 1 month ago (2016-10-27 17:10:33 UTC) #14
Ryan Sleevi
https://codereview.chromium.org/2455113003/diff/20001/chrome/browser/interstitials/chrome_controller_client.cc File chrome/browser/interstitials/chrome_controller_client.cc (right): https://codereview.chromium.org/2455113003/diff/20001/chrome/browser/interstitials/chrome_controller_client.cc#newcode58 chrome/browser/interstitials/chrome_controller_client.cc:58: sub_page = chrome::kBluetoothSubPage; Date time https://codereview.chromium.org/2455113003/diff/20001/chrome/browser/interstitials/chrome_controller_client.cc#newcode62 chrome/browser/interstitials/chrome_controller_client.cc:62: l10n_util::GetStringUTF8(IDS_OPTIONS_SETTINGS_SECTION_TITLE_BLUETOOTH); Shouldn't ...
4 years, 1 month ago (2016-10-27 17:11:12 UTC) #15
tommycli
On 2016/10/27 17:10:33, Ryan Sleevi wrote: > On 2016/10/27 17:06:49, tommycli wrote: > > Oh ...
4 years, 1 month ago (2016-10-27 17:11:48 UTC) #16
tommycli
rsleevi: Thanks! https://codereview.chromium.org/2455113003/diff/20001/chrome/browser/interstitials/chrome_controller_client.cc File chrome/browser/interstitials/chrome_controller_client.cc (right): https://codereview.chromium.org/2455113003/diff/20001/chrome/browser/interstitials/chrome_controller_client.cc#newcode58 chrome/browser/interstitials/chrome_controller_client.cc:58: sub_page = chrome::kBluetoothSubPage; On 2016/10/27 17:11:12, Ryan ...
4 years, 1 month ago (2016-10-27 17:14:03 UTC) #17
Ryan Sleevi
lgtm
4 years, 1 month ago (2016-10-27 17:16:17 UTC) #18
stevenjb
lgtm as-is or with suggested change. https://codereview.chromium.org/2455113003/diff/40001/chrome/browser/interstitials/chrome_controller_client.cc File chrome/browser/interstitials/chrome_controller_client.cc (right): https://codereview.chromium.org/2455113003/diff/40001/chrome/browser/interstitials/chrome_controller_client.cc#newcode63 chrome/browser/interstitials/chrome_controller_client.cc:63: } Optional suggestion: ...
4 years, 1 month ago (2016-10-27 19:10:56 UTC) #19
tommycli
stevenjb: Thanks! New version is indeed cleaner. rsleevi: Thank you as well! https://codereview.chromium.org/2455113003/diff/40001/chrome/browser/interstitials/chrome_controller_client.cc File chrome/browser/interstitials/chrome_controller_client.cc ...
4 years, 1 month ago (2016-10-27 21:03:50 UTC) #22
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/2455113003/80001
4 years, 1 month ago (2016-10-27 21:06:48 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/291401)
4 years, 1 month ago (2016-10-27 21:21:15 UTC) #27
tommycli
thestig: PTAL changes to chrome/browser/ui/chrome_pages.cc thanks!
4 years, 1 month ago (2016-10-27 22:08:11 UTC) #29
Lei Zhang
lgtm
4 years, 1 month ago (2016-10-27 22:17:11 UTC) #30
tommycli
On 2016/10/27 22:17:11, Lei Zhang wrote: > lgtm thanks!
4 years, 1 month ago (2016-10-27 22:19:14 UTC) #31
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/2455113003/80001
4 years, 1 month ago (2016-10-27 22:19:59 UTC) #33
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 1 month ago (2016-10-27 23:36:59 UTC) #35
commit-bot: I haz the power
4 years, 1 month ago (2016-10-27 23:39:41 UTC) #37
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/d5c63244f585d1dfa18f9532c4882b1dea93488b
Cr-Commit-Position: refs/heads/master@{#428215}

Powered by Google App Engine
This is Rietveld 408576698