diff --git a/README.md b/README.md
index 9173d2a..b5c375f 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,7 @@ WebView4Delphi is an open source project created by Salvador Díaz Fau to embed
WebView4Delphi only supports Windows. If you need to embed a web browser in Linux, Windows or MacOS consider using [CEF4Delphi](https://github.com/salvadordf/CEF4Delphi) instead.
-WebView4Delphi uses the [Microsoft Edge WebView2 Runtime](https://docs.microsoft.com/en-us/microsoft-edge/webview2/) and [Microsoft.Web.WebView2 NuGet package version 1.0.2277.86](https://www.nuget.org/packages/Microsoft.Web.WebView2) to embed a web browser.
+WebView4Delphi uses the [Microsoft Edge WebView2 Runtime](https://docs.microsoft.com/en-us/microsoft-edge/webview2/) and [Microsoft.Web.WebView2 NuGet package version 1.0.2365.46](https://www.nuget.org/packages/Microsoft.Web.WebView2) to embed a web browser.
WebView4Delphi was developed and tested on Delphi 12.0, Delphi XE2, Delphi 7 and Lazarus 3.0/FPC 3.2.2.
diff --git a/bin32/WebView2Loader.dll b/bin32/WebView2Loader.dll
index 4116ec1..b084ca3 100644
Binary files a/bin32/WebView2Loader.dll and b/bin32/WebView2Loader.dll differ
diff --git a/bin64/WebView2Loader.dll b/bin64/WebView2Loader.dll
index d631ae2..0a896b3 100644
Binary files a/bin64/WebView2Loader.dll and b/bin64/WebView2Loader.dll differ
diff --git a/demos/Delphi_VCL/MiniBrowser/uMiniBrowser.pas b/demos/Delphi_VCL/MiniBrowser/uMiniBrowser.pas
index 738f4ff..69d3054 100644
--- a/demos/Delphi_VCL/MiniBrowser/uMiniBrowser.pas
+++ b/demos/Delphi_VCL/MiniBrowser/uMiniBrowser.pas
@@ -509,8 +509,8 @@ procedure TMiniBrowserFrm.WVBrowser1AfterCreated(Sender: TObject);
NavControlPnl.Enabled := True;
// We need to a filter to enable the TWVBrowser.OnWebResourceRequested event
- WVBrowser1.AddWebResourceRequestedFilter('*', COREWEBVIEW2_WEB_RESOURCE_CONTEXT_IMAGE);
- WVBrowser1.AddWebResourceRequestedFilter('*', COREWEBVIEW2_WEB_RESOURCE_CONTEXT_MEDIA);
+ WVBrowser1.AddWebResourceRequestedFilterWithRequestSourceKinds('*', COREWEBVIEW2_WEB_RESOURCE_CONTEXT_IMAGE, COREWEBVIEW2_WEB_RESOURCE_REQUEST_SOURCE_KINDS_ALL);
+ WVBrowser1.AddWebResourceRequestedFilterWithRequestSourceKinds('*', COREWEBVIEW2_WEB_RESOURCE_CONTEXT_MEDIA, COREWEBVIEW2_WEB_RESOURCE_REQUEST_SOURCE_KINDS_ALL);
WVBrowser1.CoreWebView2PrintSettings.HeaderTitle := 'Tituloooooo';
WVBrowser1.CoreWebView2PrintSettings.ShouldPrintHeaderAndFooter := True;
diff --git a/docs/WebView4Delphi.chm b/docs/WebView4Delphi.chm
index 8fe9c29..d509266 100644
Binary files a/docs/WebView4Delphi.chm and b/docs/WebView4Delphi.chm differ
diff --git a/docs/html/AllClasses.html b/docs/html/AllClasses.html
index 03076d3..59a0229 100644
--- a/docs/html/AllClasses.html
+++ b/docs/html/AllClasses.html
@@ -999,41 +999,46 @@
All Classes, Interfaces, Objects and Records
Event args for the WebResourceRequested event.
+ICoreWebView2WebResourceRequestedEventArgs2
+uWVTypeLibrary
+ Event args for the `WebResourceRequested` event.
+
+
ICoreWebView2WebResourceRequestedEventHandler
uWVTypeLibrary
Runs when a URL request (through network, file, and so on) is made in the webview for a Web resource matching resource context filter and URL specified in AddWebResourceRequestedFilter. The host views and modifies the request or provide a response in a similar pattern to HTTP, in which case the request immediately completed. This may not contain any request headers that are added by the network stack, such as an Authorization header.
-
+
ICoreWebView2WebResourceResponse
uWVTypeLibrary
An HTTP response used with the WebResourceRequested event.
-
+
ICoreWebView2WebResourceResponseReceivedEventArgs
uWVTypeLibrary
Event args for the WebResourceResponseReceived event.
-
+
ICoreWebView2WebResourceResponseReceivedEventHandler
uWVTypeLibrary
Receives WebResourceResponseReceived events.
-
+
ICoreWebView2WebResourceResponseView
uWVTypeLibrary
View of the HTTP representation for a web resource response. The properties of this object are not mutable. This response view is used with the WebResourceResponseReceived event.
-
+
ICoreWebView2WebResourceResponseViewGetContentCompletedHandler
uWVTypeLibrary
Receives the result of the ICoreWebView2WebResourceResponseView.GetContent method.
-
+
ICoreWebView2WindowCloseRequestedEventHandler
uWVTypeLibrary
Receives WindowCloseRequested events.
-
+
ICoreWebView2WindowFeatures
uWVTypeLibrary
@@ -1046,76 +1051,81 @@
All Classes, Interfaces, Objects and Records
-
+
ICoreWebView2ZoomFactorChangedEventHandler
uWVTypeLibrary
Implements the interface to receive ZoomFactorChanged events. Use the ICoreWebView2Controller.ZoomFactor property to get the modified zoom factor.
-
+
ICoreWebView2_10
uWVTypeLibrary
This interface is an extension of ICoreWebView2_9 that supports BasicAuthenticationRequested event.
-
+
ICoreWebView2_11
uWVTypeLibrary
This interface is an extension of ICoreWebView2_10 that supports sessionId for CDP method calls and ContextMenuRequested event.
-
+
ICoreWebView2_12
uWVTypeLibrary
This interface is an extension of ICoreWebView2_11 that supports StatusBarTextChanged event.
-
+
ICoreWebView2_13
uWVTypeLibrary
This interface is an extension of ICoreWebView2_12 that supports Profile API.
-
+
ICoreWebView2_14
uWVTypeLibrary
This interface is an extension of ICoreWebView2_13 that adds ServerCertificate support.
-
+
ICoreWebView2_15
uWVTypeLibrary
This interface is an extension of ICoreWebView2_14 that supports status Favicons.
-
+
ICoreWebView2_16
uWVTypeLibrary
A continuation of the ICoreWebView2 interface to support printing.
-
+
ICoreWebView2_17
uWVTypeLibrary
This interface is an extension of ICoreWebView2_16 that supports shared buffer based on file mapping.
-
+
ICoreWebView2_18
uWVTypeLibrary
This interface is an extension of ICoreWebView2_17 that manages navigation requests to URI schemes registered with the OS.
-
+
ICoreWebView2_19
uWVTypeLibrary
This interface is an extension of ICoreWebView2_18 that manages memory usage target level.
-
+
ICoreWebView2_2
uWVTypeLibrary
A continuation of the ICoreWebView2 interface.
-
+
ICoreWebView2_20
uWVTypeLibrary
This interface is an extension of `ICoreWebView2_19` that provides the `FrameId` property.
-
+
ICoreWebView2_21
uWVTypeLibrary
This is the interface for getting string and exception with ExecuteScriptWithResult.
+
+ICoreWebView2_22
+uWVTypeLibrary
+ This interface is an extension of `ICoreWebView2` that allows to set filters in order to receive WebResourceRequested events for service workers, shared workers and different origin iframes.
+
ICoreWebView2_3
uWVTypeLibrary
diff --git a/docs/html/AllConstants.html b/docs/html/AllConstants.html
index 2e7b805..aad8437 100644
--- a/docs/html/AllConstants.html
+++ b/docs/html/AllConstants.html
@@ -1324,982 +1324,1012 @@ All Constants
Specifies an XML HTTP request, Fetch and EventSource API communication.
+COREWEBVIEW2_WEB_RESOURCE_REQUEST_SOURCE_KINDS_ALL
+uWVTypeLibrary
+ Indicates that web resource is requested from any supported source.
+
+
+COREWEBVIEW2_WEB_RESOURCE_REQUEST_SOURCE_KINDS_DOCUMENT
+uWVTypeLibrary
+ Indicates that web resource is requested from main page including dedicated workers and iframes.
+
+
+COREWEBVIEW2_WEB_RESOURCE_REQUEST_SOURCE_KINDS_NONE
+uWVTypeLibrary
+ Indicates that no web resource is requested.
+
+
+COREWEBVIEW2_WEB_RESOURCE_REQUEST_SOURCE_KINDS_SERVICE_WORKER
+uWVTypeLibrary
+ Indicates that web resource is requested from service worker.
+
+
+COREWEBVIEW2_WEB_RESOURCE_REQUEST_SOURCE_KINDS_SHARED_WORKER
+uWVTypeLibrary
+ Indicates that web resource is requested from shared worker.
+
+
CRLF
uWVConstants
-
+
GWLP_HWNDPARENT
uWVMiscFunctions
-
+
GWLP_WNDPROC
uWVMiscFunctions
-
+
HWND_MESSAGE
uWVConstants
-
+
IID_ICoreWebView2
uWVTypeLibrary
-
+
IID_ICoreWebView2AcceleratorKeyPressedEventArgs
uWVTypeLibrary
-
+
IID_ICoreWebView2AcceleratorKeyPressedEventArgs2
uWVTypeLibrary
-
+
IID_ICoreWebView2AcceleratorKeyPressedEventHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2BasicAuthenticationRequestedEventArgs
uWVTypeLibrary
-
+
IID_ICoreWebView2BasicAuthenticationRequestedEventHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2BasicAuthenticationResponse
uWVTypeLibrary
-
+
IID_ICoreWebView2BrowserExtension
uWVTypeLibrary
-
+
IID_ICoreWebView2BrowserExtensionEnableCompletedHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2BrowserExtensionList
uWVTypeLibrary
-
+
IID_ICoreWebView2BrowserExtensionRemoveCompletedHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2BrowserProcessExitedEventArgs
uWVTypeLibrary
-
+
IID_ICoreWebView2BrowserProcessExitedEventHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2BytesReceivedChangedEventHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2CallDevToolsProtocolMethodCompletedHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2CapturePreviewCompletedHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2Certificate
uWVTypeLibrary
-
+
IID_ICoreWebView2ClearBrowsingDataCompletedHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2ClearServerCertificateErrorActionsCompletedHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2ClientCertificate
uWVTypeLibrary
-
+
IID_ICoreWebView2ClientCertificateCollection
uWVTypeLibrary
-
+
IID_ICoreWebView2ClientCertificateRequestedEventArgs
uWVTypeLibrary
-
+
IID_ICoreWebView2ClientCertificateRequestedEventHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2CompositionController
uWVTypeLibrary
-
+
IID_ICoreWebView2CompositionController2
uWVTypeLibrary
-
+
IID_ICoreWebView2CompositionController3
uWVTypeLibrary
-
+
IID_ICoreWebView2ContainsFullScreenElementChangedEventHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2ContentLoadingEventArgs
uWVTypeLibrary
-
+
IID_ICoreWebView2ContentLoadingEventHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2ContextMenuItem
uWVTypeLibrary
-
+
IID_ICoreWebView2ContextMenuItemCollection
uWVTypeLibrary
-
+
IID_ICoreWebView2ContextMenuRequestedEventArgs
uWVTypeLibrary
-
+
IID_ICoreWebView2ContextMenuRequestedEventHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2ContextMenuTarget
uWVTypeLibrary
-
+
IID_ICoreWebView2Controller
uWVTypeLibrary
-
+
IID_ICoreWebView2Controller2
uWVTypeLibrary
-
+
IID_ICoreWebView2Controller3
uWVTypeLibrary
-
+
IID_ICoreWebView2Controller4
uWVTypeLibrary
-
+
IID_ICoreWebView2ControllerOptions
uWVTypeLibrary
-
+
IID_ICoreWebView2ControllerOptions2
uWVTypeLibrary
-
+
IID_ICoreWebView2Cookie
uWVTypeLibrary
-
+
IID_ICoreWebView2CookieList
uWVTypeLibrary
-
+
IID_ICoreWebView2CookieManager
uWVTypeLibrary
-
+
IID_ICoreWebView2CreateCoreWebView2CompositionControllerCompletedHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2CreateCoreWebView2ControllerCompletedHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2CreateCoreWebView2EnvironmentCompletedHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2CursorChangedEventHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2CustomItemSelectedEventHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2CustomSchemeRegistration
uWVTypeLibrary
-
+
IID_ICoreWebView2Deferral
uWVTypeLibrary
-
+
IID_ICoreWebView2DevToolsProtocolEventReceivedEventArgs
uWVTypeLibrary
-
+
IID_ICoreWebView2DevToolsProtocolEventReceivedEventArgs2
uWVTypeLibrary
-
+
IID_ICoreWebView2DevToolsProtocolEventReceivedEventHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2DevToolsProtocolEventReceiver
uWVTypeLibrary
-
+
IID_ICoreWebView2DocumentTitleChangedEventHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2DOMContentLoadedEventArgs
uWVTypeLibrary
-
+
IID_ICoreWebView2DOMContentLoadedEventHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2DownloadOperation
uWVTypeLibrary
-
+
IID_ICoreWebView2DownloadStartingEventArgs
uWVTypeLibrary
-
+
IID_ICoreWebView2DownloadStartingEventHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2Environment
uWVTypeLibrary
-
+
IID_ICoreWebView2Environment10
uWVTypeLibrary
-
+
IID_ICoreWebView2Environment11
uWVTypeLibrary
-
+
IID_ICoreWebView2Environment12
uWVTypeLibrary
-
+
IID_ICoreWebView2Environment13
uWVTypeLibrary
-
+
IID_ICoreWebView2Environment2
uWVTypeLibrary
-
+
IID_ICoreWebView2Environment3
uWVTypeLibrary
-
+
IID_ICoreWebView2Environment4
uWVTypeLibrary
-
+
IID_ICoreWebView2Environment5
uWVTypeLibrary
-
+
IID_ICoreWebView2Environment6
uWVTypeLibrary
-
+
IID_ICoreWebView2Environment7
uWVTypeLibrary
-
+
IID_ICoreWebView2Environment8
uWVTypeLibrary
-
+
IID_ICoreWebView2Environment9
uWVTypeLibrary
-
+
IID_ICoreWebView2EnvironmentOptions
uWVTypeLibrary
-
+
IID_ICoreWebView2EnvironmentOptions2
uWVTypeLibrary
-
+
IID_ICoreWebView2EnvironmentOptions3
uWVTypeLibrary
-
+
IID_ICoreWebView2EnvironmentOptions4
uWVTypeLibrary
-
+
IID_ICoreWebView2EnvironmentOptions5
uWVTypeLibrary
-
+
IID_ICoreWebView2EnvironmentOptions6
uWVTypeLibrary
-
+
IID_ICoreWebView2EstimatedEndTimeChangedEventHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2ExecuteScriptCompletedHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2ExecuteScriptResult
uWVTypeLibrary
-
+
IID_ICoreWebView2ExecuteScriptWithResultCompletedHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2FaviconChangedEventHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2File
uWVTypeLibrary
-
+
IID_ICoreWebView2FocusChangedEventHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2Frame
uWVTypeLibrary
-
+
IID_ICoreWebView2Frame2
uWVTypeLibrary
-
+
IID_ICoreWebView2Frame3
uWVTypeLibrary
-
+
IID_ICoreWebView2Frame4
uWVTypeLibrary
-
+
IID_ICoreWebView2Frame5
uWVTypeLibrary
-
+
IID_ICoreWebView2FrameContentLoadingEventHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2FrameCreatedEventArgs
uWVTypeLibrary
-
+
IID_ICoreWebView2FrameCreatedEventHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2FrameDestroyedEventHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2FrameDOMContentLoadedEventHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2FrameInfo
uWVTypeLibrary
-
+
IID_ICoreWebView2FrameInfo2
uWVTypeLibrary
-
+
IID_ICoreWebView2FrameInfoCollection
uWVTypeLibrary
-
+
IID_ICoreWebView2FrameInfoCollectionIterator
uWVTypeLibrary
-
+
IID_ICoreWebView2FrameNameChangedEventHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2FrameNavigationCompletedEventHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2FrameNavigationStartingEventHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2FramePermissionRequestedEventHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2FrameWebMessageReceivedEventHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2GetCookiesCompletedHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2GetFaviconCompletedHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2GetNonDefaultPermissionSettingsCompletedHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2GetProcessExtendedInfosCompletedHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2HistoryChangedEventHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2HttpHeadersCollectionIterator
uWVTypeLibrary
-
+
IID_ICoreWebView2HttpRequestHeaders
uWVTypeLibrary
-
+
IID_ICoreWebView2HttpResponseHeaders
uWVTypeLibrary
-
+
IID_ICoreWebView2IsDefaultDownloadDialogOpenChangedEventHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2IsDocumentPlayingAudioChangedEventHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2IsMutedChangedEventHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2LaunchingExternalUriSchemeEventArgs
uWVTypeLibrary
-
+
IID_ICoreWebView2LaunchingExternalUriSchemeEventHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2MoveFocusRequestedEventArgs
uWVTypeLibrary
-
+
IID_ICoreWebView2MoveFocusRequestedEventHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2NavigationCompletedEventArgs
uWVTypeLibrary
-
+
IID_ICoreWebView2NavigationCompletedEventArgs2
uWVTypeLibrary
-
+
IID_ICoreWebView2NavigationCompletedEventHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2NavigationStartingEventArgs
uWVTypeLibrary
-
+
IID_ICoreWebView2NavigationStartingEventArgs2
uWVTypeLibrary
-
+
IID_ICoreWebView2NavigationStartingEventArgs3
uWVTypeLibrary
-
+
IID_ICoreWebView2NavigationStartingEventHandler
uWVTypeLibrary
-
+
IID_ICoreWebView2NewBrowserVersionAvailableEventHandler
uWVTypeLibrary
+
+IID_ICoreWebView2NewWindowRequestedEventArgs
+uWVTypeLibrary
+
+
-IID_ICoreWebView2NewWindowRequestedEventArgs
+IID_ICoreWebView2NewWindowRequestedEventArgs2
uWVTypeLibrary
-IID_ICoreWebView2NewWindowRequestedEventArgs2
+IID_ICoreWebView2NewWindowRequestedEventArgs3
uWVTypeLibrary
-IID_ICoreWebView2NewWindowRequestedEventArgs3
+IID_ICoreWebView2NewWindowRequestedEventHandler
uWVTypeLibrary
-IID_ICoreWebView2NewWindowRequestedEventHandler
+IID_ICoreWebView2ObjectCollectionView
uWVTypeLibrary
-IID_ICoreWebView2ObjectCollectionView
+IID_ICoreWebView2PermissionRequestedEventArgs
uWVTypeLibrary
-IID_ICoreWebView2PermissionRequestedEventArgs
+IID_ICoreWebView2PermissionRequestedEventArgs2
uWVTypeLibrary
-IID_ICoreWebView2PermissionRequestedEventArgs2
+IID_ICoreWebView2PermissionRequestedEventArgs3
uWVTypeLibrary
-IID_ICoreWebView2PermissionRequestedEventArgs3
+IID_ICoreWebView2PermissionRequestedEventHandler
uWVTypeLibrary
-IID_ICoreWebView2PermissionRequestedEventHandler
+IID_ICoreWebView2PermissionSetting
uWVTypeLibrary
-IID_ICoreWebView2PermissionSetting
+IID_ICoreWebView2PermissionSettingCollectionView
uWVTypeLibrary
-IID_ICoreWebView2PermissionSettingCollectionView
+IID_ICoreWebView2PointerInfo
uWVTypeLibrary
-IID_ICoreWebView2PointerInfo
+IID_ICoreWebView2PrintCompletedHandler
uWVTypeLibrary
-IID_ICoreWebView2PrintCompletedHandler
+IID_ICoreWebView2PrintSettings
uWVTypeLibrary
-IID_ICoreWebView2PrintSettings
+IID_ICoreWebView2PrintSettings2
uWVTypeLibrary
-IID_ICoreWebView2PrintSettings2
+IID_ICoreWebView2PrintToPdfCompletedHandler
uWVTypeLibrary
-IID_ICoreWebView2PrintToPdfCompletedHandler
+IID_ICoreWebView2PrintToPdfStreamCompletedHandler
uWVTypeLibrary
-IID_ICoreWebView2PrintToPdfStreamCompletedHandler
+IID_ICoreWebView2ProcessExtendedInfo
uWVTypeLibrary
-IID_ICoreWebView2ProcessExtendedInfo
+IID_ICoreWebView2ProcessExtendedInfoCollection
uWVTypeLibrary
-IID_ICoreWebView2ProcessExtendedInfoCollection
+IID_ICoreWebView2ProcessFailedEventArgs
uWVTypeLibrary
-IID_ICoreWebView2ProcessFailedEventArgs
+IID_ICoreWebView2ProcessFailedEventArgs2
uWVTypeLibrary
-IID_ICoreWebView2ProcessFailedEventArgs2
+IID_ICoreWebView2ProcessFailedEventHandler
uWVTypeLibrary
-IID_ICoreWebView2ProcessFailedEventHandler
+IID_ICoreWebView2ProcessInfo
uWVTypeLibrary
-IID_ICoreWebView2ProcessInfo
+IID_ICoreWebView2ProcessInfoCollection
uWVTypeLibrary
-IID_ICoreWebView2ProcessInfoCollection
+IID_ICoreWebView2ProcessInfosChangedEventHandler
uWVTypeLibrary
-IID_ICoreWebView2ProcessInfosChangedEventHandler
+IID_ICoreWebView2Profile
uWVTypeLibrary
-IID_ICoreWebView2Profile
+IID_ICoreWebView2Profile2
uWVTypeLibrary
-IID_ICoreWebView2Profile2
+IID_ICoreWebView2Profile3
uWVTypeLibrary
-IID_ICoreWebView2Profile3
+IID_ICoreWebView2Profile4
uWVTypeLibrary
-IID_ICoreWebView2Profile4
+IID_ICoreWebView2Profile5
uWVTypeLibrary
-IID_ICoreWebView2Profile5
+IID_ICoreWebView2Profile6
uWVTypeLibrary
-IID_ICoreWebView2Profile6
+IID_ICoreWebView2Profile7
uWVTypeLibrary
-IID_ICoreWebView2Profile7
+IID_ICoreWebView2Profile8
uWVTypeLibrary
-IID_ICoreWebView2Profile8
+IID_ICoreWebView2ProfileAddBrowserExtensionCompletedHandler
uWVTypeLibrary
-IID_ICoreWebView2ProfileAddBrowserExtensionCompletedHandler
+IID_ICoreWebView2ProfileDeletedEventHandler
uWVTypeLibrary
-IID_ICoreWebView2ProfileDeletedEventHandler
+IID_ICoreWebView2ProfileGetBrowserExtensionsCompletedHandler
uWVTypeLibrary
-IID_ICoreWebView2ProfileGetBrowserExtensionsCompletedHandler
+IID_ICoreWebView2RasterizationScaleChangedEventHandler
uWVTypeLibrary
-IID_ICoreWebView2RasterizationScaleChangedEventHandler
+IID_ICoreWebView2ScriptDialogOpeningEventArgs
uWVTypeLibrary
-IID_ICoreWebView2ScriptDialogOpeningEventArgs
+IID_ICoreWebView2ScriptDialogOpeningEventHandler
uWVTypeLibrary
-IID_ICoreWebView2ScriptDialogOpeningEventHandler
+IID_ICoreWebView2ScriptException
uWVTypeLibrary
-IID_ICoreWebView2ScriptException
+IID_ICoreWebView2ServerCertificateErrorDetectedEventArgs
uWVTypeLibrary
-IID_ICoreWebView2ServerCertificateErrorDetectedEventArgs
+IID_ICoreWebView2ServerCertificateErrorDetectedEventHandler
uWVTypeLibrary
-IID_ICoreWebView2ServerCertificateErrorDetectedEventHandler
+IID_ICoreWebView2SetPermissionStateCompletedHandler
uWVTypeLibrary
-IID_ICoreWebView2SetPermissionStateCompletedHandler
+IID_ICoreWebView2Settings
uWVTypeLibrary
-IID_ICoreWebView2Settings
+IID_ICoreWebView2Settings2
uWVTypeLibrary
-IID_ICoreWebView2Settings2
+IID_ICoreWebView2Settings3
uWVTypeLibrary
-IID_ICoreWebView2Settings3
+IID_ICoreWebView2Settings4
uWVTypeLibrary
-IID_ICoreWebView2Settings4
+IID_ICoreWebView2Settings5
uWVTypeLibrary
-IID_ICoreWebView2Settings5
+IID_ICoreWebView2Settings6
uWVTypeLibrary
-IID_ICoreWebView2Settings6
+IID_ICoreWebView2Settings7
uWVTypeLibrary
-IID_ICoreWebView2Settings7
+IID_ICoreWebView2Settings8
uWVTypeLibrary
-IID_ICoreWebView2Settings8
+IID_ICoreWebView2SharedBuffer
uWVTypeLibrary
-IID_ICoreWebView2SharedBuffer
+IID_ICoreWebView2SourceChangedEventArgs
uWVTypeLibrary
-IID_ICoreWebView2SourceChangedEventArgs
+IID_ICoreWebView2SourceChangedEventHandler
uWVTypeLibrary
-IID_ICoreWebView2SourceChangedEventHandler
+IID_ICoreWebView2StateChangedEventHandler
uWVTypeLibrary
-IID_ICoreWebView2StateChangedEventHandler
+IID_ICoreWebView2StatusBarTextChangedEventHandler
uWVTypeLibrary
-IID_ICoreWebView2StatusBarTextChangedEventHandler
+IID_ICoreWebView2StringCollection
uWVTypeLibrary
-IID_ICoreWebView2StringCollection
+IID_ICoreWebView2TrySuspendCompletedHandler
uWVTypeLibrary
-IID_ICoreWebView2TrySuspendCompletedHandler
+IID_ICoreWebView2WebMessageReceivedEventArgs
uWVTypeLibrary
-IID_ICoreWebView2WebMessageReceivedEventArgs
+IID_ICoreWebView2WebMessageReceivedEventArgs2
uWVTypeLibrary
-IID_ICoreWebView2WebMessageReceivedEventArgs2
+IID_ICoreWebView2WebMessageReceivedEventHandler
uWVTypeLibrary
-IID_ICoreWebView2WebMessageReceivedEventHandler
+IID_ICoreWebView2WebResourceRequest
uWVTypeLibrary
-IID_ICoreWebView2WebResourceRequest
+IID_ICoreWebView2WebResourceRequestedEventArgs
uWVTypeLibrary
-IID_ICoreWebView2WebResourceRequestedEventArgs
+IID_ICoreWebView2WebResourceRequestedEventArgs2
uWVTypeLibrary
@@ -2414,321 +2444,326 @@ All Constants
-IID_ICoreWebView2_3
+IID_ICoreWebView2_22
uWVTypeLibrary
-IID_ICoreWebView2_4
+IID_ICoreWebView2_3
uWVTypeLibrary
-IID_ICoreWebView2_5
+IID_ICoreWebView2_4
uWVTypeLibrary
-IID_ICoreWebView2_6
+IID_ICoreWebView2_5
uWVTypeLibrary
-IID_ICoreWebView2_7
+IID_ICoreWebView2_6
uWVTypeLibrary
-IID_ICoreWebView2_8
+IID_ICoreWebView2_7
uWVTypeLibrary
-IID_ICoreWebView2_9
+IID_ICoreWebView2_8
uWVTypeLibrary
-LIBID_WebView2
+IID_ICoreWebView2_9
uWVTypeLibrary
+LIBID_WebView2
+uWVTypeLibrary
+
+
+
SHLWAPIDLL
uWVMiscFunctions
-
+
URI_ABOUTBLANK
uWVConstants
-
+
USER_DEFAULT_SCREEN_DPI
uWVConstants
-
+
WEBVIEW2LOADERLIB_VERSION_BUILD
uWVConstants
-
+
WEBVIEW2LOADERLIB_VERSION_MAJOR
uWVConstants
-
+
WEBVIEW2LOADERLIB_VERSION_MINOR
uWVConstants
-
+
WEBVIEW2LOADERLIB_VERSION_RELEASE
uWVConstants
-
+
WebView2MajorVersion
uWVTypeLibrary
TypeLibrary major version
-
+
WebView2MinorVersion
uWVTypeLibrary
TypeLibrary minor version
-
+
WEBVIEW4DELPHI_DEVTOOLS_CLEARBROWSERCACHE_ID
uWVConstants
-
+
WEBVIEW4DELPHI_DEVTOOLS_CLEARDATAFORORIGIN_ID
uWVConstants
-
+
WEBVIEW4DELPHI_DEVTOOLS_EMULATENETWORKCONDITIONS_ID
uWVConstants
-
+
WEBVIEW4DELPHI_DEVTOOLS_FIRST_ID
uWVConstants
* Reserved IDs used in some DevTools functions *
-
+
WEBVIEW4DELPHI_DEVTOOLS_LAST_ID
uWVConstants
-
+
WEBVIEW4DELPHI_DEVTOOLS_REFRESH_ID
uWVConstants
-
+
WEBVIEW4DELPHI_DEVTOOLS_RETRIEVEMHTML_ID
uWVConstants
-
+
WEBVIEW4DELPHI_DEVTOOLS_SETIGNORECERTIFICATEERRORS_ID
uWVConstants
-
+
WEBVIEW4DELPHI_DEVTOOLS_SIMULATEKEYEVENT_ID
uWVConstants
-
+
WEBVIEW4DELPHI_INVALID_FRAMEID
uWVConstants
-
+
WEBVIEW4DELPHI_JS_FIRST_ID
uWVConstants
* Reserved IDs used in some JavaScript functions *
-
+
WEBVIEW4DELPHI_JS_LAST_ID
uWVConstants
-
+
WEBVIEW4DELPHI_JS_RETRIEVEHTMLJOB_ID
uWVConstants
-
+
WEBVIEW4DELPHI_JS_RETRIEVETEXTJOB_ID
uWVConstants
-
+
WEBVIEW4DELPHI_PRINT_COPIES_DEFAULT
uWVConstants
-
+
WEBVIEW4DELPHI_PRINT_PAGESPERSIDE_1
uWVConstants
-
+
WEBVIEW4DELPHI_PRINT_PAGESPERSIDE_16
uWVConstants
-
+
WEBVIEW4DELPHI_PRINT_PAGESPERSIDE_2
uWVConstants
-
+
WEBVIEW4DELPHI_PRINT_PAGESPERSIDE_4
uWVConstants
-
+
WEBVIEW4DELPHI_PRINT_PAGESPERSIDE_6
uWVConstants
-
+
WEBVIEW4DELPHI_PRINT_PAGESPERSIDE_9
uWVConstants
-
+
WEBVIEW4DELPHI_PRINT_PAGESPERSIDE_DEFAULT
uWVConstants
-
+
WEBVIEW4DELPHI_PRINT_PAGESPERSIDE_VALID
uWVConstants
-
+
WV2_IMAGE_FILE_MACHINE_AMD64
uWVConstants
-
+
WV2_IMAGE_FILE_MACHINE_I386
uWVConstants
* These constants are declared in the "Windows" unit but some old Delphi versions don't have them. We have to add "WV2_" to be compatible with C++ Builder. *
-
+
ZoomStepValues
uWVConstants
-
+
ZOOM_PCT_DELTA
uWVConstants
-
+
ZOOM_STEP_100
uWVConstants
-
+
ZOOM_STEP_110
uWVConstants
-
+
ZOOM_STEP_125
uWVConstants
-
+
ZOOM_STEP_150
uWVConstants
-
+
ZOOM_STEP_175
uWVConstants
-
+
ZOOM_STEP_200
uWVConstants
-
+
ZOOM_STEP_25
uWVConstants
-
+
ZOOM_STEP_250
uWVConstants
-
+
ZOOM_STEP_300
uWVConstants
-
+
ZOOM_STEP_33
uWVConstants
-
+
ZOOM_STEP_400
uWVConstants
-
+
ZOOM_STEP_50
uWVConstants
-
+
ZOOM_STEP_500
uWVConstants
-
+
ZOOM_STEP_67
uWVConstants
-
+
ZOOM_STEP_75
uWVConstants
-
+
ZOOM_STEP_90
uWVConstants
-
+
ZOOM_STEP_DEF
uWVConstants
-
+
ZOOM_STEP_MAX
uWVConstants
-
+
ZOOM_STEP_MIN
uWVConstants
-
+
ZOOM_STEP_UNK
uWVConstants
diff --git a/docs/html/AllIdentifiers.html b/docs/html/AllIdentifiers.html
index f786806..6a24ff2 100644
--- a/docs/html/AllIdentifiers.html
+++ b/docs/html/AllIdentifiers.html
@@ -1574,6 +1574,36 @@ All Identifiers
Specifies an XML HTTP request, Fetch and EventSource API communication.
+COREWEBVIEW2_WEB_RESOURCE_REQUEST_SOURCE_KINDS
+uWVTypeLibrary
+ Specifies the source of `WebResourceRequested` event.
+
+
+COREWEBVIEW2_WEB_RESOURCE_REQUEST_SOURCE_KINDS_ALL
+uWVTypeLibrary
+ Indicates that web resource is requested from any supported source.
+
+
+COREWEBVIEW2_WEB_RESOURCE_REQUEST_SOURCE_KINDS_DOCUMENT
+uWVTypeLibrary
+ Indicates that web resource is requested from main page including dedicated workers and iframes.
+
+
+COREWEBVIEW2_WEB_RESOURCE_REQUEST_SOURCE_KINDS_NONE
+uWVTypeLibrary
+ Indicates that no web resource is requested.
+
+
+COREWEBVIEW2_WEB_RESOURCE_REQUEST_SOURCE_KINDS_SERVICE_WORKER
+uWVTypeLibrary
+ Indicates that web resource is requested from service worker.
+
+
+COREWEBVIEW2_WEB_RESOURCE_REQUEST_SOURCE_KINDS_SHARED_WORKER
+uWVTypeLibrary
+ Indicates that web resource is requested from shared worker.
+
+
CoreWebViewColorToDelphiColor
uWVMiscFunctions
@@ -2688,41 +2718,46 @@ All Identifiers
Event args for the WebResourceRequested event.
+ICoreWebView2WebResourceRequestedEventArgs2
+uWVTypeLibrary
+ Event args for the `WebResourceRequested` event.
+
+
ICoreWebView2WebResourceRequestedEventHandler
uWVTypeLibrary
Runs when a URL request (through network, file, and so on) is made in the webview for a Web resource matching resource context filter and URL specified in AddWebResourceRequestedFilter. The host views and modifies the request or provide a response in a similar pattern to HTTP, in which case the request immediately completed. This may not contain any request headers that are added by the network stack, such as an Authorization header.
-
+
ICoreWebView2WebResourceResponse
uWVTypeLibrary
An HTTP response used with the WebResourceRequested event.
-
+
ICoreWebView2WebResourceResponseReceivedEventArgs
uWVTypeLibrary
Event args for the WebResourceResponseReceived event.
-
+
ICoreWebView2WebResourceResponseReceivedEventHandler
uWVTypeLibrary
Receives WebResourceResponseReceived events.
-
+
ICoreWebView2WebResourceResponseView
uWVTypeLibrary
View of the HTTP representation for a web resource response. The properties of this object are not mutable. This response view is used with the WebResourceResponseReceived event.
-
+
ICoreWebView2WebResourceResponseViewGetContentCompletedHandler
uWVTypeLibrary
Receives the result of the ICoreWebView2WebResourceResponseView.GetContent method.
-
+
ICoreWebView2WindowCloseRequestedEventHandler
uWVTypeLibrary
Receives WindowCloseRequested events.
-
+
ICoreWebView2WindowFeatures
uWVTypeLibrary
@@ -2735,76 +2770,81 @@
All Identifiers
-
+
ICoreWebView2ZoomFactorChangedEventHandler
uWVTypeLibrary
Implements the interface to receive ZoomFactorChanged events. Use the ICoreWebView2Controller.ZoomFactor property to get the modified zoom factor.
-
+
ICoreWebView2_10
uWVTypeLibrary
This interface is an extension of ICoreWebView2_9 that supports BasicAuthenticationRequested event.
-
+
ICoreWebView2_11
uWVTypeLibrary
This interface is an extension of ICoreWebView2_10 that supports sessionId for CDP method calls and ContextMenuRequested event.
-
+
ICoreWebView2_12
uWVTypeLibrary
This interface is an extension of ICoreWebView2_11 that supports StatusBarTextChanged event.
-
+
ICoreWebView2_13
uWVTypeLibrary
This interface is an extension of ICoreWebView2_12 that supports Profile API.
-
+
ICoreWebView2_14
uWVTypeLibrary
This interface is an extension of ICoreWebView2_13 that adds ServerCertificate support.
-
+
ICoreWebView2_15
uWVTypeLibrary
This interface is an extension of ICoreWebView2_14 that supports status Favicons.
-
+
ICoreWebView2_16
uWVTypeLibrary
A continuation of the ICoreWebView2 interface to support printing.
-
+
ICoreWebView2_17
uWVTypeLibrary
This interface is an extension of ICoreWebView2_16 that supports shared buffer based on file mapping.
-
+
ICoreWebView2_18
uWVTypeLibrary
This interface is an extension of ICoreWebView2_17 that manages navigation requests to URI schemes registered with the OS.
-
+
ICoreWebView2_19
uWVTypeLibrary
This interface is an extension of ICoreWebView2_18 that manages memory usage target level.
-
+
ICoreWebView2_2
uWVTypeLibrary
A continuation of the ICoreWebView2 interface.
-
+
ICoreWebView2_20
uWVTypeLibrary
This interface is an extension of `ICoreWebView2_19` that provides the `FrameId` property.
-
+
ICoreWebView2_21
uWVTypeLibrary
This is the interface for getting string and exception with ExecuteScriptWithResult.
+
+ICoreWebView2_22
+uWVTypeLibrary
+ This interface is an extension of `ICoreWebView2` that allows to set filters in order to receive WebResourceRequested events for service workers, shared workers and different origin iframes.
+
ICoreWebView2_3
uWVTypeLibrary
@@ -3801,115 +3841,125 @@ All Identifiers
-IID_ICoreWebView2WebResourceRequestedEventHandler
+IID_ICoreWebView2WebResourceRequestedEventArgs2
uWVTypeLibrary
-IID_ICoreWebView2WebResourceResponse
+IID_ICoreWebView2WebResourceRequestedEventHandler
uWVTypeLibrary
-IID_ICoreWebView2WebResourceResponseReceivedEventArgs
+IID_ICoreWebView2WebResourceResponse
uWVTypeLibrary
-IID_ICoreWebView2WebResourceResponseReceivedEventHandler
+IID_ICoreWebView2WebResourceResponseReceivedEventArgs
uWVTypeLibrary
-IID_ICoreWebView2WebResourceResponseView
+IID_ICoreWebView2WebResourceResponseReceivedEventHandler
uWVTypeLibrary
-IID_ICoreWebView2WebResourceResponseViewGetContentCompletedHandler
+IID_ICoreWebView2WebResourceResponseView
uWVTypeLibrary
-IID_ICoreWebView2WindowCloseRequestedEventHandler
+IID_ICoreWebView2WebResourceResponseViewGetContentCompletedHandler
uWVTypeLibrary
-IID_ICoreWebView2WindowFeatures
+IID_ICoreWebView2WindowCloseRequestedEventHandler
uWVTypeLibrary
-IID_ICoreWebView2ZoomFactorChangedEventHandler
+IID_ICoreWebView2WindowFeatures
uWVTypeLibrary
-IID_ICoreWebView2_10
+IID_ICoreWebView2ZoomFactorChangedEventHandler
uWVTypeLibrary
-IID_ICoreWebView2_11
+IID_ICoreWebView2_10
uWVTypeLibrary
-IID_ICoreWebView2_12
+IID_ICoreWebView2_11
uWVTypeLibrary
-IID_ICoreWebView2_13
+IID_ICoreWebView2_12
uWVTypeLibrary
-IID_ICoreWebView2_14
+IID_ICoreWebView2_13
uWVTypeLibrary
-IID_ICoreWebView2_15
+IID_ICoreWebView2_14
uWVTypeLibrary
-IID_ICoreWebView2_16
+IID_ICoreWebView2_15
uWVTypeLibrary
-IID_ICoreWebView2_17
+IID_ICoreWebView2_16
uWVTypeLibrary
-IID_ICoreWebView2_18
+IID_ICoreWebView2_17
uWVTypeLibrary
-IID_ICoreWebView2_19
+IID_ICoreWebView2_18
uWVTypeLibrary
-IID_ICoreWebView2_2
+IID_ICoreWebView2_19
uWVTypeLibrary
-IID_ICoreWebView2_20
+IID_ICoreWebView2_2
uWVTypeLibrary
+IID_ICoreWebView2_20
+uWVTypeLibrary
+
+
+
IID_ICoreWebView2_21
uWVTypeLibrary
+
+IID_ICoreWebView2_22
+uWVTypeLibrary
+
+
IID_ICoreWebView2_3
uWVTypeLibrary
@@ -5574,296 +5624,301 @@ All Identifiers
Specifies the web resource request contexts.
+TWVWebResourceRequestSourceKind
+uWVTypes
+ Specifies the source of `WebResourceRequested` event.
+
+
TWVWinControl
uWVWinControl
Parent control that will be used by TWVWindowParent in VCL and LCL applications to show the web contents.
-
+
TWVWindowFeatures
uWVTypes
Record used by TCoreWebView2WindowFeatures.CopyToRecord to copy the windows featres
-
+
TWVWindowParent
uWVWindowParent
Parent control used by VCL and LCL applications to show the web contents.
-
+
URI_ABOUTBLANK
uWVConstants
-
+
USER_DEFAULT_SCREEN_DPI
uWVConstants
-
+
WEBVIEW2LOADERLIB_VERSION_BUILD
uWVConstants
-
+
WEBVIEW2LOADERLIB_VERSION_MAJOR
uWVConstants
-
+
WEBVIEW2LOADERLIB_VERSION_MINOR
uWVConstants
-
+
WEBVIEW2LOADERLIB_VERSION_RELEASE
uWVConstants
-
+
WebView2MajorVersion
uWVTypeLibrary
TypeLibrary major version
-
+
WebView2MinorVersion
uWVTypeLibrary
TypeLibrary minor version
-
+
WEBVIEW4DELPHI_DEVTOOLS_CLEARBROWSERCACHE_ID
uWVConstants
-
+
WEBVIEW4DELPHI_DEVTOOLS_CLEARDATAFORORIGIN_ID
uWVConstants
-
+
WEBVIEW4DELPHI_DEVTOOLS_EMULATENETWORKCONDITIONS_ID
uWVConstants
-
+
WEBVIEW4DELPHI_DEVTOOLS_FIRST_ID
uWVConstants
* Reserved IDs used in some DevTools functions *
-
+
WEBVIEW4DELPHI_DEVTOOLS_LAST_ID
uWVConstants
-
+
WEBVIEW4DELPHI_DEVTOOLS_REFRESH_ID
uWVConstants
-
+
WEBVIEW4DELPHI_DEVTOOLS_RETRIEVEMHTML_ID
uWVConstants
-
+
WEBVIEW4DELPHI_DEVTOOLS_SETIGNORECERTIFICATEERRORS_ID
uWVConstants
-
+
WEBVIEW4DELPHI_DEVTOOLS_SIMULATEKEYEVENT_ID
uWVConstants
-
+
WEBVIEW4DELPHI_INVALID_FRAMEID
uWVConstants
-
+
WEBVIEW4DELPHI_JS_FIRST_ID
uWVConstants
* Reserved IDs used in some JavaScript functions *
-
+
WEBVIEW4DELPHI_JS_LAST_ID
uWVConstants
-
+
WEBVIEW4DELPHI_JS_RETRIEVEHTMLJOB_ID
uWVConstants
-
+
WEBVIEW4DELPHI_JS_RETRIEVETEXTJOB_ID
uWVConstants
-
+
WEBVIEW4DELPHI_PRINT_COPIES_DEFAULT
uWVConstants
-
+
WEBVIEW4DELPHI_PRINT_PAGESPERSIDE_1
uWVConstants
-
+
WEBVIEW4DELPHI_PRINT_PAGESPERSIDE_16
uWVConstants
-
+
WEBVIEW4DELPHI_PRINT_PAGESPERSIDE_2
uWVConstants
-
+
WEBVIEW4DELPHI_PRINT_PAGESPERSIDE_4
uWVConstants
-
+
WEBVIEW4DELPHI_PRINT_PAGESPERSIDE_6
uWVConstants
-
+
WEBVIEW4DELPHI_PRINT_PAGESPERSIDE_9
uWVConstants
-
+
WEBVIEW4DELPHI_PRINT_PAGESPERSIDE_DEFAULT
uWVConstants
-
+
WEBVIEW4DELPHI_PRINT_PAGESPERSIDE_VALID
uWVConstants
-
+
WV2_IMAGE_FILE_MACHINE_AMD64
uWVConstants
-
+
WV2_IMAGE_FILE_MACHINE_I386
uWVConstants
* These constants are declared in the "Windows" unit but some old Delphi versions don't have them. We have to add "WV2_" to be compatible with C++ Builder. *
-
+
wvstring
uWVTypes
-
+
ZoomStepValues
uWVConstants
-
+
ZOOM_PCT_DELTA
uWVConstants
-
+
ZOOM_STEP_100
uWVConstants
-
+
ZOOM_STEP_110
uWVConstants
-
+
ZOOM_STEP_125
uWVConstants
-
+
ZOOM_STEP_150
uWVConstants
-
+
ZOOM_STEP_175
uWVConstants
-
+
ZOOM_STEP_200
uWVConstants
-
+
ZOOM_STEP_25
uWVConstants
-
+
ZOOM_STEP_250
uWVConstants
-
+
ZOOM_STEP_300
uWVConstants
-
+
ZOOM_STEP_33
uWVConstants
-
+
ZOOM_STEP_400
uWVConstants
-
+
ZOOM_STEP_50
uWVConstants
-
+
ZOOM_STEP_500
uWVConstants
-
+
ZOOM_STEP_67
uWVConstants
-
+
ZOOM_STEP_75
uWVConstants
-
+
ZOOM_STEP_90
uWVConstants
-
+
ZOOM_STEP_DEF
uWVConstants
-
+
ZOOM_STEP_MAX
uWVConstants
-
+
ZOOM_STEP_MIN
uWVConstants
-
+
ZOOM_STEP_UNK
uWVConstants
diff --git a/docs/html/AllTypes.html b/docs/html/AllTypes.html
index bebd993..f34c216 100644
--- a/docs/html/AllTypes.html
+++ b/docs/html/AllTypes.html
@@ -223,677 +223,687 @@ All Types
Specifies the web resource request contexts.
+COREWEBVIEW2_WEB_RESOURCE_REQUEST_SOURCE_KINDS
+uWVTypeLibrary
+ Specifies the source of `WebResourceRequested` event.
+
+
PPCoreWebView2CustomSchemeRegistration
uWVTypeLibrary
* Missing HANDLE declaration ************** WEBVIEW4DELPHI ************** *
-
+
tagRECT
uWVTypeLibrary
* tagRect is identical to TRect. ************** WEBVIEW4DELPHI ************** *
-
+
TLoaderBrowserProcessExitedEvent
uWVEvents
-
+
TLoaderGetCustomSchemesEvent
uWVEvents
-
+
TLoaderNewBrowserVersionAvailableEvent
uWVEvents
-
+
TLoaderNotifyEvent
uWVEvents
Loader events
-
+
TLoaderProcessInfosChangedEvent
uWVEvents
-
+
TOnAcceleratorKeyPressedEvent
uWVEvents
-
+
TOnAddScriptToExecuteOnDocumentCreatedCompletedEvent
uWVEvents
-
+
TOnBasicAuthenticationRequestedEvent
uWVEvents
-
+
TOnBrowserExtensionEnableCompletedEvent
uWVEvents
-
+
TOnBrowserExtensionRemoveCompletedEvent
uWVEvents
-
+
TOnBrowserProcessExitedEvent
uWVEvents
-
+
TOnBytesReceivedChangedEvent
uWVEvents
-
+
TOnCallDevToolsProtocolMethodCompletedEvent
uWVEvents
-
+
TOnCapturePreviewCompletedEvent
uWVEvents
-
+
TOnClearBrowsingDataCompletedEvent
uWVEvents
-
+
TOnClearCacheCompletedEvent
uWVEvents
-
+
TOnClearDataForOriginCompletedEvent
uWVEvents
-
+
TOnClientCertificateRequestedEvent
uWVEvents
-
+
TOnCompMsgEvent
uWVEvents
Custom events
-
+
TOnContentLoadingEvent
uWVEvents
-
+
TOnContextMenuRequestedEvent
uWVEvents
-
+
TOnCustomItemSelectedEvent
uWVEvents
-
+
TOnDevToolsProtocolEventReceivedEvent
uWVEvents
-
+
TOnDOMContentLoadedEvent
uWVEvents
-
+
TOnDownloadStartingEvent
uWVEvents
-
+
TOnDownloadStateChangedEvent
uWVEvents
-
+
TOnEstimatedEndTimeChangedEvent
uWVEvents
-
+
TOnExecuteScriptCompletedEvent
uWVEvents
Browser events
-
+
TOnExecuteScriptWithResultCompletedEvent
uWVEvents
-
+
TOnFaviconChangedEvent
uWVEvents
-
+
TOnFrameContentLoadingEvent
uWVEvents
-
+
TOnFrameCreatedEvent
uWVEvents
-
+
TOnFrameDestroyedEvent
uWVEvents
-
+
TOnFrameDOMContentLoadedEvent
uWVEvents
-
+
TOnFrameNameChangedEvent
uWVEvents
-
+
TOnFrameNavigationCompletedEvent
uWVEvents
-
+
TOnFrameNavigationStartingEvent
uWVEvents
-
+
TOnFramePermissionRequestedEvent
uWVEvents
-
+
TOnFrameWebMessageReceivedEvent
uWVEvents
-
+
TOnGetCookiesCompletedEvent
uWVEvents
-
+
TOnGetCustomSchemesEvent
uWVEvents
-
+
TOnGetFaviconCompletedEvent
uWVEvents
-
+
TOnGetNonDefaultPermissionSettingsCompletedEvent
uWVEvents
-
+
TOnGetProcessExtendedInfosCompletedEvent
uWVEvents
-
+
TOnIgnoreCertificateErrorsCompletedEvent
uWVEvents
-
+
TOnInitializationErrorEvent
uWVEvents
-
+
TOnIsDefaultDownloadDialogOpenChangedEvent
uWVEvents
-
+
TOnIsDocumentPlayingAudioChangedEvent
uWVEvents
-
+
TOnIsMutedChangedEvent
uWVEvents
-
+
TOnLaunchingExternalUriSchemeEvent
uWVEvents
-
+
TOnMoveFocusRequestedEvent
uWVEvents
-
+
TOnNavigationCompletedEvent
uWVEvents
-
+
TOnNavigationStartingEvent
uWVEvents
-
+
TOnNewWindowRequestedEvent
uWVEvents
-
+
TOnOfflineCompletedEvent
uWVEvents
-
+
TOnPermissionRequestedEvent
uWVEvents
-
+
TOnPrintCompletedEvent
uWVEvents
-
+
TOnPrintToPdfCompletedEvent
uWVEvents
-
+
TOnPrintToPdfStreamCompletedEvent
uWVEvents
-
+
TOnProcessFailedEvent
uWVEvents
-
+
TOnProcessInfosChangedEvent
uWVEvents
-
+
TOnProfileAddBrowserExtensionCompletedEvent
uWVEvents
-
+
TOnProfileDeletedEvent
uWVEvents
-
+
TOnProfileGetBrowserExtensionsCompletedEvent
uWVEvents
-
+
TOnRefreshIgnoreCacheCompletedEvent
uWVEvents
-
+
TOnRetrieveHTMLCompletedEvent
uWVEvents
-
+
TOnRetrieveMHTMLCompletedEvent
uWVEvents
-
+
TOnRetrieveTextCompletedEvent
uWVEvents
-
+
TOnScriptDialogOpeningEvent
uWVEvents
-
+
TOnServerCertificateErrorActionsCompletedEvent
uWVEvents
-
+
TOnServerCertificateErrorDetectedEvent
uWVEvents
-
+
TOnSetPermissionStateCompletedEvent
uWVEvents
-
+
TOnSimulateKeyEventCompletedEvent
uWVEvents
-
+
TOnSourceChangedEvent
uWVEvents
-
+
TOnStatusBarTextChangedEvent
uWVEvents
-
+
TOnTrySuspendCompletedEvent
uWVEvents
-
+
TOnWebMessageReceivedEvent
uWVEvents
-
+
TOnWebResourceRequestedEvent
uWVEvents
-
+
TOnWebResourceResponseReceivedEvent
uWVEvents
-
+
TOnWebResourceResponseViewGetContentCompletedEvent
uWVEvents
-
+
TWV2DebugLog
uWVTypes
Debug log values used by TWVLoader.DebugLog
-
+
TWV2DebugLogLevel
uWVTypes
Debug log level used when the logging is enabled
-
+
TWV2EditingCommand
uWVTypes
Blink editing commands used by the "Input.dispatchKeyEvent" DevTools method.
-
+
TWV2KeyEventType
uWVTypes
Event type used by TWVBrowserBase.SimulateKeyEvent
-
+
TWV2LoaderStatus
uWVTypes
TWVLoader status values
-
+
TWVAutoplayPolicy
uWVTypes
Autoplay policy types used by TWVLoader.AutoplayPolicy. See the –autoplay-policy switch.
-
+
TWVBoundsMode
uWVTypes
Mode for how the Bounds property is interpreted in relation to the RasterizationScale property.
-
+
TWVBrowserProcessExitKind
uWVTypes
Specifies the browser process exit type used in the ICoreWebView2BrowserProcessExitedEventArgs interface.
-
+
TWVBrowsingDataKinds
uWVTypes
Specifies the datatype for the ICoreWebView2Profile2.ClearBrowsingData method.
-
+
TWVCapturePreviewImageFormat
uWVTypes
Specifies the image format for the ICoreWebView2.CapturePreview method.
-
+
TWVClearDataStorageTypes
uWVTypes
Used by TWVBrowserBase.ClearDataForOrigin to clear the storage
-
+
TWVClientCertificateKind
uWVTypes
Specifies the client certificate kind.
-
+
TWVColor
uWVTypes
A value representing RGBA color (Red, Green, Blue, Alpha) for WebView2. Each component takes a value from 0 to 255, with 0 being no intensity and 255 being the highest intensity.
-
+
TWVCookieSameSiteKind
uWVTypes
Kind of cookie SameSite status used in the ICoreWebView2Cookie interface. These fields match those as specified in https://developer.mozilla.org/docs/Web/HTTP/Cookies# . Learn more about SameSite cookies here: https://tools.ietf.org/html/draft-west-first-party-cookies-07
-
+
TWVCustomSchemeInfoArray
uWVTypes
-
+
TWVCustomSchemeRegistrationArray
uWVTypes
-
+
TWVDefaultDownloadDialogCornerAlignment
uWVTypes
The default download dialog can be aligned to any of the WebView corners by setting the DefaultDownloadDialogCornerAlignment property. The default position is top-right corner.
-
+
TWVDownloadInterruptReason
uWVTypes
Reason why a download was interrupted.
-
+
TWVDownloadState
uWVTypes
State of the download operation.
-
+
TWVFaviconImageFormat
uWVTypes
Specifies the image format to use for favicon.
-
+
TWVFrameKind
uWVTypes
Indicates the frame type used in the `ICoreWebView2FrameInfo` interface.
-
+
TWVHostResourceAcccessKind
uWVTypes
Kind of cross origin resource access allowed for host resources during download. Note that other normal access checks like same origin DOM access check and [Content Security Policy](https://developer.mozilla.org/docs/Web/HTTP/CSP ) still apply. The following table illustrates the host resource cross origin access according to access context and COREWEBVIEW2_HOST_RESOURCE_ACCESS_KIND.
Cross Origin Access Context | DENY | ALLOW | DENY_CORS — | — | — | — From DOM like src of img, script or iframe element| Deny | Allow | Allow From Script like Fetch or XMLHttpRequest| Deny | Allow | Deny
-
+
TWVKeyEventKind
uWVTypes
Specifies the key event type that triggered an AcceleratorKeyPressed event.
-
+
TWVMemoryUsageTargetLevel
uWVTypes
Specifies memory usage target level of WebView.
-
+
TWVMenuItemKind
uWVTypes
Specifies the menu item kind for the ICoreWebView2ContextMenuItem.get_Kind method
-
+
TWVMenuTargetKind
uWVTypes
Indicates the kind of context for which the context menu was created for the `ICoreWebView2ContextMenuTarget::get_Kind` method. This enum will always represent the active element that caused the context menu request. If there is a selection with multiple images, audio and text, for example, the element that the end user right clicks on within this selection will be the option represented by this enum.
-
+
TWVMouseEventKind
uWVTypes
Mouse event type used by SendMouseInput to convey the type of mouse event being sent to WebView. The values of this enum align with the matching WM_* window messages.
-
+
TWVMouseEventVirtualKeys
uWVTypes
Mouse event virtual keys associated with a COREWEBVIEW2_MOUSE_EVENT_KIND for SendMouseInput. These values can be combined into a bit flag if more than one virtual key is pressed for the event. The values of this enum align with the matching MK_* mouse keys.
-
+
TWVMoveFocusReason
uWVTypes
Specifies the reason for moving focus.
-
+
TWVNavigationKind
uWVTypes
Specifies the navigation kind of each navigation.
-
+
TWVPDFToolbarItems
uWVTypes
PDF toolbar item. This enum must be in sync with ToolBarItem in pdf-store-data-types.ts Specifies the PDF toolbar item types used for the ICoreWebView2Settings.put_HiddenPdfToolbarItems method.
-
+
TWVPermissionKind
uWVTypes
Indicates the type of a permission request.
-
+
TWVPermissionState
uWVTypes
Specifies the response to a permission request.
-
+
TWVPointerEventKind
uWVTypes
Pointer event type used by SendPointerInput to convey the type of pointer event being sent to WebView. The values of this enum align with the matching WM_POINTER* window messages.
-
+
TWVPreferredColorScheme
uWVTypes
An enum to represent the options for WebView2 color scheme: auto, light, or dark.
-
+
TWVPrintCollation
uWVTypes
Specifies the collation for a print.
-
+
TWVPrintColorMode
uWVTypes
Specifies the color mode for a print.
-
+
TWVPrintDialogKind
uWVTypes
Specifies the print dialog kind.
-
+
TWVPrintDuplex
uWVTypes
Specifies the duplex option for a print.
-
+
TWVPrintMediaSize
uWVTypes
Specifies the media size for a print.
-
+
TWVPrintOrientation
uWVTypes
The orientation for printing, used by the Orientation property on ICoreWebView2PrintSettings.
-
+
TWVPrintStatus
uWVTypes
Indicates the status for printing.
-
+
TWVProcessFailedKind
uWVTypes
Specifies the process failure type used in the `ICoreWebView2ProcessFailedEventArgs` interface. The values in this enum make reference to the process kinds in the Chromium architecture. For more information about what these processes are and what they do, see [Browser Architecture - Inside look at modern web browser](https://developers.google.com/web/updates/2018/09/inside-browser-part1 ).
-
+
TWVProcessFailedReason
uWVTypes
Specifies the process failure reason used in the ICoreWebView2ProcessFailedEventHandler interface.
-
+
TWVProcessKind
uWVTypes
Indicates the process type used in the ICoreWebView2ProcessInfo interface.
-
+
TWVScriptDialogKind
uWVTypes
Specifies the JavaScript dialog type used in the ICoreWebView2ScriptDialogOpeningEventHandler interface.
-
+
TWVServerCertificateErrorAction
uWVTypes
Specifies the action type when server certificate error is detected to be used in the ICoreWebView2ServerCertificateErrorDetectedEventArgs interface.
-
+
TWVSharedBufferAccess
uWVTypes
Specifies the desired access from script to CoreWebView2SharedBuffer.
-
+
TWVState
uWVTypes
Represents the state of a setting.
-
+
TWVTrackingPreventionLevel
uWVTypes
Tracking prevention levels.
-
+
TWVWebErrorStatus
uWVTypes
Indicates the error status values for web navigations.
-
+
TWVWebResourceContext
uWVTypes
Specifies the web resource request contexts.
+
+TWVWebResourceRequestSourceKind
+uWVTypes
+ Specifies the source of `WebResourceRequested` event.
+
wvstring
uWVTypes
diff --git a/docs/html/ClassHierarchy.html b/docs/html/ClassHierarchy.html
index b7dcdc7..7ee67c5 100644
--- a/docs/html/ClassHierarchy.html
+++ b/docs/html/ClassHierarchy.html
@@ -34,7 +34,10 @@ Class Hierarchy
ICoreWebView2_18
@@ -221,7 +224,10 @@ Class Hierarchy
ICoreWebView2SharedBuffer ICoreWebView2SourceChangedEventArgs ICoreWebView2SourceChangedEventHandler ICoreWebView2StateChangedEventHandler ICoreWebView2StatusBarTextChangedEventHandler ICoreWebView2StringCollection ICoreWebView2TrySuspendCompletedHandler ICoreWebView2WebMessageReceivedEventArgs
-ICoreWebView2WebMessageReceivedEventHandler ICoreWebView2WebResourceRequest ICoreWebView2WebResourceRequestedEventArgs ICoreWebView2WebResourceRequestedEventHandler ICoreWebView2WebResourceResponse ICoreWebView2WebResourceResponseReceivedEventArgs ICoreWebView2WebResourceResponseReceivedEventHandler ICoreWebView2WebResourceResponseView ICoreWebView2WebResourceResponseViewGetContentCompletedHandler ICoreWebView2WindowCloseRequestedEventHandler ICoreWebView2WindowFeatures ICoreWebView2ZoomFactorChangedEventHandler
+ICoreWebView2WebMessageReceivedEventHandler ICoreWebView2WebResourceRequest ICoreWebView2WebResourceRequestedEventArgs
+
+ICoreWebView2WebResourceRequestedEventHandler ICoreWebView2WebResourceResponse ICoreWebView2WebResourceResponseReceivedEventArgs ICoreWebView2WebResourceResponseReceivedEventHandler ICoreWebView2WebResourceResponseView ICoreWebView2WebResourceResponseViewGetContentCompletedHandler ICoreWebView2WindowCloseRequestedEventHandler ICoreWebView2WindowFeatures ICoreWebView2ZoomFactorChangedEventHandler
TCommonCustomForm
diff --git a/docs/html/WebView4Delphi.hhc b/docs/html/WebView4Delphi.hhc
index 1390de6..7d75e62 100644
--- a/docs/html/WebView4Delphi.hhc
+++ b/docs/html/WebView4Delphi.hhc
@@ -3178,6 +3178,14 @@
+
+
+
+
+
+
+
+
@@ -3720,6 +3728,10 @@
+
+
+
+
@@ -4347,6 +4359,14 @@
+
+
+
+
+
+
+
+
@@ -5559,6 +5579,10 @@
+
+
+
+
@@ -5589,6 +5613,10 @@
+
+
+
+
@@ -5616,10 +5644,18 @@
+
+
+
+
+
+
+
+
@@ -21356,6 +21392,26 @@
+
+
+
+
+
@@ -23488,6 +23544,22 @@
+
+
+
+
+
@@ -23710,6 +23782,10 @@
+
+
+
+
@@ -24248,6 +24324,10 @@
+
+
+
+
@@ -24608,6 +24688,10 @@
+
+
+
+
@@ -25635,6 +25719,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -25934,6 +26038,10 @@
+
+
+
+
@@ -31398,6 +31506,22 @@
+
+
+
+
+
@@ -31906,6 +32030,26 @@
+
+
+
+
+
@@ -32520,6 +32664,10 @@
+
+
+
+
@@ -32804,6 +32952,10 @@
+
+
+
+
@@ -32912,6 +33064,10 @@
+
+
+
+
@@ -42771,6 +42927,10 @@
+
+
+
+
@@ -42794,6 +42954,10 @@
+
+
+
+
@@ -42828,6 +42992,10 @@
+
+
+
+
@@ -42836,6 +43004,10 @@
+
+
+
+
@@ -45364,6 +45536,10 @@
+
+
+
+
@@ -45604,6 +45780,10 @@
+
+
+
+
diff --git a/docs/html/WebView4Delphi.hhk b/docs/html/WebView4Delphi.hhk
index 081d6d1..dc30db9 100644
--- a/docs/html/WebView4Delphi.hhk
+++ b/docs/html/WebView4Delphi.hhk
@@ -1269,6 +1269,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -4949,6 +4973,14 @@
+
+
+
+
+
+
+
+
@@ -5281,6 +5313,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
@@ -6193,6 +6237,10 @@
+
+
+
+
@@ -6281,6 +6329,10 @@
+
+
+
+
@@ -6887,6 +6939,10 @@
+
+
+
+
@@ -7039,6 +7095,10 @@
+
+
+
+
@@ -7403,6 +7463,10 @@
+
+
+
+
@@ -7976,16 +8040,16 @@
-
+
@@ -8846,16 +8910,16 @@
-
+
@@ -13602,16 +13666,16 @@
-
+
@@ -14803,6 +14867,10 @@
+
+
+
+
@@ -14815,6 +14883,10 @@
+
+
+
+
@@ -14827,10 +14899,18 @@
+
+
+
+
+
+
+
+
@@ -16203,6 +16283,10 @@
+
+
+
+
@@ -16464,16 +16548,16 @@
-
+
@@ -18621,6 +18705,10 @@
+
+
+
+
@@ -20505,6 +20593,10 @@
+
+
+
+
diff --git a/docs/html/WebView4Delphi.hhp b/docs/html/WebView4Delphi.hhp
index 025af8d..22c80d4 100644
--- a/docs/html/WebView4Delphi.hhp
+++ b/docs/html/WebView4Delphi.hhp
@@ -375,6 +375,7 @@ uWVTypeLibrary.ICoreWebView2_21.html
uWVTypeLibrary.ICoreWebView2ExecuteScriptWithResultCompletedHandler.html
uWVTypeLibrary.ICoreWebView2ExecuteScriptResult.html
uWVTypeLibrary.ICoreWebView2ScriptException.html
+uWVTypeLibrary.ICoreWebView2_22.html
uWVTypeLibrary.ICoreWebView2BrowserProcessExitedEventArgs.html
uWVTypeLibrary.ICoreWebView2BrowserProcessExitedEventHandler.html
uWVTypeLibrary.ICoreWebView2CompositionController.html
@@ -465,6 +466,7 @@ uWVTypeLibrary.ICoreWebView2Settings5.html
uWVTypeLibrary.ICoreWebView2Settings6.html
uWVTypeLibrary.ICoreWebView2Settings7.html
uWVTypeLibrary.ICoreWebView2Settings8.html
+uWVTypeLibrary.ICoreWebView2WebResourceRequestedEventArgs2.html
uWVTypeLibrary.ICoreWebView2File.html
uWVTypeLibrary.ICoreWebView2ObjectCollectionView.html
uWVTypeLibrary.ICoreWebView2WebMessageReceivedEventArgs2.html
diff --git a/docs/html/WebView4Delphi.log b/docs/html/WebView4Delphi.log
index 244fe37..e83b1d2 100644
--- a/docs/html/WebView4Delphi.log
+++ b/docs/html/WebView4Delphi.log
@@ -362,6 +362,7 @@ uWVTypeLibrary.ICoreWebView2_21.html
uWVTypeLibrary.ICoreWebView2ExecuteScriptWithResultCompletedHandler.html
uWVTypeLibrary.ICoreWebView2ExecuteScriptResult.html
uWVTypeLibrary.ICoreWebView2ScriptException.html
+uWVTypeLibrary.ICoreWebView2_22.html
uWVTypeLibrary.ICoreWebView2BrowserProcessExitedEventArgs.html
uWVTypeLibrary.ICoreWebView2BrowserProcessExitedEventHandler.html
uWVTypeLibrary.ICoreWebView2CompositionController.html
@@ -452,6 +453,7 @@ uWVTypeLibrary.ICoreWebView2Settings5.html
uWVTypeLibrary.ICoreWebView2Settings6.html
uWVTypeLibrary.ICoreWebView2Settings7.html
uWVTypeLibrary.ICoreWebView2Settings8.html
+uWVTypeLibrary.ICoreWebView2WebResourceRequestedEventArgs2.html
uWVTypeLibrary.ICoreWebView2File.html
uWVTypeLibrary.ICoreWebView2ObjectCollectionView.html
uWVTypeLibrary.ICoreWebView2WebMessageReceivedEventArgs2.html
@@ -472,12 +474,12 @@ published.gif
automated.gif
pasdoc.css
-Compile time: 0 minutes, 8 seconds
-7,814 Topics
-58,959 Local links
+Compile time: 0 minutes, 7 seconds
+7,846 Topics
+59,252 Local links
5 Internet links
5 Graphics
-Created c:\Users\usuario\Documents\Embarcadero\Studio\Projects\WebView4Delphi\docs\WebView4Delphi.chm, 1,838,628 bytes
-Compression decreased file by 11,979,832 bytes.
+Created c:\Users\usuario\Documents\Embarcadero\Studio\Projects\WebView4Delphi\docs\WebView4Delphi.chm, 1,860,058 bytes
+Compression decreased file by 12,046,599 bytes.
diff --git a/docs/html/uWVBrowserBase.TWVBrowserBase.html b/docs/html/uWVBrowserBase.TWVBrowserBase.html
index 9eee4ea..ba91a75 100644
--- a/docs/html/uWVBrowserBase.TWVBrowserBase.html
+++ b/docs/html/uWVBrowserBase.TWVBrowserBase.html
@@ -1972,6 +1972,14 @@ Description
+function AddWebResourceRequestedFilterWithRequestSourceKinds (const uri: wvstring ; ResourceContext: TWVWebResourceContext ; requestSourceKinds: TWVWebResourceRequestSourceKind ): boolean;
+
+
+
+function RemoveWebResourceRequestedFilterWithRequestSourceKinds (const uri: wvstring ; ResourceContext: TWVWebResourceContext ; requestSourceKinds: TWVWebResourceRequestSourceKind ): boolean;
+
+
+
function AddHostObjectToScript (const aName : wvstring ; const aObject : OleVariant): boolean;
@@ -7517,6 +7525,77 @@ Parameters
+function AddWebResourceRequestedFilterWithRequestSourceKinds (const uri: wvstring ; ResourceContext: TWVWebResourceContext ; requestSourceKinds: TWVWebResourceRequestSourceKind ): boolean;
+
+
+
+
+
+
A web resource request with a resource context that matches this filter's resource context and a URI that matches this filter's URI wildcard string for corresponding request sources will be raised via the `WebResourceRequested` event. To receive all raised events filters have to be added before main page navigation.
+
+
The `uri` parameter value is a wildcard string matched against the URI of the web resource request. This is a glob style wildcard string in which a `*` matches zero or more characters and a `?` matches exactly one character.
+
+
These wildcard characters can be escaped using a backslash just before the wildcard character in order to represent the literal `*` or `?`.
+
+
The matching occurs over the URI as a whole string and not limiting wildcard matches to particular parts of the URI.
+
+
The wildcard filter is compared to the URI after the URI has been normalized, any URI fragment has been removed, and non-ASCII hostnames have been converted to punycode.
+
+
Specifying a `nullptr` for the uri is equivalent to an empty string which matches no URIs.
+
+
For more information about resource context filters, navigate to [COREWEBVIEW2_WEB_RESOURCE_CONTEXT](/microsoft-edge/webview2/reference/win32/icorewebview2#corewebview2_web_resource_context).
+
+
The `requestSourceKinds` is a mask of one or more `COREWEBVIEW2_WEB_RESOURCE_REQUEST_SOURCE_KINDS`. OR operation(s) can be applied to multiple `COREWEBVIEW2_WEB_RESOURCE_REQUEST_SOURCE_KINDS` to create a mask representing those data types. API returns `E_INVALIDARG` if `requestSourceKinds` equals to zero. For more information about request source kinds, navigate to [COREWEBVIEW2_WEB_RESOURCE_REQUEST_SOURCE_KINDS](/microsoft-edge/webview2/reference/win32/icorewebview2#corewebview2_web_resource_request_source_kinds).
+
+
Because service workers and shared workers run separately from any one HTML document their WebResourceRequested will be raised for all CoreWebView2s that have appropriate filters added in the corresponding CoreWebView2Environment. You should only add a WebResourceRequested filter for COREWEBVIEW2_WEB_RESOURCE_REQUEST_SOURCE_KINDS_SERVICE_WORKER or COREWEBVIEW2_WEB_RESOURCE_REQUEST_SOURCE_KINDS_SHARED_WORKER on one CoreWebView2 to avoid handling the same WebResourceRequested event multiple times.
+
+
+
+
+| URI Filter String | Request URI | Match | Notes |
+| ---- | ---- | ---- | ---- |
+| `*` | `https://contoso.com/a/b/c` | Yes | A single * will match all URIs |
+| `*://contoso.com/*` | `https://contoso.com/a/b/c` | Yes | Matches everything in contoso.com across all schemes |
+| `*://contoso.com/*` | `https://example.com/?https://contoso.com/` | Yes | But also matches a URI with just the same text anywhere in the URI |
+| `example` | `https://contoso.com/example` | No | The filter does not perform partial matches |
+| `*example` | `https://contoso.com/example` | Yes | The filter matches across URI parts |
+| `*example` | `https://contoso.com/path/?example` | Yes | The filter matches across URI parts |
+| `*example` | `https://contoso.com/path/?query#example` | No | The filter is matched against the URI with no fragment |
+| `*example` | `https://example` | No | The URI is normalized before filter matching so the actual URI used for comparison is `https://example/` |
+| `*example/` | `https://example` | Yes | Just like above, but this time the filter ends with a / just like the normalized URI |
+| `https://xn--qei.example/` | `https://❤.example/` | Yes | Non-ASCII hostnames are normalized to punycode before wildcard comparison |
+| `https://❤.example/` | `https://xn--qei.example/` | No | Non-ASCII hostnames are normalized to punycode before wildcard comparison |
+
+
+
+
+
+
<see href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2_22#addwebresourcerequestedfilterwithrequestsourcekinds ">See the ICoreWebView2_22 article.)
+
+
+
+
-WEBVIEW2LOADERLIB_VERSION_RELEASE = 2277;
+WEBVIEW2LOADERLIB_VERSION_RELEASE = 2365;
This item has no description.
-WEBVIEW2LOADERLIB_VERSION_BUILD = 86;
+WEBVIEW2LOADERLIB_VERSION_BUILD = 46;
This item has no description.
@@ -638,6 +642,14 @@ Description
function ExecuteScriptWithResult (const JavaScript: wvstring ; aExecutionID : integer; const aBrowserComponent : TComponent): boolean;
+
+
+function AddWebResourceRequestedFilterWithRequestSourceKinds (const uri: wvstring ; ResourceContext: TWVWebResourceContext ; requestSourceKinds: TWVWebResourceRequestSourceKind ): boolean;
+
+
+
+function RemoveWebResourceRequestedFilterWithRequestSourceKinds (const uri: wvstring ; ResourceContext: TWVWebResourceContext ; requestSourceKinds: TWVWebResourceRequestSourceKind ): boolean;
+
Properties
@@ -903,6 +915,14 @@ Fields
+
+
+
FContainsFullScreenElementChangedToken : EventRegistrationToken ;
@@ -2295,6 +2315,42 @@ Parameters
\snippet ScriptComponent.cpp ExecuteScriptWithResult
+
+
+
+function AddWebResourceRequestedFilterWithRequestSourceKinds (const uri: wvstring ; ResourceContext: TWVWebResourceContext ; requestSourceKinds: TWVWebResourceRequestSourceKind ): boolean;
+
+
+
+ A web resource request with a resource context that matches this filter's resource context and a URI that matches this filter's URI wildcard string for corresponding request sources will be raised via the `WebResourceRequested` event. To receive all raised events filters have to be added before main page navigation.
+
+
The `uri` parameter value is a wildcard string matched against the URI of the web resource request. This is a glob style wildcard string in which a `*` matches zero or more characters and a `?` matches exactly one character. These wildcard characters can be escaped using a backslash just before the wildcard character in order to represent the literal `*` or `?`.
+
+
The matching occurs over the URI as a whole string and not limiting wildcard matches to particular parts of the URI. The wildcard filter is compared to the URI after the URI has been normalized, any URI fragment has been removed, and non-ASCII hostnames have been converted to punycode.
+
+
Specifying a `nullptr` for the uri is equivalent to an empty string which matches no URIs.
+
+
For more information about resource context filters, navigate to [COREWEBVIEW2_WEB_RESOURCE_CONTEXT](/microsoft-edge/webview2/reference/win32/icorewebview2#corewebview2_web_resource_context).
+
+
The `requestSourceKinds` is a mask of one or more `COREWEBVIEW2_WEB_RESOURCE_REQUEST_SOURCE_KINDS`. OR operation(s) can be applied to multiple `COREWEBVIEW2_WEB_RESOURCE_REQUEST_SOURCE_KINDS` to create a mask representing those data types. API returns `E_INVALIDARG` if `requestSourceKinds` equals to zero. For more information about request source kinds, navigate to [COREWEBVIEW2_WEB_RESOURCE_REQUEST_SOURCE_KINDS](/microsoft-edge/webview2/reference/win32/icorewebview2#corewebview2_web_resource_request_source_kinds).
+
+
Because service workers and shared workers run separately from any one HTML document their WebResourceRequested will be raised for all CoreWebView2s that have appropriate filters added in the corresponding CoreWebView2Environment. You should only add a WebResourceRequested filter for COREWEBVIEW2_WEB_RESOURCE_REQUEST_SOURCE_KINDS_SERVICE_WORKER or COREWEBVIEW2_WEB_RESOURCE_REQUEST_SOURCE_KINDS_SHARED_WORKER on one CoreWebView2 to avoid handling the same WebResourceRequested event multiple times.
+
+
| URI Filter String | Request URI | Match | Notes | | —- | —- | —- | —- | | `*` | `https://contoso.com/a/b/c ` | Yes | A single * will match all URIs | | `*://contoso.com/ *` | `https://contoso.com/a/b/c ` | Yes | Matches everything in contoso.com across all schemes | | `*://contoso.com/ *` | `https://example.com/?https://contoso.com/ ` | Yes | But also matches a URI with just the same text anywhere in the URI | | `example` | `https://contoso.com/example ` | No | The filter does not perform partial matches | | `*example` | `https://contoso.com/example ` | Yes | The filter matches across URI parts | | `*example` | `https://contoso.com/path/?example ` | Yes | The filter matches across URI parts | | `*example` | `https://contoso.com/path/?query#example ` | No | The filter is matched against the URI with no fragment | | `*example` | `https://example ` | No | The URI is normalized before filter matching so the actual URI used for comparison is `https://example/ ` | | `*example/` | `https://example ` | Yes | Just like above, but this time the filter ends with a / just like the normalized URI | | `https://xn--qei.example/ ` | `https://❤.example/ ` | Yes | Non-ASCII hostnames are normalized to punycode before wildcard comparison | | `https://❤.example/ ` | `https://xn--qei.example/ ` | No | Non-ASCII hostnames are normalized to punycode before wildcard comparison |
+
+
\snippet ScenarioSharedWorkerWRR.cpp WebResourceRequested2
+
+
+
+
+
+function RemoveWebResourceRequestedFilterWithRequestSourceKinds (const uri: wvstring ; ResourceContext: TWVWebResourceContext ; requestSourceKinds: TWVWebResourceRequestSourceKind ): boolean;
+
+
+
+ Removes a matching WebResource filter that was previously added for the `WebResourceRequested` event. If the same filter was added multiple times, then it must be removed as many times as it was added for the removal to be effective. Returns `E_INVALIDARG` for a filter that was not added or is already removed. If the filter was added for multiple requestSourceKinds and removed just for one of them the filter remains for the non-removed requestSourceKinds.
+
+
Properties
Methods
+
Methods
@@ -150,6 +174,14 @@ Methods
+
+
+procedure InitializeFields ;
+
+
+This item has no description.
+
+