# Record TCefJsDialogHandler

Description
Fields

## Unit

uCEFTypes

## Declaration

`type TCefJsDialogHandler = record`

## Description

Implement this structure to handle events related to JavaScript dialogs. The functions of this structure will be called on the UI thread.

NOTE: This struct is allocated client-side.

Implemented by ICefJsDialogHandler.

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

## Overview

### Fields

Public | `base: TCefBaseRefCounted;`
Public | `on_jsdialog: function(self: PCefJsDialogHandler; browser: PCefBrowser; const origin_url: PCefString; dialog_type: TCefJsDialogType; const message_text, default_prompt_text: PCefString; callback: PCefJsDialogCallback; suppress_message: PInteger): Integer; stdcall;`
Public | `on_before_unload_dialog: function(self: PCefJsDialogHandler; browser: PCefBrowser; const message_text: PCefString; is_reload: Integer; callback: PCefJsDialogCallback): Integer; stdcall;`
Public | `on_reset_dialog_state: procedure(self: PCefJsDialogHandler; browser: PCefBrowser); stdcall;`
Public | `on_dialog_closed: procedure(self: PCefJsDialogHandler; browser: PCefBrowser); stdcall;`

## Description

### Fields

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

Public | `on_jsdialog: function(self: PCefJsDialogHandler; browser: PCefBrowser; const origin_url: PCefString; dialog_type: TCefJsDialogType; const message_text, default_prompt_text: PCefString; callback: PCefJsDialogCallback; suppress_message: PInteger): Integer; stdcall;`
This item has no description.

Public | `on_before_unload_dialog: function(self: PCefJsDialogHandler; browser: PCefBrowser; const message_text: PCefString; is_reload: Integer; callback: PCefJsDialogCallback): Integer; stdcall;`
This item has no description.

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

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

Generated by PasDoc 1.0.4.