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
27
28
29
// This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files (https://github.com/gtk-rs/gir-files)
// from webkit-gir-files
// DO NOT EDIT

use crate::{ffi, PermissionRequest};

glib::wrapper! {
    /// A permission request for locking the pointer.
    ///
    /// WebKitPointerLockPermissionRequest represents a request for
    /// permission to decide whether WebKit can lock the pointer device when
    /// requested by web content.
    ///
    /// When a WebKitPointerLockPermissionRequest is not handled by the user,
    /// it is allowed by default.
    ///
    /// # Implements
    ///
    /// [`PermissionRequestExt`][trait@crate::prelude::PermissionRequestExt]
    #[doc(alias = "WebKitPointerLockPermissionRequest")]
    pub struct PointerLockPermissionRequest(Object<ffi::WebKitPointerLockPermissionRequest, ffi::WebKitPointerLockPermissionRequestClass>) @implements PermissionRequest;

    match fn {
        type_ => || ffi::webkit_pointer_lock_permission_request_get_type(),
    }
}

impl PointerLockPermissionRequest {}