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

Issue 1084423002: Split Camera and Mic into two permissions on the Site Details page (under Site Settings). (Closed)

Created:
5 years, 8 months ago by Finnur
Modified:
5 years, 8 months ago
Reviewers:
newt (away)
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Split Camera and Mic into two permissions on the Site Details page (under Site Settings). BUG=477678 Committed: https://crrev.com/b2280c4e66b154c89b918befba3b07a1b3e84ec3 Cr-Commit-Position: refs/heads/master@{#327032}

Patch Set 1 #

Patch Set 2 : Polish #

Total comments: 9

Patch Set 3 : Address feedback #

Patch Set 4 : Polish #

Total comments: 30

Patch Set 5 : Address feedback #

Patch Set 6 : Split the test #

Total comments: 2

Patch Set 7 : Address feedback #

Patch Set 8 : Address feedback and sync #

Patch Set 9 : Fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+416 lines, -445 lines) Patch
A + chrome/android/java/res/drawable-hdpi/permission_camera.png View 1 2 Binary file 0 comments Download
D chrome/android/java/res/drawable-hdpi/permission_media.png View 1 2 Binary file 0 comments Download
A + chrome/android/java/res/drawable-mdpi/permission_camera.png View 1 2 Binary file 0 comments Download
D chrome/android/java/res/drawable-mdpi/permission_media.png View 1 2 Binary file 0 comments Download
A + chrome/android/java/res/drawable-xhdpi/permission_camera.png View 1 2 Binary file 0 comments Download
D chrome/android/java/res/drawable-xhdpi/permission_media.png View 1 2 Binary file 0 comments Download
A + chrome/android/java/res/drawable-xxhdpi/permission_camera.png View 1 2 Binary file 0 comments Download
D chrome/android/java/res/drawable-xxhdpi/permission_media.png View 1 2 Binary file 0 comments Download
A + chrome/android/java/res/drawable-xxxhdpi/permission_camera.png View 1 2 Binary file 0 comments Download
D chrome/android/java/res/drawable-xxxhdpi/permission_media.png View 1 2 Binary file 0 comments Download
D chrome/android/java/res/drawable/website_voice_and_video_capture.xml View 1 2 1 chunk +0 lines, -15 lines 0 comments Download
M chrome/android/java/res/layout/website_features.xml View 1 2 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/android/java/res/xml/content_preferences.xml View 1 2 1 chunk +6 lines, -2 lines 0 comments Download
M chrome/android/java/res/xml/single_website_preferences.xml View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/WebsiteSettingsPopup.java View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java View 1 2 3 chunks +48 lines, -15 lines 0 comments Download
A + chrome/android/java/src/org/chromium/chrome/browser/preferences/website/CameraInfo.java View 1 2 3 4 1 chunk +5 lines, -5 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/website/ContentPreferences.java View 1 2 4 chunks +13 lines, -7 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/website/ContentSettingsResources.java View 1 2 3 6 chunks +20 lines, -8 lines 0 comments Download
A + chrome/android/java/src/org/chromium/chrome/browser/preferences/website/MicrophoneInfo.java View 1 2 3 4 5 6 7 1 chunk +5 lines, -5 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/website/SingleWebsitePreferences.java View 1 2 3 4 5 6 12 chunks +31 lines, -94 lines 0 comments Download
D chrome/android/java/src/org/chromium/chrome/browser/preferences/website/VoiceAndVideoCaptureInfo.java View 1 2 3 4 1 chunk +0 lines, -84 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/website/Website.java View 1 2 3 4 2 chunks +31 lines, -54 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/website/WebsitePermissionsFetcher.java View 1 2 3 4 3 chunks +25 lines, -9 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/website/WebsitePreference.java View 1 2 3 chunks +0 lines, -38 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/website/WebsitePreferenceBridge.java View 1 2 3 4 2 chunks +41 lines, -18 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/website/WebsitePreferences.java View 1 2 3 4 8 chunks +20 lines, -11 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/website/WebsiteSettingsCategoryFilter.java View 1 2 6 chunks +40 lines, -29 lines 0 comments Download
M chrome/android/java/strings/android_chrome_strings.grd View 1 2 3 4 5 6 7 2 chunks +12 lines, -6 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/preferences/website/ContentPreferencesTest.java View 1 2 3 4 5 6 7 8 3 chunks +70 lines, -13 lines 0 comments Download
M chrome/browser/android/preferences/pref_service_bridge.cc View 1 2 2 chunks +26 lines, -13 lines 0 comments Download
M chrome/browser/android/preferences/website_preference_bridge.cc View 1 2 3 4 2 chunks +19 lines, -10 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
Finnur
5 years, 8 months ago (2015-04-16 14:57:40 UTC) #2
newt (away)
This looks good as a first step towards splitting these permissions apart, but I'm confused ...
5 years, 8 months ago (2015-04-16 17:11:20 UTC) #3
Finnur
> What's the plan there? Something like this?
5 years, 8 months ago (2015-04-22 16:01:27 UTC) #4
Finnur
https://codereview.chromium.org/1084423002/diff/20001/chrome/android/java/res/xml/single_website_preferences.xml File chrome/android/java/res/xml/single_website_preferences.xml (right): https://codereview.chromium.org/1084423002/diff/20001/chrome/android/java/res/xml/single_website_preferences.xml#newcode28 chrome/android/java/res/xml/single_website_preferences.xml:28: android:key="video_capture_permission_list" /> Yeah, I agree. In addition to being ...
5 years, 8 months ago (2015-04-22 16:01:38 UTC) #5
newt (away)
looks good. all small comments. https://codereview.chromium.org/1084423002/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/1084423002/diff/60001/chrome/android/java/res/xml/single_website_preferences.xml#newcode28 chrome/android/java/res/xml/single_website_preferences.xml:28: android:key="video_capture_permission_list" /> "camera_permission_list", similarly ...
5 years, 8 months ago (2015-04-22 17:35:55 UTC) #6
Finnur
All addressed, I believe (and some additional cleanup). PTAL. https://codereview.chromium.org/1084423002/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/1084423002/diff/60001/chrome/android/java/res/xml/single_website_preferences.xml#newcode28 chrome/android/java/res/xml/single_website_preferences.xml:28: ...
5 years, 8 months ago (2015-04-24 13:52:00 UTC) #7
newt (away)
lgtm So, what is the infobar situation if the user visits a page that requests ...
5 years, 8 months ago (2015-04-24 16:52:29 UTC) #8
Finnur
On 2015/04/24 16:52:29, newt wrote: > lgtm > > So, what is the infobar situation ...
5 years, 8 months ago (2015-04-24 19:45:26 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1084423002/160001
5 years, 8 months ago (2015-04-27 12:45:49 UTC) #12
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 8 months ago (2015-04-27 13:09:11 UTC) #13
commit-bot: I haz the power
5 years, 8 months ago (2015-04-27 13:10:14 UTC) #14
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/b2280c4e66b154c89b918befba3b07a1b3e84ec3
Cr-Commit-Position: refs/heads/master@{#327032}

Powered by Google App Engine
This is Rietveld 408576698