Click or drag to resize
CfxApp Events

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

The CfxApp type exposes the following members.

Events
  NameDescription
Public eventGetBrowserProcessHandler
Return the handler for functionality specific to the browser process. This function is called on multiple threads in the browser process.
Public eventGetRenderProcessHandler
Return the handler for functionality specific to the render process. This function is called on the render process main thread.
Public eventGetResourceBundleHandler
Return the handler for resource bundle events. If CfxSettings.PackLoadingDisabled is true (1) a handler must be returned. If no handler is returned resources will be loaded from pack files. This function is called by the browser and render processes on multiple threads.
Public eventOnBeforeCommandLineProcessing
Provides an opportunity to view and/or modify command-line arguments before processing by CEF and Chromium. The |ProcessType| value will be NULL for the browser process. Do not keep a reference to the CfxCommandLine object passed to this function. The CfxSettings.CommandLineArgsDisabled value can be used to start with an NULL command-line object. Any values specified in CfxSettings that equate to command-line arguments will be set before this function is called. Be cautious when using this function to modify command-line arguments for non-browser processes as this may result in undefined behavior including crashes.
Public eventOnRegisterCustomSchemes
Provides an opportunity to register custom schemes. Do not keep a reference to the |Registrar| object. This function is called on the main thread for each process and the registered schemes should be the same across all processes.
Top
See Also