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

Unified Diff: chrome/browser/resources/settings/privacy_page/privacy_page.html

Issue 2673783002: MD Settings: Add Protected Content toggle to Site Settings (Closed)
Patch Set: address comments 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/settings/privacy_page/privacy_page.html
diff --git a/chrome/browser/resources/settings/privacy_page/privacy_page.html b/chrome/browser/resources/settings/privacy_page/privacy_page.html
index e7ef19bd5a62d1c3c50c0d629e0eec8ef8e610b2..29781a89a70f8c6c91356f893fcbdbfecc51eab7 100644
--- a/chrome/browser/resources/settings/privacy_page/privacy_page.html
+++ b/chrome/browser/resources/settings/privacy_page/privacy_page.html
@@ -437,6 +437,18 @@
</site-data-details-subpage>
</settings-subpage>
</template>
+<if expr="chromeos or is_win">
+ <template is="dom-if" route-path="/content/protectedContent" no-search>
+ <settings-subpage page-title="$i18n{siteSettingsProtectedContent}">
+ <div class="settings-box first">
+ <settings-toggle-button class="start"
+ pref="{{prefs.settings.privacy.drm_enabled}}"
+ label="$i18n{siteSettingsProtectedContentEnable}">
+ </settings-toggle-button>
+ </div>
+ </settings-subpage>
+ </template>
+</if>
</settings-animated-pages>
</template>
<script src="privacy_page.js"></script>
« no previous file with comments | « chrome/browser/extensions/api/settings_private/prefs_util.cc ('k') | chrome/browser/resources/settings/route.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698