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

Issue 2682293002: Add desktop UI for the subresource filter content setting. (Closed)

Created:
3 years, 10 months ago by melandory
Modified:
3 years, 7 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, msramek+watch_chromium.org, michaelpg+watch-options_chromium.org, subresource-filter-reviews_chromium.org, raymes+watch_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, markusheintz_, srahim+watch_chromium.org, dschuyler
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add desktop UI for the subresource filter content setting. Added option on chrome://settings/content to toggle subresource filter on a global or per-site basis. BUG=689487, 689992 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2682293002 Cr-Commit-Position: refs/heads/master@{#460402} Committed: https://chromium.googlesource.com/chromium/src/+/7be36d31cf92f725808f0260e565ed093541505f

Patch Set 1 #

Patch Set 2 : guard appearance in settings via feature #

Patch Set 3 : md settings #

Patch Set 4 : . #

Total comments: 8

Patch Set 5 : comments #

Total comments: 15

Patch Set 6 : comments #

Total comments: 2

Patch Set 7 : cs_ui #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -1 line) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 1 chunk +9 lines, -0 lines 0 comments Download
A chrome/app/theme/default_100_percent/common/allowed_subresource_filter.png View Binary file 0 comments Download
A chrome/app/theme/default_100_percent/common/blocked_subresource_filter.png View Binary file 0 comments Download
A chrome/app/theme/default_200_percent/common/allowed_subresource_filter.png View Binary file 0 comments Download
A chrome/app/theme/default_200_percent/common/blocked_subresource_filter.png View Binary file 0 comments Download
M chrome/app/theme/theme_resources.grd View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/privacy_page/privacy_page.html View 1 2 3 4 5 6 1 chunk +14 lines, -1 line 2 comments Download
M chrome/browser/resources/settings/privacy_page/privacy_page.js View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/route.js View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/category_default_setting.js View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/constants.js View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/settings/site_settings_page/site_settings_page.html View 1 2 3 4 1 chunk +20 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/site_settings_page/site_settings_page.js View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/chrome_pages.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/page_info/page_info.cc View 1 2 3 4 5 6 3 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/page_info/page_info_ui.cc View 1 2 3 4 5 6 1 chunk +2 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 3 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/site_settings_helper.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/webui/settings/site_list_tests.js View 1 2 3 4 5 6 3 chunks +3 lines, -0 lines 0 comments Download
M chrome/test/data/webui/settings/test_site_settings_prefs_browser_proxy.js View 1 2 3 4 5 6 4 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 105 (79 generated)
melandory
raymes@, PTAL at changes in chrome/browser/ui/website_settings/website_settings.cc chrome/browser/ui/website_settings/website_settings_ui.cc
3 years, 10 months ago (2017-02-09 15:29:28 UTC) #7
melandory
raymes@, PTAL at changes in chrome/browser/ui/website_settings/website_settings.cc chrome/browser/ui/website_settings/website_settings_ui.cc
3 years, 10 months ago (2017-02-09 15:29:31 UTC) #8
melandory
oshima@chromium.org: Please review changes in chrome/app/scheme
3 years, 10 months ago (2017-02-09 15:30:08 UTC) #10
melandory
dbeam@chromium.org: Please review changes in chrome/browser/resources and chrome/browser/webui
3 years, 10 months ago (2017-02-09 15:31:30 UTC) #12
srahim1
On 2017/02/09 15:31:30, melandory wrote: > mailto:dbeam@chromium.org: Please review changes in > > chrome/browser/resources > ...
3 years, 10 months ago (2017-02-09 17:53:47 UTC) #26
engedy
> This is your UX writer here. Are the messages added in this CL going ...
3 years, 10 months ago (2017-02-09 18:54:04 UTC) #27
oshima
c/a/theme lgtm
3 years, 10 months ago (2017-02-09 23:56:02 UTC) #28
Dan Beam
don't change code in /options/, it's deprecated and going to be deleted soon instead, see: ...
3 years, 10 months ago (2017-02-11 23:05:16 UTC) #35
melandory
PTAL On 2017/02/11 23:05:16, Dan Beam wrote: > don't change code in /options/, it's deprecated ...
3 years, 9 months ago (2017-03-07 15:49:45 UTC) #45
Dan Beam
+tommycli@ as a reviewer for settings/
3 years, 9 months ago (2017-03-10 23:18:58 UTC) #67
tommycli
https://codereview.chromium.org/2682293002/diff/240001/chrome/browser/resources/settings/privacy_page/privacy_page.html File chrome/browser/resources/settings/privacy_page/privacy_page.html (right): https://codereview.chromium.org/2682293002/diff/240001/chrome/browser/resources/settings/privacy_page/privacy_page.html#newcode380 chrome/browser/resources/settings/privacy_page/privacy_page.html:380: <template is="dom-if" route-path="/content/subresourceFilter" no-search> also strange indent https://codereview.chromium.org/2682293002/diff/240001/chrome/browser/resources/settings/privacy_page/privacy_page.html#newcode391 chrome/browser/resources/settings/privacy_page/privacy_page.html:391: ...
3 years, 9 months ago (2017-03-13 19:17:01 UTC) #69
melandory
https://codereview.chromium.org/2682293002/diff/240001/chrome/browser/resources/settings/privacy_page/privacy_page.html File chrome/browser/resources/settings/privacy_page/privacy_page.html (right): https://codereview.chromium.org/2682293002/diff/240001/chrome/browser/resources/settings/privacy_page/privacy_page.html#newcode380 chrome/browser/resources/settings/privacy_page/privacy_page.html:380: <template is="dom-if" route-path="/content/subresourceFilter" no-search> On 2017/03/13 19:17:01, tommycli wrote: ...
3 years, 9 months ago (2017-03-20 22:16:19 UTC) #78
melandory
friendly ping
3 years, 9 months ago (2017-03-22 10:04:26 UTC) #81
tommycli
lgtm except below https://codereview.chromium.org/2682293002/diff/300001/chrome/browser/resources/settings/privacy_page/privacy_page.html File chrome/browser/resources/settings/privacy_page/privacy_page.html (right): https://codereview.chromium.org/2682293002/diff/300001/chrome/browser/resources/settings/privacy_page/privacy_page.html#newcode401 chrome/browser/resources/settings/privacy_page/privacy_page.html:401: <template is="dom-if" if="enableSafeBrowsingSubresourceFilter_" Hey did you ...
3 years, 9 months ago (2017-03-22 16:10:34 UTC) #82
melandory
msw@chromium.org: Please review changes in chrome/browser/ui
3 years, 9 months ago (2017-03-23 09:42:31 UTC) #84
msw
Just nits and a question about the new strings. https://codereview.chromium.org/2682293002/diff/300001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2682293002/diff/300001/chrome/app/generated_resources.grd#newcode14742 chrome/app/generated_resources.grd:14742: ...
3 years, 9 months ago (2017-03-23 18:18:09 UTC) #85
melandory
https://codereview.chromium.org/2682293002/diff/300001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2682293002/diff/300001/chrome/app/generated_resources.grd#newcode14742 chrome/app/generated_resources.grd:14742: + On 2017/03/23 18:18:08, msw wrote: > nit: remove ...
3 years, 9 months ago (2017-03-23 20:05:41 UTC) #86
melandory
3 years, 9 months ago (2017-03-23 20:05:42 UTC) #87
msw
lgtm with a spelling nit https://codereview.chromium.org/2682293002/diff/320001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2682293002/diff/320001/chrome/app/generated_resources.grd#newcode14746 chrome/app/generated_resources.grd:14746: + Allow the Subrsource ...
3 years, 9 months ago (2017-03-23 20:50:38 UTC) #88
melandory
https://codereview.chromium.org/2682293002/diff/320001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2682293002/diff/320001/chrome/app/generated_resources.grd#newcode14746 chrome/app/generated_resources.grd:14746: + Allow the Subrsource Filter to perform filtering On ...
3 years, 8 months ago (2017-03-29 13:42:37 UTC) #93
melandory
https://codereview.chromium.org/2682293002/diff/320001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2682293002/diff/320001/chrome/app/generated_resources.grd#newcode14746 chrome/app/generated_resources.grd:14746: + Allow the Subrsource Filter to perform filtering On ...
3 years, 8 months ago (2017-03-29 13:42:39 UTC) #94
melandory
3 years, 8 months ago (2017-03-29 13:42:43 UTC) #95
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/2682293002/340001
3 years, 8 months ago (2017-03-29 14:46:25 UTC) #98
commit-bot: I haz the power
Committed patchset #7 (id:340001) as https://chromium.googlesource.com/chromium/src/+/7be36d31cf92f725808f0260e565ed093541505f
3 years, 8 months ago (2017-03-29 15:52:05 UTC) #101
Charlie Harrison
https://codereview.chromium.org/2682293002/diff/340001/chrome/browser/resources/settings/privacy_page/privacy_page.html File chrome/browser/resources/settings/privacy_page/privacy_page.html (right): https://codereview.chromium.org/2682293002/diff/340001/chrome/browser/resources/settings/privacy_page/privacy_page.html#newcode409 chrome/browser/resources/settings/privacy_page/privacy_page.html:409: category="{{ContentSettingsTypes.SUBRESOURCE_FITER}}"> Looks like SUBRESOURCE_FILTER is misspelled here?
3 years, 7 months ago (2017-04-28 23:23:03 UTC) #103
dschuyler
3 years, 7 months ago (2017-04-28 23:40:03 UTC) #105
Message was sent while issue was closed.
https://codereview.chromium.org/2682293002/diff/340001/chrome/browser/resourc...
File chrome/browser/resources/settings/privacy_page/privacy_page.html (right):

https://codereview.chromium.org/2682293002/diff/340001/chrome/browser/resourc...
chrome/browser/resources/settings/privacy_page/privacy_page.html:409:
category="{{ContentSettingsTypes.SUBRESOURCE_FITER}}">
On 2017/04/28 23:23:02, Charlie (ooo-ish until may 2) wrote:
> Looks like SUBRESOURCE_FILTER is misspelled here?

I agree, I'll make a fix for this.

https://codereview.chromium.org/2851933002/

Powered by Google App Engine
This is Rietveld 408576698