# Record TCefDownloadHandler

Description
Fields

## Unit

uCEFTypes

## Declaration

`type TCefDownloadHandler = record`

## Description

Structure used to handle file downloads. The functions of this structure will called on the browser process UI thread.

NOTE: This struct is allocated client-side.

Implemented by ICefDownloadHandler.

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

## Overview

### Fields

Public | `base: TCefBaseRefCounted;`
Public | `can_download: function(self: PCefDownloadHandler; browser: PCefBrowser; const url, request_method: PCefString): integer; stdcall;`
Public | `on_before_download: function(self: PCefDownloadHandler; browser: PCefBrowser; download_item: PCefDownloadItem; const suggested_name: PCefString; callback: PCefBeforeDownloadCallback): Integer; stdcall;`
Public | `on_download_updated: procedure(self: PCefDownloadHandler; browser: PCefBrowser; download_item: PCefDownloadItem; callback: PCefDownloadItemCallback); stdcall;`

## Description

### Fields

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

Public | `can_download: function(self: PCefDownloadHandler; browser: PCefBrowser; const url, request_method: PCefString): integer; stdcall;`
This item has no description.

Public | `on_before_download: function(self: PCefDownloadHandler; browser: PCefBrowser; download_item: PCefDownloadItem; const suggested_name: PCefString; callback: PCefBeforeDownloadCallback): Integer; stdcall;`
This item has no description.

Public | `on_download_updated: procedure(self: PCefDownloadHandler; browser: PCefBrowser; download_item: PCefDownloadItem; callback: PCefDownloadItemCallback); stdcall;`
This item has no description.

Generated by PasDoc 1.0.4.