WebKit.PermissionRequest¶
- Implementations:
WebKit.ClipboardPermissionRequest
,WebKit.DeviceInfoPermissionRequest
,WebKit.GeolocationPermissionRequest
,WebKit.MediaKeySystemPermissionRequest
,WebKit.NotificationPermissionRequest
,WebKit.PointerLockPermissionRequest
,WebKit.UserMediaPermissionRequest
,WebKit.WebsiteDataAccessPermissionRequest
Methods¶
|
|
|
Virtual Methods¶
|
|
|
Properties¶
None
Signals¶
None
Fields¶
None
Class Details¶
- class WebKit.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
WebKit.WebView
::permission-request
signal with aWebKit.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.