You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-06-12 22:07:39 +02:00
Update to CEF 125.0.19
This commit is contained in:
@ -181,10 +181,22 @@
|
||||
<td class="itemcode"><code>procedure <strong><a href="uCEFWindow.TCefWindowRef.html#RemoveAllAccelerators">RemoveAllAccelerators</a></strong>;</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>procedure <strong><a href="uCEFWindow.TCefWindowRef.html#SetThemeColor-integer-TCefColor-">SetThemeColor</a></strong>(color_id: integer; color: <a href="uCEFTypes.html#TCefColor">TCefColor</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>procedure <strong><a href="uCEFWindow.TCefWindowRef.html#ThemeChanged">ThemeChanged</a></strong>;</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="uCEFWindow.TCefWindowRef.html#GetRuntimeStyle">GetRuntimeStyle</a></strong>: <a href="uCEFTypes.html#TCefRuntimeStyle">TCefRuntimeStyle</a>;</code></td>
|
||||
</tr>
|
||||
<tr class="list2">
|
||||
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
||||
<td class="itemcode"><code>class function <strong><a href="uCEFWindow.TCefWindowRef.html#UnWrap-Pointer-">UnWrap</a></strong>(data: Pointer): <a href="uCEFInterfaces.ICefWindow.html">ICefWindow</a>;</code></td>
|
||||
</tr>
|
||||
<tr class="list2">
|
||||
<tr class="list">
|
||||
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
||||
<td class="itemcode"><code>class function <strong><a href="uCEFWindow.TCefWindowRef.html#CreateTopLevel-ICefWindowDelegate-">CreateTopLevel</a></strong>(const delegate: <a href="uCEFInterfaces.ICefWindowDelegate.html">ICefWindowDelegate</a>): <a href="uCEFInterfaces.ICefWindow.html">ICefWindow</a>;</code></td>
|
||||
</tr>
|
||||
@ -615,6 +627,64 @@
|
||||
</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="SetThemeColor-integer-TCefColor-"></span><code>procedure <strong>SetThemeColor</strong>(color_id: integer; color: <a href="uCEFTypes.html#TCefColor">TCefColor</a>);</code></td>
|
||||
</tr>
|
||||
<tr><td colspan="2">
|
||||
<p>
|
||||
|
||||
|
||||
<p>Override a standard theme color or add a custom color associated with |color_id|. See cef_color_ids.h for standard ID values. Recommended usage is as follows:
|
||||
|
||||
<p></p>
|
||||
|
||||
<pre class="preformatted">
|
||||
1. Customize the default native/OS theme by calling SetThemeColor before
|
||||
showing the first Window. When done setting colors call
|
||||
ICefWindow.ThemeChanged to trigger ICefViewDelegate.OnThemeChanged
|
||||
notifications.
|
||||
2. Customize the current native/OS or Chrome theme after it changes by
|
||||
calling SetThemeColor from the ICefWindowDelegate.OnThemeColorsChanged
|
||||
callback. ICefViewDelegate.OnThemeChanged notifications will then be
|
||||
triggered automatically.</pre>
|
||||
|
||||
<p>
|
||||
|
||||
<p>The configured color will be available immediately via ICefView.GetThemeColor and will be applied to each View in this Window's component hierarchy when ICefViewDelegate.OnThemeChanged is called. See OnThemeColorsChanged documentation for additional details.
|
||||
|
||||
<p>Clients wishing to add custom colors should use |color_id| values >= CEF_ChromeColorsEnd.
|
||||
|
||||
<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="ThemeChanged"></span><code>procedure <strong>ThemeChanged</strong>;</code></td>
|
||||
</tr>
|
||||
<tr><td colspan="2">
|
||||
<p>
|
||||
|
||||
|
||||
<p>Trigger ICefViewDelegate.OnThemeChanged callbacks for each View in this Window's component hierarchy. Unlike a native/OS or Chrome theme change this function does not reset theme colors to standard values and does not result in a call to ICefWindowDelegate.OnThemeColorsChanged.
|
||||
|
||||
<p>Do not call this function from ICefViewDelegate.OnThemeColorsChanged or ICefViewDelegate.OnThemeChanged.
|
||||
|
||||
<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="GetRuntimeStyle"></span><code>function <strong>GetRuntimeStyle</strong>: <a href="uCEFTypes.html#TCefRuntimeStyle">TCefRuntimeStyle</a>;</code></td>
|
||||
</tr>
|
||||
<tr><td colspan="2">
|
||||
<p>
|
||||
Returns the runtime style for this Window (ALLOY or CHROME). See TCefRuntimeStyle documentation for details. </p>
|
||||
</td></tr>
|
||||
</table>
|
||||
<table class="detail wide_list">
|
||||
<tr class="list">
|
||||
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
||||
<td class="itemcode"><span id="UnWrap-Pointer-"></span><code>class function <strong>UnWrap</strong>(data: Pointer): <a href="uCEFInterfaces.ICefWindow.html">ICefWindow</a>;</code></td>
|
||||
</tr>
|
||||
|
Reference in New Issue
Block a user