# Class TCefClientRef

Description
Hierarchy
Fields
Methods
Properties

## Unit

uCEFClient

## Declaration

`type TCefClientRef = class(TCefBaseRefCountedRef, ICefClient)`

## Description

This item has no description.

## Hierarchy

- TInterfacedObject
- TCefBaseRefCountedRef
- TCefClientRef

## Overview

### Methods

| `procedure GetAudioHandler(var aHandler : ICefAudioHandler); virtual;`
| `procedure GetCommandHandler(var aHandler : ICefCommandHandler); virtual;`
| `procedure GetContextMenuHandler(var aHandler : ICefContextMenuHandler); virtual;`
| `procedure GetDialogHandler(var aHandler : ICefDialogHandler); virtual;`
| `procedure GetDisplayHandler(var aHandler : ICefDisplayHandler); virtual;`
| `procedure GetDownloadHandler(var aHandler : ICefDownloadHandler); virtual;`
| `procedure GetDragHandler(var aHandler : ICefDragHandler); virtual;`
| `procedure GetFindHandler(var aHandler : ICefFindHandler); virtual;`
| `procedure GetFocusHandler(var aHandler : ICefFocusHandler); virtual;`
| `procedure GetFrameHandler(var aHandler : ICefFrameHandler); virtual;`
| `procedure GetPermissionHandler(var aHandler: ICefPermissionHandler); virtual;`
| `procedure GetJsdialogHandler(var aHandler : ICefJsdialogHandler); virtual;`
| `procedure GetKeyboardHandler(var aHandler : ICefKeyboardHandler); virtual;`
| `procedure GetLifeSpanHandler(var aHandler : ICefLifeSpanHandler); virtual;`
| `procedure GetLoadHandler(var aHandler : ICefLoadHandler); virtual;`
| `procedure GetPrintHandler(var aHandler : ICefPrintHandler); virtual;`
| `procedure GetRenderHandler(var aHandler : ICefRenderHandler); virtual;`
| `procedure GetRequestHandler(var aHandler : ICefRequestHandler); virtual;`
| `function OnProcessMessageReceived(const browser: ICefBrowser; const frame: ICefFrame; sourceProcess: TCefProcessId; const message_ : ICefProcessMessage): Boolean; virtual;`
| `procedure RemoveReferences; virtual;`
| `class function UnWrap(data: Pointer): ICefClient;`

## Description

### Methods

| `procedure GetAudioHandler(var aHandler : ICefAudioHandler); virtual;`
This item has no description. Showing description inherited from ICefClient.GetAudioHandler. Return the handler for audio rendering events.

| `procedure GetCommandHandler(var aHandler : ICefCommandHandler); virtual;`
This item has no description. Showing description inherited from ICefClient.GetCommandHandler. Return the handler for commands. If no handler is provided the default implementation will be used.

| `procedure GetContextMenuHandler(var aHandler : ICefContextMenuHandler); virtual;`
This item has no description. Showing description inherited from ICefClient.GetContextMenuHandler. Return the handler for context menus. If no handler is provided the default implementation will be used.

| `procedure GetDialogHandler(var aHandler : ICefDialogHandler); virtual;`
This item has no description. Showing description inherited from ICefClient.GetDialogHandler. Return the handler for dialogs. If no handler is provided the default implementation will be used.

| `procedure GetDisplayHandler(var aHandler : ICefDisplayHandler); virtual;`
This item has no description. Showing description inherited from ICefClient.GetDisplayHandler. Return the handler for browser display state events.

| `procedure GetDownloadHandler(var aHandler : ICefDownloadHandler); virtual;`
This item has no description. Showing description inherited from ICefClient.GetDownloadHandler. Return the handler for download events. If no handler is returned downloads will not be allowed.

| `procedure GetDragHandler(var aHandler : ICefDragHandler); virtual;`
This item has no description. Showing description inherited from ICefClient.GetDragHandler. Return the handler for drag events.

| `procedure GetFindHandler(var aHandler : ICefFindHandler); virtual;`
This item has no description. Showing description inherited from ICefClient.GetFindHandler. Return the handler for find result events.

| `procedure GetFocusHandler(var aHandler : ICefFocusHandler); virtual;`
This item has no description. Showing description inherited from ICefClient.GetFocusHandler. Return the handler for focus events.

| `procedure GetFrameHandler(var aHandler : ICefFrameHandler); virtual;`
This item has no description. Showing description inherited from ICefClient.GetFrameHandler. Return the handler for events related to ICefFrame lifespan. This function will be called once during ICefBrowser creation and the result will be cached for performance reasons.

| `procedure GetPermissionHandler(var aHandler: ICefPermissionHandler); virtual;`
This item has no description. Showing description inherited from ICefClient.GetPermissionHandler. Return the handler for permission requests.

| `procedure GetJsdialogHandler(var aHandler : ICefJsdialogHandler); virtual;`
This item has no description. Showing description inherited from ICefClient.GetJsdialogHandler. Return the handler for JavaScript dialogs. If no handler is provided the default implementation will be used.

| `procedure GetKeyboardHandler(var aHandler : ICefKeyboardHandler); virtual;`
This item has no description. Showing description inherited from ICefClient.GetKeyboardHandler. Return the handler for keyboard events.

| `procedure GetLifeSpanHandler(var aHandler : ICefLifeSpanHandler); virtual;`
This item has no description. Showing description inherited from ICefClient.GetLifeSpanHandler. Return the handler for browser life span events.

| `procedure GetLoadHandler(var aHandler : ICefLoadHandler); virtual;`
This item has no description. Showing description inherited from ICefClient.GetLoadHandler. Return the handler for browser load status events.

| `procedure GetPrintHandler(var aHandler : ICefPrintHandler); virtual;`
This item has no description. Showing description inherited from ICefClient.GetPrintHandler. Return the handler for printing on Linux. If a print handler is not provided then printing will not be supported on the Linux platform.

| `procedure GetRenderHandler(var aHandler : ICefRenderHandler); virtual;`
This item has no description. Showing description inherited from ICefClient.GetRenderHandler. Return the handler for off-screen rendering events.

| `procedure GetRequestHandler(var aHandler : ICefRequestHandler); virtual;`
This item has no description. Showing description inherited from ICefClient.GetRequestHandler. Return the handler for browser request events.

| `function OnProcessMessageReceived(const browser: ICefBrowser; const frame: ICefFrame; sourceProcess: TCefProcessId; const message_ : ICefProcessMessage): Boolean; virtual;`
This item has no description. Showing description inherited from ICefClient.OnProcessMessageReceived. Called when a new message is received from a different process. Return true (1) if the message was handled or false (0) otherwise. It is safe to keep a reference to |message| outside of this callback.

| `procedure RemoveReferences; virtual;`
This item has no description. Showing description inherited from ICefClient.RemoveReferences. Custom procedure to clear all references.

| `class function UnWrap(data: Pointer): ICefClient;`
This item has no description.

Generated by PasDoc 0.16.0-snapshot.