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

Unified 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 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 08229f5807d16edc2b53d4d5c68049b1a0e1ad6a..3d6e4ad45dcf302475c71d3d65425f0fcfc0d27f 100644
--- a/chrome/common/extensions/api/content_settings.json
+++ b/chrome/common/extensions/api/content_settings.json
@@ -268,6 +268,14 @@
"ppapi-broker",
{"type":"string", "enum": ["allow", "block", "ask"]}
]
+ },
+ "automaticDownloads": {
+ "$ref": "ContentSetting",
+ "description": "Whether to allow sites to download multiple files automatically. One of <br><var>allow</var>: Allow sites to download multiple files automatically,<br><var>block</var>: Don't allow sites to download multiple files automatically,<br><var>ask</var>: Ask when a site wants to download files automatically 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.",
+ "value": [
+ "multiple-automatic-downloads",
+ {"type":"string", "enum": ["allow", "block", "ask"]}
+ ]
}
}
}

Powered by Google App Engine
This is Rietveld 408576698