mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Latest update for winrt
PiperOrigin-RevId: 452591835
This commit is contained in:
committed by
Copybara-Service
parent
11558b453c
commit
28da839987
+43
-48
@@ -1,4 +1,4 @@
|
||||
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14
|
||||
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1
|
||||
|
||||
#pragma once
|
||||
#ifndef WINRT_Windows_Web_UI_Interop_0_H
|
||||
@@ -6,14 +6,9 @@
|
||||
WINRT_EXPORT namespace winrt::Windows::Foundation
|
||||
{
|
||||
struct EventRegistrationToken;
|
||||
template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
|
||||
struct Rect;
|
||||
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
|
||||
}
|
||||
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
|
||||
{
|
||||
template <typename T> struct __declspec(empty_bases) IVectorView;
|
||||
}
|
||||
WINRT_EXPORT namespace winrt::Windows::System
|
||||
{
|
||||
enum class VirtualKey : int32_t;
|
||||
@@ -185,12 +180,12 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Web_UI_Interop_IWebViewControlAcceleratorKeyPressedEventArgs
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreAcceleratorKeyEventType) EventType() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) VirtualKey() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CorePhysicalKeyStatus) KeyStatus() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::UI::Interop::WebViewControlAcceleratorKeyRoutingStage) RoutingStage() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) Handled() const;
|
||||
WINRT_IMPL_AUTO(void) Handled(bool value) const;
|
||||
[[nodiscard]] auto EventType() const;
|
||||
[[nodiscard]] auto VirtualKey() const;
|
||||
[[nodiscard]] auto KeyStatus() const;
|
||||
[[nodiscard]] auto RoutingStage() const;
|
||||
[[nodiscard]] auto Handled() const;
|
||||
auto Handled(bool value) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Web::UI::Interop::IWebViewControlAcceleratorKeyPressedEventArgs>
|
||||
{
|
||||
@@ -199,7 +194,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Web_UI_Interop_IWebViewControlMoveFocusRequestedEventArgs
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::UI::Interop::WebViewControlMoveFocusReason) Reason() const;
|
||||
[[nodiscard]] auto Reason() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Web::UI::Interop::IWebViewControlMoveFocusRequestedEventArgs>
|
||||
{
|
||||
@@ -208,16 +203,16 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Web_UI_Interop_IWebViewControlProcess
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ProcessId() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) EnterpriseId() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) IsPrivateNetworkClientServerCapabilityEnabled() const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Web::UI::Interop::WebViewControl>) CreateWebViewControlAsync(int64_t hostWindowHandle, winrt::Windows::Foundation::Rect const& bounds) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Web::UI::Interop::WebViewControl>) GetWebViewControls() const;
|
||||
WINRT_IMPL_AUTO(void) Terminate() const;
|
||||
WINRT_IMPL_AUTO(winrt::event_token) ProcessExited(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControlProcess, winrt::Windows::Foundation::IInspectable> const& handler) const;
|
||||
[[nodiscard]] auto ProcessId() const;
|
||||
[[nodiscard]] auto EnterpriseId() const;
|
||||
[[nodiscard]] auto IsPrivateNetworkClientServerCapabilityEnabled() const;
|
||||
auto CreateWebViewControlAsync(int64_t hostWindowHandle, winrt::Windows::Foundation::Rect const& bounds) const;
|
||||
auto GetWebViewControls() const;
|
||||
auto Terminate() const;
|
||||
auto ProcessExited(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControlProcess, winrt::Windows::Foundation::IInspectable> const& handler) const;
|
||||
using ProcessExited_revoker = impl::event_revoker<winrt::Windows::Web::UI::Interop::IWebViewControlProcess, &impl::abi_t<winrt::Windows::Web::UI::Interop::IWebViewControlProcess>::remove_ProcessExited>;
|
||||
[[nodiscard]] ProcessExited_revoker ProcessExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControlProcess, winrt::Windows::Foundation::IInspectable> const& handler) const;
|
||||
WINRT_IMPL_AUTO(void) ProcessExited(winrt::event_token const& token) const noexcept;
|
||||
[[nodiscard]] auto ProcessExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControlProcess, winrt::Windows::Foundation::IInspectable> const& handler) const;
|
||||
auto ProcessExited(winrt::event_token const& token) const noexcept;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Web::UI::Interop::IWebViewControlProcess>
|
||||
{
|
||||
@@ -226,7 +221,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Web_UI_Interop_IWebViewControlProcessFactory
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Web::UI::Interop::WebViewControlProcess) CreateWithOptions(winrt::Windows::Web::UI::Interop::WebViewControlProcessOptions const& processOptions) const;
|
||||
auto CreateWithOptions(winrt::Windows::Web::UI::Interop::WebViewControlProcessOptions const& processOptions) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Web::UI::Interop::IWebViewControlProcessFactory>
|
||||
{
|
||||
@@ -235,10 +230,10 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Web_UI_Interop_IWebViewControlProcessOptions
|
||||
{
|
||||
WINRT_IMPL_AUTO(void) EnterpriseId(param::hstring const& value) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) EnterpriseId() const;
|
||||
WINRT_IMPL_AUTO(void) PrivateNetworkClientServerCapability(winrt::Windows::Web::UI::Interop::WebViewControlProcessCapabilityState const& value) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::UI::Interop::WebViewControlProcessCapabilityState) PrivateNetworkClientServerCapability() const;
|
||||
auto EnterpriseId(param::hstring const& value) const;
|
||||
[[nodiscard]] auto EnterpriseId() const;
|
||||
auto PrivateNetworkClientServerCapability(winrt::Windows::Web::UI::Interop::WebViewControlProcessCapabilityState const& value) const;
|
||||
[[nodiscard]] auto PrivateNetworkClientServerCapability() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Web::UI::Interop::IWebViewControlProcessOptions>
|
||||
{
|
||||
@@ -247,23 +242,23 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Web_UI_Interop_IWebViewControlSite
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::UI::Interop::WebViewControlProcess) Process() const;
|
||||
WINRT_IMPL_AUTO(void) Scale(double value) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(double) Scale() const;
|
||||
WINRT_IMPL_AUTO(void) Bounds(winrt::Windows::Foundation::Rect const& value) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) Bounds() const;
|
||||
WINRT_IMPL_AUTO(void) IsVisible(bool value) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) IsVisible() const;
|
||||
WINRT_IMPL_AUTO(void) Close() const;
|
||||
WINRT_IMPL_AUTO(void) MoveFocus(winrt::Windows::Web::UI::Interop::WebViewControlMoveFocusReason const& reason) const;
|
||||
WINRT_IMPL_AUTO(winrt::event_token) MoveFocusRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Web::UI::Interop::WebViewControlMoveFocusRequestedEventArgs> const& handler) const;
|
||||
[[nodiscard]] auto Process() const;
|
||||
auto Scale(double value) const;
|
||||
[[nodiscard]] auto Scale() const;
|
||||
auto Bounds(winrt::Windows::Foundation::Rect const& value) const;
|
||||
[[nodiscard]] auto Bounds() const;
|
||||
auto IsVisible(bool value) const;
|
||||
[[nodiscard]] auto IsVisible() const;
|
||||
auto Close() const;
|
||||
auto MoveFocus(winrt::Windows::Web::UI::Interop::WebViewControlMoveFocusReason const& reason) const;
|
||||
auto MoveFocusRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Web::UI::Interop::WebViewControlMoveFocusRequestedEventArgs> const& handler) const;
|
||||
using MoveFocusRequested_revoker = impl::event_revoker<winrt::Windows::Web::UI::Interop::IWebViewControlSite, &impl::abi_t<winrt::Windows::Web::UI::Interop::IWebViewControlSite>::remove_MoveFocusRequested>;
|
||||
[[nodiscard]] MoveFocusRequested_revoker MoveFocusRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Web::UI::Interop::WebViewControlMoveFocusRequestedEventArgs> const& handler) const;
|
||||
WINRT_IMPL_AUTO(void) MoveFocusRequested(winrt::event_token const& token) const noexcept;
|
||||
WINRT_IMPL_AUTO(winrt::event_token) AcceleratorKeyPressed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Web::UI::Interop::WebViewControlAcceleratorKeyPressedEventArgs> const& handler) const;
|
||||
[[nodiscard]] auto MoveFocusRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Web::UI::Interop::WebViewControlMoveFocusRequestedEventArgs> const& handler) const;
|
||||
auto MoveFocusRequested(winrt::event_token const& token) const noexcept;
|
||||
auto AcceleratorKeyPressed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Web::UI::Interop::WebViewControlAcceleratorKeyPressedEventArgs> const& handler) const;
|
||||
using AcceleratorKeyPressed_revoker = impl::event_revoker<winrt::Windows::Web::UI::Interop::IWebViewControlSite, &impl::abi_t<winrt::Windows::Web::UI::Interop::IWebViewControlSite>::remove_AcceleratorKeyPressed>;
|
||||
[[nodiscard]] AcceleratorKeyPressed_revoker AcceleratorKeyPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Web::UI::Interop::WebViewControlAcceleratorKeyPressedEventArgs> const& handler) const;
|
||||
WINRT_IMPL_AUTO(void) AcceleratorKeyPressed(winrt::event_token const& token) const noexcept;
|
||||
[[nodiscard]] auto AcceleratorKeyPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Web::UI::Interop::WebViewControlAcceleratorKeyPressedEventArgs> const& handler) const;
|
||||
auto AcceleratorKeyPressed(winrt::event_token const& token) const noexcept;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Web::UI::Interop::IWebViewControlSite>
|
||||
{
|
||||
@@ -272,14 +267,14 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Web_UI_Interop_IWebViewControlSite2
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::event_token) GotFocus(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
|
||||
auto GotFocus(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
|
||||
using GotFocus_revoker = impl::event_revoker<winrt::Windows::Web::UI::Interop::IWebViewControlSite2, &impl::abi_t<winrt::Windows::Web::UI::Interop::IWebViewControlSite2>::remove_GotFocus>;
|
||||
[[nodiscard]] GotFocus_revoker GotFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
|
||||
WINRT_IMPL_AUTO(void) GotFocus(winrt::event_token const& token) const noexcept;
|
||||
WINRT_IMPL_AUTO(winrt::event_token) LostFocus(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
|
||||
[[nodiscard]] auto GotFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
|
||||
auto GotFocus(winrt::event_token const& token) const noexcept;
|
||||
auto LostFocus(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
|
||||
using LostFocus_revoker = impl::event_revoker<winrt::Windows::Web::UI::Interop::IWebViewControlSite2, &impl::abi_t<winrt::Windows::Web::UI::Interop::IWebViewControlSite2>::remove_LostFocus>;
|
||||
[[nodiscard]] LostFocus_revoker LostFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
|
||||
WINRT_IMPL_AUTO(void) LostFocus(winrt::event_token const& token) const noexcept;
|
||||
[[nodiscard]] auto LostFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
|
||||
auto LostFocus(winrt::event_token const& token) const noexcept;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Web::UI::Interop::IWebViewControlSite2>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user