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

Issue 2962823002: MD Settings: decouple page visibility from settings_ui.html. (Closed)

Created:
3 years, 5 months ago by scottchen
Modified:
3 years, 5 months ago
Reviewers:
dpapad
CC:
arv+watch_chromium.org, chromium-reviews, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, stevenjb+watch-md-settings_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Settings: decouple page visibility from settings_ui.html. Move PageVisibility out of settings_ui and into the global 'settings' namespace, so that it's easier to manage and can be accessed by other parts of the program. This is the beginning of reworking guest-mode routing in order to fix 733511, and there will be a follow-up CL to further utilize the new page_visibility files. BUG=733511 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2962823002 Cr-Commit-Position: refs/heads/master@{#483471} Committed: https://chromium.googlesource.com/chromium/src/+/03a2ed59818d98677f9f6f6992da70a328edcf6c

Patch Set 1 #

Total comments: 8

Patch Set 2 : feedback #

Patch Set 3 : closure compiler #

Total comments: 2

Patch Set 4 : moving import out of this CL #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -106 lines) Patch
M chrome/browser/resources/settings/appearance_page/compiled_resources2.gyp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/basic_page/compiled_resources2.gyp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/compiled_resources2.gyp View 1 3 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/downloads_page/compiled_resources2.gyp View 1 2 1 chunk +1 line, -1 line 0 comments Download
A chrome/browser/resources/settings/page_visibility.html View 1 chunk +3 lines, -0 lines 0 comments Download
A chrome/browser/resources/settings/page_visibility.js View 1 2 1 chunk +105 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/privacy_page/compiled_resources2.gyp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/settings_main/compiled_resources2.gyp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/settings_menu/compiled_resources2.gyp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/settings_resources.grd View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/settings_ui/compiled_resources2.gyp View 1 2 1 chunk +1 line, -5 lines 0 comments Download
M chrome/browser/resources/settings/settings_ui/settings_ui.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/settings/settings_ui/settings_ui.js View 1 2 2 chunks +1 line, -35 lines 0 comments Download
D chrome/browser/resources/settings/settings_ui/settings_ui_types.js View 1 2 1 chunk +0 lines, -60 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 23 (16 generated)
scottchen
3 years, 5 months ago (2017-06-28 01:10:20 UTC) #5
dpapad
https://codereview.chromium.org/2962823002/diff/1/chrome/browser/resources/settings/page_visibility.js File chrome/browser/resources/settings/page_visibility.js (right): https://codereview.chromium.org/2962823002/diff/1/chrome/browser/resources/settings/page_visibility.js#newcode5 chrome/browser/resources/settings/page_visibility.js:5: cr.define('settings', function() { Can you add a compile target ...
3 years, 5 months ago (2017-06-28 01:16:12 UTC) #6
scottchen
https://codereview.chromium.org/2962823002/diff/1/chrome/browser/resources/settings/page_visibility.js File chrome/browser/resources/settings/page_visibility.js (right): https://codereview.chromium.org/2962823002/diff/1/chrome/browser/resources/settings/page_visibility.js#newcode5 chrome/browser/resources/settings/page_visibility.js:5: cr.define('settings', function() { On 2017/06/28 01:16:11, dpapad wrote: > ...
3 years, 5 months ago (2017-06-28 20:51:49 UTC) #10
dpapad
LGTM. Perhaps make the CL description limited to 80columns (not sure if this is a ...
3 years, 5 months ago (2017-06-28 21:48:41 UTC) #12
scottchen
https://codereview.chromium.org/2962823002/diff/40001/chrome/browser/resources/settings/route.html File chrome/browser/resources/settings/route.html (right): https://codereview.chromium.org/2962823002/diff/40001/chrome/browser/resources/settings/route.html#newcode3 chrome/browser/resources/settings/route.html:3: <link rel="import" href="page_visibility.html"> On 2017/06/28 21:48:41, dpapad wrote: > ...
3 years, 5 months ago (2017-06-29 18:57:21 UTC) #16
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/2962823002/60001
3 years, 5 months ago (2017-06-29 18:57:58 UTC) #19
commit-bot: I haz the power
3 years, 5 months ago (2017-06-29 20:30:27 UTC) #23
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/03a2ed59818d98677f9f6f6992da...

Powered by Google App Engine
This is Rietveld 408576698