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
30
31
32
// 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 {}