Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 253 {"type":"string", "enum": ["allow", "block", "ask"]} | 253 {"type":"string", "enum": ["allow", "block", "ask"]} |
| 254 ] | 254 ] |
| 255 }, | 255 }, |
| 256 "camera": { | 256 "camera": { |
| 257 "$ref": "ContentSetting", | 257 "$ref": "ContentSetting", |
| 258 "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.", | 258 "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.", |
| 259 "value": [ | 259 "value": [ |
| 260 "media-stream-camera", | 260 "media-stream-camera", |
| 261 {"type":"string", "enum": ["allow", "block", "ask"]} | 261 {"type":"string", "enum": ["allow", "block", "ask"]} |
| 262 ] | 262 ] |
| 263 }, | |
| 264 "unsandboxedPlugins": { | |
| 265 "$ref": "ContentSetting", | |
| 266 "description": "Whether to allow sites to run plug-ins unsandboxed. One of <br><var>allow</var>: Allow sites to run plug-ins unsandboxed,<br><var>block< /var>: Don't allow sites to run plug-ins unsandboxed,<br><var>ask</var>: Ask whe n a site wants to run a plug-in unsandboxed. <br>Default is <var>ask</var>.<br>T he primary URL is the URL of the top-level frame. The secondary URL is not used. ", | |
|
msramek
2015/02/03 17:56:43
Maybe not the best wording. But I didn't like the
Mike West
2015/02/03 20:18:02
"Unsandboxed" is fine; we're targeting developers
| |
| 267 "value": [ | |
| 268 "ppapi-broker", | |
| 269 {"type":"string", "enum": ["allow", "block", "ask"]} | |
| 270 ] | |
| 263 } | 271 } |
| 264 } | 272 } |
| 265 } | 273 } |
| 266 ] | 274 ] |
| OLD | NEW |