# Record TCefViewDelegate

Description
Fields

## Unit

uCEFTypes

## Declaration

`type TCefViewDelegate = record`

## Description

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.

NOTE: This struct is allocated client-side.

Implemented by ICefViewDelegate.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/views/cef_view_delegate_capi.h">CEF source file: /include/capi/views/cef_view_delegate_capi.h (cef_view_delegate_t))

## Overview

### Fields

Public | `base: TCefBaseRefCounted;`
Public | `get_preferred_size: function(self: PCefViewDelegate; view: PCefView): TCefSize; stdcall;`
Public | `get_minimum_size: function(self: PCefViewDelegate; view: PCefView): TCefSize; stdcall;`
Public | `get_maximum_size: function(self: PCefViewDelegate; view: PCefView): TCefSize; stdcall;`
Public | `get_height_for_width: function(self: PCefViewDelegate; view: PCefView; width: Integer): Integer; stdcall;`
Public | `on_parent_view_changed: procedure(self: PCefViewDelegate; view: PCefView; added: Integer; parent: PCefView); stdcall;`
Public | `on_child_view_changed: procedure(self: PCefViewDelegate; view: PCefView; added: Integer; child: PCefView); stdcall;`
Public | `on_window_changed: procedure(self: PCefViewDelegate; view: PCefView; added: Integer); stdcall;`
Public | `on_layout_changed: procedure(self: PCefViewDelegate; view: PCefView; const new_bounds: PCefRect); stdcall;`
Public | `on_focus: procedure(self: PCefViewDelegate; view: PCefView); stdcall;`
Public | `on_blur: procedure(self: PCefViewDelegate; view: PCefView); stdcall;`
Public | `on_theme_changed: procedure(self: PCefViewDelegate; view: PCefView); stdcall;`

## Description

### Fields

Public | `base: TCefBaseRefCounted;`
This item has no description.

Public | `get_preferred_size: function(self: PCefViewDelegate; view: PCefView): TCefSize; stdcall;`
This item has no description.

Public | `get_minimum_size: function(self: PCefViewDelegate; view: PCefView): TCefSize; stdcall;`
This item has no description.

Public | `get_maximum_size: function(self: PCefViewDelegate; view: PCefView): TCefSize; stdcall;`
This item has no description.

Public | `get_height_for_width: function(self: PCefViewDelegate; view: PCefView; width: Integer): Integer; stdcall;`
This item has no description.

Public | `on_parent_view_changed: procedure(self: PCefViewDelegate; view: PCefView; added: Integer; parent: PCefView); stdcall;`
This item has no description.

Public | `on_child_view_changed: procedure(self: PCefViewDelegate; view: PCefView; added: Integer; child: PCefView); stdcall;`
This item has no description.

Public | `on_window_changed: procedure(self: PCefViewDelegate; view: PCefView; added: Integer); stdcall;`
This item has no description.

Public | `on_layout_changed: procedure(self: PCefViewDelegate; view: PCefView; const new_bounds: PCefRect); stdcall;`
This item has no description.

Public | `on_focus: procedure(self: PCefViewDelegate; view: PCefView); stdcall;`
This item has no description.

Public | `on_blur: procedure(self: PCefViewDelegate; view: PCefView); stdcall;`
This item has no description.

Public | `on_theme_changed: procedure(self: PCefViewDelegate; view: PCefView); stdcall;`
This item has no description.

Generated by PasDoc 1.0.4.