# Record TCefRequestHandler

Description
Fields

## Unit

uCEFTypes

## Declaration

`type TCefRequestHandler = record`

## Description

Implement this structure to handle events related to browser requests. The functions of this structure will be called on the thread indicated.

NOTE: This struct is allocated client-side.

Implemented by ICefRequestHandler.

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

## Overview

### Fields

Public | `base: TCefBaseRefCounted;`
Public | `on_before_browse: function(self: PCefRequestHandler; browser: PCefBrowser; frame: PCefFrame; request: PCefRequest; user_gesture, isRedirect: Integer): Integer; stdcall;`
Public | `on_open_urlfrom_tab: function(self: PCefRequestHandler; browser: PCefBrowser; frame: PCefFrame; const target_url: PCefString; target_disposition: TCefWindowOpenDisposition; user_gesture: Integer): Integer; stdcall;`
Public | `get_resource_request_handler: function(self: PCefRequestHandler; browser: PCefBrowser; frame: PCefFrame; request: PCefRequest; is_navigation, is_download: Integer; const request_initiator: PCefString; disable_default_handling: PInteger): PCefResourceRequestHandler; stdcall;`
Public | `get_auth_credentials: function(self: PCefRequestHandler; browser: PCefBrowser; const origin_url: PCefString; isProxy: Integer; const host: PCefString; port: Integer; const realm, scheme: PCefString; callback: PCefAuthCallback): Integer; stdcall;`
Public | `on_certificate_error: function(self: PCefRequestHandler; browser: PCefBrowser; cert_error: TCefErrorcode; const request_url: PCefString; ssl_info: PCefSslInfo; callback: PCefCallback): Integer; stdcall;`
Public | `on_select_client_certificate: function(self: PCefRequestHandler; browser: PCefBrowser; isProxy: integer; const host: PCefString; port: integer; certificatesCount: NativeUInt; const certificates: PPCefX509Certificate; callback: PCefSelectClientCertificateCallback): integer; stdcall;`
Public | `on_render_view_ready: procedure(self: PCefRequestHandler; browser: PCefBrowser); stdcall;`
Public | `on_render_process_unresponsive: function(self: PCefRequestHandler; browser: PCefBrowser; callback: PCefUnresponsiveProcessCallback): integer; stdcall;`
Public | `on_render_process_responsive: procedure(self: PCefRequestHandler; browser: PCefBrowser); stdcall;`
Public | `on_render_process_terminated: procedure(self: PCefRequestHandler; browser: PCefBrowser; status: TCefTerminationStatus; error_code: integer; const error_string: PCefString); stdcall;`
Public | `on_document_available_in_main_frame: procedure(self: PCefRequestHandler; browser: PCefBrowser); stdcall;`

## Description

### Fields

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

Public | `on_before_browse: function(self: PCefRequestHandler; browser: PCefBrowser; frame: PCefFrame; request: PCefRequest; user_gesture, isRedirect: Integer): Integer; stdcall;`
This item has no description.

Public | `on_open_urlfrom_tab: function(self: PCefRequestHandler; browser: PCefBrowser; frame: PCefFrame; const target_url: PCefString; target_disposition: TCefWindowOpenDisposition; user_gesture: Integer): Integer; stdcall;`
This item has no description.

Public | `get_resource_request_handler: function(self: PCefRequestHandler; browser: PCefBrowser; frame: PCefFrame; request: PCefRequest; is_navigation, is_download: Integer; const request_initiator: PCefString; disable_default_handling: PInteger): PCefResourceRequestHandler; stdcall;`
This item has no description.

Public | `get_auth_credentials: function(self: PCefRequestHandler; browser: PCefBrowser; const origin_url: PCefString; isProxy: Integer; const host: PCefString; port: Integer; const realm, scheme: PCefString; callback: PCefAuthCallback): Integer; stdcall;`
This item has no description.

Public | `on_certificate_error: function(self: PCefRequestHandler; browser: PCefBrowser; cert_error: TCefErrorcode; const request_url: PCefString; ssl_info: PCefSslInfo; callback: PCefCallback): Integer; stdcall;`
This item has no description.

Public | `on_select_client_certificate: function(self: PCefRequestHandler; browser: PCefBrowser; isProxy: integer; const host: PCefString; port: integer; certificatesCount: NativeUInt; const certificates: PPCefX509Certificate; callback: PCefSelectClientCertificateCallback): integer; stdcall;`
This item has no description.

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

Public | `on_render_process_unresponsive: function(self: PCefRequestHandler; browser: PCefBrowser; callback: PCefUnresponsiveProcessCallback): integer; stdcall;`
This item has no description.

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

Public | `on_render_process_terminated: procedure(self: PCefRequestHandler; browser: PCefBrowser; status: TCefTerminationStatus; error_code: integer; const error_string: PCefString); stdcall;`
This item has no description.

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

Generated by PasDoc 1.0.4.