# Record TCefLifeSpanHandler

Description
Fields

## Unit

uCEFTypes

## Declaration

`type TCefLifeSpanHandler = record`

## Description

Implement this structure to handle events related to browser life span. The functions of this structure will be called on the UI thread unless otherwise indicated.

NOTE: This struct is allocated client-side.

Implemented by ICefLifeSpanHandler.

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

## Overview

### Fields

Public | `base: TCefBaseRefCounted;`
Public | `on_before_popup: function(self: PCefLifeSpanHandler; browser: PCefBrowser; frame: PCefFrame; popup_id: Integer; const target_url, target_frame_name: PCefString; target_disposition: TCefWindowOpenDisposition; user_gesture: Integer; const popupFeatures: PCefPopupFeatures; windowInfo: PCefWindowInfo; var client: PCefClient; settings: PCefBrowserSettings; var extra_info: PCefDictionaryValue; no_javascript_access: PInteger): Integer; stdcall;`
Public | `on_before_popup_aborted: procedure(self: PCefLifeSpanHandler; browser: PCefBrowser; popup_id: Integer); stdcall;`
Public | `on_before_dev_tools_popup: procedure(self: PCefLifeSpanHandler; browser: PCefBrowser; windowInfo: PCefWindowInfo; var client: PCefClient; settings: PCefBrowserSettings; var extra_info: PCefDictionaryValue; use_default_window: PInteger); stdcall;`
Public | `on_after_created: procedure(self: PCefLifeSpanHandler; browser: PCefBrowser); stdcall;`
Public | `do_close: function(self: PCefLifeSpanHandler; browser: PCefBrowser): Integer; stdcall;`
Public | `on_before_close: procedure(self: PCefLifeSpanHandler; browser: PCefBrowser); stdcall;`

## Description

### Fields

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

Public | `on_before_popup: function(self: PCefLifeSpanHandler; browser: PCefBrowser; frame: PCefFrame; popup_id: Integer; const target_url, target_frame_name: PCefString; target_disposition: TCefWindowOpenDisposition; user_gesture: Integer; const popupFeatures: PCefPopupFeatures; windowInfo: PCefWindowInfo; var client: PCefClient; settings: PCefBrowserSettings; var extra_info: PCefDictionaryValue; no_javascript_access: PInteger): Integer; stdcall;`
This item has no description.

Public | `on_before_popup_aborted: procedure(self: PCefLifeSpanHandler; browser: PCefBrowser; popup_id: Integer); stdcall;`
This item has no description.

Public | `on_before_dev_tools_popup: procedure(self: PCefLifeSpanHandler; browser: PCefBrowser; windowInfo: PCefWindowInfo; var client: PCefClient; settings: PCefBrowserSettings; var extra_info: PCefDictionaryValue; use_default_window: PInteger); stdcall;`
This item has no description.

Public | `on_after_created: procedure(self: PCefLifeSpanHandler; browser: PCefBrowser); stdcall;`
This item has no description.

Public | `do_close: function(self: PCefLifeSpanHandler; browser: PCefBrowser): Integer; stdcall;`
This item has no description.

Public | `on_before_close: procedure(self: PCefLifeSpanHandler; browser: PCefBrowser); stdcall;`
This item has no description.

Generated by PasDoc 1.0.4.