Click or drag to resize

IBrowserProcessHandler Interface

Version 105.3.390
Implement this interface to handle events related to browser process callbacks. The methods of this class will be called on the CEF UI thread unless otherwise indicated. .

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 105.3.390.0 (105.3.390.0)
Syntax
public interface IBrowserProcessHandler : IDisposable

The IBrowserProcessHandler type exposes the following members.

Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodOnContextInitialized
Called on the CEF UI thread immediately after the CEF context has been initialized. You can now access the Global RequestContext through Cef.GetGlobalRequestContext() - this is the first place you can set Preferences (e.g. proxy settings, spell check dictionaries).
Public methodOnScheduleMessagePumpWork
Called from any thread when work has been scheduled for the browser process main (UI) thread. This callback is used in combination with CefSettings. ExternalMessagePump and Cef.DoMessageLoopWork() in cases where the CEF message loop must be integrated into an existing application message loop (see additional comments and warnings on Cef.DoMessageLoopWork). This callback should schedule a Cef.DoMessageLoopWork() call to happen on the main (UI) thread.
Top
See Also