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

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

Issue 889893002: Expose camera settings to the extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 9a4ca017d4e85701bb7329037157a88861f96ede..74ca7fcdc11be6183955103e27976d35be6d915d 100644
--- a/chrome/common/extensions/api/content_settings.json
+++ b/chrome/common/extensions/api/content_settings.json
@@ -244,6 +244,14 @@
"media-stream-mic",
{"type":"string", "enum": ["allow", "block", "ask"]}
]
+ },
+ "mediaStreamCamera": {
Mike West 2015/01/30 12:07:58 Ditto for the renaming here.
+ "$ref": "ContentSetting",
+ "description": "Whether to allow sites to access the camera. One of <br><var>allow</var>: Allow sites to access the camera,<br><var>block</var>: Don't allow sites to access the camera,<br><var>ask</var>: Ask when a site wants to access the camera. <br>Default is <var>ask</var>.<br>The primary URL is the URL of the document which requested camera access. The secondary URL is not used.",
+ "value": [
+ "media-stream-camera",
+ {"type":"string", "enum": ["allow", "block", "ask"]}
+ ]
}
}
}

Powered by Google App Engine
This is Rietveld 408576698