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

Issue 2785913002: [subresource_filter] Add the Content Settings UI for Android (Closed)

Created:
3 years, 8 months ago by Charlie Harrison
Modified:
3 years, 8 months ago
CC:
agrieve+watch_chromium.org, chromium-reviews, lgarron+watch_chromium.org, raymes+watch_chromium.org, srahim+watch_chromium.org, subresource-filter-reviews_chromium.org, palmer
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[subresource_filter] Add the Content Settings UI for Android BUG=689487 Review-Url: https://codereview.chromium.org/2785913002 Cr-Commit-Position: refs/heads/master@{#462151} Committed: https://chromium.googlesource.com/chromium/src/+/3f46d56fe6658eb13d6b96b31fab2233b43d856f

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : git cl try #

Total comments: 1

Patch Set 4 : guard via feature list #

Total comments: 28

Patch Set 5 : first review: finnur #

Total comments: 4

Patch Set 6 : xml changes and TODO change #

Total comments: 2

Patch Set 7 : nits (trybots prev) #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+150 lines, -2 lines) Patch
M chrome/android/java/res/xml/single_website_preferences.xml View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/android/java/res/xml/site_settings_preferences.xml View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java View 1 2 3 1 chunk +18 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/website/ContentSettingsResources.java View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/website/SingleCategoryPreferences.java View 3 chunks +8 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/website/SingleWebsitePreferences.java View 7 chunks +15 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/website/SiteSettingsCategory.java View 1 2 3 4 6 chunks +23 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/website/SiteSettingsPreferences.java View 1 2 3 4 5 6 6 chunks +15 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/website/Website.java View 1 2 3 2 chunks +34 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/website/WebsitePermissionsFetcher.java View 4 chunks +15 lines, -0 lines 0 comments Download
M chrome/android/java/strings/android_chrome_strings.grd View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/android/chrome_feature_list.cc View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/android/preferences/pref_service_bridge.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/android/page_info/page_info_popup_android.cc View 1 chunk +1 line, -0 lines 2 comments Download

Messages

