Files
nearby/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.0.h
T
2025-07-09 08:58:00 -07:00

674 lines
53 KiB
C++

// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.250303.1
#pragma once
#ifndef WINRT_Windows_Web_UI_0_H
#define WINRT_Windows_Web_UI_0_H
WINRT_EXPORT namespace winrt::Windows::Foundation
{
struct Deferral;
struct EventRegistrationToken;
struct IAsyncAction;
template <typename TSender, typename TResult> struct WINRT_IMPL_EMPTY_BASES TypedEventHandler;
struct Uri;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct WINRT_IMPL_EMPTY_BASES IIterable;
}
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
{
struct IRandomAccessStream;
}
WINRT_EXPORT namespace winrt::Windows::UI
{
struct Color;
}
WINRT_EXPORT namespace winrt::Windows::Web
{
struct IUriToStreamResolver;
enum class WebErrorStatus : int32_t;
}
WINRT_EXPORT namespace winrt::Windows::Web::Http
{
struct HttpRequestMessage;
struct HttpResponseMessage;
}
WINRT_EXPORT namespace winrt::Windows::Web::UI
{
enum class WebViewControlPermissionState : int32_t
{
Unknown = 0,
Defer = 1,
Allow = 2,
Deny = 3,
};
enum class WebViewControlPermissionType : int32_t
{
Geolocation = 0,
UnlimitedIndexedDBQuota = 1,
Media = 2,
PointerLock = 3,
WebNotifications = 4,
Screen = 5,
ImmersiveView = 6,
};
struct IWebViewControl;
struct IWebViewControl2;
struct IWebViewControlContentLoadingEventArgs;
struct IWebViewControlDOMContentLoadedEventArgs;
struct IWebViewControlDeferredPermissionRequest;
struct IWebViewControlLongRunningScriptDetectedEventArgs;
struct IWebViewControlNavigationCompletedEventArgs;
struct IWebViewControlNavigationStartingEventArgs;
struct IWebViewControlNewWindowRequestedEventArgs;
struct IWebViewControlNewWindowRequestedEventArgs2;
struct IWebViewControlPermissionRequest;
struct IWebViewControlPermissionRequestedEventArgs;
struct IWebViewControlScriptNotifyEventArgs;
struct IWebViewControlSettings;
struct IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs;
struct IWebViewControlUnviewableContentIdentifiedEventArgs;
struct IWebViewControlWebResourceRequestedEventArgs;
struct WebViewControlContentLoadingEventArgs;
struct WebViewControlDOMContentLoadedEventArgs;
struct WebViewControlDeferredPermissionRequest;
struct WebViewControlLongRunningScriptDetectedEventArgs;
struct WebViewControlNavigationCompletedEventArgs;
struct WebViewControlNavigationStartingEventArgs;
struct WebViewControlNewWindowRequestedEventArgs;
struct WebViewControlPermissionRequest;
struct WebViewControlPermissionRequestedEventArgs;
struct WebViewControlScriptNotifyEventArgs;
struct WebViewControlSettings;
struct WebViewControlUnsupportedUriSchemeIdentifiedEventArgs;
struct WebViewControlUnviewableContentIdentifiedEventArgs;
struct WebViewControlWebResourceRequestedEventArgs;
}
namespace winrt::impl
{
template <> struct category<winrt::Windows::Web::UI::IWebViewControl>{ using type = interface_category; };
template <> struct category<winrt::Windows::Web::UI::IWebViewControl2>{ using type = interface_category; };
template <> struct category<winrt::Windows::Web::UI::IWebViewControlContentLoadingEventArgs>{ using type = interface_category; };
template <> struct category<winrt::Windows::Web::UI::IWebViewControlDOMContentLoadedEventArgs>{ using type = interface_category; };
template <> struct category<winrt::Windows::Web::UI::IWebViewControlDeferredPermissionRequest>{ using type = interface_category; };
template <> struct category<winrt::Windows::Web::UI::IWebViewControlLongRunningScriptDetectedEventArgs>{ using type = interface_category; };
template <> struct category<winrt::Windows::Web::UI::IWebViewControlNavigationCompletedEventArgs>{ using type = interface_category; };
template <> struct category<winrt::Windows::Web::UI::IWebViewControlNavigationStartingEventArgs>{ using type = interface_category; };
template <> struct category<winrt::Windows::Web::UI::IWebViewControlNewWindowRequestedEventArgs>{ using type = interface_category; };
template <> struct category<winrt::Windows::Web::UI::IWebViewControlNewWindowRequestedEventArgs2>{ using type = interface_category; };
template <> struct category<winrt::Windows::Web::UI::IWebViewControlPermissionRequest>{ using type = interface_category; };
template <> struct category<winrt::Windows::Web::UI::IWebViewControlPermissionRequestedEventArgs>{ using type = interface_category; };
template <> struct category<winrt::Windows::Web::UI::IWebViewControlScriptNotifyEventArgs>{ using type = interface_category; };
template <> struct category<winrt::Windows::Web::UI::IWebViewControlSettings>{ using type = interface_category; };
template <> struct category<winrt::Windows::Web::UI::IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs>{ using type = interface_category; };
template <> struct category<winrt::Windows::Web::UI::IWebViewControlUnviewableContentIdentifiedEventArgs>{ using type = interface_category; };
template <> struct category<winrt::Windows::Web::UI::IWebViewControlWebResourceRequestedEventArgs>{ using type = interface_category; };
template <> struct category<winrt::Windows::Web::UI::WebViewControlContentLoadingEventArgs>{ using type = class_category; };
template <> struct category<winrt::Windows::Web::UI::WebViewControlDOMContentLoadedEventArgs>{ using type = class_category; };
template <> struct category<winrt::Windows::Web::UI::WebViewControlDeferredPermissionRequest>{ using type = class_category; };
template <> struct category<winrt::Windows::Web::UI::WebViewControlLongRunningScriptDetectedEventArgs>{ using type = class_category; };
template <> struct category<winrt::Windows::Web::UI::WebViewControlNavigationCompletedEventArgs>{ using type = class_category; };
template <> struct category<winrt::Windows::Web::UI::WebViewControlNavigationStartingEventArgs>{ using type = class_category; };
template <> struct category<winrt::Windows::Web::UI::WebViewControlNewWindowRequestedEventArgs>{ using type = class_category; };
template <> struct category<winrt::Windows::Web::UI::WebViewControlPermissionRequest>{ using type = class_category; };
template <> struct category<winrt::Windows::Web::UI::WebViewControlPermissionRequestedEventArgs>{ using type = class_category; };
template <> struct category<winrt::Windows::Web::UI::WebViewControlScriptNotifyEventArgs>{ using type = class_category; };
template <> struct category<winrt::Windows::Web::UI::WebViewControlSettings>{ using type = class_category; };
template <> struct category<winrt::Windows::Web::UI::WebViewControlUnsupportedUriSchemeIdentifiedEventArgs>{ using type = class_category; };
template <> struct category<winrt::Windows::Web::UI::WebViewControlUnviewableContentIdentifiedEventArgs>{ using type = class_category; };
template <> struct category<winrt::Windows::Web::UI::WebViewControlWebResourceRequestedEventArgs>{ using type = class_category; };
template <> struct category<winrt::Windows::Web::UI::WebViewControlPermissionState>{ using type = enum_category; };
template <> struct category<winrt::Windows::Web::UI::WebViewControlPermissionType>{ using type = enum_category; };
template <> inline constexpr auto& name_v<winrt::Windows::Web::UI::WebViewControlContentLoadingEventArgs> = L"Windows.Web.UI.WebViewControlContentLoadingEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Web::UI::WebViewControlDOMContentLoadedEventArgs> = L"Windows.Web.UI.WebViewControlDOMContentLoadedEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Web::UI::WebViewControlDeferredPermissionRequest> = L"Windows.Web.UI.WebViewControlDeferredPermissionRequest";
template <> inline constexpr auto& name_v<winrt::Windows::Web::UI::WebViewControlLongRunningScriptDetectedEventArgs> = L"Windows.Web.UI.WebViewControlLongRunningScriptDetectedEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Web::UI::WebViewControlNavigationCompletedEventArgs> = L"Windows.Web.UI.WebViewControlNavigationCompletedEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Web::UI::WebViewControlNavigationStartingEventArgs> = L"Windows.Web.UI.WebViewControlNavigationStartingEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Web::UI::WebViewControlNewWindowRequestedEventArgs> = L"Windows.Web.UI.WebViewControlNewWindowRequestedEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Web::UI::WebViewControlPermissionRequest> = L"Windows.Web.UI.WebViewControlPermissionRequest";
template <> inline constexpr auto& name_v<winrt::Windows::Web::UI::WebViewControlPermissionRequestedEventArgs> = L"Windows.Web.UI.WebViewControlPermissionRequestedEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Web::UI::WebViewControlScriptNotifyEventArgs> = L"Windows.Web.UI.WebViewControlScriptNotifyEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Web::UI::WebViewControlSettings> = L"Windows.Web.UI.WebViewControlSettings";
template <> inline constexpr auto& name_v<winrt::Windows::Web::UI::WebViewControlUnsupportedUriSchemeIdentifiedEventArgs> = L"Windows.Web.UI.WebViewControlUnsupportedUriSchemeIdentifiedEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Web::UI::WebViewControlUnviewableContentIdentifiedEventArgs> = L"Windows.Web.UI.WebViewControlUnviewableContentIdentifiedEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Web::UI::WebViewControlWebResourceRequestedEventArgs> = L"Windows.Web.UI.WebViewControlWebResourceRequestedEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Web::UI::WebViewControlPermissionState> = L"Windows.Web.UI.WebViewControlPermissionState";
template <> inline constexpr auto& name_v<winrt::Windows::Web::UI::WebViewControlPermissionType> = L"Windows.Web.UI.WebViewControlPermissionType";
template <> inline constexpr auto& name_v<winrt::Windows::Web::UI::IWebViewControl> = L"Windows.Web.UI.IWebViewControl";
template <> inline constexpr auto& name_v<winrt::Windows::Web::UI::IWebViewControl2> = L"Windows.Web.UI.IWebViewControl2";
template <> inline constexpr auto& name_v<winrt::Windows::Web::UI::IWebViewControlContentLoadingEventArgs> = L"Windows.Web.UI.IWebViewControlContentLoadingEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Web::UI::IWebViewControlDOMContentLoadedEventArgs> = L"Windows.Web.UI.IWebViewControlDOMContentLoadedEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Web::UI::IWebViewControlDeferredPermissionRequest> = L"Windows.Web.UI.IWebViewControlDeferredPermissionRequest";
template <> inline constexpr auto& name_v<winrt::Windows::Web::UI::IWebViewControlLongRunningScriptDetectedEventArgs> = L"Windows.Web.UI.IWebViewControlLongRunningScriptDetectedEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Web::UI::IWebViewControlNavigationCompletedEventArgs> = L"Windows.Web.UI.IWebViewControlNavigationCompletedEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Web::UI::IWebViewControlNavigationStartingEventArgs> = L"Windows.Web.UI.IWebViewControlNavigationStartingEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Web::UI::IWebViewControlNewWindowRequestedEventArgs> = L"Windows.Web.UI.IWebViewControlNewWindowRequestedEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Web::UI::IWebViewControlNewWindowRequestedEventArgs2> = L"Windows.Web.UI.IWebViewControlNewWindowRequestedEventArgs2";
template <> inline constexpr auto& name_v<winrt::Windows::Web::UI::IWebViewControlPermissionRequest> = L"Windows.Web.UI.IWebViewControlPermissionRequest";
template <> inline constexpr auto& name_v<winrt::Windows::Web::UI::IWebViewControlPermissionRequestedEventArgs> = L"Windows.Web.UI.IWebViewControlPermissionRequestedEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Web::UI::IWebViewControlScriptNotifyEventArgs> = L"Windows.Web.UI.IWebViewControlScriptNotifyEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Web::UI::IWebViewControlSettings> = L"Windows.Web.UI.IWebViewControlSettings";
template <> inline constexpr auto& name_v<winrt::Windows::Web::UI::IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs> = L"Windows.Web.UI.IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Web::UI::IWebViewControlUnviewableContentIdentifiedEventArgs> = L"Windows.Web.UI.IWebViewControlUnviewableContentIdentifiedEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::Web::UI::IWebViewControlWebResourceRequestedEventArgs> = L"Windows.Web.UI.IWebViewControlWebResourceRequestedEventArgs";
template <> inline constexpr guid guid_v<winrt::Windows::Web::UI::IWebViewControl>{ 0x3F921316,0xBC70,0x4BDA,{ 0x91,0x36,0xC9,0x43,0x70,0x89,0x9F,0xAB } }; // 3F921316-BC70-4BDA-9136-C94370899FAB
template <> inline constexpr guid guid_v<winrt::Windows::Web::UI::IWebViewControl2>{ 0x4D3C06F9,0xC8DF,0x41CC,{ 0x8B,0xD5,0x2A,0x94,0x7B,0x20,0x45,0x03 } }; // 4D3C06F9-C8DF-41CC-8BD5-2A947B204503
template <> inline constexpr guid guid_v<winrt::Windows::Web::UI::IWebViewControlContentLoadingEventArgs>{ 0x9A3FCCB2,0xB9BB,0x404B,{ 0xA2,0x2B,0x66,0xDC,0xCD,0x12,0x50,0xC6 } }; // 9A3FCCB2-B9BB-404B-A22B-66DCCD1250C6
template <> inline constexpr guid guid_v<winrt::Windows::Web::UI::IWebViewControlDOMContentLoadedEventArgs>{ 0xBE8BC008,0x9541,0x4545,{ 0x9F,0xF2,0x2D,0xF5,0x85,0xB2,0x9F,0x7D } }; // BE8BC008-9541-4545-9FF2-2DF585B29F7D
template <> inline constexpr guid guid_v<winrt::Windows::Web::UI::IWebViewControlDeferredPermissionRequest>{ 0x2CE349E0,0xD759,0x445C,{ 0x99,0x26,0x89,0x95,0x29,0x8F,0x15,0x2B } }; // 2CE349E0-D759-445C-9926-8995298F152B
template <> inline constexpr guid guid_v<winrt::Windows::Web::UI::IWebViewControlLongRunningScriptDetectedEventArgs>{ 0x2A6E5BBA,0x98B4,0x45BC,{ 0xBB,0xEB,0x0F,0x69,0xCE,0x49,0xC5,0x99 } }; // 2A6E5BBA-98B4-45BC-BBEB-0F69CE49C599
template <> inline constexpr guid guid_v<winrt::Windows::Web::UI::IWebViewControlNavigationCompletedEventArgs>{ 0x20409918,0x4A15,0x4C46,{ 0xA5,0x5D,0xF7,0x9E,0xDB,0x0B,0xDE,0x8B } }; // 20409918-4A15-4C46-A55D-F79EDB0BDE8B
template <> inline constexpr guid guid_v<winrt::Windows::Web::UI::IWebViewControlNavigationStartingEventArgs>{ 0x0C9057C5,0x0A08,0x41C7,{ 0x86,0x3B,0x71,0xE3,0xA9,0x54,0x91,0x37 } }; // 0C9057C5-0A08-41C7-863B-71E3A9549137
template <> inline constexpr guid guid_v<winrt::Windows::Web::UI::IWebViewControlNewWindowRequestedEventArgs>{ 0x3DF44BBB,0xA124,0x46D5,{ 0xA0,0x83,0xD0,0x2C,0xAC,0xDF,0xF5,0xAD } }; // 3DF44BBB-A124-46D5-A083-D02CACDFF5AD
template <> inline constexpr guid guid_v<winrt::Windows::Web::UI::IWebViewControlNewWindowRequestedEventArgs2>{ 0xB53C5CA6,0x2AAE,0x4BFC,{ 0x92,0xB9,0xC3,0x0E,0x92,0xB4,0x80,0x98 } }; // B53C5CA6-2AAE-4BFC-92B9-C30E92B48098
template <> inline constexpr guid guid_v<winrt::Windows::Web::UI::IWebViewControlPermissionRequest>{ 0xE5BC836C,0xF22F,0x40E2,{ 0x95,0xB2,0x77,0x29,0xF8,0x40,0xEB,0x7F } }; // E5BC836C-F22F-40E2-95B2-7729F840EB7F
template <> inline constexpr guid guid_v<winrt::Windows::Web::UI::IWebViewControlPermissionRequestedEventArgs>{ 0x27204D51,0x2488,0x4CC5,{ 0x96,0x8E,0x0A,0x77,0x1E,0x59,0xC1,0x47 } }; // 27204D51-2488-4CC5-968E-0A771E59C147
template <> inline constexpr guid guid_v<winrt::Windows::Web::UI::IWebViewControlScriptNotifyEventArgs>{ 0x491DE57B,0x6F49,0x41BB,{ 0xB5,0x91,0x51,0xB8,0x5B,0x81,0x70,0x37 } }; // 491DE57B-6F49-41BB-B591-51B85B817037
template <> inline constexpr guid guid_v<winrt::Windows::Web::UI::IWebViewControlSettings>{ 0xC9967FBF,0x5E98,0x4CFD,{ 0x8C,0xCE,0x27,0xB0,0x91,0x1E,0x3D,0xE8 } }; // C9967FBF-5E98-4CFD-8CCE-27B0911E3DE8
template <> inline constexpr guid guid_v<winrt::Windows::Web::UI::IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs>{ 0xE3B81944,0xE4FC,0x43DC,{ 0x94,0xCA,0xF9,0x80,0xF3,0x0B,0xC5,0x1D } }; // E3B81944-E4FC-43DC-94CA-F980F30BC51D
template <> inline constexpr guid guid_v<winrt::Windows::Web::UI::IWebViewControlUnviewableContentIdentifiedEventArgs>{ 0x4A9680DB,0x88F2,0x4E20,{ 0xB6,0x93,0xB4,0xE2,0xDF,0x4A,0xA5,0x81 } }; // 4A9680DB-88F2-4E20-B693-B4E2DF4AA581
template <> inline constexpr guid guid_v<winrt::Windows::Web::UI::IWebViewControlWebResourceRequestedEventArgs>{ 0x44D6524D,0x55A4,0x4D8B,{ 0x89,0x1C,0x93,0x1D,0x8E,0x25,0xD4,0x2E } }; // 44D6524D-55A4-4D8B-891C-931D8E25D42E
template <> struct default_interface<winrt::Windows::Web::UI::WebViewControlContentLoadingEventArgs>{ using type = winrt::Windows::Web::UI::IWebViewControlContentLoadingEventArgs; };
template <> struct default_interface<winrt::Windows::Web::UI::WebViewControlDOMContentLoadedEventArgs>{ using type = winrt::Windows::Web::UI::IWebViewControlDOMContentLoadedEventArgs; };
template <> struct default_interface<winrt::Windows::Web::UI::WebViewControlDeferredPermissionRequest>{ using type = winrt::Windows::Web::UI::IWebViewControlDeferredPermissionRequest; };
template <> struct default_interface<winrt::Windows::Web::UI::WebViewControlLongRunningScriptDetectedEventArgs>{ using type = winrt::Windows::Web::UI::IWebViewControlLongRunningScriptDetectedEventArgs; };
template <> struct default_interface<winrt::Windows::Web::UI::WebViewControlNavigationCompletedEventArgs>{ using type = winrt::Windows::Web::UI::IWebViewControlNavigationCompletedEventArgs; };
template <> struct default_interface<winrt::Windows::Web::UI::WebViewControlNavigationStartingEventArgs>{ using type = winrt::Windows::Web::UI::IWebViewControlNavigationStartingEventArgs; };
template <> struct default_interface<winrt::Windows::Web::UI::WebViewControlNewWindowRequestedEventArgs>{ using type = winrt::Windows::Web::UI::IWebViewControlNewWindowRequestedEventArgs; };
template <> struct default_interface<winrt::Windows::Web::UI::WebViewControlPermissionRequest>{ using type = winrt::Windows::Web::UI::IWebViewControlPermissionRequest; };
template <> struct default_interface<winrt::Windows::Web::UI::WebViewControlPermissionRequestedEventArgs>{ using type = winrt::Windows::Web::UI::IWebViewControlPermissionRequestedEventArgs; };
template <> struct default_interface<winrt::Windows::Web::UI::WebViewControlScriptNotifyEventArgs>{ using type = winrt::Windows::Web::UI::IWebViewControlScriptNotifyEventArgs; };
template <> struct default_interface<winrt::Windows::Web::UI::WebViewControlSettings>{ using type = winrt::Windows::Web::UI::IWebViewControlSettings; };
template <> struct default_interface<winrt::Windows::Web::UI::WebViewControlUnsupportedUriSchemeIdentifiedEventArgs>{ using type = winrt::Windows::Web::UI::IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs; };
template <> struct default_interface<winrt::Windows::Web::UI::WebViewControlUnviewableContentIdentifiedEventArgs>{ using type = winrt::Windows::Web::UI::IWebViewControlUnviewableContentIdentifiedEventArgs; };
template <> struct default_interface<winrt::Windows::Web::UI::WebViewControlWebResourceRequestedEventArgs>{ using type = winrt::Windows::Web::UI::IWebViewControlWebResourceRequestedEventArgs; };
template <> struct abi<winrt::Windows::Web::UI::IWebViewControl>
{
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Source(void**) noexcept = 0;
virtual int32_t __stdcall put_Source(void*) noexcept = 0;
virtual int32_t __stdcall get_DocumentTitle(void**) noexcept = 0;
virtual int32_t __stdcall get_CanGoBack(bool*) noexcept = 0;
virtual int32_t __stdcall get_CanGoForward(bool*) noexcept = 0;
virtual int32_t __stdcall put_DefaultBackgroundColor(struct struct_Windows_UI_Color) noexcept = 0;
virtual int32_t __stdcall get_DefaultBackgroundColor(struct struct_Windows_UI_Color*) noexcept = 0;
virtual int32_t __stdcall get_ContainsFullScreenElement(bool*) noexcept = 0;
virtual int32_t __stdcall get_Settings(void**) noexcept = 0;
virtual int32_t __stdcall get_DeferredPermissionRequests(void**) noexcept = 0;
virtual int32_t __stdcall GoForward() noexcept = 0;
virtual int32_t __stdcall GoBack() noexcept = 0;
virtual int32_t __stdcall Refresh() noexcept = 0;
virtual int32_t __stdcall Stop() noexcept = 0;
virtual int32_t __stdcall Navigate(void*) noexcept = 0;
virtual int32_t __stdcall NavigateToString(void*) noexcept = 0;
virtual int32_t __stdcall NavigateToLocalStreamUri(void*, void*) noexcept = 0;
virtual int32_t __stdcall NavigateWithHttpRequestMessage(void*) noexcept = 0;
virtual int32_t __stdcall InvokeScriptAsync(void*, void*, void**) noexcept = 0;
virtual int32_t __stdcall CapturePreviewToStreamAsync(void*, void**) noexcept = 0;
virtual int32_t __stdcall CaptureSelectedContentToDataPackageAsync(void**) noexcept = 0;
virtual int32_t __stdcall BuildLocalStreamUri(void*, void*, void**) noexcept = 0;
virtual int32_t __stdcall GetDeferredPermissionRequestById(uint32_t, void**) noexcept = 0;
virtual int32_t __stdcall add_NavigationStarting(void*, winrt::event_token*) noexcept = 0;
virtual int32_t __stdcall remove_NavigationStarting(winrt::event_token) noexcept = 0;
virtual int32_t __stdcall add_ContentLoading(void*, winrt::event_token*) noexcept = 0;
virtual int32_t __stdcall remove_ContentLoading(winrt::event_token) noexcept = 0;
virtual int32_t __stdcall add_DOMContentLoaded(void*, winrt::event_token*) noexcept = 0;
virtual int32_t __stdcall remove_DOMContentLoaded(winrt::event_token) noexcept = 0;
virtual int32_t __stdcall add_NavigationCompleted(void*, winrt::event_token*) noexcept = 0;
virtual int32_t __stdcall remove_NavigationCompleted(winrt::event_token) noexcept = 0;
virtual int32_t __stdcall add_FrameNavigationStarting(void*, winrt::event_token*) noexcept = 0;
virtual int32_t __stdcall remove_FrameNavigationStarting(winrt::event_token) noexcept = 0;
virtual int32_t __stdcall add_FrameContentLoading(void*, winrt::event_token*) noexcept = 0;
virtual int32_t __stdcall remove_FrameContentLoading(winrt::event_token) noexcept = 0;
virtual int32_t __stdcall add_FrameDOMContentLoaded(void*, winrt::event_token*) noexcept = 0;
virtual int32_t __stdcall remove_FrameDOMContentLoaded(winrt::event_token) noexcept = 0;
virtual int32_t __stdcall add_FrameNavigationCompleted(void*, winrt::event_token*) noexcept = 0;
virtual int32_t __stdcall remove_FrameNavigationCompleted(winrt::event_token) noexcept = 0;
virtual int32_t __stdcall add_ScriptNotify(void*, winrt::event_token*) noexcept = 0;
virtual int32_t __stdcall remove_ScriptNotify(winrt::event_token) noexcept = 0;
virtual int32_t __stdcall add_LongRunningScriptDetected(void*, winrt::event_token*) noexcept = 0;
virtual int32_t __stdcall remove_LongRunningScriptDetected(winrt::event_token) noexcept = 0;
virtual int32_t __stdcall add_UnsafeContentWarningDisplaying(void*, winrt::event_token*) noexcept = 0;
virtual int32_t __stdcall remove_UnsafeContentWarningDisplaying(winrt::event_token) noexcept = 0;
virtual int32_t __stdcall add_UnviewableContentIdentified(void*, winrt::event_token*) noexcept = 0;
virtual int32_t __stdcall remove_UnviewableContentIdentified(winrt::event_token) noexcept = 0;
virtual int32_t __stdcall add_PermissionRequested(void*, winrt::event_token*) noexcept = 0;
virtual int32_t __stdcall remove_PermissionRequested(winrt::event_token) noexcept = 0;
virtual int32_t __stdcall add_UnsupportedUriSchemeIdentified(void*, winrt::event_token*) noexcept = 0;
virtual int32_t __stdcall remove_UnsupportedUriSchemeIdentified(winrt::event_token) noexcept = 0;
virtual int32_t __stdcall add_NewWindowRequested(void*, winrt::event_token*) noexcept = 0;
virtual int32_t __stdcall remove_NewWindowRequested(winrt::event_token) noexcept = 0;
virtual int32_t __stdcall add_ContainsFullScreenElementChanged(void*, winrt::event_token*) noexcept = 0;
virtual int32_t __stdcall remove_ContainsFullScreenElementChanged(winrt::event_token) noexcept = 0;
virtual int32_t __stdcall add_WebResourceRequested(void*, winrt::event_token*) noexcept = 0;
virtual int32_t __stdcall remove_WebResourceRequested(winrt::event_token) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Web::UI::IWebViewControl2>
{
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall AddInitializeScript(void*) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Web::UI::IWebViewControlContentLoadingEventArgs>
{
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Uri(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Web::UI::IWebViewControlDOMContentLoadedEventArgs>
{
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Uri(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Web::UI::IWebViewControlDeferredPermissionRequest>
{
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Id(uint32_t*) noexcept = 0;
virtual int32_t __stdcall get_Uri(void**) noexcept = 0;
virtual int32_t __stdcall get_PermissionType(int32_t*) noexcept = 0;
virtual int32_t __stdcall Allow() noexcept = 0;
virtual int32_t __stdcall Deny() noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Web::UI::IWebViewControlLongRunningScriptDetectedEventArgs>
{
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_ExecutionTime(int64_t*) noexcept = 0;
virtual int32_t __stdcall get_StopPageScriptExecution(bool*) noexcept = 0;
virtual int32_t __stdcall put_StopPageScriptExecution(bool) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Web::UI::IWebViewControlNavigationCompletedEventArgs>
{
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Uri(void**) noexcept = 0;
virtual int32_t __stdcall get_IsSuccess(bool*) noexcept = 0;
virtual int32_t __stdcall get_WebErrorStatus(int32_t*) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Web::UI::IWebViewControlNavigationStartingEventArgs>
{
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Uri(void**) noexcept = 0;
virtual int32_t __stdcall get_Cancel(bool*) noexcept = 0;
virtual int32_t __stdcall put_Cancel(bool) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Web::UI::IWebViewControlNewWindowRequestedEventArgs>
{
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Uri(void**) noexcept = 0;
virtual int32_t __stdcall get_Referrer(void**) noexcept = 0;
virtual int32_t __stdcall get_Handled(bool*) noexcept = 0;
virtual int32_t __stdcall put_Handled(bool) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Web::UI::IWebViewControlNewWindowRequestedEventArgs2>
{
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_NewWindow(void**) noexcept = 0;
virtual int32_t __stdcall put_NewWindow(void*) noexcept = 0;
virtual int32_t __stdcall GetDeferral(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Web::UI::IWebViewControlPermissionRequest>
{
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Id(uint32_t*) noexcept = 0;
virtual int32_t __stdcall get_Uri(void**) noexcept = 0;
virtual int32_t __stdcall get_PermissionType(int32_t*) noexcept = 0;
virtual int32_t __stdcall get_State(int32_t*) noexcept = 0;
virtual int32_t __stdcall Defer() noexcept = 0;
virtual int32_t __stdcall Allow() noexcept = 0;
virtual int32_t __stdcall Deny() noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Web::UI::IWebViewControlPermissionRequestedEventArgs>
{
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_PermissionRequest(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Web::UI::IWebViewControlScriptNotifyEventArgs>
{
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Uri(void**) noexcept = 0;
virtual int32_t __stdcall get_Value(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Web::UI::IWebViewControlSettings>
{
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall put_IsJavaScriptEnabled(bool) noexcept = 0;
virtual int32_t __stdcall get_IsJavaScriptEnabled(bool*) noexcept = 0;
virtual int32_t __stdcall put_IsIndexedDBEnabled(bool) noexcept = 0;
virtual int32_t __stdcall get_IsIndexedDBEnabled(bool*) noexcept = 0;
virtual int32_t __stdcall put_IsScriptNotifyAllowed(bool) noexcept = 0;
virtual int32_t __stdcall get_IsScriptNotifyAllowed(bool*) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Web::UI::IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs>
{
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Uri(void**) noexcept = 0;
virtual int32_t __stdcall get_Handled(bool*) noexcept = 0;
virtual int32_t __stdcall put_Handled(bool) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Web::UI::IWebViewControlUnviewableContentIdentifiedEventArgs>
{
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Uri(void**) noexcept = 0;
virtual int32_t __stdcall get_Referrer(void**) noexcept = 0;
virtual int32_t __stdcall get_MediaType(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::Web::UI::IWebViewControlWebResourceRequestedEventArgs>
{
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall GetDeferral(void**) noexcept = 0;
virtual int32_t __stdcall get_Request(void**) noexcept = 0;
virtual int32_t __stdcall put_Response(void*) noexcept = 0;
virtual int32_t __stdcall get_Response(void**) noexcept = 0;
};
};
template <typename D>
struct consume_Windows_Web_UI_IWebViewControl
{
[[nodiscard]] auto Source() const;
auto Source(winrt::Windows::Foundation::Uri const& source) const;
[[nodiscard]] auto DocumentTitle() const;
[[nodiscard]] auto CanGoBack() const;
[[nodiscard]] auto CanGoForward() const;
auto DefaultBackgroundColor(winrt::Windows::UI::Color const& value) const;
[[nodiscard]] auto DefaultBackgroundColor() const;
[[nodiscard]] auto ContainsFullScreenElement() const;
[[nodiscard]] auto Settings() const;
[[nodiscard]] auto DeferredPermissionRequests() const;
auto GoForward() const;
auto GoBack() const;
auto Refresh() const;
auto Stop() const;
auto Navigate(winrt::Windows::Foundation::Uri const& source) const;
auto NavigateToString(param::hstring const& text) const;
auto NavigateToLocalStreamUri(winrt::Windows::Foundation::Uri const& source, winrt::Windows::Web::IUriToStreamResolver const& streamResolver) const;
auto NavigateWithHttpRequestMessage(winrt::Windows::Web::Http::HttpRequestMessage const& requestMessage) const;
auto InvokeScriptAsync(param::hstring const& scriptName, param::async_iterable<hstring> const& arguments) const;
auto CapturePreviewToStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const;
auto CaptureSelectedContentToDataPackageAsync() const;
auto BuildLocalStreamUri(param::hstring const& contentIdentifier, param::hstring const& relativePath) const;
auto GetDeferredPermissionRequestById(uint32_t id, winrt::Windows::Web::UI::WebViewControlDeferredPermissionRequest& result) const;
auto NavigationStarting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationStartingEventArgs> const& handler) const;
using NavigationStarting_revoker = impl::event_revoker<winrt::Windows::Web::UI::IWebViewControl, &impl::abi_t<winrt::Windows::Web::UI::IWebViewControl>::remove_NavigationStarting>;
[[nodiscard]] auto NavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationStartingEventArgs> const& handler) const;
auto NavigationStarting(winrt::event_token const& token) const noexcept;
auto ContentLoading(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlContentLoadingEventArgs> const& handler) const;
using ContentLoading_revoker = impl::event_revoker<winrt::Windows::Web::UI::IWebViewControl, &impl::abi_t<winrt::Windows::Web::UI::IWebViewControl>::remove_ContentLoading>;
[[nodiscard]] auto ContentLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlContentLoadingEventArgs> const& handler) const;
auto ContentLoading(winrt::event_token const& token) const noexcept;
auto DOMContentLoaded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlDOMContentLoadedEventArgs> const& handler) const;
using DOMContentLoaded_revoker = impl::event_revoker<winrt::Windows::Web::UI::IWebViewControl, &impl::abi_t<winrt::Windows::Web::UI::IWebViewControl>::remove_DOMContentLoaded>;
[[nodiscard]] auto DOMContentLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlDOMContentLoadedEventArgs> const& handler) const;
auto DOMContentLoaded(winrt::event_token const& token) const noexcept;
auto NavigationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationCompletedEventArgs> const& handler) const;
using NavigationCompleted_revoker = impl::event_revoker<winrt::Windows::Web::UI::IWebViewControl, &impl::abi_t<winrt::Windows::Web::UI::IWebViewControl>::remove_NavigationCompleted>;
[[nodiscard]] auto NavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationCompletedEventArgs> const& handler) const;
auto NavigationCompleted(winrt::event_token const& token) const noexcept;
auto FrameNavigationStarting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationStartingEventArgs> const& handler) const;
using FrameNavigationStarting_revoker = impl::event_revoker<winrt::Windows::Web::UI::IWebViewControl, &impl::abi_t<winrt::Windows::Web::UI::IWebViewControl>::remove_FrameNavigationStarting>;
[[nodiscard]] auto FrameNavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationStartingEventArgs> const& handler) const;
auto FrameNavigationStarting(winrt::event_token const& token) const noexcept;
auto FrameContentLoading(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlContentLoadingEventArgs> const& handler) const;
using FrameContentLoading_revoker = impl::event_revoker<winrt::Windows::Web::UI::IWebViewControl, &impl::abi_t<winrt::Windows::Web::UI::IWebViewControl>::remove_FrameContentLoading>;
[[nodiscard]] auto FrameContentLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlContentLoadingEventArgs> const& handler) const;
auto FrameContentLoading(winrt::event_token const& token) const noexcept;
auto FrameDOMContentLoaded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlDOMContentLoadedEventArgs> const& handler) const;
using FrameDOMContentLoaded_revoker = impl::event_revoker<winrt::Windows::Web::UI::IWebViewControl, &impl::abi_t<winrt::Windows::Web::UI::IWebViewControl>::remove_FrameDOMContentLoaded>;
[[nodiscard]] auto FrameDOMContentLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlDOMContentLoadedEventArgs> const& handler) const;
auto FrameDOMContentLoaded(winrt::event_token const& token) const noexcept;
auto FrameNavigationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationCompletedEventArgs> const& handler) const;
using FrameNavigationCompleted_revoker = impl::event_revoker<winrt::Windows::Web::UI::IWebViewControl, &impl::abi_t<winrt::Windows::Web::UI::IWebViewControl>::remove_FrameNavigationCompleted>;
[[nodiscard]] auto FrameNavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationCompletedEventArgs> const& handler) const;
auto FrameNavigationCompleted(winrt::event_token const& token) const noexcept;
auto ScriptNotify(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlScriptNotifyEventArgs> const& handler) const;
using ScriptNotify_revoker = impl::event_revoker<winrt::Windows::Web::UI::IWebViewControl, &impl::abi_t<winrt::Windows::Web::UI::IWebViewControl>::remove_ScriptNotify>;
[[nodiscard]] auto ScriptNotify(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlScriptNotifyEventArgs> const& handler) const;
auto ScriptNotify(winrt::event_token const& token) const noexcept;
auto LongRunningScriptDetected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlLongRunningScriptDetectedEventArgs> const& handler) const;
using LongRunningScriptDetected_revoker = impl::event_revoker<winrt::Windows::Web::UI::IWebViewControl, &impl::abi_t<winrt::Windows::Web::UI::IWebViewControl>::remove_LongRunningScriptDetected>;
[[nodiscard]] auto LongRunningScriptDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlLongRunningScriptDetectedEventArgs> const& handler) const;
auto LongRunningScriptDetected(winrt::event_token const& token) const noexcept;
auto UnsafeContentWarningDisplaying(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
using UnsafeContentWarningDisplaying_revoker = impl::event_revoker<winrt::Windows::Web::UI::IWebViewControl, &impl::abi_t<winrt::Windows::Web::UI::IWebViewControl>::remove_UnsafeContentWarningDisplaying>;
[[nodiscard]] auto UnsafeContentWarningDisplaying(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
auto UnsafeContentWarningDisplaying(winrt::event_token const& token) const noexcept;
auto UnviewableContentIdentified(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlUnviewableContentIdentifiedEventArgs> const& handler) const;
using UnviewableContentIdentified_revoker = impl::event_revoker<winrt::Windows::Web::UI::IWebViewControl, &impl::abi_t<winrt::Windows::Web::UI::IWebViewControl>::remove_UnviewableContentIdentified>;
[[nodiscard]] auto UnviewableContentIdentified(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlUnviewableContentIdentifiedEventArgs> const& handler) const;
auto UnviewableContentIdentified(winrt::event_token const& token) const noexcept;
auto PermissionRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlPermissionRequestedEventArgs> const& handler) const;
using PermissionRequested_revoker = impl::event_revoker<winrt::Windows::Web::UI::IWebViewControl, &impl::abi_t<winrt::Windows::Web::UI::IWebViewControl>::remove_PermissionRequested>;
[[nodiscard]] auto PermissionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlPermissionRequestedEventArgs> const& handler) const;
auto PermissionRequested(winrt::event_token const& token) const noexcept;
auto UnsupportedUriSchemeIdentified(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlUnsupportedUriSchemeIdentifiedEventArgs> const& handler) const;
using UnsupportedUriSchemeIdentified_revoker = impl::event_revoker<winrt::Windows::Web::UI::IWebViewControl, &impl::abi_t<winrt::Windows::Web::UI::IWebViewControl>::remove_UnsupportedUriSchemeIdentified>;
[[nodiscard]] auto UnsupportedUriSchemeIdentified(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlUnsupportedUriSchemeIdentifiedEventArgs> const& handler) const;
auto UnsupportedUriSchemeIdentified(winrt::event_token const& token) const noexcept;
auto NewWindowRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNewWindowRequestedEventArgs> const& handler) const;
using NewWindowRequested_revoker = impl::event_revoker<winrt::Windows::Web::UI::IWebViewControl, &impl::abi_t<winrt::Windows::Web::UI::IWebViewControl>::remove_NewWindowRequested>;
[[nodiscard]] auto NewWindowRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNewWindowRequestedEventArgs> const& handler) const;
auto NewWindowRequested(winrt::event_token const& token) const noexcept;
auto ContainsFullScreenElementChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ContainsFullScreenElementChanged_revoker = impl::event_revoker<winrt::Windows::Web::UI::IWebViewControl, &impl::abi_t<winrt::Windows::Web::UI::IWebViewControl>::remove_ContainsFullScreenElementChanged>;
[[nodiscard]] auto ContainsFullScreenElementChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
auto ContainsFullScreenElementChanged(winrt::event_token const& token) const noexcept;
auto WebResourceRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlWebResourceRequestedEventArgs> const& handler) const;
using WebResourceRequested_revoker = impl::event_revoker<winrt::Windows::Web::UI::IWebViewControl, &impl::abi_t<winrt::Windows::Web::UI::IWebViewControl>::remove_WebResourceRequested>;
[[nodiscard]] auto WebResourceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlWebResourceRequestedEventArgs> const& handler) const;
auto WebResourceRequested(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Web::UI::IWebViewControl>
{
template <typename D> using type = consume_Windows_Web_UI_IWebViewControl<D>;
};
template <typename D>
struct consume_Windows_Web_UI_IWebViewControl2
{
auto AddInitializeScript(param::hstring const& script) const;
};
template <> struct consume<winrt::Windows::Web::UI::IWebViewControl2>
{
template <typename D> using type = consume_Windows_Web_UI_IWebViewControl2<D>;
};
template <typename D>
struct consume_Windows_Web_UI_IWebViewControlContentLoadingEventArgs
{
[[nodiscard]] auto Uri() const;
};
template <> struct consume<winrt::Windows::Web::UI::IWebViewControlContentLoadingEventArgs>
{
template <typename D> using type = consume_Windows_Web_UI_IWebViewControlContentLoadingEventArgs<D>;
};
template <typename D>
struct consume_Windows_Web_UI_IWebViewControlDOMContentLoadedEventArgs
{
[[nodiscard]] auto Uri() const;
};
template <> struct consume<winrt::Windows::Web::UI::IWebViewControlDOMContentLoadedEventArgs>
{
template <typename D> using type = consume_Windows_Web_UI_IWebViewControlDOMContentLoadedEventArgs<D>;
};
template <typename D>
struct consume_Windows_Web_UI_IWebViewControlDeferredPermissionRequest
{
[[nodiscard]] auto Id() const;
[[nodiscard]] auto Uri() const;
[[nodiscard]] auto PermissionType() const;
auto Allow() const;
auto Deny() const;
};
template <> struct consume<winrt::Windows::Web::UI::IWebViewControlDeferredPermissionRequest>
{
template <typename D> using type = consume_Windows_Web_UI_IWebViewControlDeferredPermissionRequest<D>;
};
template <typename D>
struct consume_Windows_Web_UI_IWebViewControlLongRunningScriptDetectedEventArgs
{
[[nodiscard]] auto ExecutionTime() const;
[[nodiscard]] auto StopPageScriptExecution() const;
auto StopPageScriptExecution(bool value) const;
};
template <> struct consume<winrt::Windows::Web::UI::IWebViewControlLongRunningScriptDetectedEventArgs>
{
template <typename D> using type = consume_Windows_Web_UI_IWebViewControlLongRunningScriptDetectedEventArgs<D>;
};
template <typename D>
struct consume_Windows_Web_UI_IWebViewControlNavigationCompletedEventArgs
{
[[nodiscard]] auto Uri() const;
[[nodiscard]] auto IsSuccess() const;
[[nodiscard]] auto WebErrorStatus() const;
};
template <> struct consume<winrt::Windows::Web::UI::IWebViewControlNavigationCompletedEventArgs>
{
template <typename D> using type = consume_Windows_Web_UI_IWebViewControlNavigationCompletedEventArgs<D>;
};
template <typename D>
struct consume_Windows_Web_UI_IWebViewControlNavigationStartingEventArgs
{
[[nodiscard]] auto Uri() const;
[[nodiscard]] auto Cancel() const;
auto Cancel(bool value) const;
};
template <> struct consume<winrt::Windows::Web::UI::IWebViewControlNavigationStartingEventArgs>
{
template <typename D> using type = consume_Windows_Web_UI_IWebViewControlNavigationStartingEventArgs<D>;
};
template <typename D>
struct consume_Windows_Web_UI_IWebViewControlNewWindowRequestedEventArgs
{
[[nodiscard]] auto Uri() const;
[[nodiscard]] auto Referrer() const;
[[nodiscard]] auto Handled() const;
auto Handled(bool value) const;
};
template <> struct consume<winrt::Windows::Web::UI::IWebViewControlNewWindowRequestedEventArgs>
{
template <typename D> using type = consume_Windows_Web_UI_IWebViewControlNewWindowRequestedEventArgs<D>;
};
template <typename D>
struct consume_Windows_Web_UI_IWebViewControlNewWindowRequestedEventArgs2
{
[[nodiscard]] auto NewWindow() const;
auto NewWindow(winrt::Windows::Web::UI::IWebViewControl const& value) const;
auto GetDeferral() const;
};
template <> struct consume<winrt::Windows::Web::UI::IWebViewControlNewWindowRequestedEventArgs2>
{
template <typename D> using type = consume_Windows_Web_UI_IWebViewControlNewWindowRequestedEventArgs2<D>;
};
template <typename D>
struct consume_Windows_Web_UI_IWebViewControlPermissionRequest
{
[[nodiscard]] auto Id() const;
[[nodiscard]] auto Uri() const;
[[nodiscard]] auto PermissionType() const;
[[nodiscard]] auto State() const;
auto Defer() const;
auto Allow() const;
auto Deny() const;
};
template <> struct consume<winrt::Windows::Web::UI::IWebViewControlPermissionRequest>
{
template <typename D> using type = consume_Windows_Web_UI_IWebViewControlPermissionRequest<D>;
};
template <typename D>
struct consume_Windows_Web_UI_IWebViewControlPermissionRequestedEventArgs
{
[[nodiscard]] auto PermissionRequest() const;
};
template <> struct consume<winrt::Windows::Web::UI::IWebViewControlPermissionRequestedEventArgs>
{
template <typename D> using type = consume_Windows_Web_UI_IWebViewControlPermissionRequestedEventArgs<D>;
};
template <typename D>
struct consume_Windows_Web_UI_IWebViewControlScriptNotifyEventArgs
{
[[nodiscard]] auto Uri() const;
[[nodiscard]] auto Value() const;
};
template <> struct consume<winrt::Windows::Web::UI::IWebViewControlScriptNotifyEventArgs>
{
template <typename D> using type = consume_Windows_Web_UI_IWebViewControlScriptNotifyEventArgs<D>;
};
template <typename D>
struct consume_Windows_Web_UI_IWebViewControlSettings
{
auto IsJavaScriptEnabled(bool value) const;
[[nodiscard]] auto IsJavaScriptEnabled() const;
auto IsIndexedDBEnabled(bool value) const;
[[nodiscard]] auto IsIndexedDBEnabled() const;
auto IsScriptNotifyAllowed(bool value) const;
[[nodiscard]] auto IsScriptNotifyAllowed() const;
};
template <> struct consume<winrt::Windows::Web::UI::IWebViewControlSettings>
{
template <typename D> using type = consume_Windows_Web_UI_IWebViewControlSettings<D>;
};
template <typename D>
struct consume_Windows_Web_UI_IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs
{
[[nodiscard]] auto Uri() const;
[[nodiscard]] auto Handled() const;
auto Handled(bool value) const;
};
template <> struct consume<winrt::Windows::Web::UI::IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs>
{
template <typename D> using type = consume_Windows_Web_UI_IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs<D>;
};
template <typename D>
struct consume_Windows_Web_UI_IWebViewControlUnviewableContentIdentifiedEventArgs
{
[[nodiscard]] auto Uri() const;
[[nodiscard]] auto Referrer() const;
[[nodiscard]] auto MediaType() const;
};
template <> struct consume<winrt::Windows::Web::UI::IWebViewControlUnviewableContentIdentifiedEventArgs>
{
template <typename D> using type = consume_Windows_Web_UI_IWebViewControlUnviewableContentIdentifiedEventArgs<D>;
};
template <typename D>
struct consume_Windows_Web_UI_IWebViewControlWebResourceRequestedEventArgs
{
auto GetDeferral() const;
[[nodiscard]] auto Request() const;
auto Response(winrt::Windows::Web::Http::HttpResponseMessage const& value) const;
[[nodiscard]] auto Response() const;
};
template <> struct consume<winrt::Windows::Web::UI::IWebViewControlWebResourceRequestedEventArgs>
{
template <typename D> using type = consume_Windows_Web_UI_IWebViewControlWebResourceRequestedEventArgs<D>;
};
}
#endif