type TCefFrameHandlerOwn = class(TCefBaseRefCountedOwn, ICefFrameHandler)
This item has no description.
![]() |
procedure OnFrameCreated(const browser: ICefBrowser; const frame: ICefFrame); virtual; |
![]() |
procedure OnFrameAttached(const browser: ICefBrowser; const frame: ICefFrame; reattached: boolean); virtual; |
![]() |
procedure OnFrameDetached(const browser: ICefBrowser; const frame: ICefFrame); virtual; |
![]() |
procedure OnMainFrameChanged(const browser: ICefBrowser; const old_frame, new_frame: ICefFrame); virtual; |
![]() |
procedure RemoveReferences; virtual; |
![]() |
constructor Create; virtual; |
![]() |
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|. |
![]() |
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. |
![]() |
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|. |
![]() |
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|. |
![]() |
procedure RemoveReferences; virtual; |
This item has no description. Showing description inherited from ICefFrameHandler.RemoveReferences. Custom procedure to clear all references. |
![]() |
constructor Create; virtual; |
This item has no description. |