1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2025-09-30 21:28:55 +02:00

Update to CEF 137.0.4

This commit is contained in:
Salvador Díaz Fau
2025-05-30 16:54:28 +02:00
parent 44caea2fd9
commit 9ac32a08e3
34 changed files with 1991 additions and 1019 deletions

View File

@@ -497,6 +497,14 @@
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uCEFChromiumCore.TChromiumCore.html#FOnContentsBoundsChange">FOnContentsBoundsChange</a></strong>: <a href="uCEFChromiumEvents.html#TOnContentsBoundsChange">TOnContentsBoundsChange</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uCEFChromiumCore.TChromiumCore.html#FOnGetRootWindowScreenRect">FOnGetRootWindowScreenRect</a></strong>: <a href="uCEFChromiumEvents.html#TOnGetRootWindowScreenRect">TOnGetRootWindowScreenRect</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uCEFChromiumCore.TChromiumCore.html#FOnCanDownload">FOnCanDownload</a></strong>: <a href="uCEFChromiumEvents.html#TOnCanDownloadEvent">TOnCanDownloadEvent</a>;</code></td>
</tr>
<tr class="list">
@@ -1684,6 +1692,14 @@
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uCEFChromiumCore.TChromiumCore.html#doOnContentsBoundsChange-ICefBrowser-PCefRect-">doOnContentsBoundsChange</a></strong>(const browser: <a href="uCEFInterfaces.ICefBrowser.html">ICefBrowser</a>; const new_bounds: <a href="uCEFTypes.html#PCefRect">PCefRect</a>): Boolean; virtual;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uCEFChromiumCore.TChromiumCore.html#doOnGetRootWindowScreenRect-ICefBrowser-PCefRect-">doOnGetRootWindowScreenRect</a></strong>(const browser: <a href="uCEFInterfaces.ICefBrowser.html">ICefBrowser</a>; rect_: <a href="uCEFTypes.html#PCefRect">PCefRect</a>): Boolean; virtual;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uCEFChromiumCore.TChromiumCore.html#doOnCanDownload-ICefBrowser-ustring-ustring-">doOnCanDownload</a></strong>(const browser: <a href="uCEFInterfaces.ICefBrowser.html">ICefBrowser</a>; const url, request_method: <a href="uCEFTypes.html#ustring">ustring</a>): boolean;</code></td>
</tr>
<tr class="list2">
@@ -3459,6 +3475,14 @@
</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="uCEFChromiumCore.TChromiumCore.html#OnContentsBoundsChange">OnContentsBoundsChange</a></strong> : <a href="uCEFChromiumEvents.html#TOnContentsBoundsChange">TOnContentsBoundsChange</a> read <a href="uCEFChromiumCore.TChromiumCore.html#FOnContentsBoundsChange">FOnContentsBoundsChange</a> write <a href="uCEFChromiumCore.TChromiumCore.html#FOnContentsBoundsChange">FOnContentsBoundsChange</a>;</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="uCEFChromiumCore.TChromiumCore.html#OnGetRootWindowScreenRect">OnGetRootWindowScreenRect</a></strong> : <a href="uCEFChromiumEvents.html#TOnGetRootWindowScreenRect">TOnGetRootWindowScreenRect</a> read <a href="uCEFChromiumCore.TChromiumCore.html#FOnGetRootWindowScreenRect">FOnGetRootWindowScreenRect</a> write <a href="uCEFChromiumCore.TChromiumCore.html#FOnGetRootWindowScreenRect">FOnGetRootWindowScreenRect</a>;</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="uCEFChromiumCore.TChromiumCore.html#OnCanDownload">OnCanDownload</a></strong> : <a href="uCEFChromiumEvents.html#TOnCanDownloadEvent">TOnCanDownloadEvent</a> read <a href="uCEFChromiumCore.TChromiumCore.html#FOnCanDownload">FOnCanDownload</a> write <a href="uCEFChromiumCore.TChromiumCore.html#FOnCanDownload">FOnCanDownload</a>;</code></td>
</tr>
<tr class="list2">
@@ -4763,6 +4787,22 @@ ICefDisplayHandler</p>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FOnContentsBoundsChange"></span><code><strong>FOnContentsBoundsChange</strong>: <a href="uCEFChromiumEvents.html#TOnContentsBoundsChange">TOnContentsBoundsChange</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FOnGetRootWindowScreenRect"></span><code><strong>FOnGetRootWindowScreenRect</strong>: <a href="uCEFChromiumEvents.html#TOnGetRootWindowScreenRect">TOnGetRootWindowScreenRect</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FOnCanDownload"></span><code><strong>FOnCanDownload</strong>: <a href="uCEFChromiumEvents.html#TOnCanDownloadEvent">TOnCanDownloadEvent</a>;</code></td>
</tr>
<tr><td colspan="2">
@@ -7188,6 +7228,22 @@ ICefDisplayHandler</p>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="doOnContentsBoundsChange-ICefBrowser-PCefRect-"></span><code>function <strong>doOnContentsBoundsChange</strong>(const browser: <a href="uCEFInterfaces.ICefBrowser.html">ICefBrowser</a>; const new_bounds: <a href="uCEFTypes.html#PCefRect">PCefRect</a>): Boolean; virtual;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="doOnGetRootWindowScreenRect-ICefBrowser-PCefRect-"></span><code>function <strong>doOnGetRootWindowScreenRect</strong>(const browser: <a href="uCEFInterfaces.ICefBrowser.html">ICefBrowser</a>; rect_: <a href="uCEFTypes.html#PCefRect">PCefRect</a>): Boolean; virtual;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="doOnCanDownload-ICefBrowser-ustring-ustring-"></span><code>function <strong>doOnCanDownload</strong>(const browser: <a href="uCEFInterfaces.ICefBrowser.html">ICefBrowser</a>; const url, request_method: <a href="uCEFTypes.html#ustring">ustring</a>): boolean;</code></td>
</tr>
<tr><td colspan="2">
@@ -9694,7 +9750,17 @@ Custom</p>
</tr>
<tr><td colspan="2">
<p>
Send a notification to the browser that the screen info has changed. The browser will then call ICefRenderHandler.GetScreenInfo to update the screen information with the new values. This simulates moving the webview window from one display to another, or changing the properties of the current display. This function is only used when window rendering is disabled. </p>
<p>Notify the browser that screen information has changed. Updated information will be sent to the renderer process to configure screen size and position values used by CSS and JavaScript (window.deviceScaleFactor, window.screenX/Y, window.outerWidth/Height, etc.). For background see <a href="https://bitbucket.org/chromiumembedded/cef/wiki/GeneralUsage.md#markdown">https://bitbucket.org/chromiumembedded/cef/wiki/GeneralUsage.md#markdown</a>- header-coordinate-systems
<p>This function is used with (a) windowless rendering and (b) windowed rendering with external (client-provided) root window.
<p>With windowless rendering the browser will trigger TChromiumCore.OnGetScreenInfo, TChromiumCore.OnGetRootScreenRect and TChromiumCore.OnGetViewRect. This simulates moving or resizing the root window in the current display, moving the root window from one display to another, or changing the properties of the current display.
<p>With windowed rendering the browser will trigger TChromiumCore.OnGetRootWindowScreenRect and use the associated display properties.
<p></p>
</td></tr>
</table>
<table class="detail wide_list">
@@ -12007,7 +12073,7 @@ Custom</p>
</tr>
<tr><td colspan="2">
<p>
Called when auto-resize is enabled via cef_browser_host_t::SetAutoResizeEnabled and the contents have auto- resized. |new_size| will be the desired size in view coordinates. Return true (1) if the resize was handled or false (0) for default handling. </p>
Called when auto-resize is enabled via cef_browser_host_t::SetAutoResizeEnabled and the contents have auto- resized. |new_size| will be the desired size in DIP coordinates. Return true (1) if the resize was handled or false (0) for default handling. </p>
<p>
@@ -12059,6 +12125,46 @@ Custom</p>
<p>
<p>This event will be called on the browser process CEF UI thread.
<p>&lt;see href=&quot;<a href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_display_handler_capi.h">https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_display_handler_capi.h</a>&quot;&gt;CEF source file: /include/capi/cef_display_handler_capi.h (cef_display_handler_t))</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="OnContentsBoundsChange"></span><code>property <strong>OnContentsBoundsChange</strong> : <a href="uCEFChromiumEvents.html#TOnContentsBoundsChange">TOnContentsBoundsChange</a> read <a href="uCEFChromiumCore.TChromiumCore.html#FOnContentsBoundsChange">FOnContentsBoundsChange</a> write <a href="uCEFChromiumCore.TChromiumCore.html#FOnContentsBoundsChange">FOnContentsBoundsChange</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
<p>Called when JavaScript is requesting new bounds via window.moveTo/By() or window.resizeTo/By(). |new_bounds| are in DIP screen coordinates.
<p>With Views-hosted browsers |new_bounds| are the desired bounds for the containing cef_window_t and may be passed directly to ICefWindow.SetBounds. With external (client-provided) parent on macOS and Windows |new_bounds| are the desired frame bounds for the containing root window. With other non-Views browsers |new_bounds| are the desired bounds for the browser content only unless the client implements either ICefDisplayHandler.GetRootWindowScreenRect for windowed browsers or ICefRenderHandler.GetWindowScreenRect for windowless browsers. Clients may expand browser content bounds to window bounds using OS-specific or ICefDisplay functions.
<p>Return true (1) if this function was handled or false (0) for default handling. Default move/resize behavior is only provided with Views-hosted Chrome style browsers.
<p></p>
<p>
<p>This event will be called on the browser process CEF UI thread.
<p>&lt;see href=&quot;<a href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_display_handler_capi.h">https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_display_handler_capi.h</a>&quot;&gt;CEF source file: /include/capi/cef_display_handler_capi.h (cef_display_handler_t))</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="OnGetRootWindowScreenRect"></span><code>property <strong>OnGetRootWindowScreenRect</strong> : <a href="uCEFChromiumEvents.html#TOnGetRootWindowScreenRect">TOnGetRootWindowScreenRect</a> read <a href="uCEFChromiumCore.TChromiumCore.html#FOnGetRootWindowScreenRect">FOnGetRootWindowScreenRect</a> write <a href="uCEFChromiumCore.TChromiumCore.html#FOnGetRootWindowScreenRect">FOnGetRootWindowScreenRect</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Called to retrieve the external (client-provided) root window rectangle in screen DIP coordinates. Only called for windowed browsers on Windows and Linux. Return true (1) if the rectangle was provided. Return false (0) to use the root window bounds on Windows or the browser content bounds on Linux. For additional usage details see ICefBrowserHost.NotifyScreenInfoChanged. </p>
<p>
<p>This event will be called on the browser process CEF UI thread.
<p>&lt;see href=&quot;<a href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_display_handler_capi.h">https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_display_handler_capi.h</a>&quot;&gt;CEF source file: /include/capi/cef_display_handler_capi.h (cef_display_handler_t))</p>