Interface ICefClient

Description
Hierarchy
Fields
Methods
Properties

Unit

Declaration

type ICefClient = interface(ICefBaseRefCounted)

Description

Implement this interface to provide handler implementations.

UNKNOWN

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

Hierarchy

Overview

Methods

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

Description

Methods

Public procedure GetAudioHandler(var aHandler : ICefAudioHandler);

Return the handler for audio rendering events.

Attributes
GUID['{1D502075-2FF0-4E13-A112-9E541CD811F4}']
Public procedure GetCommandHandler(var aHandler : ICefCommandHandler);

Return the handler for commands. If no handler is provided the default implementation will be used.

Public procedure GetContextMenuHandler(var aHandler : ICefContextMenuHandler);

Return the handler for context menus. If no handler is provided the default implementation will be used.

Public procedure GetDialogHandler(var aHandler : ICefDialogHandler);

Return the handler for dialogs. If no handler is provided the default implementation will be used.

Public procedure GetDisplayHandler(var aHandler : ICefDisplayHandler);

Return the handler for browser display state events.

Public procedure GetDownloadHandler(var aHandler : ICefDownloadHandler);

Return the handler for download events. If no handler is returned downloads will not be allowed.

Public procedure GetDragHandler(var aHandler : ICefDragHandler);

Return the handler for drag events.

Public procedure GetFindHandler(var aHandler : ICefFindHandler);

Return the handler for find result events.

Public procedure GetFocusHandler(var aHandler : ICefFocusHandler);

Return the handler for focus events.

Public procedure GetFrameHandler(var aHandler : ICefFrameHandler);

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.

Public procedure GetPermissionHandler(var aHandler: ICefPermissionHandler);

Return the handler for permission requests.

Public procedure GetJsdialogHandler(var aHandler : ICefJsdialogHandler);

Return the handler for JavaScript dialogs. If no handler is provided the default implementation will be used.

Public procedure GetKeyboardHandler(var aHandler : ICefKeyboardHandler);

Return the handler for keyboard events.

Public procedure GetLifeSpanHandler(var aHandler : ICefLifeSpanHandler);

Return the handler for browser life span events.

Public procedure GetLoadHandler(var aHandler : ICefLoadHandler);

Return the handler for browser load status events.

Public procedure GetPrintHandler(var aHandler : ICefPrintHandler);

Return the handler for printing on Linux. If a print handler is not provided then printing will not be supported on the Linux platform.

Public procedure GetRenderHandler(var aHandler : ICefRenderHandler);

Return the handler for off-screen rendering events.

Public procedure GetRequestHandler(var aHandler : ICefRequestHandler);

Return the handler for browser request events.

Public function OnProcessMessageReceived(const browser: ICefBrowser; const frame: ICefFrame; sourceProcess: TCefProcessId; const message_ : ICefProcessMessage): Boolean;

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.

Public procedure RemoveReferences;

Custom procedure to clear all references.


Generated by PasDoc 0.16.0-snapshot.