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

Unified Diff: chrome/browser/resources/options/content_settings.html

Issue 2682653005: Settings: Add a new Enable Protected Content checkbox on all platforms (Closed)
Patch Set: fix up Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/options/content_settings.html
diff --git a/chrome/browser/resources/options/content_settings.html b/chrome/browser/resources/options/content_settings.html
index 0f49085447f587122c14e8a9e299baed7221b64d..c66fc23e19a7ecbb9f4c1ea7aa0aaee4296703bf 100644
--- a/chrome/browser/resources/options/content_settings.html
+++ b/chrome/browser/resources/options/content_settings.html
@@ -304,31 +304,39 @@
</div>
</div>
</section>
-<if expr="chromeos or is_win">
<!-- Protected Content filter -->
<section guest-visibility="disabled">
<h3 i18n-content="protectedContentTabLabel"
class="content-settings-header"></h3>
<div>
+ <div class="checkbox">
+ <label>
+ <input pref="webkit.webprefs.encrypted_media_enabled"
+ type="checkbox">
+ <span i18n-content="protectedContentEnableCheckbox"></span>
+ </label>
+ </div>
+<if expr="chromeos or is_win">
<div class="settings-row">
<p i18n-content="protectedContentInfo"></p>
</div>
<div class="checkbox">
<label>
<input pref="settings.privacy.drm_enabled" type="checkbox">
- <span i18n-content="protectedContentEnable"></span>
+ <span i18n-content="protectedContentEnableIdentifiersCheckbox">
+ </span>
</label>
</div>
- <if expr="chromeos">
+</if>
+<if expr="chromeos">
<div class="settings-row">
<button id="protected-content-exceptions"
class="exceptions-list-button" contentType="protectedContent"
i18n-content="manageExceptions"></button>
</div>
- </if>
+</if>
</div>
</section>
-</if>
<!-- Microphone filter -->
<section id="media-stream-mic">
<h3 i18n-content="mediaStreamMicTabLabel"></h3>

Powered by Google App Engine
This is Rietveld 408576698