Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 80.1.4+g8927396+chromium-80.0.3987.149
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

(default)
Class CefBrowserProcessHandler

CefBaseRefCounted
   |
   +--CefBrowserProcessHandler

   in cef_browser_process_handler.h

class CefBrowserProcessHandler
extends CefBaseRefCounted

Class used to implement browser process callbacks. The methods of this class will be called on the browser process main thread unless otherwise indicated.


Method Summary
 virtual CefRefPtr< CefPrintHandler > GetPrintHandler()
          Return the handler for printing on Linux.
 virtual void OnBeforeChildProcessLaunch( CefRefPtr< CefCommandLine > command_line )
          Called before a child process is launched.
 virtual void OnContextInitialized()
          Called on the browser process UI thread immediately after the CEF context has been initialized.
 virtual void OnRenderProcessThreadCreated( CefRefPtr< CefListValue > extra_info )
          Called on the browser process IO thread after the main thread has been created for a new render process.
 virtual void OnScheduleMessagePumpWork( int64 delay_ms )
          Called from any thread when work has been scheduled for the browser process main (UI) thread.
   
Methods inherited from class CefBaseRefCounted
AddRef, Release, HasOneRef, HasAtLeastOneRef
 

Method Detail

GetPrintHandler

public virtual CefRefPtr< CefPrintHandler > GetPrintHandler();
Return the handler for printing on Linux. If a print handler is not provided then printing will not be supported on the Linux platform.

OnBeforeChildProcessLaunch

public virtual void OnBeforeChildProcessLaunch( CefRefPtr< CefCommandLine > command_line );
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 or plugin process. Provides an opportunity to modify the child process command line. Do not keep a reference to |command_line| outside of this method.

OnContextInitialized

public virtual void OnContextInitialized();
Called on the browser process UI thread immediately after the CEF context has been initialized.

OnRenderProcessThreadCreated

public virtual void OnRenderProcessThreadCreated( CefRefPtr< CefListValue > extra_info );
Called on the browser process IO thread after the main thread has been created for a new render process. Provides an opportunity to specify extra information that will be passed to CefRenderProcessHandler::OnRenderThreadCreated() in the render process. Do not keep a reference to |extra_info| outside of this method.

OnScheduleMessagePumpWork

public virtual void OnScheduleMessagePumpWork( int64 delay_ms );
Called from any thread when work has been scheduled for the browser process main (UI) thread. This callback is used in combination with CefSettings. external_message_pump and CefDoMessageLoopWork() 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 CefDoMessageLoopWork() 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.

 Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 80.1.4+g8927396+chromium-80.0.3987.149
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

Chromium Embedded Framework (CEF) Copyright © 2016 Marshall A. Greenblatt