Class TCefCustomRenderProcessHandler

Description
Hierarchy
Fields
Methods
Properties

Unit

Declaration

type TCefCustomRenderProcessHandler = class(TCefRenderProcessHandlerOwn)

Description

This item has no description.

Hierarchy

Overview

Fields

Protected FCefApp: TCefApplicationCore;
Protected FLoadHandler: ICefLoadHandler;

Methods

Protected procedure OnWebKitInitialized; override;
Protected procedure OnBrowserCreated(const browser: ICefBrowser; const extra_info: ICefDictionaryValue); override;
Protected procedure OnBrowserDestroyed(const browser: ICefBrowser); override;
Protected function GetLoadHandler: ICefLoadHandler; override;
Protected procedure OnContextCreated(const browser: ICefBrowser; const frame: ICefFrame; const context: ICefv8Context); override;
Protected procedure OnContextReleased(const browser: ICefBrowser; const frame: ICefFrame; const context: ICefv8Context); override;
Protected procedure OnUncaughtException(const browser: ICefBrowser; const frame: ICefFrame; const context: ICefv8Context; const V8Exception: ICefV8Exception; const stackTrace: ICefV8StackTrace); override;
Protected procedure OnFocusedNodeChanged(const browser: ICefBrowser; const frame: ICefFrame; const node: ICefDomNode); override;
Protected function OnProcessMessageReceived(const browser: ICefBrowser; const frame: ICefFrame; sourceProcess: TCefProcessId; const aMessage : ICefProcessMessage): Boolean; override;
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 FLoadHandler: ICefLoadHandler;

This item has no description.

Methods

Protected procedure OnWebKitInitialized; override;

This item has no description. Showing description inherited from ICefRenderProcessHandler.OnWebKitInitialized.

Called after WebKit has been initialized.

Protected procedure OnBrowserCreated(const browser: ICefBrowser; const extra_info: ICefDictionaryValue); override;

This item has no description. Showing description inherited from ICefRenderProcessHandler.OnBrowserCreated.

Called after a browser has been created. When browsing cross-origin a new browser will be created before the old browser with the same identifier is destroyed. |extra_info| is an optional read-only value originating from cef_browser_host_create_browser(), cef_browser_host_create_browser_sync(), ICefLifeSpanHandler.OnBeforePopup or cef_browser_view_create().

Protected procedure OnBrowserDestroyed(const browser: ICefBrowser); override;

This item has no description. Showing description inherited from ICefRenderProcessHandler.OnBrowserDestroyed.

Called before a browser is destroyed.

Protected function GetLoadHandler: ICefLoadHandler; override;

This item has no description. Showing description inherited from ICefRenderProcessHandler.GetLoadHandler.

Return the handler for browser load status events.

Protected procedure OnContextCreated(const browser: ICefBrowser; const frame: ICefFrame; const context: ICefv8Context); override;

This item has no description. Showing description inherited from ICefRenderProcessHandler.OnContextCreated.

Called immediately after the V8 context for a frame has been created. To retrieve the JavaScript 'window' object use the ICefv8context.GetGlobal function. V8 handles can only be accessed from the thread on which they are created. A task runner for posting tasks on the associated thread can be retrieved via the ICefv8context.GetTaskRunner() function.

Protected procedure OnContextReleased(const browser: ICefBrowser; const frame: ICefFrame; const context: ICefv8Context); override;

This item has no description. Showing description inherited from ICefRenderProcessHandler.OnContextReleased.

Called immediately before the V8 context for a frame is released. No references to the context should be kept after this function is called.

Protected procedure OnUncaughtException(const browser: ICefBrowser; const frame: ICefFrame; const context: ICefv8Context; const V8Exception: ICefV8Exception; const stackTrace: ICefV8StackTrace); override;

This item has no description. Showing description inherited from ICefRenderProcessHandler.OnUncaughtException.

Called for global uncaught exceptions in a frame. Execution of this callback is disabled by default. To enable set TCefSettings.uncaught_exception_stack_size > 0.

Protected procedure OnFocusedNodeChanged(const browser: ICefBrowser; const frame: ICefFrame; const node: ICefDomNode); override;

This item has no description. Showing description inherited from ICefRenderProcessHandler.OnFocusedNodeChanged.

Called when a new node in the the browser gets focus. The |node| value may be NULL if no specific node has gained focus. The node object passed to this function represents a snapshot of the DOM at the time this function is executed. DOM objects are only valid for the scope of this function. Do not keep references to or attempt to access any DOM objects outside the scope of this function.

Protected function OnProcessMessageReceived(const browser: ICefBrowser; const frame: ICefFrame; sourceProcess: TCefProcessId; const aMessage : ICefProcessMessage): Boolean; override;

This item has no description. Showing description inherited from ICefRenderProcessHandler.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.

Protected procedure RemoveReferences; override;

This item has no description. Showing description inherited from ICefRenderProcessHandler.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.