IRenderProcessMessageHandler Interface |
Namespace: CefSharp
The IRenderProcessMessageHandler type exposes the following members.
Name | Description | |
---|---|---|
OnContextCreated |
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 no V8Context will be created and as a result this method will not be called.
Called for every V8Context. To determine if V8Context is from Main frame check IsMain | |
OnContextReleased |
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.
Called for every V8Context. To determine if V8Context is from Main frame check IsMain | |
OnFocusedNodeChanged |
Invoked when an element in the UI gains focus (or possibly no
element gains focus; i.e. an element lost focus).
| |
OnUncaughtException |
OnUncaughtException is called for global uncaught exceptions in a frame. Execution of this callback is disabled by default.
To enable set CefSettings.UncaughtExceptionStackSize > 0.
|