Class TCustomCefApp

Description
Hierarchy
Fields
Methods
Properties

Unit

Declaration

type TCustomCefApp = class(TCefAppOwn)

Description

This item has no description. Showing description inherited from TCefAppOwn.

Implement this interface to provide handler implementations. Methods will be called by the process and/or thread indicated.

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

Hierarchy

Overview

Fields

Protected FCefApp: TCefApplicationCore;
Protected FResourceBundleHandler: ICefResourceBundleHandler;
Protected FBrowserProcessHandler: ICefBrowserProcessHandler;
Protected FRenderProcessHandler: ICefRenderProcessHandler;

Methods

Protected procedure OnBeforeCommandLineProcessing(const processType: ustring; const commandLine: ICefCommandLine); override;
Protected procedure OnRegisterCustomSchemes(const registrar: TCefSchemeRegistrarRef); override;
Protected procedure GetResourceBundleHandler(var aHandler : ICefResourceBundleHandler); override;
Protected procedure GetBrowserProcessHandler(var aHandler : ICefBrowserProcessHandler); override;
Protected procedure GetRenderProcessHandler(var aHandler : ICefRenderProcessHandler); override;
Protected procedure InitializeVars;
Protected procedure RemoveReferences; override;
Public constructor Create(const aCefApp : TCefApplicationCore); reintroduce;
Public destructor Destroy; override;

Description

Fields

Protected FCefApp: TCefApplicationCore;

This item has no description.

Protected FResourceBundleHandler: ICefResourceBundleHandler;

This item has no description.

Protected FBrowserProcessHandler: ICefBrowserProcessHandler;

This item has no description.

Protected FRenderProcessHandler: ICefRenderProcessHandler;

This item has no description.

Methods

Protected procedure OnBeforeCommandLineProcessing(const processType: ustring; const commandLine: ICefCommandLine); override;

This item has no description. Showing description inherited from ICefApp.OnBeforeCommandLineProcessing.

Provides an opportunity to view and/or modify command-line arguments before processing by CEF and Chromium. The |process_type| value will be NULL for the browser process. Do not keep a reference to the ICefCommandLine object passed to this function. The TCefSettings.command_line_args_disabled value can be used to start with an NULL command-line object. Any values specified in CefSettings that equate to command-line arguments will be set before this function is called. Be cautious when using this function to modify command-line arguments for non-browser processes as this may result in undefined behavior including crashes.

Protected procedure OnRegisterCustomSchemes(const registrar: TCefSchemeRegistrarRef); override;

This item has no description. Showing description inherited from ICefApp.OnRegisterCustomSchemes.

Provides an opportunity to register custom schemes. Do not keep a reference to the |registrar| object. This function is called on the main thread for each process and the registered schemes should be the same across all processes.

Protected procedure GetResourceBundleHandler(var aHandler : ICefResourceBundleHandler); override;

This item has no description. Showing description inherited from ICefApp.GetResourceBundleHandler.

Return the handler for resource bundle events. If TCefSettings.pack_loading_disabled is true (1) a handler must be returned. If no handler is returned resources will be loaded from pack files. This function is called by the browser and render processes on multiple threads.

Protected procedure GetBrowserProcessHandler(var aHandler : ICefBrowserProcessHandler); override;

This item has no description. Showing description inherited from ICefApp.GetBrowserProcessHandler.

Return the handler for functionality specific to the browser process. This function is called on multiple threads in the browser process.

Protected procedure GetRenderProcessHandler(var aHandler : ICefRenderProcessHandler); override;

This item has no description. Showing description inherited from ICefApp.GetRenderProcessHandler.

Return the handler for functionality specific to the render process. This function is called on the render process main thread.

Protected procedure InitializeVars;

This item has no description.

Protected procedure RemoveReferences; override;

This item has no description. Showing description inherited from ICefApp.RemoveReferences.

Custom procedure to clear all references.

Public constructor Create(const aCefApp : TCefApplicationCore); reintroduce;

This item has no description.

Public destructor Destroy; override;

This item has no description.


Generated by PasDoc 0.16.0-snapshot.