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

Issue 2021343003: MD Site Settings: Add five new top level categories (Closed)

Created:
4 years, 6 months ago by Finnur
Modified:
4 years, 6 months ago
Reviewers:
stevenjb, sky, *michaelpg
CC:
chromium-reviews, dbeam+watch-options_chromium.org, michaelpg+watch-options_chromium.org, michaelpg+watch-md-settings_chromium.org, jam, michaelpg+watch-md-ui_chromium.org, darin-cc_chromium.org, arv+watch_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add five new top level categories and corresponding entries on the Site Details page. Automatic downloads Background sync Key generation Plugins Unsandboxed plugin access Also changed it so that, in JS land, the Category variable is a string, because the enum value of the ContentSettingsTypes is variable depending on platform, so we don't want to be hardcoding those in JS. This is similar to the Allow/Block values (the PermissionValues enum), which used to be ints, but are now converted int <-> string on the JS/C++ boundary. TBR=sky BUG=614277, 543635 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/155a202f6076fad0cd5d86bfefb5c317d8a3708e Cr-Commit-Position: refs/heads/master@{#397819}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Polish #

Patch Set 3 : Fix handlers #

Patch Set 4 : Fix tests #

Patch Set 5 : Unit test fix #

Total comments: 26

Patch Set 6 : Address feedback #

Total comments: 4

Patch Set 7 : Address feedback and add icons #

Unified diffs Side-by-side diffs Delta from patch set Stats (+698 lines, -190 lines) Patch
M chrome/app/settings_strings.grdp View 1 2 3 4 5 4 chunks +60 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/privacy_page/privacy_page.html View 4 chunks +45 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/settings_page/settings_router.js View 7 chunks +65 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/add_site_dialog.js View 2 chunks +1 line, -16 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/constants.js View 1 2 3 4 5 2 chunks +20 lines, -14 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/site_details.html View 1 2 3 4 5 1 chunk +15 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/site_details_permission.js View 1 2 3 4 5 6 2 chunks +14 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/site_settings/site_list.html View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/site_list.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/site_settings/site_settings_behavior.js View 1 2 3 4 5 6 13 chunks +115 lines, -10 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/site_settings_category.js View 3 chunks +13 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/site_settings_page/site_settings_page.html View 2 chunks +54 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/site_settings_page/site_settings_page.js View 1 2 3 4 5 2 chunks +14 lines, -7 lines 0 comments Download
M chrome/browser/ui/chrome_pages.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/options/content_settings_handler.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/options/content_settings_handler.cc View 13 chunks +20 lines, -66 lines 0 comments Download
M chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc View 2 chunks +38 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/settings/site_settings_handler.cc View 1 2 9 chunks +31 lines, -22 lines 0 comments Download
M chrome/browser/ui/webui/settings/site_settings_handler_unittest.cc View 1 2 3 4 5 6 4 chunks +5 lines, -9 lines 0 comments Download
M chrome/browser/ui/webui/site_settings_helper.h View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/site_settings_helper.cc View 1 chunk +51 lines, -0 lines 0 comments Download
M chrome/test/data/webui/settings/site_details_permission_tests.js View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/webui/settings/site_details_tests.js View 1 2 3 4 5 4 chunks +42 lines, -2 lines 0 comments Download
M chrome/test/data/webui/settings/site_list_tests.js View 1 2 3 4 5 8 chunks +22 lines, -7 lines 0 comments Download
M chrome/test/data/webui/settings/test_site_settings_prefs_browser_proxy.js View 1 2 3 4 5 2 chunks +61 lines, -27 lines 0 comments Download

Messages

Total messages: 27 (13 generated)
Finnur
https://codereview.chromium.org/2021343003/diff/1/chrome/browser/resources/settings/site_settings/add_site_dialog.js File chrome/browser/resources/settings/site_settings/add_site_dialog.js (left): https://codereview.chromium.org/2021343003/diff/1/chrome/browser/resources/settings/site_settings/add_site_dialog.js#oldcode52 chrome/browser/resources/settings/site_settings/add_site_dialog.js:52: }, Moved to the behavior. https://codereview.chromium.org/2021343003/diff/1/chrome/browser/resources/settings/site_settings/add_site_dialog.js File chrome/browser/resources/settings/site_settings/add_site_dialog.js (right): ...
4 years, 6 months ago (2016-05-31 21:59:55 UTC) #4
Finnur
Friendly ping. :)
4 years, 6 months ago (2016-06-01 20:40:35 UTC) #5
michaelpg
https://codereview.chromium.org/2021343003/diff/80001/chrome/app/settings_strings.grdp File chrome/app/settings_strings.grdp (right): https://codereview.chromium.org/2021343003/diff/80001/chrome/app/settings_strings.grdp#newcode1012 chrome/app/settings_strings.grdp:1012: <message name="IDS_SETTINGS_SITE_SETTINGS_KEYGEN_BLOCK" desc="The block label for background sync in ...
4 years, 6 months ago (2016-06-02 12:58:31 UTC) #6
Finnur
https://codereview.chromium.org/2021343003/diff/80001/chrome/app/settings_strings.grdp File chrome/app/settings_strings.grdp (right): https://codereview.chromium.org/2021343003/diff/80001/chrome/app/settings_strings.grdp#newcode1012 chrome/app/settings_strings.grdp:1012: <message name="IDS_SETTINGS_SITE_SETTINGS_KEYGEN_BLOCK" desc="The block label for background sync in ...
4 years, 6 months ago (2016-06-02 17:31:36 UTC) #7
michaelpg
https://codereview.chromium.org/2021343003/diff/80001/chrome/browser/resources/settings/site_settings/site_details_permission.js File chrome/browser/resources/settings/site_settings/site_details_permission.js (right): https://codereview.chromium.org/2021343003/diff/80001/chrome/browser/resources/settings/site_settings/site_details_permission.js#newcode55 chrome/browser/resources/settings/site_settings/site_details_permission.js:55: if (origin == this.removePatternWildcard_(site.origin)) { On 2016/06/02 17:31:36, Finnur ...
4 years, 6 months ago (2016-06-03 13:37:15 UTC) #10
michaelpg
lgtm
4 years, 6 months ago (2016-06-03 13:37:30 UTC) #11
Finnur
Thanks for the review. Checking in. https://codereview.chromium.org/2021343003/diff/100001/chrome/browser/resources/settings/site_settings/site_details_permission.js File chrome/browser/resources/settings/site_settings/site_details_permission.js (right): https://codereview.chromium.org/2021343003/diff/100001/chrome/browser/resources/settings/site_settings/site_details_permission.js#newcode45 chrome/browser/resources/settings/site_settings/site_details_permission.js:45: * http://[*.]google.com. On ...
4 years, 6 months ago (2016-06-03 19:58:06 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2021343003/120001
4 years, 6 months ago (2016-06-03 19:58:38 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/194965)
4 years, 6 months ago (2016-06-03 20:07:13 UTC) #17
Finnur
TBR Scott for a minor change to chrome_pages.cc.
4 years, 6 months ago (2016-06-03 20:09:31 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2021343003/120001
4 years, 6 months ago (2016-06-03 20:09:57 UTC) #22
sky
LGTM
4 years, 6 months ago (2016-06-03 20:30:10 UTC) #23
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 6 months ago (2016-06-03 22:07:41 UTC) #25
commit-bot: I haz the power
4 years, 6 months ago (2016-06-03 22:09:37 UTC) #27
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/155a202f6076fad0cd5d86bfefb5c317d8a3708e
Cr-Commit-Position: refs/heads/master@{#397819}

Powered by Google App Engine
This is Rietveld 408576698