Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 3.3239.1700.g385b2d4
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

(default)
Class CefApp

CefBaseRefCounted
   |
   +--CefApp

   in cef_app.h

class CefApp
extends CefBaseRefCounted

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


Method Summary
 virtual CefRefPtr< CefBrowserProcessHandler > GetBrowserProcessHandler()
          Return the handler for functionality specific to the browser process.
 virtual CefRefPtr< CefRenderProcessHandler > GetRenderProcessHandler()
          Return the handler for functionality specific to the render process.
 virtual CefRefPtr< CefResourceBundleHandler > GetResourceBundleHandler()
          Return the handler for resource bundle events.
 virtual void OnBeforeCommandLineProcessing( const CefString& process_type, CefRefPtr< CefCommandLine > command_line )
          Provides an opportunity to view and/or modify command-line arguments before processing by CEF and Chromium.
 virtual void OnRegisterCustomSchemes( CefRawPtr< CefSchemeRegistrar > registrar )
          Provides an opportunity to register custom schemes.
   
Methods inherited from class CefBaseRefCounted
AddRef, Release, HasOneRef
 

Method Detail

GetBrowserProcessHandler

public virtual CefRefPtr< CefBrowserProcessHandler > GetBrowserProcessHandler();
Return the handler for functionality specific to the browser process. This method is called on multiple threads in the browser process.

GetRenderProcessHandler

public virtual CefRefPtr< CefRenderProcessHandler > GetRenderProcessHandler();
Return the handler for functionality specific to the render process. This method is called on the render process main thread.

GetResourceBundleHandler

public virtual CefRefPtr< CefResourceBundleHandler > GetResourceBundleHandler();
Return the handler for resource bundle events. If CefSettings.pack_loading_disabled is true a handler must be returned. If no handler is returned resources will be loaded from pack files. This method is called by the browser and render processes on multiple threads.

OnBeforeCommandLineProcessing

public virtual void OnBeforeCommandLineProcessing( const CefString& process_type, CefRefPtr< CefCommandLine > command_line );
Provides an opportunity to view and/or modify command-line arguments before processing by CEF and Chromium. The |process_type| value will be empty for the browser process. Do not keep a reference to the CefCommandLine object passed to this method. The CefSettings.command_line_args_disabled value can be used to start with an empty command-line object. Any values specified in CefSettings that equate to command-line arguments will be set before this method is called. Be cautious when using this method to modify command-line arguments for non-browser processes as this may result in undefined behavior including crashes.

OnRegisterCustomSchemes

public virtual void OnRegisterCustomSchemes( CefRawPtr< CefSchemeRegistrar > registrar );
Provides an opportunity to register custom schemes. Do not keep a reference to the |registrar| object. This method is called on the main thread for each process and the registered schemes should be the same across all processes.

 Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 3.3239.1700.g385b2d4
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

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