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

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

Issue 900663002: Expose the "automatic downloads" content setting to extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase over 869073006 (no change, just making sure) 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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
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.",
275 "value": [
276 "multiple-automatic-downloads",
277 {"type":"string", "enum": ["allow", "block", "ask"]}
278 ]
271 } 279 }
272 } 280 }
273 } 281 }
274 ] 282 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698