]>
Commit | Line | Data |
---|---|---|
064997fb FG |
1 | #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] |
2 | #[cfg(feature = "Web_UI_Interop")] | |
3 | pub mod Interop; | |
4 | #[link(name = "windows")] | |
5 | extern "system" {} | |
6 | pub type IWebViewControl = *mut ::core::ffi::c_void; | |
7 | pub type IWebViewControl2 = *mut ::core::ffi::c_void; | |
8 | pub type WebViewControlContentLoadingEventArgs = *mut ::core::ffi::c_void; | |
9 | pub type WebViewControlDOMContentLoadedEventArgs = *mut ::core::ffi::c_void; | |
10 | pub type WebViewControlDeferredPermissionRequest = *mut ::core::ffi::c_void; | |
11 | pub type WebViewControlLongRunningScriptDetectedEventArgs = *mut ::core::ffi::c_void; | |
12 | pub type WebViewControlNavigationCompletedEventArgs = *mut ::core::ffi::c_void; | |
13 | pub type WebViewControlNavigationStartingEventArgs = *mut ::core::ffi::c_void; | |
14 | pub type WebViewControlNewWindowRequestedEventArgs = *mut ::core::ffi::c_void; | |
15 | pub type WebViewControlPermissionRequest = *mut ::core::ffi::c_void; | |
16 | pub type WebViewControlPermissionRequestedEventArgs = *mut ::core::ffi::c_void; | |
17 | #[repr(transparent)] | |
18 | pub struct WebViewControlPermissionState(pub i32); | |
19 | impl WebViewControlPermissionState { | |
20 | pub const Unknown: Self = Self(0i32); | |
21 | pub const Defer: Self = Self(1i32); | |
22 | pub const Allow: Self = Self(2i32); | |
23 | pub const Deny: Self = Self(3i32); | |
24 | } | |
25 | impl ::core::marker::Copy for WebViewControlPermissionState {} | |
26 | impl ::core::clone::Clone for WebViewControlPermissionState { | |
27 | fn clone(&self) -> Self { | |
28 | *self | |
29 | } | |
30 | } | |
31 | #[repr(transparent)] | |
32 | pub struct WebViewControlPermissionType(pub i32); | |
33 | impl WebViewControlPermissionType { | |
34 | pub const Geolocation: Self = Self(0i32); | |
35 | pub const UnlimitedIndexedDBQuota: Self = Self(1i32); | |
36 | pub const Media: Self = Self(2i32); | |
37 | pub const PointerLock: Self = Self(3i32); | |
38 | pub const WebNotifications: Self = Self(4i32); | |
39 | pub const Screen: Self = Self(5i32); | |
40 | pub const ImmersiveView: Self = Self(6i32); | |
41 | } | |
42 | impl ::core::marker::Copy for WebViewControlPermissionType {} | |
43 | impl ::core::clone::Clone for WebViewControlPermissionType { | |
44 | fn clone(&self) -> Self { | |
45 | *self | |
46 | } | |
47 | } | |
48 | pub type WebViewControlScriptNotifyEventArgs = *mut ::core::ffi::c_void; | |
49 | pub type WebViewControlSettings = *mut ::core::ffi::c_void; | |
50 | pub type WebViewControlUnsupportedUriSchemeIdentifiedEventArgs = *mut ::core::ffi::c_void; | |
51 | pub type WebViewControlUnviewableContentIdentifiedEventArgs = *mut ::core::ffi::c_void; | |
52 | pub type WebViewControlWebResourceRequestedEventArgs = *mut ::core::ffi::c_void; |