26
26
class OxideQGeolocationPermissionRequestPrivate;
27
27
class OxideQPermissionRequestPrivate;
28
class OxideQSimplePermissionRequestPrivate;
29
30
class Q_DECL_EXPORT OxideQPermissionRequest : public QObject {
32
Q_PROPERTY(QUrl origin READ origin CONSTANT)
33
Q_PROPERTY(QUrl url READ url CONSTANT)
33
34
Q_PROPERTY(QUrl embedder READ embedder CONSTANT)
34
35
Q_PROPERTY(bool isCancelled READ isCancelled NOTIFY cancelled)
51
Q_DECL_HIDDEN OxideQPermissionRequest(OxideQPermissionRequestPrivate& dd);
52
OxideQPermissionRequest(OxideQPermissionRequestPrivate& dd);
53
54
QScopedPointer<OxideQPermissionRequestPrivate> d_ptr;
56
class Q_DECL_EXPORT OxideQGeolocationPermissionRequest :
57
class Q_DECL_EXPORT OxideQSimplePermissionRequest :
57
58
public OxideQPermissionRequest {
61
Q_DECLARE_PRIVATE(OxideQSimplePermissionRequest)
62
Q_DISABLE_COPY(OxideQSimplePermissionRequest)
65
virtual ~OxideQSimplePermissionRequest();
72
OxideQSimplePermissionRequest(OxideQSimplePermissionRequestPrivate& dd);
75
class Q_DECL_EXPORT OxideQGeolocationPermissionRequest Q_DECL_FINAL :
76
public OxideQSimplePermissionRequest {
79
// This has been replaced by url. origin made sense for geolocation
80
// because we only get an origin from Chromium, whereas we get a full URL
81
// for other types of request
82
Q_PROPERTY(QUrl origin READ origin CONSTANT)
60
84
Q_DECLARE_PRIVATE(OxideQGeolocationPermissionRequest)
61
85
Q_DISABLE_COPY(OxideQGeolocationPermissionRequest)
64
Q_DECL_HIDDEN OxideQGeolocationPermissionRequest();
65
88
~OxideQGeolocationPermissionRequest();
93
// This has been replaced by allow(). With hindsight, allow/deny always made
98
OxideQGeolocationPermissionRequest(
99
OxideQGeolocationPermissionRequestPrivate& dd);
72
102
#endif // OXIDE_Q_PERMISSION_REQUEST