]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/Web/UI/mod.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Web / UI / mod.rs
1 #[cfg(feature = "Web_UI_Interop")]
2 pub mod Interop;
3 pub type IWebViewControl = *mut ::core::ffi::c_void;
4 pub type IWebViewControl2 = *mut ::core::ffi::c_void;
5 pub type WebViewControlContentLoadingEventArgs = *mut ::core::ffi::c_void;
6 pub type WebViewControlDOMContentLoadedEventArgs = *mut ::core::ffi::c_void;
7 pub type WebViewControlDeferredPermissionRequest = *mut ::core::ffi::c_void;
8 pub type WebViewControlLongRunningScriptDetectedEventArgs = *mut ::core::ffi::c_void;
9 pub type WebViewControlNavigationCompletedEventArgs = *mut ::core::ffi::c_void;
10 pub type WebViewControlNavigationStartingEventArgs = *mut ::core::ffi::c_void;
11 pub type WebViewControlNewWindowRequestedEventArgs = *mut ::core::ffi::c_void;
12 pub type WebViewControlPermissionRequest = *mut ::core::ffi::c_void;
13 pub type WebViewControlPermissionRequestedEventArgs = *mut ::core::ffi::c_void;
14 #[doc = "*Required features: `\"Web_UI\"`*"]
15 #[repr(transparent)]
16 pub struct WebViewControlPermissionState(pub i32);
17 impl WebViewControlPermissionState {
18 pub const Unknown: Self = Self(0i32);
19 pub const Defer: Self = Self(1i32);
20 pub const Allow: Self = Self(2i32);
21 pub const Deny: Self = Self(3i32);
22 }
23 impl ::core::marker::Copy for WebViewControlPermissionState {}
24 impl ::core::clone::Clone for WebViewControlPermissionState {
25 fn clone(&self) -> Self {
26 *self
27 }
28 }
29 #[doc = "*Required features: `\"Web_UI\"`*"]
30 #[repr(transparent)]
31 pub struct WebViewControlPermissionType(pub i32);
32 impl WebViewControlPermissionType {
33 pub const Geolocation: Self = Self(0i32);
34 pub const UnlimitedIndexedDBQuota: Self = Self(1i32);
35 pub const Media: Self = Self(2i32);
36 pub const PointerLock: Self = Self(3i32);
37 pub const WebNotifications: Self = Self(4i32);
38 pub const Screen: Self = Self(5i32);
39 pub const ImmersiveView: Self = Self(6i32);
40 }
41 impl ::core::marker::Copy for WebViewControlPermissionType {}
42 impl ::core::clone::Clone for WebViewControlPermissionType {
43 fn clone(&self) -> Self {
44 *self
45 }
46 }
47 pub type WebViewControlScriptNotifyEventArgs = *mut ::core::ffi::c_void;
48 pub type WebViewControlSettings = *mut ::core::ffi::c_void;
49 pub type WebViewControlUnsupportedUriSchemeIdentifiedEventArgs = *mut ::core::ffi::c_void;
50 pub type WebViewControlUnviewableContentIdentifiedEventArgs = *mut ::core::ffi::c_void;
51 pub type WebViewControlWebResourceRequestedEventArgs = *mut ::core::ffi::c_void;