Click or drag to resize
CfxOnScheduleMessagePumpWorkEventHandler Delegate

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

Called from any thread when work has been scheduled for the browser process main (UI) thread. This callback is used in combination with CfxSettings. 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 CfxDoMessageLoopWork). This callback should schedule a cef_do_message_loop_work() call to happen on the main (UI) thread. |DelayMs| is the requested delay in milliseconds. If |DelayMs| is <= 0 then the call should happen reasonably soon. If |DelayMs| is > 0 then the call should be scheduled to happen after the specified delay and any currently pending scheduled call should be cancelled.

Namespace: Chromium.Event
Assembly: ChromiumFX (in ChromiumFX.dll)
Syntax
public delegate void CfxOnScheduleMessagePumpWorkEventHandler(
	Object sender,
	CfxOnScheduleMessagePumpWorkEventArgs e
)

Parameters

sender
Type: SystemObject
e
Type: Chromium.EventCfxOnScheduleMessagePumpWorkEventArgs
Remarks
See also the original CEF documentation in cef/include/capi/cef_browser_process_handler_capi.h.
See Also