Chromium Embedded Framework (CEF)
127.1.0+ga1ec504+chromium-127.0.6533.57
|
Implement this interface to provide handler implementations. More...
#include "include/cef_app.h"
Public Member Functions | |
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. More... | |
virtual void | OnRegisterCustomSchemes (CefRawPtr< CefSchemeRegistrar > registrar) |
Provides an opportunity to register custom schemes. More... | |
virtual CefRefPtr< CefResourceBundleHandler > | GetResourceBundleHandler () |
Return the handler for resource bundle events. More... | |
virtual CefRefPtr< CefBrowserProcessHandler > | GetBrowserProcessHandler () |
Return the handler for functionality specific to the browser process. More... | |
virtual CefRefPtr< CefRenderProcessHandler > | GetRenderProcessHandler () |
Return the handler for functionality specific to the render process. More... | |
Public Member Functions inherited from CefBaseRefCounted | |
virtual void | AddRef () const =0 |
Called to increment the reference count for the object. More... | |
virtual bool | Release () const =0 |
Called to decrement the reference count for the object. More... | |
virtual bool | HasOneRef () const =0 |
Returns true if the reference count is 1. More... | |
virtual bool | HasAtLeastOneRef () const =0 |
Returns true if the reference count is at least 1. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from CefBaseRefCounted | |
virtual | ~CefBaseRefCounted () |
Implement this interface to provide handler implementations.
Methods will be called by the process and/or thread indicated.
|
inlinevirtual |
Return the handler for functionality specific to the browser process.
This method is called on multiple threads in the browser process.
|
inlinevirtual |
Return the handler for functionality specific to the render process.
This method is called on the render process main thread.
|
inlinevirtual |
Return the handler for resource bundle events.
If cef_settings_t.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.
|
inlinevirtual |
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 cef_settings_t.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.
|
inlinevirtual |
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.