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

Issue 2688793002: MD Settings: Update Protected Content for redesign (Closed)

Created:
3 years, 10 months ago by tommycli
Modified:
3 years, 10 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, arv+watch_chromium.org, chromium-apps-reviews_chromium.org, dbeam+watch-settings_chromium.org, srahim+watch_chromium.org, stevenjb+watch-md-settings_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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} Committed: https://chromium.googlesource.com/chromium/src/+/595de1b5cec1ba648843e33d2ee01957b4f5966c

Patch Set 1 : Originally reviewed patch #

Total comments: 7

Patch Set 2 : String changes without reformatting #

Patch Set 3 : PS2 + reformat = PS3 = PS1 #

Total comments: 4

Patch Set 4 : Convert to doing i18n in JS #

Patch Set 5 : fix closure issues #

Unified diffs Side-by-side diffs Delta from patch set Stats (+240 lines, -224 lines) Patch
M chrome/app/settings_strings.grdp View 1 chunk +8 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/settings_private/prefs_util.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/privacy_page/compiled_resources2.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/settings/privacy_page/privacy_page.html View 1 2 3 2 chunks +19 lines, -9 lines 0 comments Download
M chrome/browser/resources/settings/privacy_page/privacy_page.js View 1 2 3 4 2 chunks +11 lines, -9 lines 0 comments Download
M chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc View 2 1 chunk +199 lines, -203 lines 0 comments Download

Messages

