[−][src]Crate webview2_sys
Low Level Bindings for WebView2 SDK.
Structs
Enums
CapturePreviewImageFormat | Image format used by the ICoreWebView2::CapturePreview method. |
KeyEventKind | The type of key event that triggered an AcceleratorKeyPressed event. |
MoveFocusReason | Reason for moving focus. |
PermissionKind | The type of a permission request. |
PermissionState | Response to a permission request. |
ProcessFailedKind | Kind of process failure used in the ICoreWebView2ProcessFailedEventHandler interface. |
ScriptDialogKind | Kind of JavaScript dialog used in the ICoreWebView2ScriptDialogOpeningEventHandler interface. |
WebErrorStatus | Error status values for web navigations. |
WebResourceContext | Enum for web resource request contexts. |
Constants
Traits
ICoreWebView2 | WebView2 enables you to host web content using the latest Edge web browser technology. |
ICoreWebView2Controller | This interface is the owner of the CoreWebView2 object, and provides support for resizing, showing and hiding, focusing, and other functionality related to windowing and composition. The CoreWebView2Controller owns the CoreWebView2, and if all references to the CoreWebView2Controller go away, the WebView will be closed. |
ICoreWebView2Deferral | This interface is used to complete deferrals on event args that support getting deferrals via their GetDeferral method. |
ICoreWebView2Settings | Defines properties that enable, disable, or modify WebView features. Setting changes made after NavigationStarting event will not apply until the next top level navigation. |
ICoreWebView2ProcessFailedEventArgs | Event args for the ProcessFailed event. |
ICoreWebView2ProcessFailedEventHandler | The caller implements this interface to receive ProcessFailed events. |
ICoreWebView2ZoomFactorChangedEventHandler | The caller implements this interface to receive ZoomFactorChanged events. Use the ICoreWebView2Controller.ZoomFactor property to get the modified zoom factor. |
ICoreWebView2HttpHeadersCollectionIterator | Iterator for a collection of HTTP headers. See ICoreWebView2HttpRequestHeaders and ICoreWebView2HttpResponseHeaders. \snippet ScenarioWebViewEventMonitor.cpp HttpRequestHeaderIterator |
ICoreWebView2HttpRequestHeaders | HTTP request headers. Used to inspect the HTTP request on WebResourceRequested event and NavigationStarting event. Note, you can modify the HTTP request headers from a WebResourceRequested event, but not from a NavigationStarting event. |
ICoreWebView2HttpResponseHeaders | HTTP response headers. Used to construct a WebResourceResponse for the WebResourceRequested event. |
ICoreWebView2WebResourceRequest | An HTTP request used with the WebResourceRequested event. |
ICoreWebView2WebResourceResponse | An HTTP response used with the WebResourceRequested event. |
ICoreWebView2NavigationStartingEventArgs | Event args for the NavigationStarting event. |
ICoreWebView2NavigationStartingEventHandler | The caller implements this interface to receive the NavigationStarting event. |
ICoreWebView2ContentLoadingEventArgs | Event args for the ContentLoading event. |
ICoreWebView2ContentLoadingEventHandler | The caller implements this interface to receive the ContentLoading event. |
ICoreWebView2SourceChangedEventArgs | Event args for the SourceChanged event. |
ICoreWebView2SourceChangedEventHandler | The caller implements this interface to receive the SourceChanged event. |
ICoreWebView2HistoryChangedEventHandler | The caller implements this interface to receive the HistoryChanged event. |
ICoreWebView2ScriptDialogOpeningEventArgs | Event args for the ScriptDialogOpening event. |
ICoreWebView2ScriptDialogOpeningEventHandler | The caller implements this interface to receive the ScriptDialogOpening event. |
ICoreWebView2NavigationCompletedEventArgs | Event args for the NavigationCompleted event. |
ICoreWebView2NavigationCompletedEventHandler | The caller implements this interface to receive the NavigationCompleted event. |
ICoreWebView2PermissionRequestedEventArgs | Event args for the PermissionRequested event. |
ICoreWebView2PermissionRequestedEventHandler | The caller implements this interface to receive the PermissionRequested event. |
ICoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandler | The caller implements this interface to receive the result of the AddScriptToExecuteOnDocumentCreated method. |
ICoreWebView2ExecuteScriptCompletedHandler | The caller implements this interface to receive the result of the ExecuteScript method. |
ICoreWebView2WebResourceRequestedEventArgs | Event args for the WebResourceRequested event. |
ICoreWebView2WebResourceRequestedEventHandler | Fires when an HTTP request is made in the webview. The host can override request, response headers and response content. |
ICoreWebView2CapturePreviewCompletedHandler | The caller implements this method to receive the result of the CapturePreview method. The result is written to the stream provided in the CapturePreview method call. |
ICoreWebView2FocusChangedEventHandler | The caller implements this method to receive the GotFocus and LostFocus events. There are no event args for this event. |
ICoreWebView2MoveFocusRequestedEventArgs | Event args for the MoveFocusRequested event. |
ICoreWebView2MoveFocusRequestedEventHandler | The caller implements this method to receive the MoveFocusRequested event. |
ICoreWebView2WebMessageReceivedEventArgs | Event args for the WebMessageReceived event. |
ICoreWebView2WebMessageReceivedEventHandler | The caller implements this interface to receive the WebMessageReceived event. |
ICoreWebView2DevToolsProtocolEventReceivedEventArgs | Event args for the DevToolsProtocolEventReceived event. |
ICoreWebView2DevToolsProtocolEventReceivedEventHandler | The caller implements this interface to receive DevToolsProtocolEventReceived events from the WebView. |
ICoreWebView2CallDevToolsProtocolMethodCompletedHandler | The caller implements this interface to receive CallDevToolsProtocolMethod completion results. |
ICoreWebView2NewWindowRequestedEventArgs | Event args for the NewWindowRequested event. The event is fired when content inside webview requested to a open a new window (through window.open() and so on.) |
ICoreWebView2NewWindowRequestedEventHandler | The caller implements this interface to receive NewWindowRequested events. |
ICoreWebView2DocumentTitleChangedEventHandler | The caller implements this interface to receive DocumentTitleChanged events. Use the DocumentTitle property to get the modified title. |
ICoreWebView2AcceleratorKeyPressedEventArgs | Event args for the AcceleratorKeyPressed event. |
ICoreWebView2AcceleratorKeyPressedEventHandler | The caller implements this interface to receive the AcceleratorKeyPressed event. |
ICoreWebView2NewBrowserVersionAvailableEventHandler | The caller implements this interface to receive NewBrowserVersionAvailable events. |
ICoreWebView2ContainsFullScreenElementChangedEventHandler | The caller implements this method to receive the ContainsFullScreenElementChanged events. There are no event args for this event. |
ICoreWebView2WindowCloseRequestedEventHandler | The caller implements this interface to receive NewWindowRequested events. |
ICoreWebView2Environment | This represents the WebView2 Environment. WebViews created from an environment run on the Browser process specified with environment parameters and objects created from an environment should be used in the same environment. Using it in different environments are not guaranteed to be compatible and may fail. |
ICoreWebView2EnvironmentOptions | Options used to create WebView2 Environment. A default implementation is provided in WebView2EnvironmentOptions.h. |
ICoreWebView2DevToolsProtocolEventReceiver | A Receiver is created for a particular DevTools Protocol event and allows you to subscribe and unsubsribe from that event. Obtained from the WebView object via GetDevToolsProtocolEventReceiver. |
ICoreWebView2CreateCoreWebView2ControllerCompletedHandler | The caller implements this interface to receive the CoreWebView2Controller created via CreateCoreWebView2Controller. |
ICoreWebView2CreateCoreWebView2EnvironmentCompletedHandler | The caller implements this interface to receive the WebView2Environment created via CreateCoreWebView2Environment. |
ISequentialStream | |
IStream |