WebKit2.PermissionRequest

g GObject.GInterface GObject.GInterface WebKit2.PermissionRequest WebKit2.PermissionRequest GObject.GInterface->WebKit2.PermissionRequest

Implementations:

WebKit2.ClipboardPermissionRequest, WebKit2.DeviceInfoPermissionRequest, WebKit2.GeolocationPermissionRequest, WebKit2.InstallMissingMediaPluginsPermissionRequest, WebKit2.MediaKeySystemPermissionRequest, WebKit2.NotificationPermissionRequest, WebKit2.PointerLockPermissionRequest, WebKit2.UserMediaPermissionRequest, WebKit2.WebsiteDataAccessPermissionRequest

Methods

allow ()

deny ()

Virtual Methods

do_allow ()

do_deny ()

Properties

None

Signals

None

Fields

None

Class Details

class WebKit2.PermissionRequest
Bases:

GObject.GInterface

Structure:

WebKit2.PermissionRequestIface

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 WebKit2.WebView ::permission-request signal with a WebKit2.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.