1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2026-04-23 01:13:01 +02:00
Files
CEF4Delphi/docs/html/uCEFTypes.TCefViewDelegate.html
Salvador Díaz Fau 30d9edd993
Make / build (ubuntu-latest) (push) Has been cancelled
Update to CEF 146.0.10
2026-04-04 18:01:24 +02:00

188 lines
13 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<title>cef4delphi: uCEFTypes: Record TCefViewDelegate</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="PasDoc 1.0.4">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="StyleSheet" type="text/css" href="bootstrap.min.css">
<link rel="StyleSheet" type="text/css" href="pasdoc.css">
<style type="text/css">
body { margin: 0.5em; }
.badge { padding: 0.1em 0.5em; color: white; }
</style></head>
<body>
<span id="TCefViewDelegate"></span><h1 class="cio">Record TCefViewDelegate</h1>
<div class="sections">
<div class="one_section"><a class="section" href="#PasDoc-Description">Description</a></div><div class="one_section"><a class="section" href="#PasDoc-Fields">Fields</a></div></div>
<span id="PasDoc-Description"></span><h2 class="unit">Unit</h2>
<p class="unitlink">
<a href="uCEFTypes.html">uCEFTypes</a></p>
<h2 class="declaration">Declaration</h2>
<p class="declaration">
<code>type TCefViewDelegate = record</code></p>
<h2 class="description">Description</h2>
<p>
Implement this structure to handle view events. All size and position values are in density independent pixels (DIP) unless otherwise indicated. The functions of this structure will be called on the browser process UI thread unless otherwise indicated.
<p>NOTE: This struct is allocated client-side. </p>
<p>
<p>Implemented by ICefViewDelegate.
<p>&lt;see href=&quot;<a href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/views/cef_view_delegate_capi.h">https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/views/cef_view_delegate_capi.h</a>&quot;&gt;CEF source file: /include/capi/views/cef_view_delegate_capi.h (cef_view_delegate_t))</p>
<h2 class="overview">Overview</h2>
<span id="PasDoc-Fields"></span><h3 class="summary">Fields</h3>
<table class="summary wide_list">
<tr class="list visibility-public">
<td class="visibility"><span class="badge vis-public">Public</span></td>
<td class="itemcode"><code><strong><a href="uCEFTypes.TCefViewDelegate.html#base">base</a></strong>: <a href="uCEFTypes.TCefBaseRefCounted.html">TCefBaseRefCounted</a>;</code></td>
</tr>
<tr class="list2 visibility-public">
<td class="visibility"><span class="badge vis-public">Public</span></td>
<td class="itemcode"><code><strong><a href="uCEFTypes.TCefViewDelegate.html#get_preferred_size">get_preferred_size</a></strong>: function(self: <a href="uCEFTypes.html#PCefViewDelegate">PCefViewDelegate</a>; view: <a href="uCEFTypes.html#PCefView">PCefView</a>): <a href="uCEFTypes.TCefSize.html">TCefSize</a>; stdcall;</code></td>
</tr>
<tr class="list visibility-public">
<td class="visibility"><span class="badge vis-public">Public</span></td>
<td class="itemcode"><code><strong><a href="uCEFTypes.TCefViewDelegate.html#get_minimum_size">get_minimum_size</a></strong>: function(self: <a href="uCEFTypes.html#PCefViewDelegate">PCefViewDelegate</a>; view: <a href="uCEFTypes.html#PCefView">PCefView</a>): <a href="uCEFTypes.TCefSize.html">TCefSize</a>; stdcall;</code></td>
</tr>
<tr class="list2 visibility-public">
<td class="visibility"><span class="badge vis-public">Public</span></td>
<td class="itemcode"><code><strong><a href="uCEFTypes.TCefViewDelegate.html#get_maximum_size">get_maximum_size</a></strong>: function(self: <a href="uCEFTypes.html#PCefViewDelegate">PCefViewDelegate</a>; view: <a href="uCEFTypes.html#PCefView">PCefView</a>): <a href="uCEFTypes.TCefSize.html">TCefSize</a>; stdcall;</code></td>
</tr>
<tr class="list visibility-public">
<td class="visibility"><span class="badge vis-public">Public</span></td>
<td class="itemcode"><code><strong><a href="uCEFTypes.TCefViewDelegate.html#get_height_for_width">get_height_for_width</a></strong>: function(self: <a href="uCEFTypes.html#PCefViewDelegate">PCefViewDelegate</a>; view: <a href="uCEFTypes.html#PCefView">PCefView</a>; width: Integer): Integer; stdcall;</code></td>
</tr>
<tr class="list2 visibility-public">
<td class="visibility"><span class="badge vis-public">Public</span></td>
<td class="itemcode"><code><strong><a href="uCEFTypes.TCefViewDelegate.html#on_parent_view_changed">on_parent_view_changed</a></strong>: procedure(self: <a href="uCEFTypes.html#PCefViewDelegate">PCefViewDelegate</a>; view: <a href="uCEFTypes.html#PCefView">PCefView</a>; added: Integer; parent: <a href="uCEFTypes.html#PCefView">PCefView</a>); stdcall;</code></td>
</tr>
<tr class="list visibility-public">
<td class="visibility"><span class="badge vis-public">Public</span></td>
<td class="itemcode"><code><strong><a href="uCEFTypes.TCefViewDelegate.html#on_child_view_changed">on_child_view_changed</a></strong>: procedure(self: <a href="uCEFTypes.html#PCefViewDelegate">PCefViewDelegate</a>; view: <a href="uCEFTypes.html#PCefView">PCefView</a>; added: Integer; child: <a href="uCEFTypes.html#PCefView">PCefView</a>); stdcall;</code></td>
</tr>
<tr class="list2 visibility-public">
<td class="visibility"><span class="badge vis-public">Public</span></td>
<td class="itemcode"><code><strong><a href="uCEFTypes.TCefViewDelegate.html#on_window_changed">on_window_changed</a></strong>: procedure(self: <a href="uCEFTypes.html#PCefViewDelegate">PCefViewDelegate</a>; view: <a href="uCEFTypes.html#PCefView">PCefView</a>; added: Integer); stdcall;</code></td>
</tr>
<tr class="list visibility-public">
<td class="visibility"><span class="badge vis-public">Public</span></td>
<td class="itemcode"><code><strong><a href="uCEFTypes.TCefViewDelegate.html#on_layout_changed">on_layout_changed</a></strong>: procedure(self: <a href="uCEFTypes.html#PCefViewDelegate">PCefViewDelegate</a>; view: <a href="uCEFTypes.html#PCefView">PCefView</a>; const new_bounds: <a href="uCEFTypes.html#PCefRect">PCefRect</a>); stdcall;</code></td>
</tr>
<tr class="list2 visibility-public">
<td class="visibility"><span class="badge vis-public">Public</span></td>
<td class="itemcode"><code><strong><a href="uCEFTypes.TCefViewDelegate.html#on_focus">on_focus</a></strong>: procedure(self: <a href="uCEFTypes.html#PCefViewDelegate">PCefViewDelegate</a>; view: <a href="uCEFTypes.html#PCefView">PCefView</a>); stdcall;</code></td>
</tr>
<tr class="list visibility-public">
<td class="visibility"><span class="badge vis-public">Public</span></td>
<td class="itemcode"><code><strong><a href="uCEFTypes.TCefViewDelegate.html#on_blur">on_blur</a></strong>: procedure(self: <a href="uCEFTypes.html#PCefViewDelegate">PCefViewDelegate</a>; view: <a href="uCEFTypes.html#PCefView">PCefView</a>); stdcall;</code></td>
</tr>
<tr class="list2 visibility-public">
<td class="visibility"><span class="badge vis-public">Public</span></td>
<td class="itemcode"><code><strong><a href="uCEFTypes.TCefViewDelegate.html#on_theme_changed">on_theme_changed</a></strong>: procedure(self: <a href="uCEFTypes.html#PCefViewDelegate">PCefViewDelegate</a>; view: <a href="uCEFTypes.html#PCefView">PCefView</a>); stdcall;</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Fields</h3>
<table class="detail visibility-public wide_list">
<tr class="list visibility-public">
<td class="visibility"><span class="badge vis-public">Public</span></td>
<td class="itemcode"><span id="base"></span><code><strong>base</strong>: <a href="uCEFTypes.TCefBaseRefCounted.html">TCefBaseRefCounted</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail visibility-public wide_list">
<tr class="list visibility-public">
<td class="visibility"><span class="badge vis-public">Public</span></td>
<td class="itemcode"><span id="get_preferred_size"></span><code><strong>get_preferred_size</strong>: function(self: <a href="uCEFTypes.html#PCefViewDelegate">PCefViewDelegate</a>; view: <a href="uCEFTypes.html#PCefView">PCefView</a>): <a href="uCEFTypes.TCefSize.html">TCefSize</a>; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail visibility-public wide_list">
<tr class="list visibility-public">
<td class="visibility"><span class="badge vis-public">Public</span></td>
<td class="itemcode"><span id="get_minimum_size"></span><code><strong>get_minimum_size</strong>: function(self: <a href="uCEFTypes.html#PCefViewDelegate">PCefViewDelegate</a>; view: <a href="uCEFTypes.html#PCefView">PCefView</a>): <a href="uCEFTypes.TCefSize.html">TCefSize</a>; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail visibility-public wide_list">
<tr class="list visibility-public">
<td class="visibility"><span class="badge vis-public">Public</span></td>
<td class="itemcode"><span id="get_maximum_size"></span><code><strong>get_maximum_size</strong>: function(self: <a href="uCEFTypes.html#PCefViewDelegate">PCefViewDelegate</a>; view: <a href="uCEFTypes.html#PCefView">PCefView</a>): <a href="uCEFTypes.TCefSize.html">TCefSize</a>; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail visibility-public wide_list">
<tr class="list visibility-public">
<td class="visibility"><span class="badge vis-public">Public</span></td>
<td class="itemcode"><span id="get_height_for_width"></span><code><strong>get_height_for_width</strong>: function(self: <a href="uCEFTypes.html#PCefViewDelegate">PCefViewDelegate</a>; view: <a href="uCEFTypes.html#PCefView">PCefView</a>; width: Integer): Integer; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail visibility-public wide_list">
<tr class="list visibility-public">
<td class="visibility"><span class="badge vis-public">Public</span></td>
<td class="itemcode"><span id="on_parent_view_changed"></span><code><strong>on_parent_view_changed</strong>: procedure(self: <a href="uCEFTypes.html#PCefViewDelegate">PCefViewDelegate</a>; view: <a href="uCEFTypes.html#PCefView">PCefView</a>; added: Integer; parent: <a href="uCEFTypes.html#PCefView">PCefView</a>); stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail visibility-public wide_list">
<tr class="list visibility-public">
<td class="visibility"><span class="badge vis-public">Public</span></td>
<td class="itemcode"><span id="on_child_view_changed"></span><code><strong>on_child_view_changed</strong>: procedure(self: <a href="uCEFTypes.html#PCefViewDelegate">PCefViewDelegate</a>; view: <a href="uCEFTypes.html#PCefView">PCefView</a>; added: Integer; child: <a href="uCEFTypes.html#PCefView">PCefView</a>); stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail visibility-public wide_list">
<tr class="list visibility-public">
<td class="visibility"><span class="badge vis-public">Public</span></td>
<td class="itemcode"><span id="on_window_changed"></span><code><strong>on_window_changed</strong>: procedure(self: <a href="uCEFTypes.html#PCefViewDelegate">PCefViewDelegate</a>; view: <a href="uCEFTypes.html#PCefView">PCefView</a>; added: Integer); stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail visibility-public wide_list">
<tr class="list visibility-public">
<td class="visibility"><span class="badge vis-public">Public</span></td>
<td class="itemcode"><span id="on_layout_changed"></span><code><strong>on_layout_changed</strong>: procedure(self: <a href="uCEFTypes.html#PCefViewDelegate">PCefViewDelegate</a>; view: <a href="uCEFTypes.html#PCefView">PCefView</a>; const new_bounds: <a href="uCEFTypes.html#PCefRect">PCefRect</a>); stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail visibility-public wide_list">
<tr class="list visibility-public">
<td class="visibility"><span class="badge vis-public">Public</span></td>
<td class="itemcode"><span id="on_focus"></span><code><strong>on_focus</strong>: procedure(self: <a href="uCEFTypes.html#PCefViewDelegate">PCefViewDelegate</a>; view: <a href="uCEFTypes.html#PCefView">PCefView</a>); stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail visibility-public wide_list">
<tr class="list visibility-public">
<td class="visibility"><span class="badge vis-public">Public</span></td>
<td class="itemcode"><span id="on_blur"></span><code><strong>on_blur</strong>: procedure(self: <a href="uCEFTypes.html#PCefViewDelegate">PCefViewDelegate</a>; view: <a href="uCEFTypes.html#PCefView">PCefView</a>); stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail visibility-public wide_list">
<tr class="list visibility-public">
<td class="visibility"><span class="badge vis-public">Public</span></td>
<td class="itemcode"><span id="on_theme_changed"></span><code><strong>on_theme_changed</strong>: procedure(self: <a href="uCEFTypes.html#PCefViewDelegate">PCefViewDelegate</a>; view: <a href="uCEFTypes.html#PCefView">PCefView</a>); stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<hr><span class="appinfo"><em>Generated by <a href="https://pasdoc.github.io/">PasDoc 1.0.4</a>. </em>
</span>
</body></html>