New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 687783 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug

Blocking:
issue 671375



Sign in to add a comment

[Content Settings] Protected Content Section is Missing

Project Member Reported by tommycli@chromium.org, Feb 2 2017

Issue description

The Protected Content section (on Windows and ChromeOS) is currently missing from MD Settings.

See screenshots for the ChromeOS look. Windows version lacks the exceptions button and dialog.

This checkbox is also undergoing a UI redesign potentially finishing next week or the week after...

My plan is to copy the existing functionality from Options over, and then edit it to accommodate the re-design afterwards. I expect most of the code will be shared.
 
Screenshot 2017-02-01 at 4.49.01 PM.png
48.5 KB View Download
Screenshot 2017-02-01 at 4.49.12 PM.png
32.2 KB View Download
Cc: dschuyler@chromium.org bettes@chromium.org
dschuyler, bettes: I'm adding a new section to MD Content Settings just so you guys know. It's so we have parity with Old Options. CrOS/Windows only.
Thanks for the heads up, Tommy. If you'd like, assign this bug to me when the implementation can be viewed on our machines. 
bettes: I got a CL in progress. Here's two screenshots. 

Two questions I have: 

1. What icon would you like to use for Protected Content?
2. Is last on the list good? Or different place?
Screenshot from 2017-02-02 15:21:35.png
21.5 KB View Download
Screenshot from 2017-02-02 15:21:15.png
8.6 KB View Download
1. hardware:security
2. LGTM
How it looks with the Exceptions added btw (On ChromeOS only)
Screenshot from 2017-02-02 15:57:50.png
14.0 KB View Download
Hey Alan, one more thing. The old version has explanation text: "Some content services use machine identifiers to uniquely identify you for the purposes of authorizing access to protected content."

That doesn't appear in the new version yet. 

Do you just want that as secondary text? Something else? Should we just wait for the re-design? (I'm assuming that's in progress now).
Project Member

Comment 8 by bugdroid1@chromium.org, Feb 4 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/2e34f7eb3596b5ff981a4d1554bec36765e23f5d

commit 2e34f7eb3596b5ff981a4d1554bec36765e23f5d
Author: tommycli <tommycli@chromium.org>
Date: Sat Feb 04 00:55:23 2017

MD Settings: Add Protected Content toggle to Site Settings

Adds the toggle with the same text as the Old Options. The site
exceptions portion is not included in this CL.

BUG= 687783 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2673783002
Cr-Commit-Position: refs/heads/master@{#448133}

[modify] https://crrev.com/2e34f7eb3596b5ff981a4d1554bec36765e23f5d/chrome/app/settings_strings.grdp
[modify] https://crrev.com/2e34f7eb3596b5ff981a4d1554bec36765e23f5d/chrome/browser/extensions/api/settings_private/prefs_util.cc
[modify] https://crrev.com/2e34f7eb3596b5ff981a4d1554bec36765e23f5d/chrome/browser/resources/settings/privacy_page/privacy_page.html
[modify] https://crrev.com/2e34f7eb3596b5ff981a4d1554bec36765e23f5d/chrome/browser/resources/settings/route.js
[modify] https://crrev.com/2e34f7eb3596b5ff981a4d1554bec36765e23f5d/chrome/browser/resources/settings/settings_resources.grd
[modify] https://crrev.com/2e34f7eb3596b5ff981a4d1554bec36765e23f5d/chrome/browser/resources/settings/site_settings_page/site_settings_page.html
[modify] https://crrev.com/2e34f7eb3596b5ff981a4d1554bec36765e23f5d/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc

Comment 9 by dbeam@chromium.org, Feb 7 2017

Labels: Hotlist-MD-Settings-Privacy-SiteSettings
Cc: kerrnel@chromium.org palmer@chromium.org tommycli@chromium.org jsc...@chromium.org
 Issue 686886  has been merged into this issue.
Project Member

Comment 12 by bugdroid1@chromium.org, Feb 7 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/ad7fe40bd171138a8c8b31c7f68b5e05d6761ea6

commit ad7fe40bd171138a8c8b31c7f68b5e05d6761ea6
Author: tommycli <tommycli@chromium.org>
Date: Tue Feb 07 01:29:34 2017

MD Settings: Add description for Protected Content

Adds the explanation for Protected Content toggle.

BUG= 687783 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2677193004
Cr-Commit-Position: refs/heads/master@{#448497}

[modify] https://crrev.com/ad7fe40bd171138a8c8b31c7f68b5e05d6761ea6/chrome/app/settings_strings.grdp
[modify] https://crrev.com/ad7fe40bd171138a8c8b31c7f68b5e05d6761ea6/chrome/browser/resources/settings/privacy_page/privacy_page.html
[modify] https://crrev.com/ad7fe40bd171138a8c8b31c7f68b5e05d6761ea6/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc

Project Member

Comment 13 by bugdroid1@chromium.org, Feb 7 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/ed4f8466dbb2bdc88bfee21b9ecabb16132b1316

commit ed4f8466dbb2bdc88bfee21b9ecabb16132b1316
Author: tommycli <tommycli@chromium.org>
Date: Tue Feb 07 23:10:43 2017

MD Settings: Make Protected Content toggle change label text on toggle

BUG= 687783 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2677413002
Cr-Commit-Position: refs/heads/master@{#448772}

[modify] https://crrev.com/ed4f8466dbb2bdc88bfee21b9ecabb16132b1316/chrome/browser/resources/settings/privacy_page/privacy_page.html
[modify] https://crrev.com/ed4f8466dbb2bdc88bfee21b9ecabb16132b1316/chrome/browser/resources/settings/privacy_page/privacy_page.js

Status: Fixed (was: Assigned)
Well now MD Settings has parity with Old Options, so I'm closing the bug.

The version in Old Options is undergoing design changes right now, so I'll probably have to update MD Settings later... 

But -- this is no longer something that blocks Settings launch. Closing.
Project Member

Comment 15 by bugdroid1@chromium.org, Feb 10 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/595de1b5cec1ba648843e33d2ee01957b4f5966c

commit 595de1b5cec1ba648843e33d2ee01957b4f5966c
Author: tommycli <tommycli@chromium.org>
Date: Fri Feb 10 21:43:26 2017

MD Settings: Update Protected Content for redesign

 1. Preserves settings.privacy.drm_enabled to toggle unique identifiers.
 2. Adds webkit.webprefs.encrypted_media_enabled above to toggle EME.
 3. Hides the exception list if prefs.settings.privacy.drm_enabled is
    disabled.

BUG= 687783 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2688793002
Cr-Commit-Position: refs/heads/master@{#449744}

[modify] https://crrev.com/595de1b5cec1ba648843e33d2ee01957b4f5966c/chrome/app/settings_strings.grdp
[modify] https://crrev.com/595de1b5cec1ba648843e33d2ee01957b4f5966c/chrome/browser/extensions/api/settings_private/prefs_util.cc
[modify] https://crrev.com/595de1b5cec1ba648843e33d2ee01957b4f5966c/chrome/browser/resources/settings/privacy_page/compiled_resources2.gyp
[modify] https://crrev.com/595de1b5cec1ba648843e33d2ee01957b4f5966c/chrome/browser/resources/settings/privacy_page/privacy_page.html
[modify] https://crrev.com/595de1b5cec1ba648843e33d2ee01957b4f5966c/chrome/browser/resources/settings/privacy_page/privacy_page.js
[modify] https://crrev.com/595de1b5cec1ba648843e33d2ee01957b4f5966c/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc

Sign in to add a comment