Molybden API
|
Allows managing permissions for secure web pages. More...
#include <permissions.hpp>
Public Member Functions | |
virtual std::shared_ptr< Profile > | profile ()=0 |
The profile of this service. | |
virtual PermissionStatus | getPermissionStatus (PermissionType permission_type, const std::string &url)=0 |
Returns the permission status for the given URL. | |
virtual void | resetPermission (PermissionType permission_type, const std::string &url)=0 |
Sets the permission back to its default for the given URL. | |
Additional Inherited Members | |
![]() | |
Delegate< RequestPermissionArgs, RequestPermissionAction > | onRequestPermission |
Invoked when a web page requests a permission to enable some functionality such as geolocation or desktop notifications on a web page. | |
Allows managing permissions for secure web pages.
If a web page does not use secure connection (HTTPS), it is considered as insecure. Granting permissions to insecure web pages is not supported. All permissions are denied by default for insecure web pages.