]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys-0.28.0/src/Windows/Web/UI/mod.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / vendor / windows-sys-0.28.0 / src / Windows / Web / UI / mod.rs
CommitLineData
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")]
3pub mod Interop;
4#[link(name = "windows")]
5extern "system" {}
6pub type IWebViewControl = *mut ::core::ffi::c_void;
7pub type IWebViewControl2 = *mut ::core::ffi::c_void;
8pub type WebViewControlContentLoadingEventArgs = *mut ::core::ffi::c_void;
9pub type WebViewControlDOMContentLoadedEventArgs = *mut ::core::ffi::c_void;
10pub type WebViewControlDeferredPermissionRequest = *mut ::core::ffi::c_void;
11pub type WebViewControlLongRunningScriptDetectedEventArgs = *mut ::core::ffi::c_void;
12pub type WebViewControlNavigationCompletedEventArgs = *mut ::core::ffi::c_void;
13pub type WebViewControlNavigationStartingEventArgs = *mut ::core::ffi::c_void;
14pub type WebViewControlNewWindowRequestedEventArgs = *mut ::core::ffi::c_void;
15pub type WebViewControlPermissionRequest = *mut ::core::ffi::c_void;
16pub type WebViewControlPermissionRequestedEventArgs = *mut ::core::ffi::c_void;
17#[repr(transparent)]
18pub struct WebViewControlPermissionState(pub i32);
19impl 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}
25impl ::core::marker::Copy for WebViewControlPermissionState {}
26impl ::core::clone::Clone for WebViewControlPermissionState {
27 fn clone(&self) -> Self {
28 *self
29 }
30}
31#[repr(transparent)]
32pub struct WebViewControlPermissionType(pub i32);
33impl 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}
42impl ::core::marker::Copy for WebViewControlPermissionType {}
43impl ::core::clone::Clone for WebViewControlPermissionType {
44 fn clone(&self) -> Self {
45 *self
46 }
47}
48pub type WebViewControlScriptNotifyEventArgs = *mut ::core::ffi::c_void;
49pub type WebViewControlSettings = *mut ::core::ffi::c_void;
50pub type WebViewControlUnsupportedUriSchemeIdentifiedEventArgs = *mut ::core::ffi::c_void;
51pub type WebViewControlUnviewableContentIdentifiedEventArgs = *mut ::core::ffi::c_void;
52pub type WebViewControlWebResourceRequestedEventArgs = *mut ::core::ffi::c_void;