diff --git a/README.md b/README.md index 7c2430a..14352ba 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.2535.41](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.2592.51](https://www.nuget.org/packages/Microsoft.Web.WebView2) to embed a web browser. WebView4Delphi was developed and tested on Delphi 12.1, Delphi XE2, Delphi 7 and Lazarus 3.4/FPC 3.2.2. Delphi 6 support needs to be tested and it requires installing the second Delphi 6 patch. diff --git a/bin32/WebView2Loader.dll b/bin32/WebView2Loader.dll index d88aa4c..ae2684f 100644 Binary files a/bin32/WebView2Loader.dll and b/bin32/WebView2Loader.dll differ diff --git a/bin64/WebView2Loader.dll b/bin64/WebView2Loader.dll index 4fc0a46..f6d1d7b 100644 Binary files a/bin64/WebView2Loader.dll and b/bin64/WebView2Loader.dll differ diff --git a/docs/WebView4Delphi.chm b/docs/WebView4Delphi.chm index ff1bf12..c875e38 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 7d1231f..8480726 100644 --- a/docs/html/AllClasses.html +++ b/docs/html/AllClasses.html @@ -475,7 +475,7 @@

All Classes, Interfaces, Objects and Records

ICoreWebView2File uWVTypeLibrary -

Representation of a DOM [File](https://developer.mozilla.org/en-US/docs/Web/API/File) object passed via WebMessage. You can use this object to obtain the path of a File dropped on WebView2.

+

Representation of a DOM [File](https://developer.mozilla.org/docs/Web/API/File) object passed via WebMessage. You can use this object to obtain the path of a File dropped on WebView2.

ICoreWebView2FocusChangedEventHandler @@ -1521,7 +1521,7 @@

All Classes, Interfaces, Objects and Records

TCoreWebView2File uWVCoreWebView2File -

Representation of a DOM [File](https://developer.mozilla.org/en-US/docs/Web/API/File) object passed via WebMessage. You can use this object to obtain the path of a File dropped on WebView2.

+

Representation of a DOM [File](https://developer.mozilla.org/docs/Web/API/File) object passed via WebMessage. You can use this object to obtain the path of a File dropped on WebView2.

TCoreWebView2Frame @@ -1850,136 +1850,141 @@

All Classes, Interfaces, Objects and Records

Receives RasterizationScaleChanged events. Use the RasterizationScale property to get the modified scale.

+TCoreWebView2RegionRectCollectionView +uWVCoreWebView2RegionRectCollectionView +

This class represents a collection of region Rects.

+ + TCoreWebView2ScriptDialogOpeningEventArgs uWVCoreWebView2Args

Event args for the ScriptDialogOpening event.

- + TCoreWebView2ScriptDialogOpeningEventHandler uWVCoreWebView2Delegates

Receives ScriptDialogOpening events.

- + TCoreWebView2ScriptException uWVCoreWebView2ScriptException

This interface represents a JavaScript exception. If the CoreWebView2.ExecuteScriptWithResult result has Succeeded as false, you can use the result's Exception property to get the script exception.

- + TCoreWebView2ServerCertificateErrorDetectedEventArgs uWVCoreWebView2Args

Event args for the ServerCertificateErrorDetected event.

- + TCoreWebView2ServerCertificateErrorDetectedEventHandler uWVCoreWebView2Delegates

An event handler for the ServerCertificateErrorDetected event.

- + TCoreWebView2SetPermissionStateCompletedHandler uWVCoreWebView2Delegates

The caller implements this interface to handle the result of SetPermissionState.

- + TCoreWebView2Settings uWVCoreWebView2Settings

Defines properties that enable, disable, or modify WebView features. Changes to IsGeneralAutofillEnabled and IsPasswordAutosaveEnabled apply immediately, while other setting changes made after NavigationStarting event do not apply until the next top-level navigation.

- + TCoreWebView2SharedBuffer uWVCoreWebView2SharedBuffer

The shared buffer object that is created by CreateSharedBuffer. The object is presented to script as ArrayBuffer when posted to script with PostSharedBufferToScript.

- + TCoreWebView2SourceChangedEventArgs uWVCoreWebView2Args

Event args for the SourceChanged event.

- + TCoreWebView2SourceChangedEventHandler uWVCoreWebView2Delegates

Receives SourceChanged events.

- + TCoreWebView2StateChangedEventHandler uWVCoreWebView2Delegates

Implements the interface to receive StateChanged event. Use the ICoreWebView2DownloadOperation.State property to get the current state, which can be in progress, interrupted, or completed. Use the ICoreWebView2DownloadOperation.InterruptReason property to get the interrupt reason if the download is interrupted.

- + TCoreWebView2StatusBarTextChangedEventHandler uWVCoreWebView2Delegates

Receives StatusBarTextChanged events.

- + TCoreWebView2StringCollection uWVCoreWebView2StringCollection

A collection of strings.

- + TCoreWebView2TrySuspendCompletedHandler uWVCoreWebView2Delegates

The caller implements this interface to receive the TrySuspend result.

- + TCoreWebView2WebMessageReceivedEventArgs uWVCoreWebView2Args

Event args for the WebMessageReceived event.

- + TCoreWebView2WebMessageReceivedEventHandler uWVCoreWebView2Delegates

Receives WebMessageReceived events.

- + TCoreWebView2WebResourceRequestedEventArgs uWVCoreWebView2Args

Event args for the WebResourceRequested event.

- + TCoreWebView2WebResourceRequestedEventHandler uWVCoreWebView2Delegates

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.

- + TCoreWebView2WebResourceRequestOwn uWVCoreWebView2WebResourceRequest

An HTTP request used with the WebResourceRequested event.

- + TCoreWebView2WebResourceRequestRef uWVCoreWebView2WebResourceRequest

An HTTP request used with the WebResourceRequested event.

- + TCoreWebView2WebResourceResponse uWVCoreWebView2WebResourceResponse

An HTTP response used with the WebResourceRequested event.

- + TCoreWebView2WebResourceResponseReceivedEventArgs uWVCoreWebView2Args

Event args for the WebResourceResponseReceived event.

- + TCoreWebView2WebResourceResponseReceivedEventHandler uWVCoreWebView2Delegates

Receives WebResourceResponseReceived events.

- + TCoreWebView2WebResourceResponseView uWVCoreWebView2WebResourceResponseView

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 TWVBrowserBase.OnWebResourceResponseReceived event.

- + TCoreWebView2WebResourceResponseViewGetContentCompletedHandler uWVCoreWebView2Delegates

Receives the result of the ICoreWebView2WebResourceResponseView.GetContent method.

- + TCoreWebView2WindowCloseRequestedEventHandler uWVCoreWebView2Delegates

Receives WindowCloseRequested events.

- + TCoreWebView2WindowFeatures uWVCoreWebView2WindowFeatures

@@ -1992,62 +1997,62 @@

All Classes, Interfaces, Objects and Records

- + TCoreWebView2ZoomFactorChangedEventHandler uWVCoreWebView2Delegates

Implements the interface to receive ZoomFactorChanged events. Use the ICoreWebView2Controller.ZoomFactor property to get the modified zoom factor.

- + TFileVersionInfo uWVTypes

Record used by GetDLLVersion to get the DLL version information

- + TWVBrowser uWVBrowser

VCL and LCL version of TWVBrowserBase that puts together all browser procedures, functions, properties and events in one place. It has all you need to create, modify and destroy a web browser.

- + TWVBrowserBase uWVBrowserBase

Parent class of TWVBrowser and TWVFMXBrowser that puts together all browser procedures, functions, properties and events in one place. It has all you need to create, modify and destroy a web browser.

- + TWVCustomSchemeInfo uWVTypes

Record with all the information to create a TCoreWebView2CustomSchemeRegistration instance to register a custom scheme.

- + TWVFMXBrowser uWVFMXBrowser

FMX version of TWVBrowserBase that puts together all browser procedures, functions, properties and events in one place. It has all you need to create, modify and destroy a web browser.

- + TWVFMXWindowParent uWVFMXWindowParent

Parent control used by FMX applications to show the web contents.

- + TWVLoader uWVLoader

Class used to simplify the WebView2 initialization and destruction.

- + TWVProxySettings uWVLoader

Class used by the TWVLoader.ProxySettigns property to configure a custom proxy server using the following command line switches: –no-proxy-server, –proxy-auto-detect, –proxy-bypass-list, –proxy-pac-url and –proxy-server.

- + 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.

diff --git a/docs/html/AllConstants.html b/docs/html/AllConstants.html index eecf306..92b0cae 100644 --- a/docs/html/AllConstants.html +++ b/docs/html/AllConstants.html @@ -748,7 +748,7 @@

All Constants

COREWEBVIEW2_PERMISSION_KIND_AUTOPLAY uWVTypeLibrary -

Indicates permission to play audio and video automatically on sites. This permission affects the autoplay attribute and play method of the audio and video HTML elements, and the start method of the Web Audio API. See the [Autoplay guide for media and Web Audio APIs](https://developer.mozilla.org/en-US/docs/Web/Media/Autoplay_guide) for details.

+

Indicates permission to play audio and video automatically on sites. This permission affects the autoplay attribute and play method of the audio and video HTML elements, and the start method of the Web Audio API. See the [Autoplay guide for media and Web Audio APIs](https://developer.mozilla.org/docs/Web/Media/Autoplay_guide) for details.

COREWEBVIEW2_PERMISSION_KIND_CAMERA @@ -763,7 +763,7 @@

All Constants

COREWEBVIEW2_PERMISSION_KIND_FILE_READ_WRITE uWVTypeLibrary -

Indicates permission to read and write to files or folders on the device. Permission is requested when developers use the [File System Access API](https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API) to show the file or folder picker to the end user, and then request "readwrite" permission for the user's selection.

+

Indicates permission to read and write to files or folders on the device. Permission is requested when developers use the [File System Access API](https://developer.mozilla.org/docs/Web/API/File_System_Access_API) to show the file or folder picker to the end user, and then request "readwrite" permission for the user's selection.

COREWEBVIEW2_PERMISSION_KIND_GEOLOCATION @@ -783,7 +783,7 @@

All Constants

COREWEBVIEW2_PERMISSION_KIND_MIDI_SYSTEM_EXCLUSIVE_MESSAGES uWVTypeLibrary -

Indicates permission to send and receive system exclusive messages to/from MIDI (Musical Instrument Digital Interface) devices. Permission is requested when developers use the [Web MIDI API](https://developer.mozilla.org/en-US/docs/Web/API/Web_MIDI_API) to request access to system exclusive MIDI messages.

+

Indicates permission to send and receive system exclusive messages to/from MIDI (Musical Instrument Digital Interface) devices. Permission is requested when developers use the [Web MIDI API](https://developer.mozilla.org/docs/Web/API/Web_MIDI_API) to request access to system exclusive MIDI messages.

COREWEBVIEW2_PERMISSION_KIND_MULTIPLE_AUTOMATIC_DOWNLOADS @@ -1152,7 +1152,7 @@

All Constants

Window style fluent overlay scroll bar. -

Please see [Fluent UI](https:/-/developer.microsoft.com/en-us/fluentui#/) for more details on fluent UI. +

Please see [Fluent UI](https://developer.microsoft.com/fluentui#/) for more details on fluent UI.

diff --git a/docs/html/AllIdentifiers.html b/docs/html/AllIdentifiers.html index 8e688e5..a74522f 100644 --- a/docs/html/AllIdentifiers.html +++ b/docs/html/AllIdentifiers.html @@ -908,7 +908,7 @@

All Identifiers

COREWEBVIEW2_PERMISSION_KIND_AUTOPLAY uWVTypeLibrary -

Indicates permission to play audio and video automatically on sites. This permission affects the autoplay attribute and play method of the audio and video HTML elements, and the start method of the Web Audio API. See the [Autoplay guide for media and Web Audio APIs](https://developer.mozilla.org/en-US/docs/Web/Media/Autoplay_guide) for details.

+

Indicates permission to play audio and video automatically on sites. This permission affects the autoplay attribute and play method of the audio and video HTML elements, and the start method of the Web Audio API. See the [Autoplay guide for media and Web Audio APIs](https://developer.mozilla.org/docs/Web/Media/Autoplay_guide) for details.

COREWEBVIEW2_PERMISSION_KIND_CAMERA @@ -923,7 +923,7 @@

All Identifiers

COREWEBVIEW2_PERMISSION_KIND_FILE_READ_WRITE uWVTypeLibrary -

Indicates permission to read and write to files or folders on the device. Permission is requested when developers use the [File System Access API](https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API) to show the file or folder picker to the end user, and then request "readwrite" permission for the user's selection.

+

Indicates permission to read and write to files or folders on the device. Permission is requested when developers use the [File System Access API](https://developer.mozilla.org/docs/Web/API/File_System_Access_API) to show the file or folder picker to the end user, and then request "readwrite" permission for the user's selection.

COREWEBVIEW2_PERMISSION_KIND_GEOLOCATION @@ -943,7 +943,7 @@

All Identifiers

COREWEBVIEW2_PERMISSION_KIND_MIDI_SYSTEM_EXCLUSIVE_MESSAGES uWVTypeLibrary -

Indicates permission to send and receive system exclusive messages to/from MIDI (Musical Instrument Digital Interface) devices. Permission is requested when developers use the [Web MIDI API](https://developer.mozilla.org/en-US/docs/Web/API/Web_MIDI_API) to request access to system exclusive MIDI messages.

+

Indicates permission to send and receive system exclusive messages to/from MIDI (Musical Instrument Digital Interface) devices. Permission is requested when developers use the [Web MIDI API](https://developer.mozilla.org/docs/Web/API/Web_MIDI_API) to request access to system exclusive MIDI messages.

COREWEBVIEW2_PERMISSION_KIND_MULTIPLE_AUTOMATIC_DOWNLOADS @@ -1411,7 +1411,7 @@

All Identifiers

Window style fluent overlay scroll bar. -

Please see [Fluent UI](https:/-/developer.microsoft.com/en-us/fluentui#/) for more details on fluent UI. +

Please see [Fluent UI](https://developer.microsoft.com/fluentui#/) for more details on fluent UI.

@@ -2307,7 +2307,7 @@

All Identifiers

ICoreWebView2File uWVTypeLibrary -

Representation of a DOM [File](https://developer.mozilla.org/en-US/docs/Web/API/File) object passed via WebMessage. You can use this object to obtain the path of a File dropped on WebView2.

+

Representation of a DOM [File](https://developer.mozilla.org/docs/Web/API/File) object passed via WebMessage. You can use this object to obtain the path of a File dropped on WebView2.

ICoreWebView2FocusChangedEventHandler @@ -4648,7 +4648,7 @@

All Identifiers

TCoreWebView2File uWVCoreWebView2File -

Representation of a DOM [File](https://developer.mozilla.org/en-US/docs/Web/API/File) object passed via WebMessage. You can use this object to obtain the path of a File dropped on WebView2.

+

Representation of a DOM [File](https://developer.mozilla.org/docs/Web/API/File) object passed via WebMessage. You can use this object to obtain the path of a File dropped on WebView2.

TCoreWebView2Frame @@ -4977,136 +4977,141 @@

All Identifiers

Receives RasterizationScaleChanged events. Use the RasterizationScale property to get the modified scale.

+TCoreWebView2RegionRectCollectionView +uWVCoreWebView2RegionRectCollectionView +

This class represents a collection of region Rects.

+ + TCoreWebView2ScriptDialogOpeningEventArgs uWVCoreWebView2Args

Event args for the ScriptDialogOpening event.

- + TCoreWebView2ScriptDialogOpeningEventHandler uWVCoreWebView2Delegates

Receives ScriptDialogOpening events.

- + TCoreWebView2ScriptException uWVCoreWebView2ScriptException

This interface represents a JavaScript exception. If the CoreWebView2.ExecuteScriptWithResult result has Succeeded as false, you can use the result's Exception property to get the script exception.

- + TCoreWebView2ServerCertificateErrorDetectedEventArgs uWVCoreWebView2Args

Event args for the ServerCertificateErrorDetected event.

- + TCoreWebView2ServerCertificateErrorDetectedEventHandler uWVCoreWebView2Delegates

An event handler for the ServerCertificateErrorDetected event.

- + TCoreWebView2SetPermissionStateCompletedHandler uWVCoreWebView2Delegates

The caller implements this interface to handle the result of SetPermissionState.

- + TCoreWebView2Settings uWVCoreWebView2Settings

Defines properties that enable, disable, or modify WebView features. Changes to IsGeneralAutofillEnabled and IsPasswordAutosaveEnabled apply immediately, while other setting changes made after NavigationStarting event do not apply until the next top-level navigation.

- + TCoreWebView2SharedBuffer uWVCoreWebView2SharedBuffer

The shared buffer object that is created by CreateSharedBuffer. The object is presented to script as ArrayBuffer when posted to script with PostSharedBufferToScript.

- + TCoreWebView2SourceChangedEventArgs uWVCoreWebView2Args

Event args for the SourceChanged event.

- + TCoreWebView2SourceChangedEventHandler uWVCoreWebView2Delegates

Receives SourceChanged events.

- + TCoreWebView2StateChangedEventHandler uWVCoreWebView2Delegates

Implements the interface to receive StateChanged event. Use the ICoreWebView2DownloadOperation.State property to get the current state, which can be in progress, interrupted, or completed. Use the ICoreWebView2DownloadOperation.InterruptReason property to get the interrupt reason if the download is interrupted.

- + TCoreWebView2StatusBarTextChangedEventHandler uWVCoreWebView2Delegates

Receives StatusBarTextChanged events.

- + TCoreWebView2StringCollection uWVCoreWebView2StringCollection

A collection of strings.

- + TCoreWebView2TrySuspendCompletedHandler uWVCoreWebView2Delegates

The caller implements this interface to receive the TrySuspend result.

- + TCoreWebView2WebMessageReceivedEventArgs uWVCoreWebView2Args

Event args for the WebMessageReceived event.

- + TCoreWebView2WebMessageReceivedEventHandler uWVCoreWebView2Delegates

Receives WebMessageReceived events.

- + TCoreWebView2WebResourceRequestedEventArgs uWVCoreWebView2Args

Event args for the WebResourceRequested event.

- + TCoreWebView2WebResourceRequestedEventHandler uWVCoreWebView2Delegates

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.

- + TCoreWebView2WebResourceRequestOwn uWVCoreWebView2WebResourceRequest

An HTTP request used with the WebResourceRequested event.

- + TCoreWebView2WebResourceRequestRef uWVCoreWebView2WebResourceRequest

An HTTP request used with the WebResourceRequested event.

- + TCoreWebView2WebResourceResponse uWVCoreWebView2WebResourceResponse

An HTTP response used with the WebResourceRequested event.

- + TCoreWebView2WebResourceResponseReceivedEventArgs uWVCoreWebView2Args

Event args for the WebResourceResponseReceived event.

- + TCoreWebView2WebResourceResponseReceivedEventHandler uWVCoreWebView2Delegates

Receives WebResourceResponseReceived events.

- + TCoreWebView2WebResourceResponseView uWVCoreWebView2WebResourceResponseView

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 TWVBrowserBase.OnWebResourceResponseReceived event.

- + TCoreWebView2WebResourceResponseViewGetContentCompletedHandler uWVCoreWebView2Delegates

Receives the result of the ICoreWebView2WebResourceResponseView.GetContent method.

- + TCoreWebView2WindowCloseRequestedEventHandler uWVCoreWebView2Delegates

Receives WindowCloseRequested events.

- + TCoreWebView2WindowFeatures uWVCoreWebView2WindowFeatures

@@ -5119,699 +5124,699 @@

All Identifiers

- + TCoreWebView2ZoomFactorChangedEventHandler uWVCoreWebView2Delegates

Implements the interface to receive ZoomFactorChanged events. Use the ICoreWebView2Controller.ZoomFactor property to get the modified zoom factor.

- + TFileVersionInfo uWVTypes

Record used by GetDLLVersion to get the DLL version information

- + 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

 

- + TOnNonClientRegionChangedEvent 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

 

- + TryIso8601BasicToDate uWVMiscFunctions

 

- + 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.

- + TWVBrowser uWVBrowser

VCL and LCL version of TWVBrowserBase that puts together all browser procedures, functions, properties and events in one place. It has all you need to create, modify and destroy a web browser.

- + TWVBrowserBase uWVBrowserBase

Parent class of TWVBrowser and TWVFMXBrowser that puts together all browser procedures, functions, properties and events in one place. It has all you need to create, modify and destroy a web browser.

- + 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.

- + TWVChannelSearchKind uWVTypes

The channel search kind determines the order that release channels are searched for during environment creation. The default behavior is to search for and use the most stable channel found on the device. The order from most to least stable is: WebView2 Runtime -> Beta -> Dev -> Canary. Switch the order to prefer the least stable channel in order to perform pre-release testing. See `COREWEBVIEW2_RELEASE_CHANNELS` for descriptions of channels.

- + 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

- + TWVCustomSchemeInfo uWVTypes

Record with all the information to create a TCoreWebView2CustomSchemeRegistration instance to register a custom scheme.

- + 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.

- + TWVFMXBrowser uWVFMXBrowser

FMX version of TWVBrowserBase that puts together all browser procedures, functions, properties and events in one place. It has all you need to create, modify and destroy a web browser.

- + TWVFMXWindowParent uWVFMXWindowParent

Parent control used by FMX applications to show the web contents.

- + 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.

- + TWVLoader uWVLoader

Class used to simplify the WebView2 initialization and destruction.

- + 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.

- + TWVNonClientRegionKind uWVTypes

This enum contains values representing possible regions a given point lies within.

- + 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.

- + TWVProxySettings uWVLoader

Class used by the TWVLoader.ProxySettigns property to configure a custom proxy server using the following command line switches: –no-proxy-server, –proxy-auto-detect, –proxy-bypass-list, –proxy-pac-url and –proxy-server.

- + TWVReleaseChannels uWVTypes

@@ -5830,362 +5835,362 @@

All Identifiers

- + TWVScriptDialogKind uWVTypes

Specifies the JavaScript dialog type used in the ICoreWebView2ScriptDialogOpeningEventHandler interface.

- + TWVScrollBarStyle uWVTypes

Set ScrollBar style on `ICoreWebView2EnvironmentOptions` during environment creation.

- + 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.

- + 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

 

- + WV_DOWNLOADS_URL uWVConstants

 

- + WV_EXTENSIONS_URL uWVConstants

 

- + WV_FLAGS_URL uWVConstants

 

- + WV_URLS_URL uWVConstants

 

- + 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/AllUnits.html b/docs/html/AllUnits.html index f670cc5..37a8fcb 100644 --- a/docs/html/AllUnits.html +++ b/docs/html/AllUnits.html @@ -195,82 +195,86 @@

All Units

 

-uWVCoreWebView2ScriptException +uWVCoreWebView2RegionRectCollectionView

 

-uWVCoreWebView2Settings +uWVCoreWebView2ScriptException

 

-uWVCoreWebView2SharedBuffer +uWVCoreWebView2Settings

 

-uWVCoreWebView2StringCollection +uWVCoreWebView2SharedBuffer

 

-uWVCoreWebView2WebResourceRequest +uWVCoreWebView2StringCollection

 

-uWVCoreWebView2WebResourceResponse +uWVCoreWebView2WebResourceRequest

 

-uWVCoreWebView2WebResourceResponseView +uWVCoreWebView2WebResourceResponse

 

-uWVCoreWebView2WindowFeatures +uWVCoreWebView2WebResourceResponseView

 

-uWVEvents +uWVCoreWebView2WindowFeatures

 

-uWVFMXBrowser +uWVEvents

 

-uWVFMXWindowParent +uWVFMXBrowser

 

-uWVInterfaces +uWVFMXWindowParent

 

-uWVLibFunctions +uWVInterfaces

 

-uWVLoader +uWVLibFunctions

 

-uWVLoaderInternal +uWVLoader

 

-uWVMiscFunctions +uWVLoaderInternal

 

-uWVTypeLibrary +uWVMiscFunctions

 

-uWVTypes +uWVTypeLibrary

 

-uWVWinControl +uWVTypes

 

+uWVWinControl +

 

+ + uWVWindowParent

 

diff --git a/docs/html/ClassHierarchy.html b/docs/html/ClassHierarchy.html index 70841ec..73ed14b 100644 --- a/docs/html/ClassHierarchy.html +++ b/docs/html/ClassHierarchy.html @@ -245,7 +245,7 @@

Class Hierarchy

  • TCoreWebView2AcceleratorKeyPressedEventHandler
  • TCoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandler
  • TCoreWebView2BasicAuthenticationRequestedEventHandler
  • TCoreWebView2BrowserExtensionEnableCompletedHandler
  • TCoreWebView2BrowserExtensionRemoveCompletedHandler
  • TCoreWebView2BrowserProcessExitedEventHandler
  • TCoreWebView2BytesReceivedChangedEventHandler
  • TCoreWebView2CallDevToolsProtocolMethodCompletedHandler
  • TCoreWebView2CapturePreviewCompletedHandler
  • TCoreWebView2ClearBrowsingDataCompletedHandler
  • TCoreWebView2ClearServerCertificateErrorActionsCompletedHandler
  • TCoreWebView2ClientCertificateRequestedEventHandler
  • TCoreWebView2ContainsFullScreenElementChangedEventHandler
  • TCoreWebView2ContentLoadingEventHandler
  • TCoreWebView2ContextMenuRequestedEventHandler
  • TCoreWebView2CreateCoreWebView2CompositionControllerCompletedHandler
  • TCoreWebView2CreateCoreWebView2ControllerCompletedHandler
  • TCoreWebView2CursorChangedEventHandler
  • TCoreWebView2CustomItemSelectedEventHandler
  • TCoreWebView2CustomSchemeRegistration
  • TCoreWebView2DevToolsProtocolEventReceivedEventHandler
  • TCoreWebView2DocumentTitleChangedEventHandler
  • TCoreWebView2DOMContentLoadedEventHandler
  • TCoreWebView2DownloadStartingEventHandler
  • TCoreWebView2EnvironmentCompletedHandler
  • TCoreWebView2EnvironmentOptions
  • TCoreWebView2EstimatedEndTimeChangedEventHandler
  • TCoreWebView2ExecuteScriptCompletedHandler
  • TCoreWebView2ExecuteScriptWithResultCompletedHandler
  • TCoreWebView2FaviconChangedEventHandler
  • TCoreWebView2FrameContentLoadingEventHandler
  • TCoreWebView2FrameCreatedEventHandler
  • TCoreWebView2FrameDestroyedEventHandler
  • TCoreWebView2FrameDOMContentLoadedEventHandler
  • TCoreWebView2FrameNameChangedEventHandler
  • TCoreWebView2FrameNavigationCompletedEventHandler
  • TCoreWebView2FrameNavigationCompletedEventHandler2
  • TCoreWebView2FrameNavigationStartingEventHandler
  • TCoreWebView2FrameNavigationStartingEventHandler2
  • TCoreWebView2FramePermissionRequestedEventHandler
  • TCoreWebView2FrameWebMessageReceivedEventHandler
  • TCoreWebView2GetCookiesCompletedHandler
  • TCoreWebView2GetFaviconCompletedHandler
  • TCoreWebView2GetNonDefaultPermissionSettingsCompletedHandler
  • TCoreWebView2GetProcessExtendedInfosCompletedHandler
  • TCoreWebView2GotFocusEventHandler
  • TCoreWebView2HistoryChangedEventHandler
  • TCoreWebView2IsDefaultDownloadDialogOpenChangedEventHandler
  • TCoreWebView2IsDocumentPlayingAudioChangedEventHandler
  • TCoreWebView2IsMutedChangedEventHandler
  • TCoreWebView2LaunchingExternalUriSchemeEventHandler
  • TCoreWebView2LostFocusEventHandler
  • TCoreWebView2MoveFocusRequestedEventHandler
  • TCoreWebView2NavigationCompletedEventHandler
  • TCoreWebView2NavigationStartingEventHandler
  • TCoreWebView2NewBrowserVersionAvailableEventHandler
  • TCoreWebView2NewWindowRequestedEventHandler
  • TCoreWebView2NonClientRegionChangedEventHandler
  • TCoreWebView2PermissionRequestedEventHandler
  • TCoreWebView2PrintCompletedHandler
  • TCoreWebView2PrintToPdfCompletedHandler
  • TCoreWebView2PrintToPdfStreamCompletedHandler
  • TCoreWebView2ProcessFailedEventHandler
  • TCoreWebView2ProcessInfosChangedEventHandler
  • TCoreWebView2ProfileAddBrowserExtensionCompletedHandler
  • TCoreWebView2ProfileDeletedEventHandler
  • TCoreWebView2ProfileGetBrowserExtensionsCompletedHandler
  • TCoreWebView2RasterizationScaleChangedEventHandler
  • TCoreWebView2ScriptDialogOpeningEventHandler
  • TCoreWebView2ServerCertificateErrorDetectedEventHandler
  • TCoreWebView2SetPermissionStateCompletedHandler
  • TCoreWebView2SourceChangedEventHandler
  • TCoreWebView2StateChangedEventHandler
  • TCoreWebView2StatusBarTextChangedEventHandler
  • TCoreWebView2TrySuspendCompletedHandler
  • TCoreWebView2WebMessageReceivedEventHandler
  • TCoreWebView2WebResourceRequestedEventHandler
  • TCoreWebView2WebResourceRequestOwn
  • TCoreWebView2WebResourceResponseReceivedEventHandler
  • TCoreWebView2WebResourceResponseViewGetContentCompletedHandler
  • TCoreWebView2WindowCloseRequestedEventHandler
  • TCoreWebView2ZoomFactorChangedEventHandler
  • TObject
  • + + + + +
  • diff --git a/docs/html/WebView4Delphi.hhk b/docs/html/WebView4Delphi.hhk index d631ac8..14a41d4 100644 --- a/docs/html/WebView4Delphi.hhk +++ b/docs/html/WebView4Delphi.hhk @@ -10782,16 +10782,16 @@
  • - +
  • @@ -14018,16 +14018,16 @@
  • - +
  • @@ -14331,6 +14331,50 @@
  • + + + +
  • + + + +
  • + + + +
  • + + + +
  • + + + +
  • + + + +
  • + + + +
  • + + + +
  • + + + +
  • + + + +
  • + + + +
  • diff --git a/docs/html/WebView4Delphi.hhp b/docs/html/WebView4Delphi.hhp index f7599d6..ad5ca27 100644 --- a/docs/html/WebView4Delphi.hhp +++ b/docs/html/WebView4Delphi.hhp @@ -214,6 +214,8 @@ uWVCoreWebView2ProcessInfoCollection.html uWVCoreWebView2ProcessInfoCollection.TCoreWebView2ProcessInfoCollection.html uWVCoreWebView2Profile.html uWVCoreWebView2Profile.TCoreWebView2Profile.html +uWVCoreWebView2RegionRectCollectionView.html +uWVCoreWebView2RegionRectCollectionView.TCoreWebView2RegionRectCollectionView.html uWVCoreWebView2ScriptException.html uWVCoreWebView2ScriptException.TCoreWebView2ScriptException.html uWVCoreWebView2Settings.html diff --git a/docs/html/WebView4Delphi.log b/docs/html/WebView4Delphi.log index 2e4b7c4..6aa5a74 100644 --- a/docs/html/WebView4Delphi.log +++ b/docs/html/WebView4Delphi.log @@ -201,6 +201,8 @@ uWVCoreWebView2ProcessInfoCollection.html uWVCoreWebView2ProcessInfoCollection.TCoreWebView2ProcessInfoCollection.html uWVCoreWebView2Profile.html uWVCoreWebView2Profile.TCoreWebView2Profile.html +uWVCoreWebView2RegionRectCollectionView.html +uWVCoreWebView2RegionRectCollectionView.TCoreWebView2RegionRectCollectionView.html uWVCoreWebView2ScriptException.html uWVCoreWebView2ScriptException.TCoreWebView2ScriptException.html uWVCoreWebView2Settings.html @@ -485,11 +487,11 @@ automated.gif pasdoc.css Compile time: 0 minutes, 8 seconds -7,939 Topics -61,009 Local links +7,957 Topics +61,143 Local links 5 Internet links 5 Graphics -Created c:\Users\usuario\Documents\Embarcadero\Studio\Projects\WebView4Delphi\docs\WebView4Delphi.chm, 1,921,778 bytes -Compression decreased file by 12,349,108 bytes. +Created c:\Users\usuario\Documents\Embarcadero\Studio\Projects\WebView4Delphi\docs\WebView4Delphi.chm, 1,924,924 bytes +Compression decreased file by 12,383,645 bytes. diff --git a/docs/html/index.html b/docs/html/index.html index f670cc5..37a8fcb 100644 --- a/docs/html/index.html +++ b/docs/html/index.html @@ -195,82 +195,86 @@

    All Units

     

    -uWVCoreWebView2ScriptException +uWVCoreWebView2RegionRectCollectionView

     

    -uWVCoreWebView2Settings +uWVCoreWebView2ScriptException

     

    -uWVCoreWebView2SharedBuffer +uWVCoreWebView2Settings

     

    -uWVCoreWebView2StringCollection +uWVCoreWebView2SharedBuffer

     

    -uWVCoreWebView2WebResourceRequest +uWVCoreWebView2StringCollection

     

    -uWVCoreWebView2WebResourceResponse +uWVCoreWebView2WebResourceRequest

     

    -uWVCoreWebView2WebResourceResponseView +uWVCoreWebView2WebResourceResponse

     

    -uWVCoreWebView2WindowFeatures +uWVCoreWebView2WebResourceResponseView

     

    -uWVEvents +uWVCoreWebView2WindowFeatures

     

    -uWVFMXBrowser +uWVEvents

     

    -uWVFMXWindowParent +uWVFMXBrowser

     

    -uWVInterfaces +uWVFMXWindowParent

     

    -uWVLibFunctions +uWVInterfaces

     

    -uWVLoader +uWVLibFunctions

     

    -uWVLoaderInternal +uWVLoader

     

    -uWVMiscFunctions +uWVLoaderInternal

     

    -uWVTypeLibrary +uWVMiscFunctions

     

    -uWVTypes +uWVTypeLibrary

     

    -uWVWinControl +uWVTypes

     

    +uWVWinControl +

     

    + + uWVWindowParent

     

    diff --git a/docs/html/uWVBrowser.TWVBrowser.html b/docs/html/uWVBrowser.TWVBrowser.html index 711749e..08e388f 100644 --- a/docs/html/uWVBrowser.TWVBrowser.html +++ b/docs/html/uWVBrowser.TWVBrowser.html @@ -910,7 +910,7 @@

    Properties

    This item has no description. Showing description inherited from TWVBrowserBase.OnWindowCloseRequested.

    - `OnWindowCloseRequested` triggers when content inside the WebView requested to close the window, such as after `window.close` is run. The app should close the WebView and related app window if that makes sense to the app. + `OnWindowCloseRequested` triggers when content inside the WebView requested to close the window, such as after `window.close` is run. The app should close the WebView and related app window if that makes sense to the app. After the first window.close() call, this event may not fire for any immediate back to back window.close() calls.

    <see href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2#add_windowcloserequested">See the ICoreWebView2 article.)

    @@ -1532,7 +1532,7 @@

    Properties

    This item has no description. Showing description inherited from TWVBrowserBase.OnBasicAuthenticationRequested.

    -

    Add an event handler for the BasicAuthenticationRequested event. BasicAuthenticationRequested event is raised when WebView encounters a Basic HTTP Authentication request as described in https://developer.mozilla.org/docs/Web/HTTP/Authentication, a Digest HTTP Authentication request as described in https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Authorization#digest, an NTLM authentication or a Proxy Authentication request. +

    Add an event handler for the BasicAuthenticationRequested event. BasicAuthenticationRequested event is raised when WebView encounters a Basic HTTP Authentication request as described in https://developer.mozilla.org/docs/Web/HTTP/Authentication, a Digest HTTP Authentication request as described in https://developer.mozilla.org/docs/Web/HTTP/Headers/Authorization#digest, an NTLM authentication or a Proxy Authentication request.

    The host can provide a response with credentials for the authentication or cancel the request. If the host sets the Cancel property to false but does not provide either UserName or Password properties on the Response property, then WebView2 will show the default authentication challenge dialog prompt to the user. diff --git a/docs/html/uWVBrowserBase.TWVBrowserBase.html b/docs/html/uWVBrowserBase.TWVBrowserBase.html index 8f9b172..fe5ece9 100644 --- a/docs/html/uWVBrowserBase.TWVBrowserBase.html +++ b/docs/html/uWVBrowserBase.TWVBrowserBase.html @@ -7203,7 +7203,7 @@

    Parameters

    -

    Adds the [browser extension](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions) using the extension path for unpacked extensions from the local device. Extension is running right after installation. +

    Adds the [browser extension](https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions) using the extension path for unpacked extensions from the local device. Extension is running right after installation.

    The extension folder path is the topmost folder of an unpacked browser extension and contains the browser extension manifest file. @@ -8962,25 +8962,29 @@

    Properties

    -

    Sets the `ReleaseChannels`, which is a mask of one or more indicating which channels environment creation should search for. +

    Sets the `ReleaseChannels`, which is a mask of one or more `COREWEBVIEW2_RELEASE_CHANNELS` indicating which channels environment creation should search for. OR operation(s) can be applied to multiple `COREWEBVIEW2_RELEASE_CHANNELS` to create a mask. The default value is a a mask of all the channels. By default, environment creation searches for channels from most to least stable, using the first channel found on the device. When `ReleaseChannels` is provided, environment creation will only search for the channels specified in the set. Set `ChannelSearchKind` to `COREWEBVIEW2_CHANNEL_SEARCH_KIND_LEAST_STABLE` to reverse the search order so environment creation searches for least stable build first. See `COREWEBVIEW2_RELEASE_CHANNELS` for descriptions of each channel. -

    OR operation(s) can be applied to multiple to create a mask. The default value is a mask of all the channels. By default, environment creation searches for channels from most to least stable, using the first channel found on the device. When is provided, environment creation will only search for the channels specified in the set. Set to to reverse the search order so that the loader searches for the least stable build first. See for descriptions of each channel. Environment creation fails if it is unable to find any channel from the installed on the device. +

    `CreateCoreWebView2EnvironmentWithOptions` fails with `HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND)` if environment creation is unable to find any channel from the `ReleaseChannels` installed on the device. Use `GetAvailableCoreWebView2BrowserVersionStringWithOptions` on `ICoreWebView2Environment` to verify which channel is used when this option is set. -

    Use to verify which channel is used. If both a and are provided, the takes precedence. The can be overridden by the corresponding registry override or the environment variable . Set the value to a comma-separated string of integers, which map to the values: Stable (0), Beta (1), Dev (2), and Canary (3). - -

    For example, the values "0,2" and "2,0" indicate that the loader should only search for Dev channel and the WebView2 Runtime, using the order indicated by . Environment creation attempts to interpret each integer and treats any invalid entry as Stable channel. - -

    +

    Examples:

     |   ReleaseChannels   |   Channel Search Kind: Most Stable (default)   |   Channel Search Kind: Least Stable   |
     | --- | --- | --- |
    -|CoreWebView2ReleaseChannels.Beta \| CoreWebView2ReleaseChannels.Stable| WebView2 Runtime -> Beta | Beta -> WebView2 Runtime|
    -|CoreWebView2ReleaseChannels.Canary \| CoreWebView2ReleaseChannels.Dev \| CoreWebView2ReleaseChannels.Beta \| CoreWebView2ReleaseChannels.Stable | WebView2 Runtime -> Beta -> Dev -> Canary | Canary -> Dev -> Beta -> WebView2 Runtime |
    -|CoreWebView2ReleaseChannels.Canary| Canary | Canary |
    -|CoreWebView2ReleaseChannels.Beta \| CoreWebView2ReleaseChannels.Canary \| CoreWebView2ReleaseChannels.Stable | WebView2 Runtime -> Beta -> Canary | Canary -> Beta -> WebView2 Runtime |
    +|COREWEBVIEW2_RELEASE_CHANNELS_BETA \| COREWEBVIEW2_RELEASE_CHANNELS_STABLE| WebView2 Runtime -&gt; Beta | Beta -&gt; WebView2 Runtime| +|COREWEBVIEW2_RELEASE_CHANNELS_CANARY \| COREWEBVIEW2_RELEASE_CHANNELS_DEV \| COREWEBVIEW2_RELEASE_CHANNELS_BETA \| COREWEBVIEW2_RELEASE_CHANNELS_STABLE| WebView2 Runtime -&gt; Beta -&gt; Dev -&gt; Canary | Canary -&gt; Dev -&gt; Beta -&gt; WebView2 Runtime | +|COREWEBVIEW2_RELEASE_CHANNELS_CANARY| Canary | Canary | +|COREWEBVIEW2_RELEASE_CHANNELS_BETA \| COREWEBVIEW2_RELEASE_CHANNELS_CANARY \| COREWEBVIEW2_RELEASE_CHANNELS_STABLE | WebView2 Runtime -&gt; Beta -&gt; Canary | Canary -&gt; Beta -&gt; WebView2 Runtime | -

    +

    + +

    If both `BrowserExecutableFolder` and `ReleaseChannels` are provided, the `BrowserExecutableFolder` takes precedence, regardless of whether or not the channel of `BrowserExecutableFolder` is included in the `ReleaseChannels`. + +

    `ReleaseChannels` can be overridden by the corresponding registry override `ReleaseChannels` or the environment variable `WEBVIEW2_RELEASE_CHANNELS`. + +

    Set the value to a comma-separated string of integers, which map to the following release channel values: Stable (0), Beta (1), Dev (2), and Canary (3). For example, the values "0,2" and "2,0" indicate that environment creation should only search for Dev channel and the WebView2 Runtime, using the order indicated by `ChannelSearchKind`. Environment creation attempts to interpret each integer and treats any invalid entry as Stable channel. See `CreateCoreWebView2EnvironmentWithOptions` for more details on overrides. + +

    @@ -9002,7 +9006,7 @@

    Properties

    The default value is `COREWEBVIEW2_SCROLLBAR_STYLE_DEFAULT` which specifies the default browser ScrollBar style. -

    The `color-scheme` CSS property needs to be set on the corresponding page to allow ScrollBar to follow light or dark theme. Please see [color-scheme](https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme#declaring_color_scheme_preferences) for how `color-scheme` can be set. +

    The `color-scheme` CSS property needs to be set on the corresponding page to allow ScrollBar to follow light or dark theme. Please see [color-scheme](https://developer.mozilla.org/docs/Web/CSS/color-scheme#declaring_color_scheme_preferences) for how `color-scheme` can be set.

    CSS styles that modify the ScrollBar applied on top of native ScrollBar styling that is selected with `ScrollBarStyle`. @@ -9574,6 +9578,8 @@

    Properties

    This property may be overridden if the User-Agent header is set in a request. If the parameter is empty the User Agent will not be updated and the current User Agent will remain. Setting this property may clear User Agent Client Hints headers Sec-CH-UA-* and script values from navigator.userAgentData. Current implementation behavior is subject to change. +

    The User Agent set will also be effective on service workers and shared workers associated with the WebView. If there are multiple WebViews associated with the same service worker or shared worker, the last User Agent set will be used. +

    @@ -10306,7 +10312,7 @@

    Properties

    - `OnWindowCloseRequested` triggers when content inside the WebView requested to close the window, such as after `window.close` is run. The app should close the WebView and related app window if that makes sense to the app.

    + `OnWindowCloseRequested` triggers when content inside the WebView requested to close the window, such as after `window.close` is run. The app should close the WebView and related app window if that makes sense to the app. After the first window.close() call, this event may not fire for any immediate back to back window.close() calls.

    @@ -10442,7 +10448,7 @@

    Properties

    -

    Add an event handler for the BasicAuthenticationRequested event. BasicAuthenticationRequested event is raised when WebView encounters a Basic HTTP Authentication request as described in https://developer.mozilla.org/docs/Web/HTTP/Authentication, a Digest HTTP Authentication request as described in https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Authorization#digest, an NTLM authentication or a Proxy Authentication request. +

    Add an event handler for the BasicAuthenticationRequested event. BasicAuthenticationRequested event is raised when WebView encounters a Basic HTTP Authentication request as described in https://developer.mozilla.org/docs/Web/HTTP/Authentication, a Digest HTTP Authentication request as described in https://developer.mozilla.org/docs/Web/HTTP/Headers/Authorization#digest, an NTLM authentication or a Proxy Authentication request.

    The host can provide a response with credentials for the authentication or cancel the request. If the host sets the Cancel property to false but does not provide either UserName or Password properties on the Response property, then WebView2 will show the default authentication challenge dialog prompt to the user. diff --git a/docs/html/uWVConstants.html b/docs/html/uWVConstants.html index c31ddf9..f72da6f 100644 --- a/docs/html/uWVConstants.html +++ b/docs/html/uWVConstants.html @@ -22,13 +22,13 @@

    Unit uWVConstants

    WEBVIEW2LOADERLIB_VERSION_MINOR = 0; -WEBVIEW2LOADERLIB_VERSION_RELEASE = 2535; +WEBVIEW2LOADERLIB_VERSION_RELEASE = 2592; -WEBVIEW2LOADERLIB_VERSION_BUILD = 41; +WEBVIEW2LOADERLIB_VERSION_BUILD = 51; -CHROMIUM_VERSION_MAJOR = 125; +CHROMIUM_VERSION_MAJOR = 126; CHROMIUM_VERSION_MINOR = 0; @@ -228,21 +228,21 @@

    Constants

    - +
    WEBVIEW2LOADERLIB_VERSION_RELEASE = 2535;WEBVIEW2LOADERLIB_VERSION_RELEASE = 2592;

    This item has no description.

    - +
    WEBVIEW2LOADERLIB_VERSION_BUILD = 41;WEBVIEW2LOADERLIB_VERSION_BUILD = 51;

    This item has no description.

    - +
    CHROMIUM_VERSION_MAJOR = 125;CHROMIUM_VERSION_MAJOR = 126;

    diff --git a/docs/html/uWVCoreWebView2.TCoreWebView2.html b/docs/html/uWVCoreWebView2.TCoreWebView2.html index b8bfff1..28e84f2 100644 --- a/docs/html/uWVCoreWebView2.TCoreWebView2.html +++ b/docs/html/uWVCoreWebView2.TCoreWebView2.html @@ -2118,7 +2118,8 @@

    Parameters
    `shouldSerializeDates` | By default this is false, and javascript Date objects will be sent to host objects as a string using `JSON.stringify`. You can set this property to true to have Date objects properly serialize as a `VT_DATE` when sending to the native host object, and have `VT_DATE` properties and return values create a javascript Date object. `defaultSyncProxy` | When calling a method on a synchronous proxy, the result should also be a synchronous proxy. But in some cases, the sync/async context is lost (for example, when providing to native code a reference to a function, and then calling that function in native code). In these cases, the proxy will be asynchronous, unless this property is set. `forceAsyncMethodMatches ` | This is an array of regular expressions. When calling a method on a synchronous proxy, the method call will be performed asynchronously if the method name matches a string or regular expression in this array. Setting this value to `Async` will make any method that ends with Async be an asynchronous method call. If an async method doesn't match here and isn't forced to be asynchronous, the method will be invoked synchronously, blocking execution of the calling JavaScript and then returning the resolution of the promise, rather than returning a promise. -`ignoreMemberNotFoundError` | By default, an exception is thrown when attempting to get the value of a proxy property that doesn't exist on the corresponding native class. Setting this property to `true` switches the behavior to match Chakra WinRT projection (and general JavaScript) behavior of returning `undefined` with no error. +`ignoreMemberNotFoundError` | By default, an exception is thrown when attempting to get the value of a proxy property that doesn't exist on the corresponding native class. Setting this property to `true` switches the behavior to match Chakra WinRT projection (and general JavaScript) behavior of returning `undefined` with no error. +`shouldPassTypedArraysAsArrays` | By default, typed arrays will be passed to host as IDispatch. Otherwise, set to true to pass typed arrays to host as array.

    Host object proxies additionally have the following methods which run locally.

    diff --git a/docs/html/uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html b/docs/html/uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html index 1e8cb8a..89ced5c 100644 --- a/docs/html/uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html +++ b/docs/html/uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html @@ -233,7 +233,7 @@

    Properties

    The origin initiating the external URI scheme launch. -

    The origin will be an empty string if the request is initiated by calling `CoreWebView2.Navigate` on the external URI scheme. If a script initiates the navigation, the `InitiatingOrigin` will be the top-level document's `Source`, for example, if `window.location` is set to `"calculator://", the `InitiatingOrigin` will be set to `calculator://`. If the request is initiated from a child frame, the `InitiatingOrigin` will be the source of that child frame. +

    The origin will be an empty string if the request is initiated by calling `CoreWebView2.Navigate` on the external URI scheme. If a script initiates the navigation, the `InitiatingOrigin` will be the top-level document's `Source`, for example, if `window.location` is set to `"calculator://"`, the `InitiatingOrigin` will be set to `calculator://`. If the request is initiated from a child frame, the `InitiatingOrigin` will be the source of that child frame.

    If the `InitiatingOrigin` is [opaque](https://html.spec.whatwg.org/multipage/origin.html#concept-origin-opaque), the `InitiatingOrigin` reported in the event args will be its precursor origin. The precursor origin is the origin that created the opaque origin. For example, if a frame on example.com opens a subframe with a different opaque origin, the subframe's precursor origin is example.com. diff --git a/docs/html/uWVCoreWebView2BrowserExtension.TCoreWebView2BrowserExtension.html b/docs/html/uWVCoreWebView2BrowserExtension.TCoreWebView2BrowserExtension.html index a863a73..2e644bd 100644 --- a/docs/html/uWVCoreWebView2BrowserExtension.TCoreWebView2BrowserExtension.html +++ b/docs/html/uWVCoreWebView2BrowserExtension.TCoreWebView2BrowserExtension.html @@ -207,7 +207,7 @@

    Properties

    - This is the browser extension's ID. This is the same browser extension ID returned by the browser extension API [`chrome.runtime.id`](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/id). Please see that documentation for more details on how the ID is generated. After an extension is removed, calling `Id` will return the id of the extension that is removed.

    + This is the browser extension's ID. This is the same browser extension ID returned by the browser extension API [`chrome.runtime.id`](https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/id). Please see that documentation for more details on how the ID is generated. After an extension is removed, calling `Id` will return the id of the extension that is removed.

    @@ -217,7 +217,7 @@

    Properties

    - This is the browser extension's name. This value is defined in this browser extension's manifest.json file. If manifest.json define extension's localized name, this value will be the localized version of the name. Please see [Manifest.json name](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/name) for more details. After an extension is removed, calling `Name` will return the name of the extension that is removed.

    + This is the browser extension's name. This value is defined in this browser extension's manifest.json file. If manifest.json define extension's localized name, this value will be the localized version of the name. Please see [Manifest.json name](https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/manifest.json/name) for more details. After an extension is removed, calling `Name` will return the name of the extension that is removed.

    diff --git a/docs/html/uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html b/docs/html/uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html index 35c14db..08aff78 100644 --- a/docs/html/uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html +++ b/docs/html/uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html @@ -519,25 +519,29 @@

    Methods

    This item has no description. Showing description inherited from ICoreWebView2EnvironmentOptions7.Set_ReleaseChannels.

    -

    Sets the `ReleaseChannels`, which is a mask of one or more indicating which channels environment creation should search for. +

    Sets the `ReleaseChannels`, which is a mask of one or more `COREWEBVIEW2_RELEASE_CHANNELS` indicating which channels environment creation should search for. OR operation(s) can be applied to multiple `COREWEBVIEW2_RELEASE_CHANNELS` to create a mask. The default value is a a mask of all the channels. By default, environment creation searches for channels from most to least stable, using the first channel found on the device. When `ReleaseChannels` is provided, environment creation will only search for the channels specified in the set. Set `ChannelSearchKind` to `COREWEBVIEW2_CHANNEL_SEARCH_KIND_LEAST_STABLE` to reverse the search order so environment creation searches for least stable build first. See `COREWEBVIEW2_RELEASE_CHANNELS` for descriptions of each channel. -

    OR operation(s) can be applied to multiple to create a mask. The default value is a mask of all the channels. By default, environment creation searches for channels from most to least stable, using the first channel found on the device. When is provided, environment creation will only search for the channels specified in the set. Set to to reverse the search order so that the loader searches for the least stable build first. See for descriptions of each channel. Environment creation fails if it is unable to find any channel from the installed on the device. +

    `CreateCoreWebView2EnvironmentWithOptions` fails with `HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND)` if environment creation is unable to find any channel from the `ReleaseChannels` installed on the device. Use `GetAvailableCoreWebView2BrowserVersionStringWithOptions` on `ICoreWebView2Environment` to verify which channel is used when this option is set. -

    Use to verify which channel is used. If both a and are provided, the takes precedence. The can be overridden by the corresponding registry override or the environment variable . Set the value to a comma-separated string of integers, which map to the values: Stable (0), Beta (1), Dev (2), and Canary (3). - -

    For example, the values "0,2" and "2,0" indicate that the loader should only search for Dev channel and the WebView2 Runtime, using the order indicated by . Environment creation attempts to interpret each integer and treats any invalid entry as Stable channel. - -

    +

    Examples:

     |   ReleaseChannels   |   Channel Search Kind: Most Stable (default)   |   Channel Search Kind: Least Stable   |
     | --- | --- | --- |
    -|CoreWebView2ReleaseChannels.Beta \| CoreWebView2ReleaseChannels.Stable| WebView2 Runtime -> Beta | Beta -> WebView2 Runtime|
    -|CoreWebView2ReleaseChannels.Canary \| CoreWebView2ReleaseChannels.Dev \| CoreWebView2ReleaseChannels.Beta \| CoreWebView2ReleaseChannels.Stable | WebView2 Runtime -> Beta -> Dev -> Canary | Canary -> Dev -> Beta -> WebView2 Runtime |
    -|CoreWebView2ReleaseChannels.Canary| Canary | Canary |
    -|CoreWebView2ReleaseChannels.Beta \| CoreWebView2ReleaseChannels.Canary \| CoreWebView2ReleaseChannels.Stable | WebView2 Runtime -> Beta -> Canary | Canary -> Beta -> WebView2 Runtime |
    +|COREWEBVIEW2_RELEASE_CHANNELS_BETA \| COREWEBVIEW2_RELEASE_CHANNELS_STABLE| WebView2 Runtime -&gt; Beta | Beta -&gt; WebView2 Runtime| +|COREWEBVIEW2_RELEASE_CHANNELS_CANARY \| COREWEBVIEW2_RELEASE_CHANNELS_DEV \| COREWEBVIEW2_RELEASE_CHANNELS_BETA \| COREWEBVIEW2_RELEASE_CHANNELS_STABLE| WebView2 Runtime -&gt; Beta -&gt; Dev -&gt; Canary | Canary -&gt; Dev -&gt; Beta -&gt; WebView2 Runtime | +|COREWEBVIEW2_RELEASE_CHANNELS_CANARY| Canary | Canary | +|COREWEBVIEW2_RELEASE_CHANNELS_BETA \| COREWEBVIEW2_RELEASE_CHANNELS_CANARY \| COREWEBVIEW2_RELEASE_CHANNELS_STABLE | WebView2 Runtime -&gt; Beta -&gt; Canary | Canary -&gt; Beta -&gt; WebView2 Runtime | + +

    -

    +

    If both `BrowserExecutableFolder` and `ReleaseChannels` are provided, the `BrowserExecutableFolder` takes precedence, regardless of whether or not the channel of `BrowserExecutableFolder` is included in the `ReleaseChannels`. + +

    `ReleaseChannels` can be overridden by the corresponding registry override `ReleaseChannels` or the environment variable `WEBVIEW2_RELEASE_CHANNELS`. + +

    Set the value to a comma-separated string of integers, which map to the following release channel values: Stable (0), Beta (1), Dev (2), and Canary (3). For example, the values "0,2" and "2,0" indicate that environment creation should only search for Dev channel and the WebView2 Runtime, using the order indicated by `ChannelSearchKind`. Environment creation attempts to interpret each integer and treats any invalid entry as Stable channel. See `CreateCoreWebView2EnvironmentWithOptions` for more details on overrides. + +

    @@ -557,7 +561,7 @@

    Methods

    This item has no description. Showing description inherited from ICoreWebView2EnvironmentOptions8.Set_ScrollBarStyle.

    - The ScrollBar style being set on the WebView2 Environment. The default value is `COREWEBVIEW2_SCROLLBAR_STYLE_DEFAULT` which specifies the default browser ScrollBar style. The `color-scheme` CSS property needs to be set on the corresponding page to allow ScrollBar to follow light or dark theme. Please see [color-scheme](https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme#declaring_color_scheme_preferences) for how `color-scheme` can be set. CSS styles that modify the ScrollBar applied on top of native ScrollBar styling that is selected with `ScrollBarStyle`.

    + The ScrollBar style being set on the WebView2 Environment. The default value is `COREWEBVIEW2_SCROLLBAR_STYLE_DEFAULT` which specifies the default browser ScrollBar style. The `color-scheme` CSS property needs to be set on the corresponding page to allow ScrollBar to follow light or dark theme. Please see [color-scheme](https://developer.mozilla.org/docs/Web/CSS/color-scheme#declaring_color_scheme_preferences) for how `color-scheme` can be set. CSS styles that modify the ScrollBar applied on top of native ScrollBar styling that is selected with `ScrollBarStyle`.

    diff --git a/docs/html/uWVCoreWebView2File.TCoreWebView2File.html b/docs/html/uWVCoreWebView2File.TCoreWebView2File.html index 0815033..361e1cd 100644 --- a/docs/html/uWVCoreWebView2File.TCoreWebView2File.html +++ b/docs/html/uWVCoreWebView2File.TCoreWebView2File.html @@ -19,7 +19,7 @@

    Declaration

    type TCoreWebView2File = class(TObject)

    Description

    - Representation of a DOM [File](https://developer.mozilla.org/en-US/docs/Web/API/File) object passed via WebMessage. You can use this object to obtain the path of a File dropped on WebView2.

    + Representation of a DOM [File](https://developer.mozilla.org/docs/Web/API/File) object passed via WebMessage. You can use this object to obtain the path of a File dropped on WebView2.

    diff --git a/docs/html/uWVCoreWebView2File.html b/docs/html/uWVCoreWebView2File.html index 4e0bec2..dddc20e 100644 --- a/docs/html/uWVCoreWebView2File.html +++ b/docs/html/uWVCoreWebView2File.html @@ -21,7 +21,7 @@

    Unit uWVCoreWebView2File

    - +
    Class TCoreWebView2File Representation of a DOM [File](https://developer.mozilla.org/en-US/docs/Web/API/File) object passed via WebMessage. You can use this object to obtain the path of a File dropped on WebView2. Representation of a DOM [File](https://developer.mozilla.org/docs/Web/API/File) object passed via WebMessage. You can use this object to obtain the path of a File dropped on WebView2.

    Generated by PasDoc 0.16.0-snapshot. diff --git a/docs/html/uWVCoreWebView2Profile.TCoreWebView2Profile.html b/docs/html/uWVCoreWebView2Profile.TCoreWebView2Profile.html index 3b23803..d044ea8 100644 --- a/docs/html/uWVCoreWebView2Profile.TCoreWebView2Profile.html +++ b/docs/html/uWVCoreWebView2Profile.TCoreWebView2Profile.html @@ -586,7 +586,7 @@
    Parameters

    Sets permission state for the given permission kind and origin asynchronously. The change persists across sessions until it is changed by another call to `SetPermissionState`, or by setting the `State` property in `PermissionRequestedEventArgs`. Setting the state to `COREWEBVIEW2_PERMISSION_STATE_DEFAULT` will erase any state saved in the profile and restore the default behavior. -

    The origin should have a valid scheme and host (e.g. "https://www.example.com"), otherwise the method fails with `E_INVALIDARG`. Additional URI parts like path and fragment are ignored. For example, "https://wwww.example.com/app1/index.html/" is treated the same as "https://wwww.example.com". See the [MDN origin definition](https://developer.mozilla.org/en-US/docs/Glossary/Origin) for more details. +

    The origin should have a valid scheme and host (e.g. "https://www.example.com"), otherwise the method fails with `E_INVALIDARG`. Additional URI parts like path and fragment are ignored. For example, "https://wwww.example.com/app1/index.html/" is treated the same as "https://wwww.example.com". See the [MDN origin definition](https://developer.mozilla.org/docs/Glossary/Origin) for more details.

    @@ -618,7 +618,7 @@

    Parameters

    -

    Adds the [browser extension](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions) using the extension path for unpacked extensions from the local device. Extension is running right after installation. +

    Adds the [browser extension](https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions) using the extension path for unpacked extensions from the local device. Extension is running right after installation.

    The extension folder path is the topmost folder of an unpacked browser extension and contains the browser extension manifest file. diff --git a/docs/html/uWVCoreWebView2RegionRectCollectionView.TCoreWebView2RegionRectCollectionView.html b/docs/html/uWVCoreWebView2RegionRectCollectionView.TCoreWebView2RegionRectCollectionView.html new file mode 100644 index 0000000..fa39acc --- /dev/null +++ b/docs/html/uWVCoreWebView2RegionRectCollectionView.TCoreWebView2RegionRectCollectionView.html @@ -0,0 +1,181 @@ + + + +WebView4Delphi: uWVCoreWebView2RegionRectCollectionView: Class TCoreWebView2RegionRectCollectionView + + + + + + +

    Class TCoreWebView2RegionRectCollectionView

    + +

    Unit

    + +

    Declaration

    +

    +type TCoreWebView2RegionRectCollectionView = class(TObject)

    +

    Description

    +

    + This class represents a collection of region Rects.

    +

    + + +

    <see href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2regionrectcollectionview">See the ICoreWebView2RegionRectCollectionView article.)

    +

    Hierarchy

    +

    Overview

    +

    Fields

    + + + + + +
    ProtectedFBaseIntf: ICoreWebView2RegionRectCollectionView;
    +

    Methods

    + + + + + + + + + + + + + + + + + + + + + +
    Protectedfunction GetInitialized: boolean;
    Protectedfunction GetCount: cardinal;
    Protectedfunction GetValueAtIndex(index : cardinal) : TRect;
    Publicconstructor Create(const aBaseIntf : ICoreWebView2RegionRectCollectionView); reintroduce;
    Publicdestructor Destroy; override;
    +

    Properties

    + + + + + + + + + + + + + + + + + +
    Publicproperty Initialized : boolean read GetInitialized;
    Publicproperty BaseIntf : ICoreWebView2RegionRectCollectionView read FBaseIntf;
    Publicproperty Count : cardinal read GetCount;
    Publicproperty Items[idx: cardinal]: TRect read GetValueAtIndex;
    +

    Description

    +

    Fields

    + + + + + + +
    ProtectedFBaseIntf: ICoreWebView2RegionRectCollectionView;
    +

    This item has no description.

    +

    Methods

    + + + + + + +
    Protectedfunction GetInitialized: boolean;
    +

    This item has no description.

    + + + + + + +
    Protectedfunction GetCount: cardinal;
    +

    This item has no description.

    + + + + + + +
    Protectedfunction GetValueAtIndex(index : cardinal) : TRect;
    +

    This item has no description.

    + + + + + + +
    Publicconstructor Create(const aBaseIntf : ICoreWebView2RegionRectCollectionView); reintroduce;
    +

    This item has no description.

    + + + + + + +
    Publicdestructor Destroy; override;
    +

    This item has no description.

    +

    Properties

    + + + + + + +
    Publicproperty Initialized : boolean read GetInitialized;
    +

    + Returns true when the interface implemented by this class is fully initialized.

    +
    + + + + + + +
    Publicproperty BaseIntf : ICoreWebView2RegionRectCollectionView read FBaseIntf;
    +

    + Returns the interface implemented by this class.

    +
    + + + + + + +
    Publicproperty Count : cardinal read GetCount;
    +

    + The number of Rects contained in the collection.

    +

    + + +

    <see href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2regionrectcollectionview#get_count">See the ICoreWebView2RegionRectCollectionView article.)

    +
    + + + + + + +
    Publicproperty Items[idx: cardinal]: TRect read GetValueAtIndex;
    +

    + Gets the Rect at the specified index.

    +

    + + +

    <see href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2regionrectcollectionview#getvalueatindex">See the ICoreWebView2RegionRectCollectionView article.)

    +
    +
    Generated by PasDoc 0.16.0-snapshot. + + diff --git a/docs/html/uWVCoreWebView2RegionRectCollectionView.html b/docs/html/uWVCoreWebView2RegionRectCollectionView.html new file mode 100644 index 0000000..94fc2a3 --- /dev/null +++ b/docs/html/uWVCoreWebView2RegionRectCollectionView.html @@ -0,0 +1,29 @@ + + + +WebView4Delphi: uWVCoreWebView2RegionRectCollectionView + + + + + + +

    Unit uWVCoreWebView2RegionRectCollectionView

    +
    +
    Uses
    Functions and Procedures
    Types
    Constants
    Variables
    +

    Description

    +

    This item has no description.

    Overview

    +

    Classes, Interfaces, Objects and Records

    + + + + + + + + + +
    NameDescription
    Class TCoreWebView2RegionRectCollectionView This class represents a collection of region Rects.
    +
    Generated by PasDoc 0.16.0-snapshot. + + diff --git a/docs/html/uWVCoreWebView2Settings.TCoreWebView2Settings.html b/docs/html/uWVCoreWebView2Settings.TCoreWebView2Settings.html index d9b1570..429069f 100644 --- a/docs/html/uWVCoreWebView2Settings.TCoreWebView2Settings.html +++ b/docs/html/uWVCoreWebView2Settings.TCoreWebView2Settings.html @@ -867,6 +867,8 @@

    Properties

    This property may be overridden if the User-Agent header is set in a request. If the parameter is empty the User Agent will not be updated and the current User Agent will remain. Setting this property may clear User Agent Client Hints headers Sec-CH-UA-* and script values from navigator.userAgentData. Current implementation behavior is subject to change. +

    The User Agent set will also be effective on service workers and shared workers associated with the WebView. If there are multiple WebViews associated with the same service worker or shared worker, the last User Agent set will be used. +

    diff --git a/docs/html/uWVCoreWebView2WebResourceResponse.TCoreWebView2WebResourceResponse.html b/docs/html/uWVCoreWebView2WebResourceResponse.TCoreWebView2WebResourceResponse.html index 1d03c49..a1c9bf5 100644 --- a/docs/html/uWVCoreWebView2WebResourceResponse.TCoreWebView2WebResourceResponse.html +++ b/docs/html/uWVCoreWebView2WebResourceResponse.TCoreWebView2WebResourceResponse.html @@ -255,7 +255,7 @@

    Properties

    HTTP response content as stream. Stream must have all the content data available by the time the `WebResourceRequested` event deferral of this response is completed. Stream should be agile or be created from a background thread to prevent performance impact to the UI thread. `Null` means no content data. `IStream` semantics apply (return `S_OK` to `Read` runs until all data is exhausted). -

    When providing the response data, you should consider relevant HTTP request headers just like an HTTP server would do. For example, if the request was for a video resource in a HTML video element, the request may contain the [Range](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Range) header to request only a part of the video that is streaming. In this case, your response stream should be only the portion of the video specified by the range HTTP request headers and you should set the appropriate [Content-Range](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Range) header in the response. +

    When providing the response data, you should consider relevant HTTP request headers just like an HTTP server would do. For example, if the request was for a video resource in a HTML video element, the request may contain the [Range](https://developer.mozilla.org/docs/Web/HTTP/Headers/Range) header to request only a part of the video that is streaming. In this case, your response stream should be only the portion of the video specified by the range HTTP request headers and you should set the appropriate [Content-Range](https://developer.mozilla.org/docs/Web/HTTP/Headers/Content-Range) header in the response.

    diff --git a/docs/html/uWVFMXBrowser.TWVFMXBrowser.html b/docs/html/uWVFMXBrowser.TWVFMXBrowser.html index 762aaa0..22474a4 100644 --- a/docs/html/uWVFMXBrowser.TWVFMXBrowser.html +++ b/docs/html/uWVFMXBrowser.TWVFMXBrowser.html @@ -934,7 +934,7 @@

    Properties

    This item has no description. Showing description inherited from TWVBrowserBase.OnWindowCloseRequested.

    - `OnWindowCloseRequested` triggers when content inside the WebView requested to close the window, such as after `window.close` is run. The app should close the WebView and related app window if that makes sense to the app. + `OnWindowCloseRequested` triggers when content inside the WebView requested to close the window, such as after `window.close` is run. The app should close the WebView and related app window if that makes sense to the app. After the first window.close() call, this event may not fire for any immediate back to back window.close() calls.

    <see href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2#add_windowcloserequested">See the ICoreWebView2 article.)

    @@ -1556,7 +1556,7 @@

    Properties

    This item has no description. Showing description inherited from TWVBrowserBase.OnBasicAuthenticationRequested.

    -

    Add an event handler for the BasicAuthenticationRequested event. BasicAuthenticationRequested event is raised when WebView encounters a Basic HTTP Authentication request as described in https://developer.mozilla.org/docs/Web/HTTP/Authentication, a Digest HTTP Authentication request as described in https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Authorization#digest, an NTLM authentication or a Proxy Authentication request. +

    Add an event handler for the BasicAuthenticationRequested event. BasicAuthenticationRequested event is raised when WebView encounters a Basic HTTP Authentication request as described in https://developer.mozilla.org/docs/Web/HTTP/Authentication, a Digest HTTP Authentication request as described in https://developer.mozilla.org/docs/Web/HTTP/Headers/Authorization#digest, an NTLM authentication or a Proxy Authentication request.

    The host can provide a response with credentials for the authentication or cancel the request. If the host sets the Cancel property to false but does not provide either UserName or Password properties on the Response property, then WebView2 will show the default authentication challenge dialog prompt to the user. diff --git a/docs/html/uWVLoader.TWVLoader.html b/docs/html/uWVLoader.TWVLoader.html index be6767c..72b8584 100644 --- a/docs/html/uWVLoader.TWVLoader.html +++ b/docs/html/uWVLoader.TWVLoader.html @@ -2141,25 +2141,29 @@

    Properties

    -

    Sets the `ReleaseChannels`, which is a mask of one or more indicating which channels environment creation should search for. +

    Sets the `ReleaseChannels`, which is a mask of one or more `COREWEBVIEW2_RELEASE_CHANNELS` indicating which channels environment creation should search for. OR operation(s) can be applied to multiple `COREWEBVIEW2_RELEASE_CHANNELS` to create a mask. The default value is a a mask of all the channels. By default, environment creation searches for channels from most to least stable, using the first channel found on the device. When `ReleaseChannels` is provided, environment creation will only search for the channels specified in the set. Set `ChannelSearchKind` to `COREWEBVIEW2_CHANNEL_SEARCH_KIND_LEAST_STABLE` to reverse the search order so environment creation searches for least stable build first. See `COREWEBVIEW2_RELEASE_CHANNELS` for descriptions of each channel. -

    OR operation(s) can be applied to multiple to create a mask. The default value is a mask of all the channels. By default, environment creation searches for channels from most to least stable, using the first channel found on the device. When is provided, environment creation will only search for the channels specified in the set. Set to to reverse the search order so that the loader searches for the least stable build first. See for descriptions of each channel. Environment creation fails if it is unable to find any channel from the installed on the device. +

    `CreateCoreWebView2EnvironmentWithOptions` fails with `HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND)` if environment creation is unable to find any channel from the `ReleaseChannels` installed on the device. Use `GetAvailableCoreWebView2BrowserVersionStringWithOptions` on `ICoreWebView2Environment` to verify which channel is used when this option is set. -

    Use to verify which channel is used. If both a and are provided, the takes precedence. The can be overridden by the corresponding registry override or the environment variable . Set the value to a comma-separated string of integers, which map to the values: Stable (0), Beta (1), Dev (2), and Canary (3). - -

    For example, the values "0,2" and "2,0" indicate that the loader should only search for Dev channel and the WebView2 Runtime, using the order indicated by . Environment creation attempts to interpret each integer and treats any invalid entry as Stable channel. - -

    +

    Examples:

     |   ReleaseChannels   |   Channel Search Kind: Most Stable (default)   |   Channel Search Kind: Least Stable   |
     | --- | --- | --- |
    -|CoreWebView2ReleaseChannels.Beta \| CoreWebView2ReleaseChannels.Stable| WebView2 Runtime -> Beta | Beta -> WebView2 Runtime|
    -|CoreWebView2ReleaseChannels.Canary \| CoreWebView2ReleaseChannels.Dev \| CoreWebView2ReleaseChannels.Beta \| CoreWebView2ReleaseChannels.Stable | WebView2 Runtime -> Beta -> Dev -> Canary | Canary -> Dev -> Beta -> WebView2 Runtime |
    -|CoreWebView2ReleaseChannels.Canary| Canary | Canary |
    -|CoreWebView2ReleaseChannels.Beta \| CoreWebView2ReleaseChannels.Canary \| CoreWebView2ReleaseChannels.Stable | WebView2 Runtime -> Beta -> Canary | Canary -> Beta -> WebView2 Runtime |
    +|COREWEBVIEW2_RELEASE_CHANNELS_BETA \| COREWEBVIEW2_RELEASE_CHANNELS_STABLE| WebView2 Runtime -&gt; Beta | Beta -&gt; WebView2 Runtime| +|COREWEBVIEW2_RELEASE_CHANNELS_CANARY \| COREWEBVIEW2_RELEASE_CHANNELS_DEV \| COREWEBVIEW2_RELEASE_CHANNELS_BETA \| COREWEBVIEW2_RELEASE_CHANNELS_STABLE| WebView2 Runtime -&gt; Beta -&gt; Dev -&gt; Canary | Canary -&gt; Dev -&gt; Beta -&gt; WebView2 Runtime | +|COREWEBVIEW2_RELEASE_CHANNELS_CANARY| Canary | Canary | +|COREWEBVIEW2_RELEASE_CHANNELS_BETA \| COREWEBVIEW2_RELEASE_CHANNELS_CANARY \| COREWEBVIEW2_RELEASE_CHANNELS_STABLE | WebView2 Runtime -&gt; Beta -&gt; Canary | Canary -&gt; Beta -&gt; WebView2 Runtime | + +

    -

    +

    If both `BrowserExecutableFolder` and `ReleaseChannels` are provided, the `BrowserExecutableFolder` takes precedence, regardless of whether or not the channel of `BrowserExecutableFolder` is included in the `ReleaseChannels`. + +

    `ReleaseChannels` can be overridden by the corresponding registry override `ReleaseChannels` or the environment variable `WEBVIEW2_RELEASE_CHANNELS`. + +

    Set the value to a comma-separated string of integers, which map to the following release channel values: Stable (0), Beta (1), Dev (2), and Canary (3). For example, the values "0,2" and "2,0" indicate that environment creation should only search for Dev channel and the WebView2 Runtime, using the order indicated by `ChannelSearchKind`. Environment creation attempts to interpret each integer and treats any invalid entry as Stable channel. See `CreateCoreWebView2EnvironmentWithOptions` for more details on overrides. + +

    @@ -2181,7 +2185,7 @@

    Properties

    The default value is `COREWEBVIEW2_SCROLLBAR_STYLE_DEFAULT` which specifies the default browser ScrollBar style. -

    The `color-scheme` CSS property needs to be set on the corresponding page to allow ScrollBar to follow light or dark theme. Please see [color-scheme](https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme#declaring_color_scheme_preferences) for how `color-scheme` can be set. +

    The `color-scheme` CSS property needs to be set on the corresponding page to allow ScrollBar to follow light or dark theme. Please see [color-scheme](https://developer.mozilla.org/docs/Web/CSS/color-scheme#declaring_color_scheme_preferences) for how `color-scheme` can be set.

    CSS styles that modify the ScrollBar applied on top of native ScrollBar styling that is selected with `ScrollBarStyle`. diff --git a/docs/html/uWVTypeLibrary.ICoreWebView2.html b/docs/html/uWVTypeLibrary.ICoreWebView2.html index e7dcbe9..3f896f4 100644 --- a/docs/html/uWVTypeLibrary.ICoreWebView2.html +++ b/docs/html/uWVTypeLibrary.ICoreWebView2.html @@ -840,7 +840,7 @@

    Attributes

    The `chrome.webview.hostObjects.options` object provides the ability to change some functionality of host objects. -

    Options property | Details —|— `forceLocalProperties` | This is an array of host object property names that will be run locally, instead of being called on the native host object. This defaults to `then`, `toJSON`, `Symbol.toString`, and `Symbol.toPrimitive`. You can add other properties to specify that they should be run locally on the javascript host object proxy. `log` | This is a callback that will be called with debug information. For example, you can set this to `console.log.bind(console)` to have it print debug information to the console to help when troubleshooting host object usage. By default this is null. `shouldSerializeDates` | By default this is false, and javascript Date objects will be sent to host objects as a string using `JSON.stringify`. You can set this property to true to have Date objects properly serialize as a `VT_DATE` when sending to the native host object, and have `VT_DATE` properties and return values create a javascript Date object. `defaultSyncProxy` | When calling a method on a synchronous proxy, the result should also be a synchronous proxy. But in some cases, the sync/async context is lost (for example, when providing to native code a reference to a function, and then calling that function in native code). In these cases, the proxy will be asynchronous, unless this property is set. `forceAsyncMethodMatches ` | This is an array of regular expressions. When calling a method on a synchronous proxy, the method call will be performed asynchronously if the method name matches a string or regular expression in this array. Setting this value to `Async` will make any method that ends with Async be an asynchronous method call. If an async method doesn't match here and isn't forced to be asynchronous, the method will be invoked synchronously, blocking execution of the calling JavaScript and then returning the resolution of the promise, rather than returning a promise. `ignoreMemberNotFoundError` | By default, an exception is thrown when attempting to get the value of a proxy property that doesn't exist on the corresponding native class. Setting this property to `true` switches the behavior to match Chakra WinRT projection (and general JavaScript) behavior of returning `undefined` with no error. +

    Options property | Details —|— `forceLocalProperties` | This is an array of host object property names that will be run locally, instead of being called on the native host object. This defaults to `then`, `toJSON`, `Symbol.toString`, and `Symbol.toPrimitive`. You can add other properties to specify that they should be run locally on the javascript host object proxy. `log` | This is a callback that will be called with debug information. For example, you can set this to `console.log.bind(console)` to have it print debug information to the console to help when troubleshooting host object usage. By default this is null. `shouldSerializeDates` | By default this is false, and javascript Date objects will be sent to host objects as a string using `JSON.stringify`. You can set this property to true to have Date objects properly serialize as a `VT_DATE` when sending to the native host object, and have `VT_DATE` properties and return values create a javascript Date object. `defaultSyncProxy` | When calling a method on a synchronous proxy, the result should also be a synchronous proxy. But in some cases, the sync/async context is lost (for example, when providing to native code a reference to a function, and then calling that function in native code). In these cases, the proxy will be asynchronous, unless this property is set. `forceAsyncMethodMatches ` | This is an array of regular expressions. When calling a method on a synchronous proxy, the method call will be performed asynchronously if the method name matches a string or regular expression in this array. Setting this value to `Async` will make any method that ends with Async be an asynchronous method call. If an async method doesn't match here and isn't forced to be asynchronous, the method will be invoked synchronously, blocking execution of the calling JavaScript and then returning the resolution of the promise, rather than returning a promise. `ignoreMemberNotFoundError` | By default, an exception is thrown when attempting to get the value of a proxy property that doesn't exist on the corresponding native class. Setting this property to `true` switches the behavior to match Chakra WinRT projection (and general JavaScript) behavior of returning `undefined` with no error. `shouldPassTypedArraysAsArrays` | By default, typed arrays will be passed to host as IDispatch. Otherwise, set to true to pass typed arrays to host as array.

    Host object proxies additionally have the following methods which run locally. @@ -982,7 +982,7 @@

    Attributes

    - Add an event handler for the `WindowCloseRequested` event. `WindowCloseRequested` triggers when content inside the WebView requested to close the window, such as after `window.close` is run. The app should close the WebView and related app window if that makes sense to the app. + Add an event handler for the `WindowCloseRequested` event. `WindowCloseRequested` triggers when content inside the WebView requested to close the window, such as after `window.close` is run. The app should close the WebView and related app window if that makes sense to the app. After the first window.close() call, this event may not fire for any immediate back to back window.close() calls.

    \snippet AppWindow.cpp WindowCloseRequested

    diff --git a/docs/html/uWVTypeLibrary.ICoreWebView2BrowserExtension.html b/docs/html/uWVTypeLibrary.ICoreWebView2BrowserExtension.html index d88cfc6..ece4537 100644 --- a/docs/html/uWVTypeLibrary.ICoreWebView2BrowserExtension.html +++ b/docs/html/uWVTypeLibrary.ICoreWebView2BrowserExtension.html @@ -59,7 +59,7 @@

    Methods

    - This is the browser extension's ID. This is the same browser extension ID returned by the browser extension API [`chrome.runtime.id`](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/id). Please see that documentation for more details on how the ID is generated. After an extension is removed, calling `Id` will return the id of the extension that is removed. The caller must free the returned string with `CoTaskMemFree`. See [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings).

    + This is the browser extension's ID. This is the same browser extension ID returned by the browser extension API [`chrome.runtime.id`](https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/id). Please see that documentation for more details on how the ID is generated. After an extension is removed, calling `Id` will return the id of the extension that is removed. The caller must free the returned string with `CoTaskMemFree`. See [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings).

    Attributes
    GUID['{7EF7FFA0-FAC5-462C-B189-3D9EDBE575DA}']
    @@ -74,7 +74,7 @@
    Attributes

    - This is the browser extension's name. This value is defined in this browser extension's manifest.json file. If manifest.json define extension's localized name, this value will be the localized version of the name. Please see [Manifest.json name](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/name) for more details. After an extension is removed, calling `Name` will return the name of the extension that is removed. The caller must free the returned string with `CoTaskMemFree`. See [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings).

    + This is the browser extension's name. This value is defined in this browser extension's manifest.json file. If manifest.json define extension's localized name, this value will be the localized version of the name. Please see [Manifest.json name](https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/manifest.json/name) for more details. After an extension is removed, calling `Name` will return the name of the extension that is removed. The caller must free the returned string with `CoTaskMemFree`. See [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings).

    diff --git a/docs/html/uWVTypeLibrary.ICoreWebView2EnvironmentOptions7.html b/docs/html/uWVTypeLibrary.ICoreWebView2EnvironmentOptions7.html index ec60ba4..5a25977 100644 --- a/docs/html/uWVTypeLibrary.ICoreWebView2EnvironmentOptions7.html +++ b/docs/html/uWVTypeLibrary.ICoreWebView2EnvironmentOptions7.html @@ -98,25 +98,29 @@
    Attributes

    -

    Sets the `ReleaseChannels`, which is a mask of one or more indicating which channels environment creation should search for. +

    Sets the `ReleaseChannels`, which is a mask of one or more `COREWEBVIEW2_RELEASE_CHANNELS` indicating which channels environment creation should search for. OR operation(s) can be applied to multiple `COREWEBVIEW2_RELEASE_CHANNELS` to create a mask. The default value is a a mask of all the channels. By default, environment creation searches for channels from most to least stable, using the first channel found on the device. When `ReleaseChannels` is provided, environment creation will only search for the channels specified in the set. Set `ChannelSearchKind` to `COREWEBVIEW2_CHANNEL_SEARCH_KIND_LEAST_STABLE` to reverse the search order so environment creation searches for least stable build first. See `COREWEBVIEW2_RELEASE_CHANNELS` for descriptions of each channel. -

    OR operation(s) can be applied to multiple to create a mask. The default value is a mask of all the channels. By default, environment creation searches for channels from most to least stable, using the first channel found on the device. When is provided, environment creation will only search for the channels specified in the set. Set to to reverse the search order so that the loader searches for the least stable build first. See for descriptions of each channel. Environment creation fails if it is unable to find any channel from the installed on the device. +

    `CreateCoreWebView2EnvironmentWithOptions` fails with `HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND)` if environment creation is unable to find any channel from the `ReleaseChannels` installed on the device. Use `GetAvailableCoreWebView2BrowserVersionStringWithOptions` on `ICoreWebView2Environment` to verify which channel is used when this option is set. -

    Use to verify which channel is used. If both a and are provided, the takes precedence. The can be overridden by the corresponding registry override or the environment variable . Set the value to a comma-separated string of integers, which map to the values: Stable (0), Beta (1), Dev (2), and Canary (3). - -

    For example, the values "0,2" and "2,0" indicate that the loader should only search for Dev channel and the WebView2 Runtime, using the order indicated by . Environment creation attempts to interpret each integer and treats any invalid entry as Stable channel. - -

    +

    Examples:

     |   ReleaseChannels   |   Channel Search Kind: Most Stable (default)   |   Channel Search Kind: Least Stable   |
     | --- | --- | --- |
    -|CoreWebView2ReleaseChannels.Beta \| CoreWebView2ReleaseChannels.Stable| WebView2 Runtime -> Beta | Beta -> WebView2 Runtime|
    -|CoreWebView2ReleaseChannels.Canary \| CoreWebView2ReleaseChannels.Dev \| CoreWebView2ReleaseChannels.Beta \| CoreWebView2ReleaseChannels.Stable | WebView2 Runtime -> Beta -> Dev -> Canary | Canary -> Dev -> Beta -> WebView2 Runtime |
    -|CoreWebView2ReleaseChannels.Canary| Canary | Canary |
    -|CoreWebView2ReleaseChannels.Beta \| CoreWebView2ReleaseChannels.Canary \| CoreWebView2ReleaseChannels.Stable | WebView2 Runtime -> Beta -> Canary | Canary -> Beta -> WebView2 Runtime |
    +|COREWEBVIEW2_RELEASE_CHANNELS_BETA \| COREWEBVIEW2_RELEASE_CHANNELS_STABLE| WebView2 Runtime -&gt; Beta | Beta -&gt; WebView2 Runtime| +|COREWEBVIEW2_RELEASE_CHANNELS_CANARY \| COREWEBVIEW2_RELEASE_CHANNELS_DEV \| COREWEBVIEW2_RELEASE_CHANNELS_BETA \| COREWEBVIEW2_RELEASE_CHANNELS_STABLE| WebView2 Runtime -&gt; Beta -&gt; Dev -&gt; Canary | Canary -&gt; Dev -&gt; Beta -&gt; WebView2 Runtime | +|COREWEBVIEW2_RELEASE_CHANNELS_CANARY| Canary | Canary | +|COREWEBVIEW2_RELEASE_CHANNELS_BETA \| COREWEBVIEW2_RELEASE_CHANNELS_CANARY \| COREWEBVIEW2_RELEASE_CHANNELS_STABLE | WebView2 Runtime -&gt; Beta -&gt; Canary | Canary -&gt; Beta -&gt; WebView2 Runtime | + +

    -

    +

    If both `BrowserExecutableFolder` and `ReleaseChannels` are provided, the `BrowserExecutableFolder` takes precedence, regardless of whether or not the channel of `BrowserExecutableFolder` is included in the `ReleaseChannels`. + +

    `ReleaseChannels` can be overridden by the corresponding registry override `ReleaseChannels` or the environment variable `WEBVIEW2_RELEASE_CHANNELS`. + +

    Set the value to a comma-separated string of integers, which map to the following release channel values: Stable (0), Beta (1), Dev (2), and Canary (3). For example, the values "0,2" and "2,0" indicate that environment creation should only search for Dev channel and the WebView2 Runtime, using the order indicated by `ChannelSearchKind`. Environment creation attempts to interpret each integer and treats any invalid entry as Stable channel. See `CreateCoreWebView2EnvironmentWithOptions` for more details on overrides. + +


    Generated by PasDoc 0.16.0-snapshot. diff --git a/docs/html/uWVTypeLibrary.ICoreWebView2EnvironmentOptions8.html b/docs/html/uWVTypeLibrary.ICoreWebView2EnvironmentOptions8.html index 28d9df9..ed27440 100644 --- a/docs/html/uWVTypeLibrary.ICoreWebView2EnvironmentOptions8.html +++ b/docs/html/uWVTypeLibrary.ICoreWebView2EnvironmentOptions8.html @@ -62,7 +62,7 @@
    Attributes

    - The ScrollBar style being set on the WebView2 Environment. The default value is `COREWEBVIEW2_SCROLLBAR_STYLE_DEFAULT` which specifies the default browser ScrollBar style. The `color-scheme` CSS property needs to be set on the corresponding page to allow ScrollBar to follow light or dark theme. Please see [color-scheme](https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme#declaring_color_scheme_preferences) for how `color-scheme` can be set. CSS styles that modify the ScrollBar applied on top of native ScrollBar styling that is selected with `ScrollBarStyle`.

    + The ScrollBar style being set on the WebView2 Environment. The default value is `COREWEBVIEW2_SCROLLBAR_STYLE_DEFAULT` which specifies the default browser ScrollBar style. The `color-scheme` CSS property needs to be set on the corresponding page to allow ScrollBar to follow light or dark theme. Please see [color-scheme](https://developer.mozilla.org/docs/Web/CSS/color-scheme#declaring_color_scheme_preferences) for how `color-scheme` can be set. CSS styles that modify the ScrollBar applied on top of native ScrollBar styling that is selected with `ScrollBarStyle`.


    Generated by PasDoc 0.16.0-snapshot. diff --git a/docs/html/uWVTypeLibrary.ICoreWebView2File.html b/docs/html/uWVTypeLibrary.ICoreWebView2File.html index f5757b2..55bb5c5 100644 --- a/docs/html/uWVTypeLibrary.ICoreWebView2File.html +++ b/docs/html/uWVTypeLibrary.ICoreWebView2File.html @@ -19,7 +19,7 @@

    Declaration

    type ICoreWebView2File = interface(IUnknown)

    Description

    - Representation of a DOM [File](https://developer.mozilla.org/en-US/docs/Web/API/File) object passed via WebMessage. You can use this object to obtain the path of a File dropped on WebView2.

    + Representation of a DOM [File](https://developer.mozilla.org/docs/Web/API/File) object passed via WebMessage. You can use this object to obtain the path of a File dropped on WebView2.

    diff --git a/docs/html/uWVTypeLibrary.ICoreWebView2LaunchingExternalUriSchemeEventArgs.html b/docs/html/uWVTypeLibrary.ICoreWebView2LaunchingExternalUriSchemeEventArgs.html index bc020d5..5168fc4 100644 --- a/docs/html/uWVTypeLibrary.ICoreWebView2LaunchingExternalUriSchemeEventArgs.html +++ b/docs/html/uWVTypeLibrary.ICoreWebView2LaunchingExternalUriSchemeEventArgs.html @@ -80,7 +80,7 @@

    Attributes

    -

    The origin initiating the external URI scheme launch. The origin will be an empty string if the request is initiated by calling `CoreWebView2.Navigate` on the external URI scheme. If a script initiates the navigation, the `InitiatingOrigin` will be the top-level document's `Source`, for example, if `window.location` is set to `"calculator://", the `InitiatingOrigin` will be set to `calculator://`. If the request is initiated from a child frame, the `InitiatingOrigin` will be the source of that child frame. +

    The origin initiating the external URI scheme launch. The origin will be an empty string if the request is initiated by calling `CoreWebView2.Navigate` on the external URI scheme. If a script initiates the navigation, the `InitiatingOrigin` will be the top-level document's `Source`, for example, if `window.location` is set to `"calculator://"`, the `InitiatingOrigin` will be set to `calculator://`. If the request is initiated from a child frame, the `InitiatingOrigin` will be the source of that child frame.

    If the `InitiatingOrigin` is [opaque](https://html.spec.whatwg.org/multipage/origin.html#concept-origin-opaque), the `InitiatingOrigin` reported in the event args will be its precursor origin. The precursor origin is the origin that created the opaque origin. For example, if a frame on example.com opens a subframe with a different opaque origin, the subframe's precursor origin is example.com. diff --git a/docs/html/uWVTypeLibrary.ICoreWebView2NewWindowRequestedEventArgs.html b/docs/html/uWVTypeLibrary.ICoreWebView2NewWindowRequestedEventArgs.html index 2c4d3ba..4d74b46 100644 --- a/docs/html/uWVTypeLibrary.ICoreWebView2NewWindowRequestedEventArgs.html +++ b/docs/html/uWVTypeLibrary.ICoreWebView2NewWindowRequestedEventArgs.html @@ -88,7 +88,7 @@

    Attributes

    - Sets a CoreWebView2 as a result of the NewWindowRequested event. Provides a WebView as the target for a `window.open()` from inside the requesting WebView. If this is set, the top-level window of this WebView is returned as the opened [WindowProxy](https://developer.mozilla.org/en-US/docs/glossary/windowproxy) to the opener script. If this is not set, then `Handled` is checked to determine behavior for NewWindowRequested event. CoreWebView2 provided in the `NewWindow` property must be on the same Environment as the opener WebView and should not have been navigated previously. Don't use methods that cause navigation or interact with the DOM on this CoreWebView2 until the target content has loaded. Setting event handlers, changing Settings properties, or other methods are fine to call. Changes to settings should be made before `put_NewWindow` is called to ensure that those settings take effect for the newly setup WebView. Once the NewWindow is set the underlying web contents of this CoreWebView2 will be replaced and navigated as appropriate for the new window. After setting new window it cannot be changed and error will be return otherwise. + Sets a CoreWebView2 as a result of the NewWindowRequested event. Provides a WebView as the target for a `window.open()` from inside the requesting WebView. If this is set, the top-level window of this WebView is returned as the opened [WindowProxy](https://developer.mozilla.org/docs/glossary/windowproxy) to the opener script. If this is not set, then `Handled` is checked to determine behavior for NewWindowRequested event. CoreWebView2 provided in the `NewWindow` property must be on the same Environment as the opener WebView and should not have been navigated previously. Don't use methods that cause navigation or interact with the DOM on this CoreWebView2 until the target content has loaded. Setting event handlers, changing Settings properties, or other methods are fine to call. Changes to settings should be made before `put_NewWindow` is called to ensure that those settings take effect for the newly setup WebView. Once the NewWindow is set the underlying web contents of this CoreWebView2 will be replaced and navigated as appropriate for the new window. After setting new window it cannot be changed and error will be return otherwise.

    The methods which should affect the new web contents like AddScriptToExecuteOnDocumentCreated has to be called and completed before setting NewWindow. Other methods which should affect the new web contents like add_WebResourceRequested have to be called after setting NewWindow. It is best not to use RemoveScriptToExecuteOnDocumentCreated before setting NewWindow, otherwise it may not work for later added scripts. diff --git a/docs/html/uWVTypeLibrary.ICoreWebView2Profile4.html b/docs/html/uWVTypeLibrary.ICoreWebView2Profile4.html index a9aa0c2..4600fd1 100644 --- a/docs/html/uWVTypeLibrary.ICoreWebView2Profile4.html +++ b/docs/html/uWVTypeLibrary.ICoreWebView2Profile4.html @@ -50,7 +50,7 @@

    Methods

    - Sets permission state for the given permission kind and origin asynchronously. The change persists across sessions until it is changed by another call to `SetPermissionState`, or by setting the `State` property in `PermissionRequestedEventArgs`. Setting the state to `COREWEBVIEW2_PERMISSION_STATE_DEFAULT` will erase any state saved in the profile and restore the default behavior. The origin should have a valid scheme and host (e.g. "https://www.example.com"), otherwise the method fails with `E_INVALIDARG`. Additional URI parts like path and fragment are ignored. For example, "https://wwww.example.com/app1/index.html/" is treated the same as "https://wwww.example.com". See the [MDN origin definition](https://developer.mozilla.org/en-US/docs/Glossary/Origin) for more details. + Sets permission state for the given permission kind and origin asynchronously. The change persists across sessions until it is changed by another call to `SetPermissionState`, or by setting the `State` property in `PermissionRequestedEventArgs`. Setting the state to `COREWEBVIEW2_PERMISSION_STATE_DEFAULT` will erase any state saved in the profile and restore the default behavior. The origin should have a valid scheme and host (e.g. "https://www.example.com"), otherwise the method fails with `E_INVALIDARG`. Additional URI parts like path and fragment are ignored. For example, "https://wwww.example.com/app1/index.html/" is treated the same as "https://wwww.example.com". See the [MDN origin definition](https://developer.mozilla.org/docs/Glossary/Origin) for more details.

    \snippet ScenarioPermissionManagement.cpp SetPermissionState

    Attributes
    diff --git a/docs/html/uWVTypeLibrary.ICoreWebView2Profile7.html b/docs/html/uWVTypeLibrary.ICoreWebView2Profile7.html index 716d158..2fd6334 100644 --- a/docs/html/uWVTypeLibrary.ICoreWebView2Profile7.html +++ b/docs/html/uWVTypeLibrary.ICoreWebView2Profile7.html @@ -53,7 +53,7 @@

    Methods

    - Adds the [browser extension](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions) using the extension path for unpacked extensions from the local device. Extension is running right after installation. The extension folder path is the topmost folder of an unpacked browser extension and contains the browser extension manifest file. If the `extensionFolderPath` is an invalid path or doesn't contain the extension manifest.json file, this function will return `ERROR_FILE_NOT_FOUND` to callers. Installed extension will default `IsEnabled` to true. When `AreBrowserExtensionsEnabled` is `FALSE`, `AddBrowserExtension` will fail and return HRESULT `ERROR_NOT_SUPPORTED`. During installation, the content of the extension is not copied to the user data folder. Once the extension is installed, changing the content of the extension will cause the extension to be removed from the installed profile. When an extension is added the extension is persisted in the corresponding profile. The extension will still be installed the next time you use this profile. When an extension is installed from a folder path, adding the same extension from the same folder path means reinstalling this extension. When two extensions with the same Id are installed, only the later installed extension will be kept. + Adds the [browser extension](https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions) using the extension path for unpacked extensions from the local device. Extension is running right after installation. The extension folder path is the topmost folder of an unpacked browser extension and contains the browser extension manifest file. If the `extensionFolderPath` is an invalid path or doesn't contain the extension manifest.json file, this function will return `ERROR_FILE_NOT_FOUND` to callers. Installed extension will default `IsEnabled` to true. When `AreBrowserExtensionsEnabled` is `FALSE`, `AddBrowserExtension` will fail and return HRESULT `ERROR_NOT_SUPPORTED`. During installation, the content of the extension is not copied to the user data folder. Once the extension is installed, changing the content of the extension will cause the extension to be removed from the installed profile. When an extension is added the extension is persisted in the corresponding profile. The extension will still be installed the next time you use this profile. When an extension is installed from a folder path, adding the same extension from the same folder path means reinstalling this extension. When two extensions with the same Id are installed, only the later installed extension will be kept.

    Extensions that are designed to include any UI interactions (e.g. icon, badge, pop up, etc.) can be loaded and used but will have missing UI entry points due to the lack of browser UI elements to host these entry points in WebView2. diff --git a/docs/html/uWVTypeLibrary.ICoreWebView2Settings2.html b/docs/html/uWVTypeLibrary.ICoreWebView2Settings2.html index ebfb843..7206ca3 100644 --- a/docs/html/uWVTypeLibrary.ICoreWebView2Settings2.html +++ b/docs/html/uWVTypeLibrary.ICoreWebView2Settings2.html @@ -67,7 +67,7 @@

    Attributes

    - Sets the `UserAgent` property. This property may be overridden if the User-Agent header is set in a request. If the parameter is empty the User Agent will not be updated and the current User Agent will remain. Setting this property may clear User Agent Client Hints headers Sec-CH-UA-* and script values from navigator.userAgentData. Current implementation behavior is subject to change. Returns `HRESULT_FROM_WIN32(ERROR_INVALID_STATE)` if the owning WebView is closed.

    + Sets the `UserAgent` property. This property may be overridden if the User-Agent header is set in a request. If the parameter is empty the User Agent will not be updated and the current User Agent will remain. Setting this property may clear User Agent Client Hints headers Sec-CH-UA-* and script values from navigator.userAgentData. Current implementation behavior is subject to change. The User Agent set will also be effective on service workers and shared workers associated with the WebView. If there are multiple WebViews associated with the same service worker or shared worker, the last User Agent set will be used. Returns `HRESULT_FROM_WIN32(ERROR_INVALID_STATE)` if the owning WebView is closed.


    Generated by PasDoc 0.16.0-snapshot. diff --git a/docs/html/uWVTypeLibrary.ICoreWebView2WebResourceResponse.html b/docs/html/uWVTypeLibrary.ICoreWebView2WebResourceResponse.html index dd23739..adc66c3 100644 --- a/docs/html/uWVTypeLibrary.ICoreWebView2WebResourceResponse.html +++ b/docs/html/uWVTypeLibrary.ICoreWebView2WebResourceResponse.html @@ -67,7 +67,7 @@

    Methods

    - HTTP response content as stream. Stream must have all the content data available by the time the `WebResourceRequested` event deferral of this response is completed. Stream should be agile or be created from a background thread to prevent performance impact to the UI thread. `Null` means no content data. `IStream` semantics apply (return `S_OK` to `Read` runs until all data is exhausted). When providing the response data, you should consider relevant HTTP request headers just like an HTTP server would do. For example, if the request was for a video resource in a HTML video element, the request may contain the [Range](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Range) header to request only a part of the video that is streaming. In this case, your response stream should be only the portion of the video specified by the range HTTP request headers and you should set the appropriate [Content-Range](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Range) header in the response.

    + HTTP response content as stream. Stream must have all the content data available by the time the `WebResourceRequested` event deferral of this response is completed. Stream should be agile or be created from a background thread to prevent performance impact to the UI thread. `Null` means no content data. `IStream` semantics apply (return `S_OK` to `Read` runs until all data is exhausted). When providing the response data, you should consider relevant HTTP request headers just like an HTTP server would do. For example, if the request was for a video resource in a HTML video element, the request may contain the [Range](https://developer.mozilla.org/docs/Web/HTTP/Headers/Range) header to request only a part of the video that is streaming. In this case, your response stream should be only the portion of the video specified by the range HTTP request headers and you should set the appropriate [Content-Range](https://developer.mozilla.org/docs/Web/HTTP/Headers/Content-Range) header in the response.

    Attributes
    GUID['{AAFCC94F-FA27-48FD-97DF-830EF75AAEC9}']
    diff --git a/docs/html/uWVTypeLibrary.ICoreWebView2_10.html b/docs/html/uWVTypeLibrary.ICoreWebView2_10.html index 79b0804..7d42d0f 100644 --- a/docs/html/uWVTypeLibrary.ICoreWebView2_10.html +++ b/docs/html/uWVTypeLibrary.ICoreWebView2_10.html @@ -56,7 +56,7 @@

    Methods

    - Add an event handler for the BasicAuthenticationRequested event. BasicAuthenticationRequested event is raised when WebView encounters a Basic HTTP Authentication request as described in https://developer.mozilla.org/docs/Web/HTTP/Authentication, a Digest HTTP Authentication request as described in https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Authorization#digest, an NTLM authentication or a Proxy Authentication request. + Add an event handler for the BasicAuthenticationRequested event. BasicAuthenticationRequested event is raised when WebView encounters a Basic HTTP Authentication request as described in https://developer.mozilla.org/docs/Web/HTTP/Authentication, a Digest HTTP Authentication request as described in https://developer.mozilla.org/docs/Web/HTTP/Headers/Authorization#digest, an NTLM authentication or a Proxy Authentication request.

    The host can provide a response with credentials for the authentication or cancel the request. If the host sets the Cancel property to false but does not provide either UserName or Password properties on the Response property, then WebView2 will show the default authentication challenge dialog prompt to the user. diff --git a/docs/html/uWVTypeLibrary.html b/docs/html/uWVTypeLibrary.html index 6585289..2d6a208 100644 --- a/docs/html/uWVTypeLibrary.html +++ b/docs/html/uWVTypeLibrary.html @@ -961,7 +961,7 @@

    Unit uWVTypeLibrary

    Interface ICoreWebView2File - Representation of a DOM [File](https://developer.mozilla.org/en-US/docs/Web/API/File) object passed via WebMessage. You can use this object to obtain the path of a File dropped on WebView2. + Representation of a DOM [File](https://developer.mozilla.org/docs/Web/API/File) object passed via WebMessage. You can use this object to obtain the path of a File dropped on WebView2. Interface ICoreWebView2ObjectCollectionView @@ -5410,7 +5410,7 @@

    Constants

    - Indicates permission to read and write to files or folders on the device. Permission is requested when developers use the [File System Access API](https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API) to show the file or folder picker to the end user, and then request "readwrite" permission for the user's selection.

    + Indicates permission to read and write to files or folders on the device. Permission is requested when developers use the [File System Access API](https://developer.mozilla.org/docs/Web/API/File_System_Access_API) to show the file or folder picker to the end user, and then request "readwrite" permission for the user's selection.

    @@ -5423,7 +5423,7 @@

    Constants

    - Indicates permission to play audio and video automatically on sites. This permission affects the autoplay attribute and play method of the audio and video HTML elements, and the start method of the Web Audio API. See the [Autoplay guide for media and Web Audio APIs](https://developer.mozilla.org/en-US/docs/Web/Media/Autoplay_guide) for details.

    + Indicates permission to play audio and video automatically on sites. This permission affects the autoplay attribute and play method of the audio and video HTML elements, and the start method of the Web Audio API. See the [Autoplay guide for media and Web Audio APIs](https://developer.mozilla.org/docs/Web/Media/Autoplay_guide) for details.

    @@ -5449,7 +5449,7 @@

    Constants

    - Indicates permission to send and receive system exclusive messages to/from MIDI (Musical Instrument Digital Interface) devices. Permission is requested when developers use the [Web MIDI API](https://developer.mozilla.org/en-US/docs/Web/API/Web_MIDI_API) to request access to system exclusive MIDI messages.

    + Indicates permission to send and receive system exclusive messages to/from MIDI (Musical Instrument Digital Interface) devices. Permission is requested when developers use the [Web MIDI API](https://developer.mozilla.org/docs/Web/API/Web_MIDI_API) to request access to system exclusive MIDI messages.

    @@ -7521,7 +7521,7 @@

    Constants

    Window style fluent overlay scroll bar. -

    Please see [Fluent UI](https:/-/developer.microsoft.com/en-us/fluentui#/) for more details on fluent UI. +

    Please see [Fluent UI](https://developer.microsoft.com/fluentui#/) for more details on fluent UI.

    diff --git a/packages/WebView4Delphi.pds b/packages/WebView4Delphi.pds index 640d5c1..4e59daa 100644 --- a/packages/WebView4Delphi.pds +++ b/packages/WebView4Delphi.pds @@ -67,7 +67,7 @@ Count=1 Item_0=..\source [Files] -Count=65 +Count=66 Item_0=..\source\uWVBrowser.pas Item_1=..\source\uWVBrowserBase.pas Item_2=..\source\uWVConstants.pas @@ -113,26 +113,27 @@ Item_41=..\source\uWVCoreWebView2ProcessExtendedInfoCollection.pas Item_42=..\source\uWVCoreWebView2ProcessInfo.pas Item_43=..\source\uWVCoreWebView2ProcessInfoCollection.pas Item_44=..\source\uWVCoreWebView2Profile.pas -Item_45=..\source\uWVCoreWebView2ScriptException.pas -Item_46=..\source\uWVCoreWebView2Settings.pas -Item_47=..\source\uWVCoreWebView2SharedBuffer.pas -Item_48=..\source\uWVCoreWebView2StringCollection.pas -Item_49=..\source\uWVCoreWebView2WebResourceRequest.pas -Item_50=..\source\uWVCoreWebView2WebResourceResponse.pas -Item_51=..\source\uWVCoreWebView2WebResourceResponseView.pas -Item_52=..\source\uWVCoreWebView2WindowFeatures.pas -Item_53=..\source\uWVEvents.pas -Item_54=..\source\uWVFMXBrowser.pas -Item_55=..\source\uWVFMXWindowParent.pas -Item_56=..\source\uWVInterfaces.pas -Item_57=..\source\uWVLibFunctions.pas -Item_58=..\source\uWVLoader.pas -Item_59=..\source\uWVLoaderInternal.pas -Item_60=..\source\uWVMiscFunctions.pas -Item_61=..\source\uWVTypeLibrary.pas -Item_62=..\source\uWVTypes.pas -Item_63=..\source\uWVWinControl.pas -Item_64=..\source\uWVWindowParent.pas +Item_45=..\source\uWVCoreWebView2RegionRectCollectionView.pas +Item_46=..\source\uWVCoreWebView2ScriptException.pas +Item_47=..\source\uWVCoreWebView2Settings.pas +Item_48=..\source\uWVCoreWebView2SharedBuffer.pas +Item_49=..\source\uWVCoreWebView2StringCollection.pas +Item_50=..\source\uWVCoreWebView2WebResourceRequest.pas +Item_51=..\source\uWVCoreWebView2WebResourceResponse.pas +Item_52=..\source\uWVCoreWebView2WebResourceResponseView.pas +Item_53=..\source\uWVCoreWebView2WindowFeatures.pas +Item_54=..\source\uWVEvents.pas +Item_55=..\source\uWVFMXBrowser.pas +Item_56=..\source\uWVFMXWindowParent.pas +Item_57=..\source\uWVInterfaces.pas +Item_58=..\source\uWVLibFunctions.pas +Item_59=..\source\uWVLoader.pas +Item_60=..\source\uWVLoaderInternal.pas +Item_61=..\source\uWVMiscFunctions.pas +Item_62=..\source\uWVTypeLibrary.pas +Item_63=..\source\uWVTypes.pas +Item_64=..\source\uWVWinControl.pas +Item_65=..\source\uWVWindowParent.pas [AdditionalFiles] Count=0 diff --git a/packages/webview4delphi.lpk b/packages/webview4delphi.lpk index 44932d1..c42b061 100644 --- a/packages/webview4delphi.lpk +++ b/packages/webview4delphi.lpk @@ -16,7 +16,7 @@ - + diff --git a/source/uWVBrowserBase.pas b/source/uWVBrowserBase.pas index b9423f3..d5d00e2 100644 --- a/source/uWVBrowserBase.pas +++ b/source/uWVBrowserBase.pas @@ -787,7 +787,7 @@ TWVBrowserBase = class(TComponent, IWVBrowserEvents) /// function GetNonDefaultPermissionSettings: boolean; ///

    - /// Adds the [browser extension](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions) + /// Adds the [browser extension](https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions) /// using the extension path for unpacked extensions from the local device. Extension is /// running right after installation. /// The extension folder path is the topmost folder of an unpacked browser extension and @@ -1890,32 +1890,43 @@ TWVBrowserBase = class(TComponent, IWVBrowserEvents) property ChannelSearchKind : TWVChannelSearchKind read FChannelSearchKind write FChannelSearchKind; /// /// Sets the `ReleaseChannels`, which is a mask of one or more - /// indicating which channels environment creation should search for. - /// OR operation(s) can be applied to multiple to create a mask. - /// The default value is a mask of all the channels. By default, environment - /// creation searches for channels from most to least stable, using the first - /// channel found on the device. When is provided, environment creation will - /// only search for the channels specified in the set. Set to to reverse - /// the search order so that the loader searches for the least stable build - /// first. See for descriptions of each channel. Environment creation fails - /// if it is unable to find any channel from the installed on the device. - /// Use to verify which channel is used. If both a and are provided, - /// the takes precedence. The can be overridden by the corresponding - /// registry override or the environment variable . Set the value to a - /// comma-separated string of integers, which map to the values: Stable (0), - /// Beta (1), Dev (2), and Canary (3). - /// For example, the values "0,2" and "2,0" indicate that the loader - /// should only search for Dev channel and the WebView2 Runtime, using the - /// order indicated by . Environment creation attempts to interpret each - /// integer and treats any invalid entry as Stable channel. + /// `COREWEBVIEW2_RELEASE_CHANNELS` indicating which channels environment + /// creation should search for. OR operation(s) can be applied to multiple + /// `COREWEBVIEW2_RELEASE_CHANNELS` to create a mask. The default value is a + /// a mask of all the channels. By default, environment creation searches for + /// channels from most to least stable, using the first channel found on the + /// device. When `ReleaseChannels` is provided, environment creation will only + /// search for the channels specified in the set. Set `ChannelSearchKind` to + /// `COREWEBVIEW2_CHANNEL_SEARCH_KIND_LEAST_STABLE` to reverse the search order + /// so environment creation searches for least stable build first. See + /// `COREWEBVIEW2_RELEASE_CHANNELS` for descriptions of each channel. + /// `CreateCoreWebView2EnvironmentWithOptions` fails with + /// `HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND)` if environment creation is unable + /// to find any channel from the `ReleaseChannels` installed on the device. + /// Use `GetAvailableCoreWebView2BrowserVersionStringWithOptions` on + /// `ICoreWebView2Environment` to verify which channel is used when this option + /// is set. + /// Examples: /// /// | ReleaseChannels | Channel Search Kind: Most Stable (default) | Channel Search Kind: Least Stable | /// | --- | --- | --- | - /// |CoreWebView2ReleaseChannels.Beta \| CoreWebView2ReleaseChannels.Stable| WebView2 Runtime -> Beta | Beta -> WebView2 Runtime| - /// |CoreWebView2ReleaseChannels.Canary \| CoreWebView2ReleaseChannels.Dev \| CoreWebView2ReleaseChannels.Beta \| CoreWebView2ReleaseChannels.Stable | WebView2 Runtime -> Beta -> Dev -> Canary | Canary -> Dev -> Beta -> WebView2 Runtime | - /// |CoreWebView2ReleaseChannels.Canary| Canary | Canary | - /// |CoreWebView2ReleaseChannels.Beta \| CoreWebView2ReleaseChannels.Canary \| CoreWebView2ReleaseChannels.Stable | WebView2 Runtime -> Beta -> Canary | Canary -> Beta -> WebView2 Runtime | + /// |COREWEBVIEW2_RELEASE_CHANNELS_BETA \| COREWEBVIEW2_RELEASE_CHANNELS_STABLE| WebView2 Runtime -> Beta | Beta -> WebView2 Runtime| + /// |COREWEBVIEW2_RELEASE_CHANNELS_CANARY \| COREWEBVIEW2_RELEASE_CHANNELS_DEV \| COREWEBVIEW2_RELEASE_CHANNELS_BETA \| COREWEBVIEW2_RELEASE_CHANNELS_STABLE| WebView2 Runtime -> Beta -> Dev -> Canary | Canary -> Dev -> Beta -> WebView2 Runtime | + /// |COREWEBVIEW2_RELEASE_CHANNELS_CANARY| Canary | Canary | + /// |COREWEBVIEW2_RELEASE_CHANNELS_BETA \| COREWEBVIEW2_RELEASE_CHANNELS_CANARY \| COREWEBVIEW2_RELEASE_CHANNELS_STABLE | WebView2 Runtime -> Beta -> Canary | Canary -> Beta -> WebView2 Runtime | /// + /// If both `BrowserExecutableFolder` and `ReleaseChannels` are provided, the + /// `BrowserExecutableFolder` takes precedence, regardless of whether or not the + /// channel of `BrowserExecutableFolder` is included in the `ReleaseChannels`. + /// `ReleaseChannels` can be overridden by the corresponding registry override + /// `ReleaseChannels` or the environment variable `WEBVIEW2_RELEASE_CHANNELS`. + /// Set the value to a comma-separated string of integers, which map to the + /// following release channel values: Stable (0), Beta (1), Dev (2), and + /// Canary (3). For example, the values "0,2" and "2,0" indicate that environment + /// creation should only search for Dev channel and the WebView2 Runtime, using the + /// order indicated by `ChannelSearchKind`. Environment creation attempts to + /// interpret each integer and treats any invalid entry as Stable channel. See + /// `CreateCoreWebView2EnvironmentWithOptions` for more details on overrides. /// /// /// Property used to create the environment. Used as ICoreWebView2EnvironmentOptions7.Get_ReleaseChannels. @@ -1928,7 +1939,7 @@ TWVBrowserBase = class(TComponent, IWVBrowserEvents) /// which specifies the default browser ScrollBar style. /// The `color-scheme` CSS property needs to be set on the corresponding page /// to allow ScrollBar to follow light or dark theme. Please see - /// [color-scheme](https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme#declaring_color_scheme_preferences) + /// [color-scheme](https://developer.mozilla.org/docs/Web/CSS/color-scheme#declaring_color_scheme_preferences) /// for how `color-scheme` can be set. /// CSS styles that modify the ScrollBar applied on top of native ScrollBar styling /// that is selected with `ScrollBarStyle`. @@ -2345,6 +2356,10 @@ TWVBrowserBase = class(TComponent, IWVBrowserEvents) /// Setting this property may clear User Agent Client Hints headers /// Sec-CH-UA-* and script values from navigator.userAgentData. Current /// implementation behavior is subject to change. + /// The User Agent set will also be effective on service workers + /// and shared workers associated with the WebView. + /// If there are multiple WebViews associated with the same service worker or + /// shared worker, the last User Agent set will be used. /// /// /// See the ICoreWebView2Settings2 article. @@ -2933,7 +2948,8 @@ TWVBrowserBase = class(TComponent, IWVBrowserEvents) /// `OnWindowCloseRequested` triggers when content inside the WebView /// requested to close the window, such as after `window.close` is run. The /// app should close the WebView and related app window if that makes sense - /// to the app. + /// to the app. After the first window.close() call, this event may not fire + /// for any immediate back to back window.close() calls. /// /// /// See the ICoreWebView2 article. @@ -3027,7 +3043,7 @@ TWVBrowserBase = class(TComponent, IWVBrowserEvents) /// Basic HTTP Authentication request as described in /// https://developer.mozilla.org/docs/Web/HTTP/Authentication, a Digest /// HTTP Authentication request as described in - /// https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Authorization#digest, + /// https://developer.mozilla.org/docs/Web/HTTP/Headers/Authorization#digest, /// an NTLM authentication or a Proxy Authentication request. /// The host can provide a response with credentials for the authentication or /// cancel the request. If the host sets the Cancel property to false but does not diff --git a/source/uWVCoreWebView2.pas b/source/uWVCoreWebView2.pas index 0e97264..bd21b1a 100644 --- a/source/uWVCoreWebView2.pas +++ b/source/uWVCoreWebView2.pas @@ -588,6 +588,7 @@ TCoreWebView2 = class /// `defaultSyncProxy` | When calling a method on a synchronous proxy, the result should also be a synchronous proxy. But in some cases, the sync/async context is lost (for example, when providing to native code a reference to a function, and then calling that function in native code). In these cases, the proxy will be asynchronous, unless this property is set. /// `forceAsyncMethodMatches ` | This is an array of regular expressions. When calling a method on a synchronous proxy, the method call will be performed asynchronously if the method name matches a string or regular expression in this array. Setting this value to `Async` will make any method that ends with Async be an asynchronous method call. If an async method doesn't match here and isn't forced to be asynchronous, the method will be invoked synchronously, blocking execution of the calling JavaScript and then returning the resolution of the promise, rather than returning a promise. /// `ignoreMemberNotFoundError` | By default, an exception is thrown when attempting to get the value of a proxy property that doesn't exist on the corresponding native class. Setting this property to `true` switches the behavior to match Chakra WinRT projection (and general JavaScript) behavior of returning `undefined` with no error. + /// `shouldPassTypedArraysAsArrays` | By default, typed arrays will be passed to host as IDispatch. Otherwise, set to true to pass typed arrays to host as array. /// /// Host object proxies additionally have the following methods which run /// locally. diff --git a/source/uWVCoreWebView2Args.pas b/source/uWVCoreWebView2Args.pas index 6ef89ea..5c31164 100644 --- a/source/uWVCoreWebView2Args.pas +++ b/source/uWVCoreWebView2Args.pas @@ -1816,7 +1816,7 @@ TCoreWebView2LaunchingExternalUriSchemeEventArgs = class /// The origin will be an empty string if the request is initiated by calling /// `CoreWebView2.Navigate` on the external URI scheme. If a script initiates /// the navigation, the `InitiatingOrigin` will be the top-level document's - /// `Source`, for example, if `window.location` is set to `"calculator://", the + /// `Source`, for example, if `window.location` is set to `"calculator://"`, the /// `InitiatingOrigin` will be set to `calculator://`. If the request is initiated /// from a child frame, the `InitiatingOrigin` will be the source of that child frame. /// If the `InitiatingOrigin` is diff --git a/source/uWVCoreWebView2BrowserExtension.pas b/source/uWVCoreWebView2BrowserExtension.pas index 4cdbc79..0b54203 100644 --- a/source/uWVCoreWebView2BrowserExtension.pas +++ b/source/uWVCoreWebView2BrowserExtension.pas @@ -64,7 +64,7 @@ TCoreWebView2BrowserExtension = class property BaseIntf : ICoreWebView2BrowserExtension read FBaseIntf write FBaseIntf; /// /// This is the browser extension's ID. This is the same browser extension ID returned by - /// the browser extension API [`chrome.runtime.id`](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/id). + /// the browser extension API [`chrome.runtime.id`](https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/id). /// Please see that documentation for more details on how the ID is generated. /// After an extension is removed, calling `Id` will return the id of the extension that is removed. /// @@ -73,7 +73,7 @@ TCoreWebView2BrowserExtension = class /// This is the browser extension's name. This value is defined in this browser extension's /// manifest.json file. If manifest.json define extension's localized name, this value will /// be the localized version of the name. - /// Please see [Manifest.json name](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/name) + /// Please see [Manifest.json name](https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/manifest.json/name) /// for more details. /// After an extension is removed, calling `Name` will return the name of the extension that is removed. /// diff --git a/source/uWVCoreWebView2File.pas b/source/uWVCoreWebView2File.pas index d2ac4c9..0e40e8c 100644 --- a/source/uWVCoreWebView2File.pas +++ b/source/uWVCoreWebView2File.pas @@ -12,7 +12,7 @@ interface type /// /// Representation of a DOM - /// [File](https://developer.mozilla.org/en-US/docs/Web/API/File) object + /// [File](https://developer.mozilla.org/docs/Web/API/File) object /// passed via WebMessage. You can use this object to obtain the path of a /// File dropped on WebView2. /// diff --git a/source/uWVCoreWebView2Profile.pas b/source/uWVCoreWebView2Profile.pas index 58bdf82..80da4e7 100644 --- a/source/uWVCoreWebView2Profile.pas +++ b/source/uWVCoreWebView2Profile.pas @@ -131,7 +131,7 @@ TCoreWebView2Profile = class /// otherwise the method fails with `E_INVALIDARG`. Additional URI parts like /// path and fragment are ignored. For example, "https://wwww.example.com/app1/index.html/" /// is treated the same as "https://wwww.example.com". See the - /// [MDN origin definition](https://developer.mozilla.org/en-US/docs/Glossary/Origin) + /// [MDN origin definition](https://developer.mozilla.org/docs/Glossary/Origin) /// for more details. /// /// @@ -148,7 +148,7 @@ TCoreWebView2Profile = class /// function GetNonDefaultPermissionSettings(const completedHandler: ICoreWebView2GetNonDefaultPermissionSettingsCompletedHandler): boolean; /// - /// Adds the [browser extension](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions) + /// Adds the [browser extension](https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions) /// using the extension path for unpacked extensions from the local device. Extension is /// running right after installation. /// The extension folder path is the topmost folder of an unpacked browser extension and diff --git a/source/uWVCoreWebView2Settings.pas b/source/uWVCoreWebView2Settings.pas index fd0da55..9e292d2 100644 --- a/source/uWVCoreWebView2Settings.pas +++ b/source/uWVCoreWebView2Settings.pas @@ -193,6 +193,10 @@ TCoreWebView2Settings = class /// Setting this property may clear User Agent Client Hints headers /// Sec-CH-UA-* and script values from navigator.userAgentData. Current /// implementation behavior is subject to change. + /// The User Agent set will also be effective on service workers + /// and shared workers associated with the WebView. + /// If there are multiple WebViews associated with the same service worker or + /// shared worker, the last User Agent set will be used. /// /// /// See the ICoreWebView2Settings2 article. diff --git a/source/uWVCoreWebView2WebResourceResponse.pas b/source/uWVCoreWebView2WebResourceResponse.pas index 0226cf9..2ea4cdb 100644 --- a/source/uWVCoreWebView2WebResourceResponse.pas +++ b/source/uWVCoreWebView2WebResourceResponse.pas @@ -71,12 +71,12 @@ TCoreWebView2WebResourceResponse = class /// When providing the response data, you should consider relevant HTTP /// request headers just like an HTTP server would do. For example, if the /// request was for a video resource in a HTML video element, the request may - /// contain the [Range](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Range) + /// contain the [Range](https://developer.mozilla.org/docs/Web/HTTP/Headers/Range) /// header to request only a part of the video that is streaming. In this /// case, your response stream should be only the portion of the video /// specified by the range HTTP request headers and you should set the /// appropriate - /// [Content-Range](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Range) + /// [Content-Range](https://developer.mozilla.org/docs/Web/HTTP/Headers/Content-Range) /// header in the response. /// /// diff --git a/source/uWVLoader.pas b/source/uWVLoader.pas index 64a8d0b..adad130 100644 --- a/source/uWVLoader.pas +++ b/source/uWVLoader.pas @@ -388,32 +388,43 @@ TWVLoader = class(TComponent, IWVLoaderEvents) property ChannelSearchKind : TWVChannelSearchKind read FChannelSearchKind write FChannelSearchKind; /// /// Sets the `ReleaseChannels`, which is a mask of one or more - /// indicating which channels environment creation should search for. - /// OR operation(s) can be applied to multiple to create a mask. - /// The default value is a mask of all the channels. By default, environment - /// creation searches for channels from most to least stable, using the first - /// channel found on the device. When is provided, environment creation will - /// only search for the channels specified in the set. Set to to reverse - /// the search order so that the loader searches for the least stable build - /// first. See for descriptions of each channel. Environment creation fails - /// if it is unable to find any channel from the installed on the device. - /// Use to verify which channel is used. If both a and are provided, - /// the takes precedence. The can be overridden by the corresponding - /// registry override or the environment variable . Set the value to a - /// comma-separated string of integers, which map to the values: Stable (0), - /// Beta (1), Dev (2), and Canary (3). - /// For example, the values "0,2" and "2,0" indicate that the loader - /// should only search for Dev channel and the WebView2 Runtime, using the - /// order indicated by . Environment creation attempts to interpret each - /// integer and treats any invalid entry as Stable channel. + /// `COREWEBVIEW2_RELEASE_CHANNELS` indicating which channels environment + /// creation should search for. OR operation(s) can be applied to multiple + /// `COREWEBVIEW2_RELEASE_CHANNELS` to create a mask. The default value is a + /// a mask of all the channels. By default, environment creation searches for + /// channels from most to least stable, using the first channel found on the + /// device. When `ReleaseChannels` is provided, environment creation will only + /// search for the channels specified in the set. Set `ChannelSearchKind` to + /// `COREWEBVIEW2_CHANNEL_SEARCH_KIND_LEAST_STABLE` to reverse the search order + /// so environment creation searches for least stable build first. See + /// `COREWEBVIEW2_RELEASE_CHANNELS` for descriptions of each channel. + /// `CreateCoreWebView2EnvironmentWithOptions` fails with + /// `HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND)` if environment creation is unable + /// to find any channel from the `ReleaseChannels` installed on the device. + /// Use `GetAvailableCoreWebView2BrowserVersionStringWithOptions` on + /// `ICoreWebView2Environment` to verify which channel is used when this option + /// is set. + /// Examples: /// /// | ReleaseChannels | Channel Search Kind: Most Stable (default) | Channel Search Kind: Least Stable | /// | --- | --- | --- | - /// |CoreWebView2ReleaseChannels.Beta \| CoreWebView2ReleaseChannels.Stable| WebView2 Runtime -> Beta | Beta -> WebView2 Runtime| - /// |CoreWebView2ReleaseChannels.Canary \| CoreWebView2ReleaseChannels.Dev \| CoreWebView2ReleaseChannels.Beta \| CoreWebView2ReleaseChannels.Stable | WebView2 Runtime -> Beta -> Dev -> Canary | Canary -> Dev -> Beta -> WebView2 Runtime | - /// |CoreWebView2ReleaseChannels.Canary| Canary | Canary | - /// |CoreWebView2ReleaseChannels.Beta \| CoreWebView2ReleaseChannels.Canary \| CoreWebView2ReleaseChannels.Stable | WebView2 Runtime -> Beta -> Canary | Canary -> Beta -> WebView2 Runtime | + /// |COREWEBVIEW2_RELEASE_CHANNELS_BETA \| COREWEBVIEW2_RELEASE_CHANNELS_STABLE| WebView2 Runtime -> Beta | Beta -> WebView2 Runtime| + /// |COREWEBVIEW2_RELEASE_CHANNELS_CANARY \| COREWEBVIEW2_RELEASE_CHANNELS_DEV \| COREWEBVIEW2_RELEASE_CHANNELS_BETA \| COREWEBVIEW2_RELEASE_CHANNELS_STABLE| WebView2 Runtime -> Beta -> Dev -> Canary | Canary -> Dev -> Beta -> WebView2 Runtime | + /// |COREWEBVIEW2_RELEASE_CHANNELS_CANARY| Canary | Canary | + /// |COREWEBVIEW2_RELEASE_CHANNELS_BETA \| COREWEBVIEW2_RELEASE_CHANNELS_CANARY \| COREWEBVIEW2_RELEASE_CHANNELS_STABLE | WebView2 Runtime -> Beta -> Canary | Canary -> Beta -> WebView2 Runtime | /// + /// If both `BrowserExecutableFolder` and `ReleaseChannels` are provided, the + /// `BrowserExecutableFolder` takes precedence, regardless of whether or not the + /// channel of `BrowserExecutableFolder` is included in the `ReleaseChannels`. + /// `ReleaseChannels` can be overridden by the corresponding registry override + /// `ReleaseChannels` or the environment variable `WEBVIEW2_RELEASE_CHANNELS`. + /// Set the value to a comma-separated string of integers, which map to the + /// following release channel values: Stable (0), Beta (1), Dev (2), and + /// Canary (3). For example, the values "0,2" and "2,0" indicate that environment + /// creation should only search for Dev channel and the WebView2 Runtime, using the + /// order indicated by `ChannelSearchKind`. Environment creation attempts to + /// interpret each integer and treats any invalid entry as Stable channel. See + /// `CreateCoreWebView2EnvironmentWithOptions` for more details on overrides. /// /// /// Property used to create the environment. Used as ICoreWebView2EnvironmentOptions7.Get_ReleaseChannels. @@ -426,7 +437,7 @@ TWVLoader = class(TComponent, IWVLoaderEvents) /// which specifies the default browser ScrollBar style. /// The `color-scheme` CSS property needs to be set on the corresponding page /// to allow ScrollBar to follow light or dark theme. Please see - /// [color-scheme](https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme#declaring_color_scheme_preferences) + /// [color-scheme](https://developer.mozilla.org/docs/Web/CSS/color-scheme#declaring_color_scheme_preferences) /// for how `color-scheme` can be set. /// CSS styles that modify the ScrollBar applied on top of native ScrollBar styling /// that is selected with `ScrollBarStyle`. diff --git a/source/uWVTypeLibrary.pas b/source/uWVTypeLibrary.pas index 2504acc..a660370 100644 --- a/source/uWVTypeLibrary.pas +++ b/source/uWVTypeLibrary.pas @@ -613,7 +613,7 @@ interface COREWEBVIEW2_PERMISSION_KIND_MULTIPLE_AUTOMATIC_DOWNLOADS = $00000007; /// /// Indicates permission to read and write to files or folders on the device. - /// Permission is requested when developers use the [File System Access API](https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API) + /// Permission is requested when developers use the [File System Access API](https://developer.mozilla.org/docs/Web/API/File_System_Access_API) /// to show the file or folder picker to the end user, and then request /// "readwrite" permission for the user's selection. /// @@ -625,7 +625,7 @@ interface /// Indicates permission to play audio and video automatically on sites. This /// permission affects the autoplay attribute and play method of the audio and /// video HTML elements, and the start method of the Web Audio API. See the - /// [Autoplay guide for media and Web Audio APIs](https://developer.mozilla.org/en-US/docs/Web/Media/Autoplay_guide) for details. + /// [Autoplay guide for media and Web Audio APIs](https://developer.mozilla.org/docs/Web/Media/Autoplay_guide) for details. /// /// /// This is one of the COREWEBVIEW2_PERMISSION_KIND values. @@ -643,7 +643,7 @@ interface /// /// Indicates permission to send and receive system exclusive messages to/from MIDI /// (Musical Instrument Digital Interface) devices. Permission is requested - /// when developers use the [Web MIDI API](https://developer.mozilla.org/en-US/docs/Web/API/Web_MIDI_API) + /// when developers use the [Web MIDI API](https://developer.mozilla.org/docs/Web/API/Web_MIDI_API) /// to request access to system exclusive MIDI messages. /// /// @@ -2170,7 +2170,7 @@ interface COREWEBVIEW2_SCROLLBAR_STYLE_DEFAULT = $00000000; /// /// Window style fluent overlay scroll bar. - /// Please see [Fluent UI](https:/-/developer.microsoft.com/en-us/fluentui#/) + /// Please see [Fluent UI](https://developer.microsoft.com/fluentui#/) /// for more details on fluent UI. /// /// @@ -4261,6 +4261,7 @@ EventRegistrationToken = record /// `defaultSyncProxy` | When calling a method on a synchronous proxy, the result should also be a synchronous proxy. But in some cases, the sync/async context is lost (for example, when providing to native code a reference to a function, and then calling that function in native code). In these cases, the proxy will be asynchronous, unless this property is set. /// `forceAsyncMethodMatches ` | This is an array of regular expressions. When calling a method on a synchronous proxy, the method call will be performed asynchronously if the method name matches a string or regular expression in this array. Setting this value to `Async` will make any method that ends with Async be an asynchronous method call. If an async method doesn't match here and isn't forced to be asynchronous, the method will be invoked synchronously, blocking execution of the calling JavaScript and then returning the resolution of the promise, rather than returning a promise. /// `ignoreMemberNotFoundError` | By default, an exception is thrown when attempting to get the value of a proxy property that doesn't exist on the corresponding native class. Setting this property to `true` switches the behavior to match Chakra WinRT projection (and general JavaScript) behavior of returning `undefined` with no error. + /// `shouldPassTypedArraysAsArrays` | By default, typed arrays will be passed to host as IDispatch. Otherwise, set to true to pass typed arrays to host as array. /// /// Host object proxies additionally have the following methods which run /// locally. @@ -4432,11 +4433,12 @@ EventRegistrationToken = record /// `WindowCloseRequested` triggers when content inside the WebView /// requested to close the window, such as after `window.close` is run. The /// app should close the WebView and related app window if that makes sense - /// to the app. + /// to the app. After the first window.close() call, this event may not fire + /// for any immediate back to back window.close() calls. /// /// \snippet AppWindow.cpp WindowCloseRequested /// - function add_WindowCloseRequested(const eventHandler: ICoreWebView2WindowCloseRequestedEventHandler; + function add_WindowCloseRequested(const eventHandler: ICoreWebView2WindowCloseRequestedEventHandler; out token: EventRegistrationToken): HResult; stdcall; /// /// Remove an event handler previously added with `add_WindowCloseRequested`. @@ -5271,7 +5273,7 @@ EventRegistrationToken = record /// a WebView as the target for a `window.open()` from inside the /// requesting WebView. If this is set, the top-level window of this WebView /// is returned as the opened - /// [WindowProxy](https://developer.mozilla.org/en-US/docs/glossary/windowproxy) + /// [WindowProxy](https://developer.mozilla.org/docs/glossary/windowproxy) /// to the opener script. If this is not set, then `Handled` is checked to /// determine behavior for NewWindowRequested event. /// CoreWebView2 provided in the `NewWindow` property must be on the same @@ -5570,12 +5572,12 @@ EventRegistrationToken = record /// When providing the response data, you should consider relevant HTTP /// request headers just like an HTTP server would do. For example, if the /// request was for a video resource in a HTML video element, the request may - /// contain the [Range](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Range) + /// contain the [Range](https://developer.mozilla.org/docs/Web/HTTP/Headers/Range) /// header to request only a part of the video that is streaming. In this /// case, your response stream should be only the portion of the video /// specified by the range HTTP request headers and you should set the /// appropriate - /// [Content-Range](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Range) + /// [Content-Range](https://developer.mozilla.org/docs/Web/HTTP/Headers/Content-Range) /// header in the response. /// function Get_Content(out Content: IStream): HResult; stdcall; @@ -7465,7 +7467,7 @@ EventRegistrationToken = record /// Basic HTTP Authentication request as described in /// https://developer.mozilla.org/docs/Web/HTTP/Authentication, a Digest /// HTTP Authentication request as described in - /// https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Authorization#digest, + /// https://developer.mozilla.org/docs/Web/HTTP/Headers/Authorization#digest, /// an NTLM authentication or a Proxy Authentication request. /// /// The host can provide a response with credentials for the authentication or @@ -8650,7 +8652,7 @@ EventRegistrationToken = record /// The origin will be an empty string if the request is initiated by calling /// `CoreWebView2.Navigate` on the external URI scheme. If a script initiates /// the navigation, the `InitiatingOrigin` will be the top-level document's - /// `Source`, for example, if `window.location` is set to `"calculator://", the + /// `Source`, for example, if `window.location` is set to `"calculator://"`, the /// `InitiatingOrigin` will be set to `calculator://`. If the request is initiated /// from a child frame, the `InitiatingOrigin` will be the source of that child frame. /// If the `InitiatingOrigin` is @@ -11009,32 +11011,43 @@ EventRegistrationToken = record function Get_ReleaseChannels(out value: COREWEBVIEW2_RELEASE_CHANNELS): HResult; stdcall; /// /// Sets the `ReleaseChannels`, which is a mask of one or more - /// indicating which channels environment creation should search for. - /// OR operation(s) can be applied to multiple to create a mask. - /// The default value is a mask of all the channels. By default, environment - /// creation searches for channels from most to least stable, using the first - /// channel found on the device. When is provided, environment creation will - /// only search for the channels specified in the set. Set to to reverse - /// the search order so that the loader searches for the least stable build - /// first. See for descriptions of each channel. Environment creation fails - /// if it is unable to find any channel from the installed on the device. - /// Use to verify which channel is used. If both a and are provided, - /// the takes precedence. The can be overridden by the corresponding - /// registry override or the environment variable . Set the value to a - /// comma-separated string of integers, which map to the values: Stable (0), - /// Beta (1), Dev (2), and Canary (3). - /// For example, the values "0,2" and "2,0" indicate that the loader - /// should only search for Dev channel and the WebView2 Runtime, using the - /// order indicated by . Environment creation attempts to interpret each - /// integer and treats any invalid entry as Stable channel. + /// `COREWEBVIEW2_RELEASE_CHANNELS` indicating which channels environment + /// creation should search for. OR operation(s) can be applied to multiple + /// `COREWEBVIEW2_RELEASE_CHANNELS` to create a mask. The default value is a + /// a mask of all the channels. By default, environment creation searches for + /// channels from most to least stable, using the first channel found on the + /// device. When `ReleaseChannels` is provided, environment creation will only + /// search for the channels specified in the set. Set `ChannelSearchKind` to + /// `COREWEBVIEW2_CHANNEL_SEARCH_KIND_LEAST_STABLE` to reverse the search order + /// so environment creation searches for least stable build first. See + /// `COREWEBVIEW2_RELEASE_CHANNELS` for descriptions of each channel. + /// `CreateCoreWebView2EnvironmentWithOptions` fails with + /// `HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND)` if environment creation is unable + /// to find any channel from the `ReleaseChannels` installed on the device. + /// Use `GetAvailableCoreWebView2BrowserVersionStringWithOptions` on + /// `ICoreWebView2Environment` to verify which channel is used when this option + /// is set. + /// Examples: /// /// | ReleaseChannels | Channel Search Kind: Most Stable (default) | Channel Search Kind: Least Stable | /// | --- | --- | --- | - /// |CoreWebView2ReleaseChannels.Beta \| CoreWebView2ReleaseChannels.Stable| WebView2 Runtime -> Beta | Beta -> WebView2 Runtime| - /// |CoreWebView2ReleaseChannels.Canary \| CoreWebView2ReleaseChannels.Dev \| CoreWebView2ReleaseChannels.Beta \| CoreWebView2ReleaseChannels.Stable | WebView2 Runtime -> Beta -> Dev -> Canary | Canary -> Dev -> Beta -> WebView2 Runtime | - /// |CoreWebView2ReleaseChannels.Canary| Canary | Canary | - /// |CoreWebView2ReleaseChannels.Beta \| CoreWebView2ReleaseChannels.Canary \| CoreWebView2ReleaseChannels.Stable | WebView2 Runtime -> Beta -> Canary | Canary -> Beta -> WebView2 Runtime | + /// |COREWEBVIEW2_RELEASE_CHANNELS_BETA \| COREWEBVIEW2_RELEASE_CHANNELS_STABLE| WebView2 Runtime -> Beta | Beta -> WebView2 Runtime| + /// |COREWEBVIEW2_RELEASE_CHANNELS_CANARY \| COREWEBVIEW2_RELEASE_CHANNELS_DEV \| COREWEBVIEW2_RELEASE_CHANNELS_BETA \| COREWEBVIEW2_RELEASE_CHANNELS_STABLE| WebView2 Runtime -> Beta -> Dev -> Canary | Canary -> Dev -> Beta -> WebView2 Runtime | + /// |COREWEBVIEW2_RELEASE_CHANNELS_CANARY| Canary | Canary | + /// |COREWEBVIEW2_RELEASE_CHANNELS_BETA \| COREWEBVIEW2_RELEASE_CHANNELS_CANARY \| COREWEBVIEW2_RELEASE_CHANNELS_STABLE | WebView2 Runtime -> Beta -> Canary | Canary -> Beta -> WebView2 Runtime | /// + /// If both `BrowserExecutableFolder` and `ReleaseChannels` are provided, the + /// `BrowserExecutableFolder` takes precedence, regardless of whether or not the + /// channel of `BrowserExecutableFolder` is included in the `ReleaseChannels`. + /// `ReleaseChannels` can be overridden by the corresponding registry override + /// `ReleaseChannels` or the environment variable `WEBVIEW2_RELEASE_CHANNELS`. + /// Set the value to a comma-separated string of integers, which map to the + /// following release channel values: Stable (0), Beta (1), Dev (2), and + /// Canary (3). For example, the values "0,2" and "2,0" indicate that environment + /// creation should only search for Dev channel and the WebView2 Runtime, using the + /// order indicated by `ChannelSearchKind`. Environment creation attempts to + /// interpret each integer and treats any invalid entry as Stable channel. See + /// `CreateCoreWebView2EnvironmentWithOptions` for more details on overrides. /// function Set_ReleaseChannels(value: COREWEBVIEW2_RELEASE_CHANNELS): HResult; stdcall; end; @@ -11057,7 +11070,7 @@ EventRegistrationToken = record /// which specifies the default browser ScrollBar style. /// The `color-scheme` CSS property needs to be set on the corresponding page /// to allow ScrollBar to follow light or dark theme. Please see - /// [color-scheme](https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme#declaring_color_scheme_preferences) + /// [color-scheme](https://developer.mozilla.org/docs/Web/CSS/color-scheme#declaring_color_scheme_preferences) /// for how `color-scheme` can be set. /// CSS styles that modify the ScrollBar applied on top of native ScrollBar styling /// that is selected with `ScrollBarStyle`. @@ -12082,7 +12095,7 @@ EventRegistrationToken = record /// otherwise the method fails with `E_INVALIDARG`. Additional URI parts like /// path and fragment are ignored. For example, "https://wwww.example.com/app1/index.html/" /// is treated the same as "https://wwww.example.com". See the - /// [MDN origin definition](https://developer.mozilla.org/en-US/docs/Glossary/Origin) + /// [MDN origin definition](https://developer.mozilla.org/docs/Glossary/Origin) /// for more details. /// /// \snippet ScenarioPermissionManagement.cpp SetPermissionState @@ -12207,7 +12220,7 @@ EventRegistrationToken = record ICoreWebView2Profile7 = interface(ICoreWebView2Profile6) ['{7B4C7906-A1AA-4CB4-B723-DB09F813D541}'] /// - /// Adds the [browser extension](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions) + /// Adds the [browser extension](https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions) /// using the extension path for unpacked extensions from the local device. Extension is /// running right after installation. /// The extension folder path is the topmost folder of an unpacked browser extension and @@ -12279,7 +12292,7 @@ EventRegistrationToken = record ['{7EF7FFA0-FAC5-462C-B189-3D9EDBE575DA}'] /// /// This is the browser extension's ID. This is the same browser extension ID returned by - /// the browser extension API [`chrome.runtime.id`](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/id). + /// the browser extension API [`chrome.runtime.id`](https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/id). /// Please see that documentation for more details on how the ID is generated. /// After an extension is removed, calling `Id` will return the id of the extension that is removed. /// The caller must free the returned string with `CoTaskMemFree`. See @@ -12290,7 +12303,7 @@ EventRegistrationToken = record /// This is the browser extension's name. This value is defined in this browser extension's /// manifest.json file. If manifest.json define extension's localized name, this value will /// be the localized version of the name. - /// Please see [Manifest.json name](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/name) + /// Please see [Manifest.json name](https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/manifest.json/name) /// for more details. /// After an extension is removed, calling `Name` will return the name of the extension that is removed. /// The caller must free the returned string with `CoTaskMemFree`. See @@ -12468,6 +12481,10 @@ EventRegistrationToken = record /// Setting this property may clear User Agent Client Hints headers /// Sec-CH-UA-* and script values from navigator.userAgentData. Current /// implementation behavior is subject to change. + /// The User Agent set will also be effective on service workers + /// and shared workers associated with the WebView. + /// If there are multiple WebViews associated with the same service worker or + /// shared worker, the last User Agent set will be used. /// Returns `HRESULT_FROM_WIN32(ERROR_INVALID_STATE)` if the owning WebView is /// closed. /// @@ -12879,7 +12896,7 @@ EventRegistrationToken = record /// /// Representation of a DOM - /// [File](https://developer.mozilla.org/en-US/docs/Web/API/File) object + /// [File](https://developer.mozilla.org/docs/Web/API/File) object /// passed via WebMessage. You can use this object to obtain the path of a /// File dropped on WebView2. /// diff --git a/source/uWVVersion.inc b/source/uWVVersion.inc index 2a54e1c..fce0f32 100644 --- a/source/uWVVersion.inc +++ b/source/uWVVersion.inc @@ -1,12 +1,12 @@ WEBVIEW2LOADERLIB_VERSION_MAJOR = 1; WEBVIEW2LOADERLIB_VERSION_MINOR = 0; - WEBVIEW2LOADERLIB_VERSION_RELEASE = 2535; - WEBVIEW2LOADERLIB_VERSION_BUILD = 41; + WEBVIEW2LOADERLIB_VERSION_RELEASE = 2592; + WEBVIEW2LOADERLIB_VERSION_BUILD = 51; // For full API compatibility, WebView4Delphi requires the same // WebView2 Runtime version mentioned in the release notes : // https://docs.microsoft.com/en-us/microsoft-edge/webview2/release-notes - CHROMIUM_VERSION_MAJOR = 125; + CHROMIUM_VERSION_MAJOR = 126; CHROMIUM_VERSION_MINOR = 0; CHROMIUM_VERSION_RELEASE = WEBVIEW2LOADERLIB_VERSION_RELEASE; CHROMIUM_VERSION_BUILD = WEBVIEW2LOADERLIB_VERSION_BUILD; \ No newline at end of file diff --git a/update_WebView4Delphi.json b/update_WebView4Delphi.json index b3f1cf9..5416b28 100644 --- a/update_WebView4Delphi.json +++ b/update_WebView4Delphi.json @@ -2,9 +2,9 @@ "UpdateLazPackages" : [ { "ForceNotify" : true, - "InternalVersion" : 152, + "InternalVersion" : 153, "Name" : "webview4delphi.lpk", - "Version" : "1.0.2535.41" + "Version" : "1.0.2592.51" } ], "UpdatePackageData" : {