Total messages: 48 (26 generated)
Charlie Harrison
Tanja: FYI I'll send this out for broader review once I collect some screenshots.
3 years, 8 months ago (2017-03-30 13:31:17 UTC) #15
Charlie Harrison
+subresource-filter-reviews@
3 years, 8 months ago (2017-03-30 13:32:24 UTC) #16
melandory
We probably should guard the UI with SafeBrowsingSubresourceFilterExperimentalUI feature. Otherwise we'll give the inconsistent experience. ...
3 years, 8 months ago (2017-03-30 13:39:58 UTC) #17
Charlie Harrison
melandory: Thanks, I've guarded this with ChromeFeatureList based on the experimental UI. As we discussed ...
3 years, 8 months ago (2017-03-30 17:54:31 UTC) #21
lgarron
How is this going to be exposed to the user? It seems this is being ...
3 years, 8 months ago (2017-03-30 18:00:42 UTC) #22
Theresa
+finnur@ is more familiar with site settings.
3 years, 8 months ago (2017-03-30 18:22:30 UTC) #24
Charlie Harrison
lgarron please see crbug.com/689992 which has links to the full UI mocks. These strings are ...
3 years, 8 months ago (2017-03-30 19:09:01 UTC) #27
lgarron
On 2017/03/30 at 19:09:01, csharrison wrote: > lgarron please see crbug.com/689992 which has links to ...
3 years, 8 months ago (2017-03-30 19:13:11 UTC) #28
Finnur
General comments first... I find this setting to be confusing. I don't think it is ...
3 years, 8 months ago (2017-03-31 10:04:58 UTC) #29
Finnur
https://codereview.chromium.org/2785913002/diff/60001/chrome/android/java/res/xml/single_website_preferences.xml File chrome/android/java/res/xml/single_website_preferences.xml (right): https://codereview.chromium.org/2785913002/diff/60001/chrome/android/java/res/xml/single_website_preferences.xml#newcode50 chrome/android/java/res/xml/single_website_preferences.xml:50: <org.chromium.chrome.browser.preferences.ChromeBaseListPreference On line 33 there is a link to ...
3 years, 8 months ago (2017-03-31 10:22:35 UTC) #30
Charlie Harrison
Thanks for the review, finnur. I've tried to address most of your comments. In the ...
3 years, 8 months ago (2017-03-31 13:21:42 UTC) #31
Finnur
https://codereview.chromium.org/2785913002/diff/60001/chrome/android/java/res/xml/single_website_preferences.xml File chrome/android/java/res/xml/single_website_preferences.xml (right): https://codereview.chromium.org/2785913002/diff/60001/chrome/android/java/res/xml/single_website_preferences.xml#newcode50 chrome/android/java/res/xml/single_website_preferences.xml:50: <org.chromium.chrome.browser.preferences.ChromeBaseListPreference Since this is most-privacy-sensitive-first ordering, I would move ...
3 years, 8 months ago (2017-03-31 13:47:24 UTC) #32
Charlie Harrison
Many thanks for the prompt reviews, finnur. +srahim this is the CL which adds the ...
3 years, 8 months ago (2017-03-31 14:56:46 UTC) #34
Finnur
LGTM, with the nits below addressed and an understanding that UI should be involved before ...
3 years, 8 months ago (2017-04-03 10:36:17 UTC) #35
Charlie Harrison
Thanks finnur! +engedy mainly for FYI. Do you mind using a placeholder icon for this ...
3 years, 8 months ago (2017-04-03 14:01:48 UTC) #37
engedy
Using placeholder icons as long as this is behind a feature sounds perfectly reasonable to ...
3 years, 8 months ago (2017-04-04 13:51:21 UTC) #38
Charlie Harrison
On 2017/04/04 13:51:21, engedy wrote: > Using placeholder icons as long as this is behind ...
3 years, 8 months ago (2017-04-04 14:30:12 UTC) #39
engedy
On 2017/04/04 14:30:12, Charlie Harrison wrote: > On 2017/04/04 13:51:21, engedy wrote: > > Using ...
3 years, 8 months ago (2017-04-04 18:05:05 UTC) #40
Ted C
lgtm https://codereview.chromium.org/2785913002/diff/120001/chrome/browser/ui/android/page_info/page_info_popup_android.cc File chrome/browser/ui/android/page_info/page_info_popup_android.cc (right): https://codereview.chromium.org/2785913002/diff/120001/chrome/browser/ui/android/page_info/page_info_popup_android.cc#newcode120 chrome/browser/ui/android/page_info/page_info_popup_android.cc:120: permissions_to_display.push_back(CONTENT_SETTINGS_TYPE_SUBRESOURCE_FILTER); this doesn't need to be conditionally included ...
3 years, 8 months ago (2017-04-05 17:15:54 UTC) #41
Charlie Harrison
Thanks everyone. Sending to CQ https://codereview.chromium.org/2785913002/diff/120001/chrome/browser/ui/android/page_info/page_info_popup_android.cc File chrome/browser/ui/android/page_info/page_info_popup_android.cc (right): https://codereview.chromium.org/2785913002/diff/120001/chrome/browser/ui/android/page_info/page_info_popup_android.cc#newcode120 chrome/browser/ui/android/page_info/page_info_popup_android.cc:120: permissions_to_display.push_back(CONTENT_SETTINGS_TYPE_SUBRESOURCE_FILTER); On 2017/04/05 17:15:54, ...
3 years, 8 months ago (2017-04-05 17:25:17 UTC) #42
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/2785913002/120001
3 years, 8 months ago (2017-04-05 17:27:54 UTC) #45
commit-bot: I haz the power
3 years, 8 months ago (2017-04-05 18:20:30 UTC) #48
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/3f46d56fe6658eb13d6b96b31fab...

Powered by Google App Engine
This is Rietveld 408576698