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

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

Issue 2699793003: MD Settings: Add MIDI devices to Content Settings (Closed)
Patch Set: add icon and fix tests 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
« no previous file with comments | « chrome/browser/resources/settings/icons.html ('k') | chrome/browser/resources/settings/route.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3e47b6be33fe16ad6ba4e30056a2e80138cb42a5..b35ac7543d0c513598806058029d8c62f46733c1 100644
--- a/chrome/browser/resources/settings/privacy_page/privacy_page.html
+++ b/chrome/browser/resources/settings/privacy_page/privacy_page.html
@@ -393,6 +393,19 @@
</category-setting-exceptions>
</settings-subpage>
</template>
+ <template is="dom-if" route-path="/content/midiDevices" no-search>
+ <settings-subpage page-title="$i18n{siteSettingsMidiDevices}">
+ <category-default-setting
+ toggle-off-label="$i18n{siteSettingsMidiDevicesBlock}"
+ toggle-on-label=
+ "$i18n{siteSettingsMidiDevicesAskRecommended}"
+ category="{{ContentSettingsTypes.MIDI_DEVICES}}">
+ </category-default-setting>
+ <category-setting-exceptions
+ category="{{ContentSettingsTypes.MIDI_DEVICES}}">
+ </category-setting-exceptions>
+ </settings-subpage>
+ </template>
<template is="dom-if" route-path="/content/usbDevices" no-search>
<settings-subpage page-title="$i18n{siteSettingsUsbDevices}">
<usb-devices></usb-devices>
« no previous file with comments | « chrome/browser/resources/settings/icons.html ('k') | chrome/browser/resources/settings/route.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698