// 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 using an EME Content Decryption Module.
///
/// WebKitMediaKeySystemPermissionRequest represents a request for permission to decide whether
/// WebKit should use the given CDM to access protected media when requested through the
/// MediaKeySystem API.
///
/// When a WebKitMediaKeySystemPermissionRequest is not handled by the user,
/// it is denied by default.
///
/// When handling this permission request the application may perform additional installation of the
/// requested CDM, unless it is already present on the host system.
///
/// # Implements
///
/// [`PermissionRequestExt`][trait@crate::prelude::PermissionRequestExt]
#[doc(alias = "WebKitMediaKeySystemPermissionRequest")]
pub struct MediaKeySystemPermissionRequest(Object<ffi::WebKitMediaKeySystemPermissionRequest, ffi::WebKitMediaKeySystemPermissionRequestClass>) @implements PermissionRequest;
match fn {
type_ => || ffi::webkit_media_key_system_permission_request_get_type(),
}
}
impl MediaKeySystemPermissionRequest {}