webkit6/auto/media_key_system_permission_request.rs
1// This file was generated by gir (https://github.com/gtk-rs/gir)
2// from gir-files (https://github.com/gtk-rs/gir-files)
3// from webkit-gir-files
4// DO NOT EDIT
5
6use crate::{PermissionRequest, ffi};
7
8glib::wrapper! {
9 /// A permission request for using an EME Content Decryption Module.
10 ///
11 /// WebKitMediaKeySystemPermissionRequest represents a request for permission to decide whether
12 /// WebKit should use the given CDM to access protected media when requested through the
13 /// MediaKeySystem API.
14 ///
15 /// When a WebKitMediaKeySystemPermissionRequest is not handled by the user,
16 /// it is denied by default.
17 ///
18 /// When handling this permission request the application may perform additional installation of the
19 /// requested CDM, unless it is already present on the host system.
20 ///
21 /// # Implements
22 ///
23 /// [`PermissionRequestExt`][trait@crate::prelude::PermissionRequestExt]
24 #[doc(alias = "WebKitMediaKeySystemPermissionRequest")]
25 pub struct MediaKeySystemPermissionRequest(Object<ffi::WebKitMediaKeySystemPermissionRequest, ffi::WebKitMediaKeySystemPermissionRequestClass>) @implements PermissionRequest;
26
27 match fn {
28 type_ => || ffi::webkit_media_key_system_permission_request_get_type(),
29 }
30}
31
32impl MediaKeySystemPermissionRequest {}