Click or drag to resize
IRenderProcessMessageHandler Interface
Version 57.0.0
Messages sent by the render process can be handled by implementing this interface.

Namespace: CefSharp
Assembly: CefSharp (in CefSharp.dll) Version: 57.0.0.0 (57.0.0.0)
Syntax
public interface IRenderProcessMessageHandler

The IRenderProcessMessageHandler type exposes the following members.

Methods
  NameDescription
Public methodOnContextCreated
OnContextCreated is called in the Render process immediately after a CefV8Context is created. An IPC message is immediately sent to notify the context has been created (should be safe to execute javascript). If the page has no javascript then on context will be created and as a result this method will not be called. Currently only called for the Main frame IsMain
Public methodOnContextReleased
OnContextReleased is called in the Render process immediately before the CefV8Context is released. An IPC message is immediately sent to notify the context has been released (cannot execute javascript this point). If the page had no javascript then the context would not have been created and as a result this method will not be called. Currently only called for the Main frame IsMain
Public methodOnFocusedNodeChanged
Invoked when an element in the UI gains focus (or possibly no element gains focus; i.e. an element lost focus).
Top
See Also