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

Issue 1091253005: [Android] Update Protected Media Identifier Settings UI to reflect exceptions. (Closed)

Created:
5 years, 8 months ago by knn
Modified:
5 years, 7 months ago
CC:
Maria, chromium-reviews, posciak+watch_chromium.org, feature-media-reviews_chromium.org, wjia+watch_chromium.org, mcasas+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android] Update Protected Media Identifier Settings UI to reflect exceptions. Protected Media Settings UI no longer has a custom preference screen and now shares WebsitePreferences with other ContentSettings. The explanatory text has been shifted entirely to a webpage which is linked. The reset credentials button has been moved to the options menu. Also the permission prompt(infobar) now points to the help page instead of the preference screen as it no longer contains any explanatory text. Screenshots of implementation: https://drive.google.com/open?id=0B6xQNbSUHV8BfmZuRzdUelg4LUZyd1lObEh2dFNXRktpa2JkQVdFbFVMWkFQbGVnaFFadW8&authuser=0 BUG=467666, 469783 Committed: https://crrev.com/7079464faaa5d2d2903fb701213bddcd2fc7bec8 Cr-Commit-Position: refs/heads/master@{#327834}

Patch Set 1 #

Total comments: 14

Patch Set 2 : Addressed Newton's Comments #

Total comments: 2

Patch Set 3 : Missed a change in prev patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -168 lines) Patch
M chrome/android/java/res/xml/content_preferences.xml View 1 1 chunk +1 line, -1 line 0 comments Download
D chrome/android/java/res/xml/protected_content_preferences.xml View 1 chunk +0 lines, -29 lines 0 comments Download
M chrome/android/java/res/xml/website_preferences.xml View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ChromiumApplication.java View 1 3 chunks +0 lines, -12 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/Preferences.java View 1 1 chunk +1 line, -1 line 0 comments Download
D chrome/android/java/src/org/chromium/chrome/browser/preferences/ProtectedContentPreferences.java View 1 chunk +0 lines, -77 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/website/WebsitePermissionsFetcher.java View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/website/WebsitePreferences.java View 1 14 chunks +49 lines, -6 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/website/WebsiteSettingsCategoryFilter.java View 1 5 chunks +19 lines, -8 lines 0 comments Download
M chrome/android/java/strings/android_chrome_strings.grd View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/app/generated_resources.grd View 2 chunks +1 line, -4 lines 0 comments Download
M chrome/browser/android/chromium_application.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/android/chromium_application.cc View 1 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/media/protected_media_identifier_infobar_delegate.cc View 1 2 3 chunks +1 line, -19 lines 0 comments Download
M chrome/common/url_constants.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/common/url_constants.cc View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (4 generated)
knn
{xhwang,ddorwin}@chromium.org: Please review the overall change and protected_media_identifier_infobar_delegate.cc mariakhomenko@chromium.org: Please review changes in chrome/android/java/s* yusufo@chromium.org: ...
5 years, 8 months ago (2015-04-22 17:48:00 UTC) #2
Maria
I think Newton would be a better reviewer for this change -- can you take ...
5 years, 8 months ago (2015-04-22 18:58:53 UTC) #4
knn
On 2015/04/22 18:58:53, Maria wrote: > I think Newton would be a better reviewer for ...
5 years, 8 months ago (2015-04-24 12:35:51 UTC) #5
xhwang
On 2015/04/24 12:35:51, knn wrote: > On 2015/04/22 18:58:53, Maria wrote: > > I think ...
5 years, 8 months ago (2015-04-27 18:05:28 UTC) #6
knn
On 2015/04/27 18:05:28, xhwang wrote: > On 2015/04/24 12:35:51, knn wrote: > > On 2015/04/22 ...
5 years, 8 months ago (2015-04-28 10:26:03 UTC) #7
knn
On 2015/04/28 10:26:03, knn wrote: > On 2015/04/27 18:05:28, xhwang wrote: > > On 2015/04/24 ...
5 years, 7 months ago (2015-04-29 20:06:01 UTC) #8
xhwang
On 2015/04/29 20:06:01, knn wrote: > On 2015/04/28 10:26:03, knn wrote: > > On 2015/04/27 ...
5 years, 7 months ago (2015-04-29 20:17:37 UTC) #9
newt (away)
The preferences-related code looks mostly good. Just a few small comments inline. Someone else should ...
5 years, 7 months ago (2015-04-30 00:31:59 UTC) #10
newt (away)
p.s. Thanks for the detailed commit message and the screenshots. They were both very helpful ...
5 years, 7 months ago (2015-04-30 00:54:26 UTC) #11
knn
Thanks Newton. The only change to the infobar/permission prompt is it is now pointing to ...
5 years, 7 months ago (2015-04-30 16:00:36 UTC) #12
newt (away)
one last comment, then lgtm https://codereview.chromium.org/1091253005/diff/20001/chrome/browser/media/protected_media_identifier_infobar_delegate.cc File chrome/browser/media/protected_media_identifier_infobar_delegate.cc (right): https://codereview.chromium.org/1091253005/diff/20001/chrome/browser/media/protected_media_identifier_infobar_delegate.cc#newcode17 chrome/browser/media/protected_media_identifier_infobar_delegate.cc:17: #if defined(OS_ANDROID) || defined(OS_CHROMEOS) ...
5 years, 7 months ago (2015-04-30 17:47:17 UTC) #13
knn
Thanks Newton, Fixed that. Xiaohan, David: Please have a look if you have any additional ...
5 years, 7 months ago (2015-04-30 18:42:44 UTC) #14
xhwang
lgtm
5 years, 7 months ago (2015-04-30 23:31:32 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1091253005/40001
5 years, 7 months ago (2015-04-30 23:32:22 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 7 months ago (2015-04-30 23:38:21 UTC) #19
commit-bot: I haz the power
5 years, 7 months ago (2015-04-30 23:39:53 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7079464faaa5d2d2903fb701213bddcd2fc7bec8
Cr-Commit-Position: refs/heads/master@{#327834}

Powered by Google App Engine
This is Rietveld 408576698