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

Issue 2106103006: MD Settings: cr/cros - Guest mode page visibility (Closed)

Created:
4 years, 5 months ago by Moe
Modified:
4 years, 4 months ago
Reviewers:
*michaelpg, dpapad
CC:
arv+watch_chromium.org, chromium-reviews, dbeam+watch-elements_chromium.org, dbeam+watch-closure_chromium.org, dbeam+watch-settings_chromium.org, jlklein+watch-closure_chromium.org, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, michaelpg+watch-elements_chromium.org, oshima+watch_chromium.org, stevenjb+watch-md-settings_chromium.org, vitalyp+closure_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: cr/cros - Guest mode page visibility BUG=604517 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation;master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/369fb42299c568256ce9c8821967b9c413ea4151 Cr-Commit-Position: refs/heads/master@{#408112}

Patch Set 1 #

Patch Set 2 : Itr#2 #

Total comments: 25

Patch Set 3 : Addressed comments #

Total comments: 3

Patch Set 4 : Addressed comments #

Total comments: 4

Patch Set 5 : Left out settings_router and fixed broken tests #

Total comments: 14

Patch Set 6 : Addressed comments + took out cr_element parts #

Total comments: 16

Patch Set 7 : Addressed comments + bug fix #

Total comments: 10

Patch Set 8 : Addressed comments #

Total comments: 13

Patch Set 9 : rebase #

Patch Set 10 : Addressed comments #

Total comments: 5

Patch Set 11 : Addressed comments + rebase + fixed broken tests #

Patch Set 12 : rebase after overscrollHeight_() fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+277 lines, -50 lines) Patch
M chrome/browser/resources/settings/advanced_page/advanced_page.html View 1 2 3 4 5 6 3 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/appearance_page/appearance_page.html View 1 2 3 4 5 6 7 8 9 10 4 chunks +17 lines, -9 lines 0 comments Download
M chrome/browser/resources/settings/appearance_page/appearance_page.js View 1 2 3 4 5 6 7 8 9 10 2 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/appearance_page/compiled_resources2.gyp View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/settings/basic_page/basic_page.html View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/date_time_page/compiled_resources2.gyp View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/date_time_page/date_time_page.html View 1 2 3 4 5 6 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/date_time_page/date_time_page.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/downloads_page/compiled_resources2.gyp View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/settings/downloads_page/downloads_page.html View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/downloads_page/downloads_page.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/languages_page/languages_page.js View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/privacy_page/compiled_resources2.gyp View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/privacy_page/privacy_page.html View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/privacy_page/privacy_page.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/settings_main/compiled_resources2.gyp View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/settings_main/settings_main.html View 1 2 3 4 5 6 7 8 9 10 1 chunk +18 lines, -13 lines 0 comments Download
M chrome/browser/resources/settings/settings_main/settings_main.js View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +26 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/settings_menu/compiled_resources2.gyp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/settings/settings_menu/settings_menu.html View 1 2 3 4 5 6 5 chunks +15 lines, -7 lines 0 comments Download
M chrome/browser/resources/settings/settings_menu/settings_menu.js View 1 2 3 4 5 6 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/settings_resources.grd View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/settings_ui/compiled_resources2.gyp View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/settings_ui/settings_ui.html View 1 2 3 4 5 6 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/settings_ui/settings_ui.js View 1 2 3 4 5 6 7 8 9 10 2 chunks +45 lines, -1 line 0 comments Download
A chrome/browser/resources/settings/settings_ui/settings_ui_types.js View 1 2 3 4 5 6 7 8 9 1 chunk +60 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +10 lines, -2 lines 0 comments Download
M chrome/test/data/webui/settings/settings_subpage_browsertest.js View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 152 (97 generated)
Moe
Hi Michael, Please take a look.
4 years, 5 months ago (2016-06-30 22:08:48 UTC) #3
michaelpg
I think we should put some more thought into how to do this -- how ...
4 years, 5 months ago (2016-07-04 17:47:16 UTC) #5
Dan Beam
On 2016/07/04 17:47:16, michaelpg wrote: > I think we should put some more thought into ...
4 years, 5 months ago (2016-07-06 17:57:16 UTC) #6
Moe
Hi Michael, please take another look at this. There are some flaky tests that i ...
4 years, 5 months ago (2016-07-11 22:16:15 UTC) #16
Moe
On 2016/07/11 22:16:15, Moe wrote: > Hi Michael, please take another look at this. There ...
4 years, 5 months ago (2016-07-12 15:45:10 UTC) #19
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/2106103006/60001
4 years, 5 months ago (2016-07-12 15:47:53 UTC) #24
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
4 years, 5 months ago (2016-07-12 15:47:56 UTC) #26
michaelpg
Thanks. A bit more work needed IMO but I'm happy with the approach. https://codereview.chromium.org/2106103006/diff/60001/chrome/browser/resources/settings/appearance_page/appearance_page.html File ...
4 years, 5 months ago (2016-07-13 00:01:36 UTC) #32
Moe
https://codereview.chromium.org/2106103006/diff/60001/chrome/browser/resources/settings/appearance_page/appearance_page.html File chrome/browser/resources/settings/appearance_page/appearance_page.html (right): https://codereview.chromium.org/2106103006/diff/60001/chrome/browser/resources/settings/appearance_page/appearance_page.html#newcode33 chrome/browser/resources/settings/appearance_page/appearance_page.html:33: on-tap="openWallpaperManager_" actionable On 2016/07/13 00:01:35, michaelpg (slow) wrote: > ...
4 years, 5 months ago (2016-07-13 20:17:17 UTC) #33
michaelpg
/cc tommycli for settings_router.js changes: https://codereview.chromium.org/2106103006/diff/60001/chrome/browser/resources/settings/settings_page/settings_router.js#newcode203 https://codereview.chromium.org/2106103006/diff/60001/chrome/browser/resources/settings/settings_main/settings_main.html File chrome/browser/resources/settings/settings_main/settings_main.html (right): https://codereview.chromium.org/2106103006/diff/60001/chrome/browser/resources/settings/settings_main/settings_main.html#newcode46 chrome/browser/resources/settings/settings_main/settings_main.html:46: <template is="dom-if" if="[[!pageVisibility.hideAdvancedSettings]]"> ...
4 years, 5 months ago (2016-07-14 00:31:28 UTC) #34
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-14 17:16:25 UTC) #38
Moe
https://codereview.chromium.org/2106103006/diff/60001/chrome/browser/resources/settings/settings_main/settings_main.html File chrome/browser/resources/settings/settings_main/settings_main.html (right): https://codereview.chromium.org/2106103006/diff/60001/chrome/browser/resources/settings/settings_main/settings_main.html#newcode46 chrome/browser/resources/settings/settings_main/settings_main.html:46: <template is="dom-if" if="[[!pageVisibility.hideAdvancedSettings]]"> On 2016/07/14 00:31:28, michaelpg (slow) wrote: ...
4 years, 5 months ago (2016-07-14 17:19:55 UTC) #40
Dan Beam
https://codereview.chromium.org/2106103006/diff/80001/chrome/browser/resources/settings/settings_page/settings_router.js File chrome/browser/resources/settings/settings_page/settings_router.js (right): https://codereview.chromium.org/2106103006/diff/80001/chrome/browser/resources/settings/settings_page/settings_router.js#newcode109 chrome/browser/resources/settings/settings_page/settings_router.js:109: var searchRoutes_ = [ On 2016/07/14 00:31:28, michaelpg (slow) ...
4 years, 5 months ago (2016-07-14 18:36:20 UTC) #41
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-14 21:17:23 UTC) #44
tommycli
Hi Moe, Here's my feedback. Tommy https://codereview.chromium.org/2106103006/diff/120001/chrome/browser/resources/settings/settings_page/settings_router.js File chrome/browser/resources/settings/settings_page/settings_router.js (right): https://codereview.chromium.org/2106103006/diff/120001/chrome/browser/resources/settings/settings_page/settings_router.js#newcode98 chrome/browser/resources/settings/settings_page/settings_router.js:98: canonicalRoutes_: [], I ...
4 years, 5 months ago (2016-07-14 22:55:40 UTC) #48
Dan Beam
hey, we're re-doing a lot of routing stuff right now (tommycli@ generally). can we just ...
4 years, 5 months ago (2016-07-14 23:24:56 UTC) #50
Moe
tommycli@ thanks for the feedback! dbeam@ I agree that it's best to leave the routing ...
4 years, 5 months ago (2016-07-15 14:02:07 UTC) #53
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-15 14:52:50 UTC) #56
tommycli
No objections from me if the router stuff is left out. I'm removing myself from ...
4 years, 5 months ago (2016-07-15 18:48:48 UTC) #59
Moe
any further changes needed here Michael?
4 years, 5 months ago (2016-07-20 09:06:07 UTC) #61
michaelpg
dpapad@ do you see any issues with how this hides search? https://codereview.chromium.org/2106103006/diff/140001/chrome/browser/resources/settings/settings_main/settings_main.js File chrome/browser/resources/settings/settings_main/settings_main.js (right): ...
4 years, 5 months ago (2016-07-20 19:40:46 UTC) #64
dpapad
On 2016/07/20 at 19:40:46, michaelpg wrote: > dpapad@ do you see any issues with how ...
4 years, 5 months ago (2016-07-20 20:50:33 UTC) #65
michaelpg
On 2016/07/20 20:50:33, dpapad wrote: > On 2016/07/20 at 19:40:46, michaelpg wrote: > > dpapad@ ...
4 years, 5 months ago (2016-07-21 04:22:39 UTC) #66
michaelpg
https://codereview.chromium.org/2106103006/diff/140001/chrome/browser/resources/settings/appearance_page/appearance_page.html File chrome/browser/resources/settings/appearance_page/appearance_page.html (right): https://codereview.chromium.org/2106103006/diff/140001/chrome/browser/resources/settings/appearance_page/appearance_page.html#newcode94 chrome/browser/resources/settings/appearance_page/appearance_page.html:94: first$="[[!pageVisibility.appearance.bookmarksBar]]"> This is easy enough to do in |class|, ...
4 years, 5 months ago (2016-07-21 04:23:03 UTC) #67
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-21 18:26:59 UTC) #70
Moe
Sounds good. I took out the search related code. PTAL. https://codereview.chromium.org/2106103006/diff/140001/chrome/browser/resources/settings/appearance_page/appearance_page.html File chrome/browser/resources/settings/appearance_page/appearance_page.html (right): https://codereview.chromium.org/2106103006/diff/140001/chrome/browser/resources/settings/appearance_page/appearance_page.html#newcode94 ...
4 years, 5 months ago (2016-07-21 18:27:32 UTC) #71
dpapad
https://codereview.chromium.org/2106103006/diff/160001/chrome/browser/resources/settings/settings_menu/settings_menu.js File chrome/browser/resources/settings/settings_menu/settings_menu.js (right): https://codereview.chromium.org/2106103006/diff/160001/chrome/browser/resources/settings/settings_menu/settings_menu.js#newcode29 chrome/browser/resources/settings/settings_menu/settings_menu.js:29: pageVisibility: { This needs an @type annotation (here and ...
4 years, 5 months ago (2016-07-21 18:33:33 UTC) #72
michaelpg
Just a couple small things, that plus dpapad's suggested @typedef and hopefully this will be ...
4 years, 5 months ago (2016-07-21 21:58:45 UTC) #75
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-22 16:08:27 UTC) #78
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-22 16:44:41 UTC) #84
Moe
Michael, Demetrios, hopefully we're getting there :) do you know why closure compiler doesn't like ...
4 years, 5 months ago (2016-07-22 16:59:56 UTC) #87
dpapad
On 2016/07/22 at 16:59:56, mahmadi wrote: > Michael, Demetrios, hopefully we're getting there :) > ...
4 years, 5 months ago (2016-07-22 18:01:48 UTC) #88
dpapad
FYI, I am expecting the "page visibility" mechanism introduced in this CL to have to ...
4 years, 5 months ago (2016-07-22 18:33:05 UTC) #89
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-22 20:43:48 UTC) #92
Moe
Thanks for the headsup. I think this mechanism of hiding things can be slightly tweaked ...
4 years, 5 months ago (2016-07-22 20:53:50 UTC) #95
dpapad
https://codereview.chromium.org/2106103006/diff/200001/chrome/browser/resources/settings/settings_ui/settings_ui_types.js File chrome/browser/resources/settings/settings_ui/settings_ui_types.js (right): https://codereview.chromium.org/2106103006/diff/200001/chrome/browser/resources/settings/settings_ui/settings_ui_types.js#newcode12 chrome/browser/resources/settings/settings_ui/settings_ui_types.js:12: * advancedSettings: (boolean|undefined), On 2016/07/22 at 20:53:50, Moe wrote: ...
4 years, 5 months ago (2016-07-22 22:40:49 UTC) #96
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-23 00:17:41 UTC) #100
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-23 00:29:28 UTC) #106
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 4 months ago (2016-07-24 23:53:29 UTC) #111
Moe
https://codereview.chromium.org/2106103006/diff/200001/chrome/browser/resources/settings/settings_ui/settings_ui_types.js File chrome/browser/resources/settings/settings_ui/settings_ui_types.js (right): https://codereview.chromium.org/2106103006/diff/200001/chrome/browser/resources/settings/settings_ui/settings_ui_types.js#newcode30 chrome/browser/resources/settings/settings_ui/settings_ui_types.js:30: * privacy: (undefined|{ On 2016/07/22 22:40:48, dpapad wrote: > ...
4 years, 4 months ago (2016-07-24 23:54:27 UTC) #112
dpapad
LGTM with nits. Had a chat today with other settings devs about page visibility, since ...
4 years, 4 months ago (2016-07-25 19:37:10 UTC) #115
michaelpg
lgtm https://codereview.chromium.org/2106103006/diff/300001/chrome/browser/resources/settings/appearance_page/appearance_page.js File chrome/browser/resources/settings/appearance_page/appearance_page.js (right): https://codereview.chromium.org/2106103006/diff/300001/chrome/browser/resources/settings/appearance_page/appearance_page.js#newcode115 chrome/browser/resources/settings/appearance_page/appearance_page.js:115: pageVisibility: { On 2016/07/25 19:37:10, dpapad wrote: > ...
4 years, 4 months ago (2016-07-26 04:02:55 UTC) #116
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 4 months ago (2016-07-26 21:37:19 UTC) #119
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 4 months ago (2016-07-26 21:58:21 UTC) #126
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 4 months ago (2016-07-27 01:05:15 UTC) #132
Moe
I noticed some tests were failing with the last patch. So I made a couple ...
4 years, 4 months ago (2016-07-27 01:11:05 UTC) #133
dpapad
On 2016/07/27 at 01:11:05, mahmadi wrote: > I noticed some tests were failing with the ...
4 years, 4 months ago (2016-07-27 01:16:00 UTC) #134
tommycli
On 2016/07/27 01:16:00, dpapad wrote: > On 2016/07/27 at 01:11:05, mahmadi wrote: > > I ...
4 years, 4 months ago (2016-07-27 03:09:31 UTC) #137
michaelpg
On 2016/07/27 03:09:31, tommycli wrote: > On 2016/07/27 01:16:00, dpapad wrote: > > On 2016/07/27 ...
4 years, 4 months ago (2016-07-27 03:16:49 UTC) #138
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 4 months ago (2016-07-27 12:16:22 UTC) #141
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/2106103006/380001
4 years, 4 months ago (2016-07-27 13:33:24 UTC) #146
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 4 months ago (2016-07-27 13:33:30 UTC) #147
Moe
Thank you!
4 years, 4 months ago (2016-07-27 13:33:31 UTC) #148
commit-bot: I haz the power
Committed patchset #12 (id:380001)
4 years, 4 months ago (2016-07-27 13:37:08 UTC) #150
commit-bot: I haz the power
4 years, 4 months ago (2016-07-27 13:38:32 UTC) #152
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/369fb42299c568256ce9c8821967b9c413ea4151
Cr-Commit-Position: refs/heads/master@{#408112}

Powered by Google App Engine
This is Rietveld 408576698