Click or drag to resize
CfxOnContextCreatedEventArgs Class

[This is preliminary documentation and is subject to change.]

Called immediately after the V8 context for a frame has been created. To retrieve the JavaScript 'window' object use the CfxV8Context.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 CfxV8Context.GetTaskRunner() function.
Inheritance Hierarchy

Namespace: Chromium.Event
Assembly: ChromiumFX (in ChromiumFX.dll)
public class CfxOnContextCreatedEventArgs : CfxEventArgs

The CfxOnContextCreatedEventArgs type exposes the following members.

Public propertyBrowser
Get the Browser parameter for the OnContextCreated callback.
Public propertyContext
Get the Context parameter for the OnContextCreated callback.
Public propertyFrame
Get the Frame parameter for the OnContextCreated callback.
See also the original CEF documentation in cef/include/capi/cef_render_process_handler_capi.h.
See Also