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

Issue 2029263002: [MD Settings] Add feature to enable md-settings by default. (Closed)

Created:
4 years, 6 months ago by groby-ooo-7-16
Modified:
4 years, 6 months ago
Reviewers:
Nico, Dan Beam, Moe
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[MD Settings] Add feature to enable md-settings by default. chrome://settings will serve either old settings or md-settings, depending on flag. chrome://settings-frame will always serve old settings. chrome://md-settings will serve new settings, unless the flag is off. BUG=614758 Committed: https://crrev.com/12483f26c404123844df38d8e8083c1d6dde1426 Cr-Commit-Position: refs/heads/master@{#399640}

Patch Set 1 #

Total comments: 14

Patch Set 2 : Review fixes. #

Total comments: 6

Patch Set 3 : Review fixes. #

Patch Set 4 : Moar review fixes. #

Total comments: 7

Patch Set 5 : One last fix... #

Total comments: 2

Patch Set 6 : Rebase to HEAD #

Patch Set 7 : git rebase --for-real-no-I-mean-it HEAD #

Patch Set 8 : Removing unneeded file. #

Patch Set 9 : Fix URL CHECK statement. (Use URL, not Host) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -35 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 14 chunks +18 lines, -29 lines 0 comments Download
M chrome/browser/browser_about_handler.cc View 1 2 3 4 5 6 1 chunk +8 lines, -2 lines 0 comments Download
M chrome/browser/profiles/profile_window.cc View 1 2 3 4 5 6 2 chunks +9 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/settings/md_settings_ui.cc View 1 2 3 4 5 6 7 8 3 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/uber/uber_ui.cc View 1 2 3 4 5 6 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/uber/uber_ui_browsertest.cc View 1 2 3 2 chunks +13 lines, -0 lines 0 comments Download
M chrome/common/chrome_features.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/chrome_features.cc View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 57 (17 generated)
groby-ooo-7-16
Here's the other approach to do this - I'll close https://codereview.chromium.org/2027813003/ https://codereview.chromium.org/2029263002/diff/1/chrome/browser/ui/webui/settings/md_settings_ui.cc File chrome/browser/ui/webui/settings/md_settings_ui.cc (right): ...
4 years, 6 months ago (2016-06-01 20:46:30 UTC) #3
Dan Beam
fun fact: you also need to shoehorn in the new MD user manager on this ...
4 years, 6 months ago (2016-06-01 20:52:57 UTC) #4
Dan Beam
https://codereview.chromium.org/2029263002/diff/1/chrome/browser/browser_about_handler.cc File chrome/browser/browser_about_handler.cc (right): https://codereview.chromium.org/2029263002/diff/1/chrome/browser/browser_about_handler.cc#newcode98 chrome/browser/browser_about_handler.cc:98: } else { can't this just be: } else ...
4 years, 6 months ago (2016-06-01 20:54:50 UTC) #5
Dan Beam
https://codereview.chromium.org/2029263002/diff/1/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc File chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc (right): https://codereview.chromium.org/2029263002/diff/1/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc#newcode416 chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc:416: return &NewWebUI<settings::MdSettingsUI>; i think it'd make sense to do ...
4 years, 6 months ago (2016-06-01 20:59:49 UTC) #6
Dan Beam
On 2016/06/01 20:52:57, Dan Beam wrote: > fun fact: you also need to shoehorn in ...
4 years, 6 months ago (2016-06-01 21:01:10 UTC) #7
groby-ooo-7-16
I like "luck you" - I'll add it to my repertoire ;) https://codereview.chromium.org/2029263002/diff/1/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc File chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc ...
4 years, 6 months ago (2016-06-01 23:29:36 UTC) #8
Dan Beam
https://codereview.chromium.org/2029263002/diff/1/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc File chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc (right): https://codereview.chromium.org/2029263002/diff/1/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc#newcode416 chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc:416: return &NewWebUI<settings::MdSettingsUI>; On 2016/06/01 23:29:35, groby wrote: > On ...
4 years, 6 months ago (2016-06-01 23:38:32 UTC) #9
Dan Beam
what does "chrome://md-settings will serve new settings, unless the flag is off." mean? shouldn't md-settings ...
4 years, 6 months ago (2016-06-02 19:31:20 UTC) #10
groby-ooo-7-16
On 2016/06/02 19:31:20, Dan Beam wrote: > what does "chrome://md-settings will serve new settings, unless ...
4 years, 6 months ago (2016-06-02 19:43:44 UTC) #11
groby-ooo-7-16
On 2016/06/01 20:52:57, Dan Beam wrote: > fun fact: you also need to shoehorn in ...
4 years, 6 months ago (2016-06-02 20:00:56 UTC) #12
Dan Beam
On 2016/06/02 19:43:44, groby wrote: > On 2016/06/02 19:31:20, Dan Beam wrote: > > what ...
4 years, 6 months ago (2016-06-02 21:37:26 UTC) #13
Dan Beam
On 2016/06/02 20:00:56, groby wrote: > On 2016/06/01 20:52:57, Dan Beam wrote: > > fun ...
4 years, 6 months ago (2016-06-02 21:38:10 UTC) #14
groby-ooo-7-16
Fixes are in. Pretty much works, except for one oddity: If your homepage settings are ...
4 years, 6 months ago (2016-06-02 23:03:53 UTC) #15
Dan Beam
otherwise this seems fine to me, but where does the user manager come in? https://codereview.chromium.org/2029263002/diff/20001/chrome/browser/browser_about_handler.cc ...
4 years, 6 months ago (2016-06-03 03:01:43 UTC) #16
groby-ooo-7-16
PTAL - dbeam: webui nico: not webui https://codereview.chromium.org/2029263002/diff/20001/chrome/browser/browser_about_handler.cc File chrome/browser/browser_about_handler.cc (right): https://codereview.chromium.org/2029263002/diff/20001/chrome/browser/browser_about_handler.cc#newcode108 chrome/browser/browser_about_handler.cc:108: } else ...
4 years, 6 months ago (2016-06-06 20:11:59 UTC) #18
Dan Beam
looks really good to me, just one last question in chrome_web_ui_controller_factory.cc https://codereview.chromium.org/2029263002/diff/60001/chrome/browser/profiles/profile_window.cc File chrome/browser/profiles/profile_window.cc (right): ...
4 years, 6 months ago (2016-06-07 00:25:08 UTC) #19
groby-ooo-7-16
https://codereview.chromium.org/2029263002/diff/60001/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc File chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc (right): https://codereview.chromium.org/2029263002/diff/60001/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc#newcode513 chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc:513: if (url.host() == chrome::kChromeUIUserManagerHost) On 2016/06/07 00:25:08, Dan Beam ...
4 years, 6 months ago (2016-06-07 00:27:39 UTC) #20
Dan Beam
https://codereview.chromium.org/2029263002/diff/60001/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc File chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc (right): https://codereview.chromium.org/2029263002/diff/60001/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc#newcode513 chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc:513: if (url.host() == chrome::kChromeUIUserManagerHost) On 2016/06/07 00:27:39, groby wrote: ...
4 years, 6 months ago (2016-06-07 00:32:36 UTC) #21
groby-ooo-7-16
https://codereview.chromium.org/2029263002/diff/60001/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc File chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc (right): https://codereview.chromium.org/2029263002/diff/60001/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc#newcode513 chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc:513: if (url.host() == chrome::kChromeUIUserManagerHost) On 2016/06/07 00:32:36, Dan Beam ...
4 years, 6 months ago (2016-06-08 00:22:41 UTC) #22
Dan Beam
https://codereview.chromium.org/2029263002/diff/60001/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc File chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc (right): https://codereview.chromium.org/2029263002/diff/60001/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc#newcode513 chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc:513: if (url.host() == chrome::kChromeUIUserManagerHost) On 2016/06/08 00:22:41, groby wrote: ...
4 years, 6 months ago (2016-06-08 00:24:25 UTC) #24
groby-ooo-7-16
On 2016/06/08 00:24:25, Dan Beam wrote: > https://codereview.chromium.org/2029263002/diff/60001/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc > File chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc (right): > > https://codereview.chromium.org/2029263002/diff/60001/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc#newcode513 ...
4 years, 6 months ago (2016-06-08 00:28:16 UTC) #25
Dan Beam
On 2016/06/08 00:28:16, groby wrote: > On 2016/06/08 00:24:25, Dan Beam wrote: > > > ...
4 years, 6 months ago (2016-06-08 00:33:25 UTC) #26
Moe
On 2016/06/08 00:33:25, Dan Beam wrote: > On 2016/06/08 00:28:16, groby wrote: > > On ...
4 years, 6 months ago (2016-06-08 12:38:54 UTC) #27
groby-ooo-7-16
On 2016/06/08 12:38:54, Moe wrote: > On 2016/06/08 00:33:25, Dan Beam wrote: > > On ...
4 years, 6 months ago (2016-06-08 16:47:01 UTC) #28
Moe
On 2016/06/08 16:47:01, groby wrote: > On 2016/06/08 12:38:54, Moe wrote: > > On 2016/06/08 ...
4 years, 6 months ago (2016-06-08 16:51:03 UTC) #29
groby-ooo-7-16
Nico: Friendly ping for non-webui code? http://i.imgur.com/4xPF0P9.gif https://codereview.chromium.org/2029263002/diff/60001/chrome/browser/profiles/profile_window.cc File chrome/browser/profiles/profile_window.cc (right): https://codereview.chromium.org/2029263002/diff/60001/chrome/browser/profiles/profile_window.cc#newcode137 chrome/browser/profiles/profile_window.cc:137: bool useMaterialDesignUserManager ...
4 years, 6 months ago (2016-06-09 00:18:24 UTC) #30
Dan Beam
ping thakis@
4 years, 6 months ago (2016-06-10 00:47:44 UTC) #31
Nico
lgtm https://codereview.chromium.org/2029263002/diff/80001/chrome/browser/browser_about_handler.cc File chrome/browser/browser_about_handler.cc (right): https://codereview.chromium.org/2029263002/diff/80001/chrome/browser/browser_about_handler.cc#newcode93 chrome/browser/browser_about_handler.cc:93: if (::switches::AboutInSettingsEnabled()) { this looks a bit funny ...
4 years, 6 months ago (2016-06-10 18:41:27 UTC) #32
groby-ooo-7-16
https://codereview.chromium.org/2029263002/diff/80001/chrome/browser/browser_about_handler.cc File chrome/browser/browser_about_handler.cc (right): https://codereview.chromium.org/2029263002/diff/80001/chrome/browser/browser_about_handler.cc#newcode93 chrome/browser/browser_about_handler.cc:93: if (::switches::AboutInSettingsEnabled()) { On 2016/06/10 18:41:27, Nico (traveling...slow) wrote: ...
4 years, 6 months ago (2016-06-10 20:58:18 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2029263002/80001
4 years, 6 months ago (2016-06-10 20:59:05 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/19654) ios-device-gn on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 6 months ago (2016-06-10 21:03:08 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2029263002/100001
4 years, 6 months ago (2016-06-13 17:13:11 UTC) #41
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/20252) ios-simulator-gn on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 6 months ago (2016-06-13 17:16:21 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2029263002/140001
4 years, 6 months ago (2016-06-13 20:37:23 UTC) #46
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/243601)
4 years, 6 months ago (2016-06-13 21:09:29 UTC) #48
groby-ooo-7-16
On 2016/06/13 21:09:29, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 6 months ago (2016-06-14 02:07:48 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2029263002/160001
4 years, 6 months ago (2016-06-14 02:08:11 UTC) #52
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 6 months ago (2016-06-14 02:13:03 UTC) #54
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-14 02:13:11 UTC) #55
commit-bot: I haz the power
4 years, 6 months ago (2016-06-14 03:40:13 UTC) #57
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/12483f26c404123844df38d8e8083c1d6dde1426
Cr-Commit-Position: refs/heads/master@{#399640}

Powered by Google App Engine
This is Rietveld 408576698