Total messages: 52 (32 generated)
tommycli
stevenjb: PTAL, Thanks! https://codereview.chromium.org/2688793002/diff/1/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc File chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc (right): https://codereview.chromium.org/2688793002/diff/1/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc#newcode1590 chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc:1590: #endif Wow the diff looks awful. ...
3 years, 10 months ago (2017-02-10 00:22:23 UTC) #5
stevenjb
https://codereview.chromium.org/2688793002/diff/1/chrome/browser/resources/settings/privacy_page/privacy_page.html File chrome/browser/resources/settings/privacy_page/privacy_page.html (right): https://codereview.chromium.org/2688793002/diff/1/chrome/browser/resources/settings/privacy_page/privacy_page.html#newcode428 chrome/browser/resources/settings/privacy_page/privacy_page.html:428: '$i18n{siteSettingsBlocked}')]]"> Just FMI, any particular reason to do this ...
3 years, 10 months ago (2017-02-10 00:32:31 UTC) #6
tommycli
https://codereview.chromium.org/2688793002/diff/1/chrome/browser/resources/settings/privacy_page/privacy_page.html File chrome/browser/resources/settings/privacy_page/privacy_page.html (right): https://codereview.chromium.org/2688793002/diff/1/chrome/browser/resources/settings/privacy_page/privacy_page.html#newcode428 chrome/browser/resources/settings/privacy_page/privacy_page.html:428: '$i18n{siteSettingsBlocked}')]]"> On 2017/02/10 00:32:31, stevenjb wrote: > Just FMI, ...
3 years, 10 months ago (2017-02-10 00:51:37 UTC) #7
stevenjb
lgtm (trusting that the md_settings_localized_strings_provider.cc change is correct, it would be better as a separate ...
3 years, 10 months ago (2017-02-10 01:12:47 UTC) #12
tommycli
Hey Steven, thanks! I will send in the formatting change as a separate TBR CL. ...
3 years, 10 months ago (2017-02-10 16:58:42 UTC) #15
tommycli
On 2017/02/10 16:58:42, tommycli wrote: > Hey Steven, thanks! I will send in the formatting ...
3 years, 10 months ago (2017-02-10 17:16:09 UTC) #19
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/2688793002/60001
3 years, 10 months ago (2017-02-10 17:16:55 UTC) #23
stevenjb
https://codereview.chromium.org/2688793002/diff/1/chrome/browser/resources/settings/privacy_page/privacy_page.html File chrome/browser/resources/settings/privacy_page/privacy_page.html (right): https://codereview.chromium.org/2688793002/diff/1/chrome/browser/resources/settings/privacy_page/privacy_page.html#newcode428 chrome/browser/resources/settings/privacy_page/privacy_page.html:428: '$i18n{siteSettingsBlocked}')]]"> On 2017/02/10 16:58:42, tommycli wrote: > On 2017/02/10 ...
3 years, 10 months ago (2017-02-10 17:21:08 UTC) #24
Dan Beam
On 2017/02/10 17:16:09, tommycli wrote: > On 2017/02/10 16:58:42, tommycli wrote: > > Hey Steven, ...
3 years, 10 months ago (2017-02-10 17:22:50 UTC) #25
Dan Beam
https://codereview.chromium.org/2688793002/diff/60001/chrome/browser/resources/settings/privacy_page/privacy_page.html File chrome/browser/resources/settings/privacy_page/privacy_page.html (right): https://codereview.chromium.org/2688793002/diff/60001/chrome/browser/resources/settings/privacy_page/privacy_page.html#newcode428 chrome/browser/resources/settings/privacy_page/privacy_page.html:428: '$i18n{siteSettingsBlocked}')]]"> this will break on '
3 years, 10 months ago (2017-02-10 17:23:53 UTC) #27
tommycli
3 years, 10 months ago (2017-02-10 18:44:49 UTC) #30
tommycli
dschuyler/dbeam: https://codereview.chromium.org/2688793002/diff/60001/chrome/browser/resources/settings/privacy_page/privacy_page.html File chrome/browser/resources/settings/privacy_page/privacy_page.html (right): https://codereview.chromium.org/2688793002/diff/60001/chrome/browser/resources/settings/privacy_page/privacy_page.html#newcode428 chrome/browser/resources/settings/privacy_page/privacy_page.html:428: '$i18n{siteSettingsBlocked}')]]"> On 2017/02/10 17:23:53, Dan Beam wrote: > ...
3 years, 10 months ago (2017-02-10 18:46:31 UTC) #31
dschuyler
https://codereview.chromium.org/2688793002/diff/60001/chrome/browser/resources/settings/privacy_page/privacy_page.html File chrome/browser/resources/settings/privacy_page/privacy_page.html (right): https://codereview.chromium.org/2688793002/diff/60001/chrome/browser/resources/settings/privacy_page/privacy_page.html#newcode428 chrome/browser/resources/settings/privacy_page/privacy_page.html:428: '$i18n{siteSettingsBlocked}')]]"> On 2017/02/10 18:46:31, tommycli wrote: > On 2017/02/10 ...
3 years, 10 months ago (2017-02-10 19:07:58 UTC) #32
tommycli
stevenjb: Thanks! I converted to the JS i18n you suggested earlier. PTAL again https://codereview.chromium.org/2688793002/diff/60001/chrome/browser/resources/settings/privacy_page/privacy_page.html File ...
3 years, 10 months ago (2017-02-10 19:17:00 UTC) #35
stevenjb
LGTM FWIW I do find this more readable.
3 years, 10 months ago (2017-02-10 19:37:49 UTC) #36
tommycli
On 2017/02/10 19:37:49, stevenjb wrote: > LGTM > FWIW I do find this more readable. ...
3 years, 10 months ago (2017-02-10 19:39:56 UTC) #37
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/2688793002/80001
3 years, 10 months ago (2017-02-10 19:40:13 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: closure_compilation on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/closure_compilation/builds/6163)
3 years, 10 months ago (2017-02-10 19:51:19 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/2688793002/100001
3 years, 10 months ago (2017-02-10 21:38:50 UTC) #49
commit-bot: I haz the power
3 years, 10 months ago (2017-02-10 21:44:08 UTC) #52
Message was sent while issue was closed.
Committed patchset #5 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/595de1b5cec1ba648843e33d2ee0...

Powered by Google App Engine
This is Rietveld 408576698