WebKit2.PermissionRequest¶
- Implementations:
WebKit2.ClipboardPermissionRequest
,WebKit2.DeviceInfoPermissionRequest
,WebKit2.GeolocationPermissionRequest
,WebKit2.InstallMissingMediaPluginsPermissionRequest
,WebKit2.MediaKeySystemPermissionRequest
,WebKit2.NotificationPermissionRequest
,WebKit2.PointerLockPermissionRequest
,WebKit2.UserMediaPermissionRequest
,WebKit2.WebsiteDataAccessPermissionRequest
Methods¶
|
|
|
Virtual Methods¶
|
|
|
Properties¶
None
Signals¶
None
Fields¶
None
Class Details¶
- class WebKit2.PermissionRequest¶
- Bases:
- Structure:
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 aWebKit2.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.