WebKit.PermissionRequest

g GObject.GInterface GObject.GInterface WebKit.PermissionRequest WebKit.PermissionRequest GObject.GInterface->WebKit.PermissionRequest

Implementations:

WebKit.ClipboardPermissionRequest, WebKit.DeviceInfoPermissionRequest, WebKit.GeolocationPermissionRequest, WebKit.MediaKeySystemPermissionRequest, WebKit.NotificationPermissionRequest, WebKit.PointerLockPermissionRequest, WebKit.UserMediaPermissionRequest, WebKit.WebsiteDataAccessPermissionRequest

Methods

allow ()

deny ()

Virtual Methods

do_allow ()

do_deny ()

Properties

None

Signals

None

Fields

None

Class Details

class WebKit.PermissionRequest
Bases:

GObject.GInterface

Structure:

WebKit.PermissionRequestInterface

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 WebKit.WebView ::permission-request signal with a WebKit.PermissionRequest object attached to it.

allow()

Allow the action which triggered this request.

deny()

Deny the action which triggered this request.

do_allow() virtual

Allow the action which triggered this request.

do_deny() virtual

Deny the action which triggered this request.