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

Unified Diff: chrome/common/extensions/api/webview_tag.json

Issue 306473012: Plumb file system permission into WebviewGuest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Small changes are made. Created 6 years, 6 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/webview_tag.json
diff --git a/chrome/common/extensions/api/webview_tag.json b/chrome/common/extensions/api/webview_tag.json
index 1a37989d6113c541096ea3e50b748a020a2ac155..e9f5e6a6736860ab1c53b39959bcaee082d04d35 100644
--- a/chrome/common/extensions/api/webview_tag.json
+++ b/chrome/common/extensions/api/webview_tag.json
@@ -236,6 +236,25 @@
]
},
{
+ "id": "FileSystemPermissionRequest",
+ "type": "object",
+ "description": "The type of <code>request</code> object which accompanies a <code>filesystem</code> <a href=\"#event-permissionrequest\">permissionrequest</a></code> DOM event.",
+ "properties": {
+ "url": {
+ "description": "The URL of the frame requesting access to local file system.",
+ "type": "string"
+ },
+ "allowed_by_default": {
+ "description": "The default permission according to cookie setting. This is the default behaviour if <code>allow</code> is not called",
+ "type": "bool"
+ }
+ },
+ "functions": [
+ { "name": "allow", "description": "Allow the permission request." },
+ { "name": "deny", "description": "Deny the permission request." }
+ ]
+ },
+ {
"id": "LoadPluginPermissionRequest",
"type": "object",
"description": "The type of <code>request</code> object which accompanies a <code>loadplugin</code> <a href=\"#event-permissionrequest\">permissionrequest</a> DOM event.<p>",
@@ -774,7 +793,7 @@
"name": "permission",
"description": "The type of permission being requested.",
"type": "string",
- "enum": ["media", "geolocation", "pointerLock", "download", "loadplugin"]
+ "enum": ["media", "geolocation", "pointerLock", "download", "loadplugin", "filesystem"]
},
{
"name": "requestId",
« no previous file with comments | « chrome/browser/renderer_host/chrome_render_message_filter.cc ('k') | chrome/renderer/resources/extensions/web_view.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698