Class TCefFrameHandlerOwn

Description
Hierarchy
Fields
Methods
Properties

Unit

Declaration

type TCefFrameHandlerOwn = class(TCefBaseRefCountedOwn, ICefFrameHandler)

Description

This item has no description.

Hierarchy

Overview

Methods

Protected procedure OnFrameCreated(const browser: ICefBrowser; const frame: ICefFrame); virtual;
Protected procedure OnFrameAttached(const browser: ICefBrowser; const frame: ICefFrame; reattached: boolean); virtual;
Protected procedure OnFrameDetached(const browser: ICefBrowser; const frame: ICefFrame); virtual;
Protected procedure OnMainFrameChanged(const browser: ICefBrowser; const old_frame, new_frame: ICefFrame); virtual;
Protected procedure RemoveReferences; virtual;
Public constructor Create; virtual;

Description

Methods

Protected procedure OnFrameCreated(const browser: ICefBrowser; const frame: ICefFrame); virtual;

This item has no description. Showing description inherited from ICefFrameHandler.OnFrameCreated.

Called when a new frame is created. This will be the first notification that references |frame|. Any commands that require transport to the associated renderer process (LoadRequest, SendProcessMessage, GetSource, etc.) will be queued until OnFrameAttached is called for |frame|.

Protected procedure OnFrameAttached(const browser: ICefBrowser; const frame: ICefFrame; reattached: boolean); virtual;

This item has no description. Showing description inherited from ICefFrameHandler.OnFrameAttached.

Called when a frame can begin routing commands to/from the associated renderer process. |reattached| will be true (1) if the frame was re- attached after exiting the BackForwardCache. Any commands that were queued have now been dispatched.

Protected procedure OnFrameDetached(const browser: ICefBrowser; const frame: ICefFrame); virtual;

This item has no description. Showing description inherited from ICefFrameHandler.OnFrameDetached.

Called when a frame loses its connection to the renderer process and will be destroyed. Any pending or future commands will be discarded and ICefFrame.IsValid() will now return false (0) for |frame|. If called after ICefLifeSpanHandler.OnBeforeClose() during browser destruction then ICefBrowser.IsValid() will return false (0) for |browser|.

Protected procedure OnMainFrameChanged(const browser: ICefBrowser; const old_frame, new_frame: ICefFrame); virtual;

This item has no description. Showing description inherited from ICefFrameHandler.OnMainFrameChanged.

Called when the main frame changes due to (a) initial browser creation, (b) final browser destruction, (c) cross-origin navigation or (d) re- navigation after renderer process termination (due to crashes, etc). |old_frame| will be NULL and |new_frame| will be non-NULL when a main frame is assigned to |browser| for the first time. |old_frame| will be non-NULL and |new_frame| will be NULL and when a main frame is removed from |browser| for the last time. Both |old_frame| and |new_frame| will be non-NULL for cross-origin navigations or re-navigation after renderer process termination. This function will be called after on_frame_created() for |new_frame| and/or after OnFrameDetached() for |old_frame|. If called after ICefLifeSpanHandler.OnBeforeClose() during browser destruction then ICefBrowser.IsValid() will return false (0) for |browser|.

Protected procedure RemoveReferences; virtual;

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

Custom procedure to clear all references.

Public constructor Create; virtual;

This item has no description.


Generated by PasDoc 0.16.0-snapshot.