Skip to content

Commit

Permalink
Update to WebView2 NuGet 1.0.2739.15
Browse files Browse the repository at this point in the history
  • Loading branch information
salvadordf committed Aug 28, 2024
1 parent a369af7 commit 1011732
Show file tree
Hide file tree
Showing 60 changed files with 9,893 additions and 1,726 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.2651.64](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.2739.15](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.
Expand Down
Binary file modified bin32/WebView2Loader.dll
Binary file not shown.
Binary file modified bin64/WebView2Loader.dll
Binary file not shown.
Binary file modified docs/WebView4Delphi.chm
Binary file not shown.
427 changes: 251 additions & 176 deletions docs/html/AllClasses.html

Large diffs are not rendered by default.

335 changes: 223 additions & 112 deletions docs/html/AllConstants.html

Large diffs are not rendered by default.

1,585 changes: 915 additions & 670 deletions docs/html/AllIdentifiers.html

Large diffs are not rendered by default.

329 changes: 194 additions & 135 deletions docs/html/AllTypes.html

Large diffs are not rendered by default.

18 changes: 12 additions & 6 deletions docs/html/ClassHierarchy.html

Large diffs are not rendered by default.

1,688 changes: 1,688 additions & 0 deletions docs/html/WebView4Delphi.hhc

Large diffs are not rendered by default.

758 changes: 749 additions & 9 deletions docs/html/WebView4Delphi.hhk

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions docs/html/WebView4Delphi.hhp
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ uWVCoreWebView2Args.TCoreWebView2ContextMenuRequestedEventArgs.html
uWVCoreWebView2Args.TCoreWebView2ServerCertificateErrorDetectedEventArgs.html
uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html
uWVCoreWebView2Args.TCoreWebView2NonClientRegionChangedEventArgs.html
uWVCoreWebView2Args.TCoreWebView2NotificationReceivedEventArgs.html
uWVCoreWebView2Args.TCoreWebView2SaveAsUIShowingEventArgs.html
uWVCoreWebView2BasicAuthenticationResponse.html
uWVCoreWebView2BasicAuthenticationResponse.TCoreWebView2BasicAuthenticationResponse.html
uWVCoreWebView2BrowserExtension.html
Expand Down Expand Up @@ -170,6 +172,10 @@ uWVCoreWebView2Delegates.TCoreWebView2ProfileGetBrowserExtensionsCompletedHandle
uWVCoreWebView2Delegates.TCoreWebView2ProfileDeletedEventHandler.html
uWVCoreWebView2Delegates.TCoreWebView2ExecuteScriptWithResultCompletedHandler.html
uWVCoreWebView2Delegates.TCoreWebView2NonClientRegionChangedEventHandler.html
uWVCoreWebView2Delegates.TCoreWebView2NotificationReceivedEventHandler.html
uWVCoreWebView2Delegates.TCoreWebView2NotificationCloseRequestedEventHandler.html
uWVCoreWebView2Delegates.TCoreWebView2SaveAsUIShowingEventHandler.html
uWVCoreWebView2Delegates.TCoreWebView2ShowSaveAsUICompletedHandler.html
uWVCoreWebView2DownloadOperation.html
uWVCoreWebView2DownloadOperation.TCoreWebView2DownloadOperation.html
uWVCoreWebView2Environment.html
Expand Down Expand Up @@ -381,6 +387,15 @@ uWVTypeLibrary.ICoreWebView2ExecuteScriptResult.html
uWVTypeLibrary.ICoreWebView2ScriptException.html
uWVTypeLibrary.ICoreWebView2_22.html
uWVTypeLibrary.ICoreWebView2_23.html
uWVTypeLibrary.ICoreWebView2_24.html
uWVTypeLibrary.ICoreWebView2NotificationReceivedEventHandler.html
uWVTypeLibrary.ICoreWebView2NotificationReceivedEventArgs.html
uWVTypeLibrary.ICoreWebView2Notification.html
uWVTypeLibrary.ICoreWebView2NotificationCloseRequestedEventHandler.html
uWVTypeLibrary.ICoreWebView2_25.html
uWVTypeLibrary.ICoreWebView2SaveAsUIShowingEventHandler.html
uWVTypeLibrary.ICoreWebView2SaveAsUIShowingEventArgs.html
uWVTypeLibrary.ICoreWebView2ShowSaveAsUICompletedHandler.html
uWVTypeLibrary.ICoreWebView2BrowserProcessExitedEventArgs.html
uWVTypeLibrary.ICoreWebView2BrowserProcessExitedEventHandler.html
uWVTypeLibrary.ICoreWebView2CompositionController.html
Expand Down
25 changes: 20 additions & 5 deletions docs/html/WebView4Delphi.log
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ uWVCoreWebView2Args.TCoreWebView2ContextMenuRequestedEventArgs.html
uWVCoreWebView2Args.TCoreWebView2ServerCertificateErrorDetectedEventArgs.html
uWVCoreWebView2Args.TCoreWebView2LaunchingExternalUriSchemeEventArgs.html
uWVCoreWebView2Args.TCoreWebView2NonClientRegionChangedEventArgs.html
uWVCoreWebView2Args.TCoreWebView2NotificationReceivedEventArgs.html
uWVCoreWebView2Args.TCoreWebView2SaveAsUIShowingEventArgs.html
uWVCoreWebView2BasicAuthenticationResponse.html
uWVCoreWebView2BasicAuthenticationResponse.TCoreWebView2BasicAuthenticationResponse.html
uWVCoreWebView2BrowserExtension.html
Expand Down Expand Up @@ -157,6 +159,10 @@ uWVCoreWebView2Delegates.TCoreWebView2ProfileGetBrowserExtensionsCompletedHandle
uWVCoreWebView2Delegates.TCoreWebView2ProfileDeletedEventHandler.html
uWVCoreWebView2Delegates.TCoreWebView2ExecuteScriptWithResultCompletedHandler.html
uWVCoreWebView2Delegates.TCoreWebView2NonClientRegionChangedEventHandler.html
uWVCoreWebView2Delegates.TCoreWebView2NotificationReceivedEventHandler.html
uWVCoreWebView2Delegates.TCoreWebView2NotificationCloseRequestedEventHandler.html
uWVCoreWebView2Delegates.TCoreWebView2SaveAsUIShowingEventHandler.html
uWVCoreWebView2Delegates.TCoreWebView2ShowSaveAsUICompletedHandler.html
uWVCoreWebView2DownloadOperation.html
uWVCoreWebView2DownloadOperation.TCoreWebView2DownloadOperation.html
uWVCoreWebView2Environment.html
Expand Down Expand Up @@ -368,6 +374,15 @@ uWVTypeLibrary.ICoreWebView2ExecuteScriptResult.html
uWVTypeLibrary.ICoreWebView2ScriptException.html
uWVTypeLibrary.ICoreWebView2_22.html
uWVTypeLibrary.ICoreWebView2_23.html
uWVTypeLibrary.ICoreWebView2_24.html
uWVTypeLibrary.ICoreWebView2NotificationReceivedEventHandler.html
uWVTypeLibrary.ICoreWebView2NotificationReceivedEventArgs.html
uWVTypeLibrary.ICoreWebView2Notification.html
uWVTypeLibrary.ICoreWebView2NotificationCloseRequestedEventHandler.html
uWVTypeLibrary.ICoreWebView2_25.html
uWVTypeLibrary.ICoreWebView2SaveAsUIShowingEventHandler.html
uWVTypeLibrary.ICoreWebView2SaveAsUIShowingEventArgs.html
uWVTypeLibrary.ICoreWebView2ShowSaveAsUICompletedHandler.html
uWVTypeLibrary.ICoreWebView2BrowserProcessExitedEventArgs.html
uWVTypeLibrary.ICoreWebView2BrowserProcessExitedEventHandler.html
uWVTypeLibrary.ICoreWebView2CompositionController.html
Expand Down Expand Up @@ -490,12 +505,12 @@ published.gif
automated.gif
pasdoc.css

Compile time: 0 minutes, 8 seconds
8,011 Topics
61,579 Local links
Compile time: 0 minutes, 9 seconds
8,291 Topics
63,713 Local links
5 Internet links
5 Graphics


Created c:\Users\usuario\Documents\Embarcadero\Studio\Projects\WebView4Delphi\docs\WebView4Delphi.chm, 1,937,646 bytes
Compression decreased file by 12,475,419 bytes.
Created c:\Users\usuario\Documents\Embarcadero\Studio\Projects\WebView4Delphi\docs\WebView4Delphi.chm, 2,002,416 bytes
Compression decreased file by 12,903,064 bytes.
92 changes: 89 additions & 3 deletions docs/html/uWVBrowser.TWVBrowser.html
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,26 @@ <h2 class="description">Description</h2>
<td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVBrowser.TWVBrowser.html#OnExecuteScriptWithResultCompleted">OnExecuteScriptWithResultCompleted</a></strong>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVBrowser.TWVBrowser.html#OnNonClientRegionChanged">OnNonClientRegionChanged</a></strong>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVBrowser.TWVBrowser.html#OnNotificationReceived">OnNotificationReceived</a></strong>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVBrowser.TWVBrowser.html#OnNotificationCloseRequested">OnNotificationCloseRequested</a></strong>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVBrowser.TWVBrowser.html#OnSaveAsUIShowing">OnSaveAsUIShowing</a></strong>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVBrowser.TWVBrowser.html#OnShowSaveAsUICompleted">OnShowSaveAsUICompleted</a></strong>;</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Methods</h3>
Expand Down Expand Up @@ -1742,15 +1762,15 @@ <h3 class="detail">Properties</h3>

<p>If a deferral is not taken on the event args, the external URI scheme launch is blocked until the event handler returns. If a deferral is taken, the external URI scheme launch is blocked until the deferral is completed. The host also has the option to cancel the URI scheme launch.

<p>The `NavigationStarting` and `NavigationCompleted` events will be raised, regardless of whether the `Cancel` property is set to `TRUE` or `FALSE`. The `NavigationCompleted` event will be raised with the `IsSuccess` property set to `FALSE` and the `WebErrorStatus` property set to `ConnectionAborted` regardless of whether the host sets the `Cancel` property on the `ICoreWebView2LaunchingExternalUriSchemeEventArgs`. The `SourceChanged`, `ContentLoading`, and `HistoryChanged` events will not be raised for this navigation to the external URI scheme regardless of the `Cancel` property.
<p>The `OnNavigationStarting` and `OnNavigationCompleted` events will be raised, regardless of whether the `Cancel` property is set to `TRUE` or `FALSE`. The `OnNavigationCompleted` event will be raised with the `IsSuccess` property set to `FALSE` and the `WebErrorStatus` property set to `ConnectionAborted` regardless of whether the host sets the `Cancel` property on the `ICoreWebView2LaunchingExternalUriSchemeEventArgs`. The `OnSourceChanged`, `OnContentLoading`, and `OnHistoryChanged` events will not be raised for this navigation to the external URI scheme regardless of the `Cancel` property.

<p>The `OnLaunchingExternalUriScheme` event will be raised after the `NavigationStarting` event and before the `NavigationCompleted` event.
<p>The `OnLaunchingExternalUriScheme` event will be raised after the `OnNavigationStarting` event and before the `OnNavigationCompleted` event.

<p>The default `CoreWebView2Settings` will also be updated upon navigation to an external URI scheme. If a setting on the `CoreWebView2Settings` interface has been changed, navigating to an external URI scheme will trigger the `CoreWebView2Settings` to update.

<p>The WebView2 may not display the default dialog based on user settings, browser settings, and whether the origin is determined as a [trustworthy origin](<a href="https://w3c.github.io/webappsec-secure-contexts#">https://w3c.github.io/webappsec-secure-contexts#</a> potentially-trustworthy-origin); however, the event will still be raised.

<p>If the request is initiated by a cross-origin frame without a user gesture, the request will be blocked and the `OnLaunchingExternalUriScheme` event will not be raised. A URI scheme may be blocked for safety reasons. In this case the `LaunchingExternalUriScheme` event will not be raised. The default dialog may show an &quot;always allow&quot; checkbox which allows the user to opt-in to relaxed security (i.e. skipping future default dialogs) for the combination of the URI scheme and the origin of the page initiating this external URI scheme launch. The checkbox is offered so long as the group policy to show the checkbox is not explicitly disabled and there is a trustworthy initiating origin. If the user has checked this box, future attempts to launch this URI scheme will still raise the event.
<p>If the request is initiated by a cross-origin frame without a user gesture, the request will be blocked and the `OnLaunchingExternalUriScheme` event will not be raised.

<p>

Expand Down Expand Up @@ -1841,6 +1861,72 @@ <h3 class="detail">Properties</h3>
<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2_21#executescriptwithresult">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2_21#executescriptwithresult</a>&quot;&gt;See the ICoreWebView2_21 article.)</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
<td class="itemcode"><span id="OnNonClientRegionChanged"></span><code>property <strong>OnNonClientRegionChanged</strong>;</code></td>
</tr>
<tr><td colspan="2">
<p class="inheritdescription">This item has no description. Showing description inherited from <a class="normal" href="uWVBrowserBase.TWVBrowserBase.html#OnNonClientRegionChanged">TWVBrowserBase.OnNonClientRegionChanged</a>.</p><p>
This event is fired when regions which are marked as non-client in the app html have changed. So either when new regions have been marked, or unmarked, or the region(s) have been changed to a different kind.

<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2compositioncontroller4#add_nonclientregionchanged">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2compositioncontroller4#add_nonclientregionchanged</a>&quot;&gt;See the ICoreWebView2CompositionController4 article.)</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
<td class="itemcode"><span id="OnNotificationReceived"></span><code>property <strong>OnNotificationReceived</strong>;</code></td>
</tr>
<tr><td colspan="2">
<p class="inheritdescription">This item has no description. Showing description inherited from <a class="normal" href="uWVBrowserBase.TWVBrowserBase.html#OnNotificationReceived">TWVBrowserBase.OnNotificationReceived</a>.</p><p>


<p>Event for non-persistent notifications.

<p>If a deferral is not taken on the event args, the subsequent scripts after the DOM notification creation call (i.e. `Notification()`) are blocked until the event handler returns. If a deferral is taken, the scripts are blocked until the deferral is completed.

<p>

<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2_24#add_notificationreceived">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2_24#add_notificationreceived</a>&quot;&gt;See the ICoreWebView2_24 article.)</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
<td class="itemcode"><span id="OnNotificationCloseRequested"></span><code>property <strong>OnNotificationCloseRequested</strong>;</code></td>
</tr>
<tr><td colspan="2">
<p class="inheritdescription">This item has no description. Showing description inherited from <a class="normal" href="uWVBrowserBase.TWVBrowserBase.html#OnNotificationCloseRequested">TWVBrowserBase.OnNotificationCloseRequested</a>.</p><p>
This event is raised when the notification is closed by the web code, such as through `notification.close()`. You don't need to call `ReportClosed` since this is coming from the web code.

<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2notification#add_closerequested">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2notification#add_closerequested</a>&quot;&gt;See the ICoreWebView2Notification article.)</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
<td class="itemcode"><span id="OnSaveAsUIShowing"></span><code>property <strong>OnSaveAsUIShowing</strong>;</code></td>
</tr>
<tr><td colspan="2">
<p class="inheritdescription">This item has no description. Showing description inherited from <a class="normal" href="uWVBrowserBase.TWVBrowserBase.html#OnSaveAsUIShowing">TWVBrowserBase.OnSaveAsUIShowing</a>.</p><p>
This event is raised when save as is triggered, programmatically or manually.

<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2_25#add_saveasuishowing">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2_25#add_saveasuishowing</a>&quot;&gt;See the ICoreWebView2_25 article.)</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
<td class="itemcode"><span id="OnShowSaveAsUICompleted"></span><code>property <strong>OnShowSaveAsUICompleted</strong>;</code></td>
</tr>
<tr><td colspan="2">
<p class="inheritdescription">This item has no description. Showing description inherited from <a class="normal" href="uWVBrowserBase.TWVBrowserBase.html#OnShowSaveAsUICompleted">TWVBrowserBase.OnShowSaveAsUICompleted</a>.</p><p>
This event receives the result of the `ShowSaveAsUI` method.

<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2_25#showsaveasui">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2_25#showsaveasui</a>&quot;&gt;See the ICoreWebView2_25 article.)</p>
</td></tr>
</table>
<hr><span class="appinfo"><em>Generated by <a href="https://pasdoc.github.io/">PasDoc 0.16.0-snapshot</a>. </em>
</span>
</body></html>
Loading

0 comments on commit 1011732

Please sign in to comment.