Molybden API
Loading...
Searching...
No Matches
molybden::Permissions Class Referenceabstract

Allows managing permissions for secure web pages. More...

#include <permissions.hpp>

Inheritance diagram for molybden::Permissions:
molybden::PermissionsDelegates

Public Member Functions

virtual std::shared_ptr< Profileprofile ()=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

- Public Attributes inherited from molybden::PermissionsDelegates
Delegate< RequestPermissionArgs, RequestPermissionActiononRequestPermission
 Invoked when a web page requests a permission to enable some functionality such as geolocation or desktop notifications on a web page.
 

Detailed Description

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.


The documentation for this class was generated from the following file: