The OpenD Programming Language

cef_app_t

Implement this structure to provide handler implementations. Methods will be called by the process and/or thread indicated.

Members

Variables

base
cef_base_ref_counted_t base;

Base structure.

get_browser_process_handler
cef_browser_process_handler_t* function(cef_app_t* self) nothrow get_browser_process_handler;

Return the handler for functionality specific to the browser process. This function is called on multiple threads in the browser process.

get_render_process_handler
cef_render_process_handler_t* function(cef_app_t* self) nothrow get_render_process_handler;

Return the handler for functionality specific to the render process. This function is called on the render process main thread.

get_resource_bundle_handler
cef_resource_bundle_handler_t* function(cef_app_t* self) nothrow get_resource_bundle_handler;

Return the handler for resource bundle events. If cef_settings_t.pack_loading_disabled 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.

on_before_command_line_processing
void function(cef_app_t* self, const(cef_string_t)* process_type, cef_command_line_t* command_line) nothrow on_before_command_line_processing;

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.

on_register_custom_schemes
void function(cef_app_t* self, cef_scheme_registrar_t* registrar) nothrow on_register_custom_schemes;

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.

Meta