Base structure.
Return the default client for use with a newly created browser window (cef_browser_t object). If null is returned the cef_browser_t will be unmanaged (no callbacks will be executed for that cef_browser_t) and application shutdown will be blocked until the browser window is closed manually. This function is currently only used with the Chrome runtime when creating new browser windows via Chrome UI.
Return the default handler for use with a new user or incognito profile (cef_request_context_t object). If null is returned the cef_request_context_t will be unmanaged (no callbacks will be executed for that cef_request_context_t). This function is currently only used with the Chrome runtime when creating new browser windows via Chrome UI.
Implement this function to provide app-specific behavior when an already running app is relaunched with the same CefSettings.root_cache_path value. For example, activate an existing app window or create a new app window. |command_line| will be read-only. Do not keep a reference to |command_line| outside of this function. Return true (1) if the relaunch is handled or false (0) for default relaunch behavior. Default behavior will create a new default styled Chrome window.
Called before a child process is launched. Will be called on the browser process UI thread when launching a render process and on the browser process IO thread when launching a GPU process. Provides an opportunity to modify the child process command line. Do not keep a reference to |command_line| outside of this function.
Called on the browser process UI thread immediately after the CEF context has been initialized.
time at application startup. See related cef_settings_t.cache_path and cef_settings_t.persist_user_preferences configuration.
Called from any thread when work has been scheduled for the browser process main (UI) thread. This callback is used in combination with cef_settings_t.external_message_pump and cef_do_message_loop_work() in cases where the CEF message loop must be integrated into an existing application message loop (see additional comments and warnings on CefDoMessageLoopWork). This callback should schedule a cef_do_message_loop_work() call to happen on the main (UI) thread. |delay_ms| is the requested delay in milliseconds. If |delay_ms| is <= 0 then the call should happen reasonably soon. If |delay_ms| is > 0 then the call should be scheduled to happen after the specified delay and any currently pending scheduled call should be cancelled.
Structure used to implement browser process callbacks. The functions of this structure will be called on the browser process main thread unless otherwise indicated.