// 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 accessing user's audio/video devices.
///
/// WebKitUserMediaPermissionRequest represents a request for
/// permission to whether WebKit should be allowed to access the user's
/// devices information when requested through the enumerateDevices API.
///
/// When a WebKitDeviceInfoPermissionRequest is not handled by the user,
/// it is denied by default.
///
/// # Implements
///
/// [`PermissionRequestExt`][trait@crate::prelude::PermissionRequestExt]
#[doc(alias = "WebKitDeviceInfoPermissionRequest")]
pub struct DeviceInfoPermissionRequest(Object<ffi::WebKitDeviceInfoPermissionRequest, ffi::WebKitDeviceInfoPermissionRequestClass>) @implements PermissionRequest;
match fn {
type_ => || ffi::webkit_device_info_permission_request_get_type(),
}
}
impl DeviceInfoPermissionRequest {}