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

Issue 2210933004: Settings Router Refactor: Kill settings-router. (Closed)

Created:
4 years, 4 months ago by tommycli
Modified:
4 years, 4 months ago
Reviewers:
Dan Beam, michaelpg
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, jlklein+watch-closure_chromium.org, michaelpg+watch-md-ui_chromium.org, arv+watch_chromium.org, vitalyp+closure_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, dbeam+watch-closure_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Settings Router Refactor: Kill settings-router. Use RouteObserverBehavior everywhere instead. BUG=632382 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation NOPRESUBMIT=true Committed: https://crrev.com/5b6b548e6ebc2374818b61e14cd315add717f71a Cr-Commit-Position: refs/heads/master@{#410228}

Patch Set 1 #

Patch Set 2 : fix #

Patch Set 3 : fix #

Patch Set 4 : fix test #

Patch Set 5 : merge #

Patch Set 6 : merge again #

Patch Set 7 : fix cros test #

Patch Set 8 : merge yet again because this conflicts with everything #

Total comments: 17

Patch Set 9 : address comments and merge #

Patch Set 10 : merge #

Patch Set 11 : fix merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -511 lines) Patch
M chrome/browser/resources/settings/about_page/about_page.html View 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/browser/resources/settings/about_page/about_page.js View 1 2 3 4 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/resources/settings/advanced_page/advanced_page.html View 1 2 3 4 5 7 chunks +14 lines, -26 lines 0 comments Download
M chrome/browser/resources/settings/advanced_page/advanced_page.js View 1 2 3 4 1 chunk +0 lines, -9 lines 0 comments Download
M chrome/browser/resources/settings/advanced_page/compiled_resources2.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/appearance_page/appearance_page.html View 1 2 3 4 5 6 7 8 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/resources/settings/appearance_page/appearance_page.js View 2 chunks +0 lines, -13 lines 0 comments Download
M chrome/browser/resources/settings/basic_page/basic_page.html View 1 2 3 4 2 chunks +13 lines, -26 lines 0 comments Download
M chrome/browser/resources/settings/basic_page/basic_page.js View 1 2 3 4 2 chunks +0 lines, -10 lines 0 comments Download
M chrome/browser/resources/settings/basic_page/compiled_resources2.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/bluetooth_page/bluetooth_page.html View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/resources/settings/bluetooth_page/bluetooth_page.js View 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/resources/settings/default_browser_page/default_browser_page.js View 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/resources/settings/device_page/device_page.html View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/resources/settings/device_page/device_page.js View 1 3 chunks +4 lines, -10 lines 0 comments Download
M chrome/browser/resources/settings/internet_page/internet_page.html View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/internet_page/internet_page.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/resources/settings/languages_page/languages_page.html View 1 2 3 4 5 6 7 8 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/resources/settings/languages_page/languages_page.js View 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/resources/settings/on_startup_page/on_startup_page.js View 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/resources/settings/passwords_and_forms_page/passwords_and_forms_page.html View 1 2 3 4 5 6 7 8 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/resources/settings/passwords_and_forms_page/passwords_and_forms_page.js View 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/resources/settings/people_page/compiled_resources2.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/people_page/people_page.html View 1 2 3 4 5 6 7 8 4 chunks +6 lines, -13 lines 0 comments Download
M chrome/browser/resources/settings/people_page/people_page.js View 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/resources/settings/people_page/quick_unlock_authenticate.js View 1 2 3 4 5 6 7 8 3 chunks +11 lines, -15 lines 0 comments Download
M chrome/browser/resources/settings/people_page/quick_unlock_choose_method.js View 1 2 3 4 5 6 7 8 4 chunks +5 lines, -12 lines 0 comments Download
M chrome/browser/resources/settings/people_page/quick_unlock_setup_pin.js View 1 4 chunks +11 lines, -18 lines 0 comments Download
M chrome/browser/resources/settings/people_page/sync_page.js View 1 5 chunks +8 lines, -15 lines 0 comments Download
M chrome/browser/resources/settings/printing_page/printing_page.html View 1 2 3 4 5 6 7 8 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/resources/settings/printing_page/printing_page.js View 1 2 3 4 5 6 7 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/resources/settings/privacy_page/privacy_page.html View 1 2 3 4 5 6 7 8 16 chunks +3 lines, -21 lines 0 comments Download
M chrome/browser/resources/settings/privacy_page/privacy_page.js View 1 2 3 4 5 6 7 8 3 chunks +7 lines, -19 lines 0 comments Download
M chrome/browser/resources/settings/route.js View 1 2 3 4 5 6 7 2 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/search_page/search_page.html View 1 2 3 4 5 6 7 8 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/resources/settings/search_page/search_page.js View 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/resources/settings/settings_main/compiled_resources2.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/settings_main/settings_main.html View 1 2 3 4 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/resources/settings/settings_main/settings_main.js View 1 2 3 4 5 6 7 8 4 chunks +7 lines, -18 lines 0 comments Download
M chrome/browser/resources/settings/settings_menu/compiled_resources2.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/settings_menu/settings_menu.js View 2 chunks +1 line, -10 lines 0 comments Download
M chrome/browser/resources/settings/settings_page/compiled_resources2.gyp View 1 2 3 4 5 6 7 8 9 2 chunks +1 line, -9 lines 0 comments Download
M chrome/browser/resources/settings/settings_page/main_page_behavior.html View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/settings_page/main_page_behavior.js View 1 2 3 4 5 6 7 8 9 3 chunks +3 lines, -11 lines 0 comments Download
M chrome/browser/resources/settings/settings_page/settings_animated_pages.js View 1 2 3 4 5 6 7 8 4 chunks +12 lines, -18 lines 0 comments Download
D chrome/browser/resources/settings/settings_page/settings_router.html View 1 chunk +0 lines, -5 lines 0 comments Download
D chrome/browser/resources/settings/settings_page/settings_router.js View 1 chunk +0 lines, -37 lines 0 comments Download
M chrome/browser/resources/settings/settings_page/settings_section.js View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/resources/settings/settings_resources.grd View 1 2 3 4 5 6 7 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/resources/settings/settings_ui/settings_ui.html View 3 chunks +2 lines, -7 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/all_sites.html View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/all_sites.js View 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/site_list.js View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/site_settings_category.html View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/site_settings_category.js View 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/resources/settings/site_settings_page/site_settings_page.js View 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/test/data/webui/settings/basic_page_browsertest.js View 1 2 3 4 5 1 chunk +2 lines, -6 lines 0 comments Download
M chrome/test/data/webui/settings/device_page_tests.js View 1 2 3 4 5 6 6 chunks +7 lines, -14 lines 0 comments Download
M chrome/test/data/webui/settings/languages_page_browsertest.js View 1 2 3 1 chunk +2 lines, -6 lines 0 comments Download
M chrome/test/data/webui/settings/people_page_sync_page_test.js View 1 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/test/data/webui/settings/site_list_tests.js View 1 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 50 (39 generated)
tommycli
dbeam: PTAL, thanks!
4 years, 4 months ago (2016-08-04 23:52:05 UTC) #25
Dan Beam
lgtm enjoy your conflicts! https://codereview.chromium.org/2210933004/diff/140001/chrome/browser/resources/settings/device_page/device_page.js File chrome/browser/resources/settings/device_page/device_page.js (right): https://codereview.chromium.org/2210933004/diff/140001/chrome/browser/resources/settings/device_page/device_page.js#newcode116 chrome/browser/resources/settings/device_page/device_page.js:116: /** @protected */ can this ...
4 years, 4 months ago (2016-08-05 18:25:19 UTC) #28
michaelpg
https://codereview.chromium.org/2210933004/diff/140001/chrome/browser/resources/settings/settings_page/settings_animated_pages.js File chrome/browser/resources/settings/settings_page/settings_animated_pages.js (left): https://codereview.chromium.org/2210933004/diff/140001/chrome/browser/resources/settings/settings_page/settings_animated_pages.js#oldcode49 chrome/browser/resources/settings/settings_page/settings_animated_pages.js:49: settings.navigateTo(this.currentRoute.parent); On 2016/08/05 18:25:19, Dan Beam wrote: > all ...
4 years, 4 months ago (2016-08-05 18:39:28 UTC) #29
tommycli
dbeam: thanks! https://codereview.chromium.org/2210933004/diff/140001/chrome/browser/resources/settings/device_page/device_page.js File chrome/browser/resources/settings/device_page/device_page.js (right): https://codereview.chromium.org/2210933004/diff/140001/chrome/browser/resources/settings/device_page/device_page.js#newcode116 chrome/browser/resources/settings/device_page/device_page.js:116: /** @protected */ On 2016/08/05 18:25:18, Dan ...
4 years, 4 months ago (2016-08-05 18:54:06 UTC) #32
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/2210933004/160001
4 years, 4 months ago (2016-08-05 19:06:20 UTC) #38
commit-bot: I haz the power
Failed to apply patch for chrome/browser/resources/settings/internet_page/internet_page.html: While running git apply --index -3 -p1; error: patch ...
4 years, 4 months ago (2016-08-05 19:40:03 UTC) #40
michaelpg
Doesn't seem to break anything (that's not already broken) -- no console errors or anything ...
4 years, 4 months ago (2016-08-05 19:43:43 UTC) #42
michaelpg
On 2016/08/05 19:43:43, michaelpg wrote: > Doesn't seem to break anything (that's not already broken) ...
4 years, 4 months ago (2016-08-05 19:43:54 UTC) #43
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/2210933004/200001
4 years, 4 months ago (2016-08-05 22:10:41 UTC) #46
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 4 months ago (2016-08-06 00:27:20 UTC) #48
commit-bot: I haz the power
4 years, 4 months ago (2016-08-06 00:29:10 UTC) #50
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/5b6b548e6ebc2374818b61e14cd315add717f71a
Cr-Commit-Position: refs/heads/master@{#410228}

Powered by Google App Engine
This is Rietveld 408576698