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
SystemObject
  SystemEventArgs
    ChromiumCfxEventArgs
      Chromium.EventCfxOnContextCreatedEventArgs

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

The CfxOnContextCreatedEventArgs type exposes the following members.

Properties
  NameDescription
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.
Top
Remarks
See also the original CEF documentation in cef/include/capi/cef_render_process_handler_capi.h.
See Also