Commit e0bb6e53 authored by lazyboy's avatar lazyboy Committed by Commit bot

<webview>: Add fullscreen permissionRequest API documentation.

BUG=141198
Test=The change can be previewed at:
https://chrome-apps-doc.appspot.com/_patch/1013383004/apps/tags/webview#type-FullscreenPermissionRequest
(I'm getting internal server error atm though)

Review URL: https://codereview.chromium.org/1013383004

Cr-Commit-Position: refs/heads/master@{#322061}
parent 28db7a9e
......@@ -250,6 +250,21 @@
{ "name": "deny", "description": "Deny the permission request." }
]
},
{
"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",
......@@ -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)."
}
]
},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment