summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/Web/UI/mod.rs
blob: 91c64d3ce3befdcd0cf07342bd3eb82ebeb9030f (plain)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#[cfg(feature = "Web_UI_Interop")]
pub mod Interop;
pub type IWebViewControl = *mut ::core::ffi::c_void;
pub type IWebViewControl2 = *mut ::core::ffi::c_void;
pub type WebViewControlContentLoadingEventArgs = *mut ::core::ffi::c_void;
pub type WebViewControlDOMContentLoadedEventArgs = *mut ::core::ffi::c_void;
pub type WebViewControlDeferredPermissionRequest = *mut ::core::ffi::c_void;
pub type WebViewControlLongRunningScriptDetectedEventArgs = *mut ::core::ffi::c_void;
pub type WebViewControlNavigationCompletedEventArgs = *mut ::core::ffi::c_void;
pub type WebViewControlNavigationStartingEventArgs = *mut ::core::ffi::c_void;
pub type WebViewControlNewWindowRequestedEventArgs = *mut ::core::ffi::c_void;
pub type WebViewControlPermissionRequest = *mut ::core::ffi::c_void;
pub type WebViewControlPermissionRequestedEventArgs = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Web_UI\"`*"]
#[repr(transparent)]
pub struct WebViewControlPermissionState(pub i32);
impl WebViewControlPermissionState {
    pub const Unknown: Self = Self(0i32);
    pub const Defer: Self = Self(1i32);
    pub const Allow: Self = Self(2i32);
    pub const Deny: Self = Self(3i32);
}
impl ::core::marker::Copy for WebViewControlPermissionState {}
impl ::core::clone::Clone for WebViewControlPermissionState {
    fn clone(&self) -> Self {
        *self
    }
}
#[doc = "*Required features: `\"Web_UI\"`*"]
#[repr(transparent)]
pub struct WebViewControlPermissionType(pub i32);
impl WebViewControlPermissionType {
    pub const Geolocation: Self = Self(0i32);
    pub const UnlimitedIndexedDBQuota: Self = Self(1i32);
    pub const Media: Self = Self(2i32);
    pub const PointerLock: Self = Self(3i32);
    pub const WebNotifications: Self = Self(4i32);
    pub const Screen: Self = Self(5i32);
    pub const ImmersiveView: Self = Self(6i32);
}
impl ::core::marker::Copy for WebViewControlPermissionType {}
impl ::core::clone::Clone for WebViewControlPermissionType {
    fn clone(&self) -> Self {
        *self
    }
}
pub type WebViewControlScriptNotifyEventArgs = *mut ::core::ffi::c_void;
pub type WebViewControlSettings = *mut ::core::ffi::c_void;
pub type WebViewControlUnsupportedUriSchemeIdentifiedEventArgs = *mut ::core::ffi::c_void;
pub type WebViewControlUnviewableContentIdentifiedEventArgs = *mut ::core::ffi::c_void;
pub type WebViewControlWebResourceRequestedEventArgs = *mut ::core::ffi::c_void;