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

Side by Side Diff: chrome/common/extensions/api/content_settings.json

Issue 933273002: Revert of Expose camera settings to the extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [ 5 [
6 { 6 {
7 "namespace": "contentSettings", 7 "namespace": "contentSettings",
8 "description": "Use the <code>chrome.contentSettings</code> API to change se ttings that control whether websites can use features such as cookies, JavaScrip t, and plug-ins. More generally speaking, content settings allow you to customiz e Chrome's behavior on a per-site basis instead of globally.", 8 "description": "Use the <code>chrome.contentSettings</code> API to change se ttings that control whether websites can use features such as cookies, JavaScrip t, and plug-ins. More generally speaking, content settings allow you to customiz e Chrome's behavior on a per-site basis instead of globally.",
9 "compiler_options": { 9 "compiler_options": {
10 "generate_type_functions": true 10 "generate_type_functions": true
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 {"type":"string", "enum": ["allow", "block", "ask"]} 237 {"type":"string", "enum": ["allow", "block", "ask"]}
238 ] 238 ]
239 }, 239 },
240 "microphone": { 240 "microphone": {
241 "$ref": "ContentSetting", 241 "$ref": "ContentSetting",
242 "description": "Whether to allow sites to access the microphone. One of <br><var>allow</var>: Allow sites to access the microphone,<br><var>block</var>: Don't allow sites to access the microphone,<br><var>ask</var>: Ask when a site wants to access the microphone. <br>Default is <var>ask</var>.<br>The primary UR L is the URL of the document which requested microphone access. The secondary UR L is not used.", 242 "description": "Whether to allow sites to access the microphone. One of <br><var>allow</var>: Allow sites to access the microphone,<br><var>block</var>: Don't allow sites to access the microphone,<br><var>ask</var>: Ask when a site wants to access the microphone. <br>Default is <var>ask</var>.<br>The primary UR L is the URL of the document which requested microphone access. The secondary UR L is not used.",
243 "value": [ 243 "value": [
244 "media-stream-mic", 244 "media-stream-mic",
245 {"type":"string", "enum": ["allow", "block", "ask"]} 245 {"type":"string", "enum": ["allow", "block", "ask"]}
246 ] 246 ]
247 },
248 "camera": {
249 "$ref": "ContentSetting",
250 "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 a llow sites to access the camera,<br><var>ask</var>: Ask when a site wants to acc ess 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.",
251 "value": [
252 "media-stream-camera",
253 {"type":"string", "enum": ["allow", "block", "ask"]}
254 ]
255 } 247 }
256 } 248 }
257 } 249 }
258 ] 250 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698