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

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

Issue 1013383004: <webview>: Add fullscreen permissionRequest API documentation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 80eee0dc88d5d5b70d7531ae87ed98a5e49fd293..53f69c6e27c908e4930ddc4de0dfeb1cb5a896b3 100644
--- a/chrome/common/extensions/api/webview_tag.json
+++ b/chrome/common/extensions/api/webview_tag.json
@@ -251,6 +251,21 @@
]
},
{
+ "id": "FullscreenPermissionRequest",
+ "type": "object",
+ "description": "The type of <code>request</code> object which accompanies a <code>fullscreen</code> <a href=\"#event-permissionrequest\">permissionrequest</a> DOM event.<p>",
+ "properties": {
+ "origin": {
+ "description": "The origin of the frame inside the <code>webview</code> that initiated the fullscreen request.",
+ "type": "string"
+ }
+ },
+ "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>",
@@ -829,7 +844,7 @@
"name": "permission",
"description": "The type of permission being requested.",
"type": "string",
- "enum": ["media", "geolocation", "pointerLock", "download", "loadplugin", "filesystem"]
+ "enum": ["media", "geolocation", "pointerLock", "download", "loadplugin", "filesystem", "fullscreen"]
},
{
"name": "requestId",
@@ -840,7 +855,7 @@
"name": "request",
"type": "object",
"properties": {},
- "description": "An object which holds details of the requested permission. Depending on the type of permission requested, this may be a $(ref:webviewTag.MediaPermissionRequest), $(ref:webviewTag.GeolocationPermissionRequest), $(ref:webviewTag.PointerLockPermissionRequest), $(ref:webviewTag.DownloadPermissionRequest), or $(ref:webviewTag.LoadPluginPermissionRequest)."
+ "description": "An object which holds details of the requested permission. Depending on the type of permission requested, this may be a $(ref:webviewTag.MediaPermissionRequest), $(ref:webviewTag.GeolocationPermissionRequest), $(ref:webviewTag.PointerLockPermissionRequest), $(ref:webviewTag.DownloadPermissionRequest), $(ref:webviewTag.LoadPluginPermissionRequest), or $(ref:webviewTag.FullscreenPermissionRequest)."
}
]
},
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698