Crate webview2_com
source ·Modules§
Structs§
- Implementation of
ICoreWebView2AcceleratorKeyPressedEventHandler_Impl
. - Implementation of
ICoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandler_Impl
. - Implementation of
ICoreWebView2BasicAuthenticationRequestedEventHandler_Impl
. - Implementation of
ICoreWebView2BrowserExtensionEnableCompletedHandler_Impl
. - Implementation of
ICoreWebView2BrowserExtensionRemoveCompletedHandler_Impl
. - Implementation of
ICoreWebView2BrowserProcessExitedEventHandler_Impl
. - Implementation of
ICoreWebView2BytesReceivedChangedEventHandler_Impl
. - Implementation of
ICoreWebView2CallDevToolsProtocolMethodCompletedHandler_Impl
. - Implementation of
ICoreWebView2CapturePreviewCompletedHandler_Impl
. - Implementation of
ICoreWebView2ClearBrowsingDataCompletedHandler_Impl
. - Implementation of
ICoreWebView2ClearServerCertificateErrorActionsCompletedHandler_Impl
. - Implementation of
ICoreWebView2ClientCertificateRequestedEventHandler_Impl
. - Mutable guard object tied to the lifetime of the
CoTaskMemPWSTR
so that it is safe to dereference thePWSTR
as long as both are still in scope. - RAII holder for a
PWSTR
which is allocated with [Com::CoTaskMemAlloc
] and freed with [Com::CoTaskMemFree
] when dropped. - Constant guard object tied to the lifetime of the
CoTaskMemPWSTR
so that it is safe to dereference thePCWSTR
as long as both are still in scope. - Implementation of
ICoreWebView2ContainsFullScreenElementChangedEventHandler_Impl
. - Implementation of
ICoreWebView2ContentLoadingEventHandler_Impl
. - Implementation of
ICoreWebView2ContextMenuRequestedEventHandler_Impl
. - Implementation of
ICoreWebView2CreateCoreWebView2CompositionControllerCompletedHandler_Impl
. - Implementation of
ICoreWebView2CreateCoreWebView2ControllerCompletedHandler_Impl
. - Implementation of
ICoreWebView2CreateCoreWebView2EnvironmentCompletedHandler_Impl
. - Implementation of
ICoreWebView2CursorChangedEventHandler_Impl
. - Implementation of
ICoreWebView2CustomItemSelectedEventHandler_Impl
. - Implementation of
ICoreWebView2DOMContentLoadedEventHandler_Impl
. - Implementation of
ICoreWebView2DevToolsProtocolEventReceivedEventHandler_Impl
. - Implementation of
ICoreWebView2DocumentTitleChangedEventHandler_Impl
. - Implementation of
ICoreWebView2DownloadStartingEventHandler_Impl
. - Implementation of
ICoreWebView2EstimatedEndTimeChangedEventHandler_Impl
. - Implementation of
ICoreWebView2ExecuteScriptCompletedHandler_Impl
. - Implementation of
ICoreWebView2ExecuteScriptWithResultCompletedHandler_Impl
. - Implementation of
ICoreWebView2FaviconChangedEventHandler_Impl
. - Implementation of
ICoreWebView2FocusChangedEventHandler_Impl
. - Implementation of
ICoreWebView2FrameContentLoadingEventHandler_Impl
. - Implementation of
ICoreWebView2FrameCreatedEventHandler_Impl
. - Implementation of
ICoreWebView2FrameDOMContentLoadedEventHandler_Impl
. - Implementation of
ICoreWebView2FrameDestroyedEventHandler_Impl
. - Implementation of
ICoreWebView2FrameNameChangedEventHandler_Impl
. - Implementation of
ICoreWebView2FrameNavigationCompletedEventHandler_Impl
. - Implementation of
ICoreWebView2FrameNavigationStartingEventHandler_Impl
. - Implementation of
ICoreWebView2FramePermissionRequestedEventHandler_Impl
. - Implementation of
ICoreWebView2FrameWebMessageReceivedEventHandler_Impl
. - Implementation of
ICoreWebView2GetCookiesCompletedHandler_Impl
. - Implementation of
ICoreWebView2GetFaviconCompletedHandler_Impl
. - Implementation of
ICoreWebView2GetNonDefaultPermissionSettingsCompletedHandler_Impl
. - Implementation of
ICoreWebView2GetProcessExtendedInfosCompletedHandler_Impl
. - Implementation of
ICoreWebView2HistoryChangedEventHandler_Impl
. - This is an alternate declaration of the
crate::Microsoft::Web::WebView2::Win32::ICoreWebView2EnvironmentOptions4
interface, which matches the parameters forSetCustomSchemeRegistrations
. Thewindows
crate mistakenly interprets the array of interface pointers as a pointer to an out-param, and it converts that into aResult<Option<ICoreWebView2CustomSchemeRegistration>>
. - Implementation of
ICoreWebView2IsDefaultDownloadDialogOpenChangedEventHandler_Impl
. - Implementation of
ICoreWebView2IsDocumentPlayingAudioChangedEventHandler_Impl
. - Implementation of
ICoreWebView2IsMutedChangedEventHandler_Impl
. - Implementation of
ICoreWebView2LaunchingExternalUriSchemeEventHandler_Impl
. - Implementation of
ICoreWebView2MoveFocusRequestedEventHandler_Impl
. - Implementation of
ICoreWebView2NavigationCompletedEventHandler_Impl
. - Implementation of
ICoreWebView2NavigationStartingEventHandler_Impl
. - Implementation of
ICoreWebView2NewBrowserVersionAvailableEventHandler_Impl
. - Implementation of
ICoreWebView2NewWindowRequestedEventHandler_Impl
. - Implementation of
ICoreWebView2NonClientRegionChangedEventHandler_Impl
. - Implementation of
ICoreWebView2PermissionRequestedEventHandler_Impl
. - Implementation of
ICoreWebView2PrintCompletedHandler_Impl
. - Implementation of
ICoreWebView2PrintToPdfCompletedHandler_Impl
. - Implementation of
ICoreWebView2PrintToPdfStreamCompletedHandler_Impl
. - Implementation of
ICoreWebView2ProcessFailedEventHandler_Impl
. - Implementation of
ICoreWebView2ProcessInfosChangedEventHandler_Impl
. - Implementation of
ICoreWebView2ProfileAddBrowserExtensionCompletedHandler_Impl
. - Implementation of
ICoreWebView2ProfileDeletedEventHandler_Impl
. - Implementation of
ICoreWebView2ProfileGetBrowserExtensionsCompletedHandler_Impl
. - Implementation of
ICoreWebView2RasterizationScaleChangedEventHandler_Impl
. - Implementation of
ICoreWebView2ScriptDialogOpeningEventHandler_Impl
. - Implementation of
ICoreWebView2ServerCertificateErrorDetectedEventHandler_Impl
. - Implementation of
ICoreWebView2SetPermissionStateCompletedHandler_Impl
. - Implementation of
ICoreWebView2SourceChangedEventHandler_Impl
. - Implementation of
ICoreWebView2StateChangedEventHandler_Impl
. - Implementation of
ICoreWebView2StatusBarTextChangedEventHandler_Impl
. - Implementation of
ICoreWebView2TrySuspendCompletedHandler_Impl
. - Implementation of
ICoreWebView2WebMessageReceivedEventHandler_Impl
. - Implementation of
ICoreWebView2WebResourceRequestedEventHandler_Impl
. - Implementation of
ICoreWebView2WebResourceResponseReceivedEventHandler_Impl
. - Implementation of
ICoreWebView2WebResourceResponseViewGetContentCompletedHandler_Impl
. - Implementation of
ICoreWebView2WindowCloseRequestedEventHandler_Impl
. - Implementation of
ICoreWebView2ZoomFactorChangedEventHandler_Impl
.
Enums§
Traits§
Functions§
- The WebView2 threading model runs everything on the UI thread, including callbacks which it triggers with
PostMessage
, and we’re using this here because it’s waiting for some async operations in WebView2 to finish before starting the main message loop. As long as there are no pending results inrx
, it will pump Window messages and check for a result after each message is dispatched.
Type Aliases§
- Generic closure signature for
completed_callback
. - Generic closure signature for
event_callback
.