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

Issue 2682653005: Settings: Add a new Enable Protected Content checkbox on all platforms (Closed)

Created:
3 years, 10 months ago by tommycli
Modified:
3 years, 10 months ago
Reviewers:
stevenjb, xhwang
CC:
chromium-reviews, dbeam+watch-options_chromium.org, srahim+watch_chromium.org, arv+watch_chromium.org, michaelpg+watch-options_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Settings: Add a new Enable Protected Content checkbox on all platforms This CL adds a new checkbox for the new WebKit preference to enable HTML5 Encrypted Media / DRM. BUG=690077 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2682653005 Cr-Commit-Position: refs/heads/master@{#449105} Committed: https://chromium.googlesource.com/chromium/src/+/239f8c5202eb155ff3bc22dbc1db77c0753497fa

Patch Set 1 #

Total comments: 3

Patch Set 2 : fix up #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -14 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +7 lines, -7 lines 3 comments Download
M chrome/browser/resources/options/content_settings.html View 1 1 chunk +13 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/options/content_settings_handler.cc View 1 chunk +4 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 26 (13 generated)
xhwang
I tested this CL on Linux on top of https://chromiumcodereview.appspot.com/2676633006/, it's working pretty well. Here ...
3 years, 10 months ago (2017-02-08 19:54:46 UTC) #5
xhwang
FWIW, toggling the setting won't affect currently playing protected content. But new playback attempt will ...
3 years, 10 months ago (2017-02-08 19:55:39 UTC) #6
tommycli
stevenjb: PTAL. This CL obsoletes https://codereview.chromium.org/2679723003/ due to design changes. I have tested these changes ...
3 years, 10 months ago (2017-02-08 20:03:13 UTC) #8
tommycli
On 2017/02/08 20:03:13, tommycli wrote: > stevenjb: PTAL. This CL obsoletes https://codereview.chromium.org/2679723003/ > due to ...
3 years, 10 months ago (2017-02-08 20:04:16 UTC) #9
stevenjb
lgtm w/ suggestion https://codereview.chromium.org/2682653005/diff/1/chrome/browser/resources/options/content_settings.html File chrome/browser/resources/options/content_settings.html (right): https://codereview.chromium.org/2682653005/diff/1/chrome/browser/resources/options/content_settings.html#newcode337 chrome/browser/resources/options/content_settings.html:337: </if> I think it would be ...
3 years, 10 months ago (2017-02-08 20:24:36 UTC) #11
tommycli
done thanks for suggestion https://codereview.chromium.org/2682653005/diff/1/chrome/browser/resources/options/content_settings.html File chrome/browser/resources/options/content_settings.html (right): https://codereview.chromium.org/2682653005/diff/1/chrome/browser/resources/options/content_settings.html#newcode337 chrome/browser/resources/options/content_settings.html:337: </if> On 2017/02/08 20:24:36, stevenjb ...
3 years, 10 months ago (2017-02-08 20:54:18 UTC) #12
tommycli
On 2017/02/08 20:54:18, tommycli wrote: > done thanks for suggestion > > https://codereview.chromium.org/2682653005/diff/1/chrome/browser/resources/options/content_settings.html > File ...
3 years, 10 months ago (2017-02-08 21:39:00 UTC) #15
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/2682653005/20001
3 years, 10 months ago (2017-02-08 21:59:02 UTC) #19
xhwang
lgtm
3 years, 10 months ago (2017-02-08 22:12:41 UTC) #20
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/239f8c5202eb155ff3bc22dbc1db77c0753497fa
3 years, 10 months ago (2017-02-08 22:21:32 UTC) #23
xhwang
https://codereview.chromium.org/2682653005/diff/20001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2682653005/diff/20001/chrome/app/generated_resources.grd#newcode8313 chrome/app/generated_resources.grd:8313: + <message name="IDS_PROTECTED_CONTENT_ENABLE_IDENTIFIERS_CHECKBOX" desc="The label of the checkbox for ...
3 years, 10 months ago (2017-02-09 17:43:07 UTC) #24
tommycli
thanks https://codereview.chromium.org/2682653005/diff/20001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2682653005/diff/20001/chrome/app/generated_resources.grd#newcode8313 chrome/app/generated_resources.grd:8313: + <message name="IDS_PROTECTED_CONTENT_ENABLE_IDENTIFIERS_CHECKBOX" desc="The label of the checkbox ...
3 years, 10 months ago (2017-02-09 17:49:13 UTC) #25
xhwang
3 years, 10 months ago (2017-02-09 17:50:33 UTC) #26
Message was sent while issue was closed.
https://codereview.chromium.org/2682653005/diff/20001/chrome/app/generated_re...
File chrome/app/generated_resources.grd (right):

https://codereview.chromium.org/2682653005/diff/20001/chrome/app/generated_re...
chrome/app/generated_resources.grd:8313: +        <message
name="IDS_PROTECTED_CONTENT_ENABLE_IDENTIFIERS_CHECKBOX" desc="The label of the
checkbox for enabling machine identifiers to uniquely identiy the user for
protected content.">
On 2017/02/09 17:49:13, tommycli wrote:
> On 2017/02/09 17:43:07, xhwang_slow wrote:
> > I am not sure whether IDS tag renaming would affect the translation process.
> One
> > option is that when we merge this change back to M57, we keep the old name
> here.
> > WDYT?
> 
> Hi! I talked to laforge and he said that the hash of the string mattered - not
> the IDS tag name, and not the description! (Which surprised me)

Awesome! Thanks for confirmation! I learned something today ;)

Powered by Google App Engine
This is Rietveld 408576698