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

Unified Diff: chrome/common/extensions/api/content_settings.json

Issue 27635002: Content settings for <audio> and <video>. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test fix. Created 6 years, 6 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/common/extensions/api/content_settings.json
diff --git a/chrome/common/extensions/api/content_settings.json b/chrome/common/extensions/api/content_settings.json
index 5d21a7030eb98e8ce1e3d3f7e40d1f5bc9cca198..ffebaf52fef1ed7ca38991bb15871b3121fa68b0 100644
--- a/chrome/common/extensions/api/content_settings.json
+++ b/chrome/common/extensions/api/content_settings.json
@@ -197,6 +197,14 @@
{"type":"string", "enum": ["allow", "block"]}
]
},
+ "media": {
+ "$ref": "ContentSetting",
+ "description": "Whether to show HTML5 media (&lt;audio&gt;, &lt;video&gt;). One of<br><var>allow</var>: Show media,<br><var>block</var>: Don't show media. <br>Default is <var>allow</var>.<br>The primary URL is the main-frame URL. The secondary URL is the URL of the media.",
+ "value": [
+ "media",
+ {"type":"string", "enum": ["allow", "block"]}
+ ]
+ },
"plugins": {
"$ref": "ContentSetting",
"description": "Whether to run plug-ins. One of<br><var>allow</var>: Run plug-ins automatically,<br><var>block</var>: Don't run plug-ins automatically. <br>Default is <var>allow</var>.<br>The primary URL is the main-frame URL. The secondary URL is not used.",

Powered by Google App Engine
This is Rietveld 408576698