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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
261 {"type":"string", "enum": ["allow", "block", "ask"]} | 261 {"type":"string", "enum": ["allow", "block", "ask"]} |
262 ] | 262 ] |
263 }, | 263 }, |
264 "unsandboxedPlugins": { | 264 "unsandboxedPlugins": { |
265 "$ref": "ContentSetting", | 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. ", | 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. ", |
267 "value": [ | 267 "value": [ |
268 "ppapi-broker", | 268 "ppapi-broker", |
269 {"type":"string", "enum": ["allow", "block", "ask"]} | 269 {"type":"string", "enum": ["allow", "block", "ask"]} |
270 ] | 270 ] |
271 }, | |
272 "automaticDownloads": { | |
273 "$ref": "ContentSetting", | |
274 "description": "Whether to allow sites to download multiple files automa tically. One of <br><var>allow</var>: Allow sites to download multiple files aut omatically,<br><var>block</var>: Don't allow sites to download multiple files au tomatically,<br><var>ask</var>: Ask when a site wants to download files automati cally after the first file. <br>Default is <var>ask</var>.<br>The primary URL is the URL of the top-level frame. The secondary URL is not used.", | |
Mike West
2015/02/03 20:21:53
Does 'block' just block downloading multiple files
| |
275 "value": [ | |
276 "multiple-automatic-downloads", | |
277 {"type":"string", "enum": ["allow", "block", "ask"]} | |
278 ] | |
271 } | 279 } |
272 } | 280 } |
273 } | 281 } |
274 ] | 282 ] |
OLD | NEW |