1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
use glib::translate::*;
use std::fmt;
use webkit2_sys;
use PermissionRequest;
glib_wrapper! {
pub struct GeolocationPermissionRequest(Object<webkit2_sys::WebKitGeolocationPermissionRequest, webkit2_sys::WebKitGeolocationPermissionRequestClass, GeolocationPermissionRequestClass>) @implements PermissionRequest;
match fn {
get_type => || webkit2_sys::webkit_geolocation_permission_request_get_type(),
}
}
impl GeolocationPermissionRequest {}
pub const NONE_GEOLOCATION_PERMISSION_REQUEST: Option<&GeolocationPermissionRequest> = None;
impl fmt::Display for GeolocationPermissionRequest {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, "GeolocationPermissionRequest")
}
}