Interface
WebKit2PermissionRequest
[−]
Description [src]
interface WebKit2.PermissionRequest : GObject.Object
A permission request.
There are situations where an embedder would need to ask the user
for permission to do certain types of operations, such as switching
to fullscreen mode or reporting the user’s location through the
standard Geolocation API. In those cases, WebKit will emit a
WebKitWebView::permission-request
signal with a
WebKitPermissionRequest
object attached to it.
[+]
Implementations
[−]
Instance methods
webkit_permission_request_allow
Allow the action which triggered this request.
webkit_permission_request_deny
Deny the action which triggered this request.
[+]
Interface structure
[−]
Virtual methods
WebKit2.PermissionRequest.allow
Allow the action which triggered this request.
WebKit2.PermissionRequest.deny
Deny the action which triggered this request.