This class handles all the ICefViewDelegate methods which call the ICefViewDelegateEvents methods. ICefViewDelegateEvents will be implemented by the control receiving the ICefViewDelegate events. </p>
<tdclass="itemcode"><spanid="OnGetPreferredSize-ICefView-TCefSize-"></span><code>procedure <strong>OnGetPreferredSize</strong>(const view: <ahref="uCEFInterfaces.ICefView.html">ICefView</a>; var aResult : <ahref="uCEFTypes.TCefSize.html">TCefSize</a>); override;</code></td>
</tr>
<tr><tdcolspan="2">
<pclass="inheritdescription">This item has no description. Showing description inherited from <aclass="normal"href="uCEFViewDelegate.TCefViewDelegateOwn.html#OnGetPreferredSize-ICefView-TCefSize-">TCefViewDelegateOwn.OnGetPreferredSize</a>.</p><p>
Return the preferred size for |view|. The Layout will use this information to determine the display size. </p>
<tdclass="itemcode"><spanid="OnGetMinimumSize-ICefView-TCefSize-"></span><code>procedure <strong>OnGetMinimumSize</strong>(const view: <ahref="uCEFInterfaces.ICefView.html">ICefView</a>; var aResult : <ahref="uCEFTypes.TCefSize.html">TCefSize</a>); override;</code></td>
</tr>
<tr><tdcolspan="2">
<pclass="inheritdescription">This item has no description. Showing description inherited from <aclass="normal"href="uCEFViewDelegate.TCefViewDelegateOwn.html#OnGetMinimumSize-ICefView-TCefSize-">TCefViewDelegateOwn.OnGetMinimumSize</a>.</p><p>
<tdclass="itemcode"><spanid="OnGetMaximumSize-ICefView-TCefSize-"></span><code>procedure <strong>OnGetMaximumSize</strong>(const view: <ahref="uCEFInterfaces.ICefView.html">ICefView</a>; var aResult : <ahref="uCEFTypes.TCefSize.html">TCefSize</a>); override;</code></td>
</tr>
<tr><tdcolspan="2">
<pclass="inheritdescription">This item has no description. Showing description inherited from <aclass="normal"href="uCEFViewDelegate.TCefViewDelegateOwn.html#OnGetMaximumSize-ICefView-TCefSize-">TCefViewDelegateOwn.OnGetMaximumSize</a>.</p><p>
<tdclass="itemcode"><spanid="OnGetHeightForWidth-ICefView-Integer-Integer-"></span><code>procedure <strong>OnGetHeightForWidth</strong>(const view: <ahref="uCEFInterfaces.ICefView.html">ICefView</a>; width: Integer; var aResult: Integer); override;</code></td>
</tr>
<tr><tdcolspan="2">
<pclass="inheritdescription">This item has no description. Showing description inherited from <aclass="normal"href="uCEFViewDelegate.TCefViewDelegateOwn.html#OnGetHeightForWidth-ICefView-Integer-Integer-">TCefViewDelegateOwn.OnGetHeightForWidth</a>.</p><p>
Return the height necessary to display |view| with the provided |width|. If not specified the result of get_preferred_size().height will be used by default. Override if |view|'s preferred height depends upon the width (for example, with Labels). </p>
<pclass="inheritdescription">This item has no description. Showing description inherited from <aclass="normal"href="uCEFViewDelegate.TCefViewDelegateOwn.html#OnParentViewChanged-ICefView-boolean-ICefView-">TCefViewDelegateOwn.OnParentViewChanged</a>.</p><p>
Called when the parent of |view| has changed. If |view| is being added to |parent| then |added| will be true (1). If |view| is being removed from |parent| then |added| will be false (0). If |view| is being reparented the remove notification will be sent before the add notification. Do not modify the view hierarchy in this callback. </p>
<pclass="inheritdescription">This item has no description. Showing description inherited from <aclass="normal"href="uCEFViewDelegate.TCefViewDelegateOwn.html#OnChildViewChanged-ICefView-boolean-ICefView-">TCefViewDelegateOwn.OnChildViewChanged</a>.</p><p>
Called when a child of |view| has changed. If |child| is being added to |view| then |added| will be true (1). If |child| is being removed from |view| then |added| will be false (0). If |child| is being reparented the remove notification will be sent to the old parent before the add notification is sent to the new parent. Do not modify the view hierarchy in this callback. </p>
<pclass="inheritdescription">This item has no description. Showing description inherited from <aclass="normal"href="uCEFViewDelegate.TCefViewDelegateOwn.html#OnWindowChanged-ICefView-boolean-">TCefViewDelegateOwn.OnWindowChanged</a>.</p><p>
Called when |view| is added or removed from the ICefWindow. </p>
<pclass="inheritdescription">This item has no description. Showing description inherited from <aclass="normal"href="uCEFViewDelegate.TCefViewDelegateOwn.html#OnLayoutChanged-ICefView-TCefRect-">TCefViewDelegateOwn.OnLayoutChanged</a>.</p><p>
Called when the layout of |view| has changed. </p>
<pclass="inheritdescription">This item has no description. Showing description inherited from <aclass="normal"href="uCEFViewDelegate.TCefViewDelegateOwn.html#OnFocus-ICefView-">TCefViewDelegateOwn.OnFocus</a>.</p><p>
<pclass="inheritdescription">This item has no description. Showing description inherited from <aclass="normal"href="uCEFViewDelegate.TCefViewDelegateOwn.html#OnBlur-ICefView-">TCefViewDelegateOwn.OnBlur</a>.</p><p>
<pclass="inheritdescription">This item has no description. Showing description inherited from <aclass="normal"href="uCEFViewDelegate.TCefViewDelegateOwn.html#OnThemeChanged-ICefView-">TCefViewDelegateOwn.OnThemeChanged</a>.</p><p>
(
<p>Called when the theme for |view| has changed, after the new theme colors have already been applied. Views are notified via the component hierarchy in depth-first reverse order (children before parents).
<p>This will be called in the following cases:
<p></p>
<preclass="preformatted">
1. When |view|, or a parent of |view|, is added to a Window.
2. When the native/OS or Chrome theme changes for the Window that contains
|view|. See ICefWindowDelegate.OnThemeColorsChanged documentation.
3. When the client explicitly calls ICefWindow.ThemeChanged on the
Window that contains |view|.</pre>
<p>
<p>Optionally use this callback to override the new per-View theme colors by calling ICefView.SetBackgroundColor or the appropriate component- specific function. See ICefWindow.SetThemeColor documentation for how to customize additional Window theme colors.