1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2025-06-22 22:17:48 +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

@ -76,6 +76,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>function <strong><a href="uCEFDisplayHandler.TCefDisplayHandlerOwn.html#OnContentsBoundsChange-ICefBrowser-PCefRect-">OnContentsBoundsChange</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="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="uCEFDisplayHandler.TCefDisplayHandlerOwn.html#GetRootWindowScreenRect-ICefBrowser-PCefRect-">GetRootWindowScreenRect</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="list2">
<td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <strong><a href="uCEFDisplayHandler.TCefDisplayHandlerOwn.html#RemoveReferences">RemoveReferences</a></strong>; virtual;</code></td>
</tr>
<tr class="list">
@ -162,7 +170,7 @@
</tr>
<tr><td colspan="2">
<p>
Called when auto-resize is enabled via ICefBrowserHost.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 ICefBrowserHost.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>
</td></tr>
</table>
<table class="detail wide_list">
@ -198,6 +206,34 @@
<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="OnContentsBoundsChange-ICefBrowser-PCefRect-"></span><code>function <strong>OnContentsBoundsChange</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>
<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 ICefWindow 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>
</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="GetRootWindowScreenRect-ICefBrowser-PCefRect-"></span><code>function <strong>GetRootWindowScreenRect</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>
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>
</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="RemoveReferences"></span><code>procedure <strong>RemoveReferences</strong>; virtual;</code></td>
</tr>
<tr><td colspan="2">