Chromium Embedded Framework (CEF)
121.0.1+g7a4b55f+chromium-121.0.6167.16
|
Implement this interface to provide handler implementations. More...
#include "include/cef_client.h"
Public Member Functions | |
virtual CefRefPtr< CefAudioHandler > | GetAudioHandler () |
Return the handler for audio rendering events. More... | |
virtual CefRefPtr< CefCommandHandler > | GetCommandHandler () |
Return the handler for commands. More... | |
virtual CefRefPtr< CefContextMenuHandler > | GetContextMenuHandler () |
Return the handler for context menus. More... | |
virtual CefRefPtr< CefDialogHandler > | GetDialogHandler () |
Return the handler for dialogs. More... | |
virtual CefRefPtr< CefDisplayHandler > | GetDisplayHandler () |
Return the handler for browser display state events. More... | |
virtual CefRefPtr< CefDownloadHandler > | GetDownloadHandler () |
Return the handler for download events. More... | |
virtual CefRefPtr< CefDragHandler > | GetDragHandler () |
Return the handler for drag events. More... | |
virtual CefRefPtr< CefFindHandler > | GetFindHandler () |
Return the handler for find result events. More... | |
virtual CefRefPtr< CefFocusHandler > | GetFocusHandler () |
Return the handler for focus events. More... | |
virtual CefRefPtr< CefFrameHandler > | GetFrameHandler () |
Return the handler for events related to CefFrame lifespan. More... | |
virtual CefRefPtr< CefPermissionHandler > | GetPermissionHandler () |
Return the handler for permission requests. More... | |
virtual CefRefPtr< CefJSDialogHandler > | GetJSDialogHandler () |
Return the handler for JavaScript dialogs. More... | |
virtual CefRefPtr< CefKeyboardHandler > | GetKeyboardHandler () |
Return the handler for keyboard events. More... | |
virtual CefRefPtr< CefLifeSpanHandler > | GetLifeSpanHandler () |
Return the handler for browser life span events. More... | |
virtual CefRefPtr< CefLoadHandler > | GetLoadHandler () |
Return the handler for browser load status events. More... | |
virtual CefRefPtr< CefPrintHandler > | GetPrintHandler () |
Return the handler for printing on Linux. More... | |
virtual CefRefPtr< CefRenderHandler > | GetRenderHandler () |
Return the handler for off-screen rendering events. More... | |
virtual CefRefPtr< CefRequestHandler > | GetRequestHandler () |
Return the handler for browser request events. More... | |
virtual bool | OnProcessMessageReceived (CefRefPtr< CefBrowser > browser, CefRefPtr< CefFrame > frame, CefProcessId source_process, CefRefPtr< CefProcessMessage > message) |
Called when a new message is received from a different 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.
|
inlinevirtual |
Return the handler for audio rendering events.
|
inlinevirtual |
Return the handler for commands.
If no handler is provided the default implementation will be used.
|
inlinevirtual |
Return the handler for context menus.
If no handler is provided the default implementation will be used.
|
inlinevirtual |
Return the handler for dialogs.
If no handler is provided the default implementation will be used.
|
inlinevirtual |
Return the handler for browser display state events.
|
inlinevirtual |
Return the handler for download events.
If no handler is returned downloads will not be allowed.
|
inlinevirtual |
Return the handler for drag events.
|
inlinevirtual |
Return the handler for find result events.
|
inlinevirtual |
Return the handler for focus events.
|
inlinevirtual |
Return the handler for events related to CefFrame lifespan.
This method will be called once during CefBrowser creation and the result will be cached for performance reasons.
|
inlinevirtual |
Return the handler for JavaScript dialogs.
If no handler is provided the default implementation will be used.
|
inlinevirtual |
Return the handler for keyboard events.
|
inlinevirtual |
Return the handler for browser life span events.
|
inlinevirtual |
Return the handler for browser load status events.
|
inlinevirtual |
Return the handler for permission requests.
|
inlinevirtual |
Return the handler for printing on Linux.
If a print handler is not provided then printing will not be supported on the Linux platform.
|
inlinevirtual |
Return the handler for off-screen rendering events.
|
inlinevirtual |
Return the handler for browser request events.
|
inlinevirtual |
Called when a new message is received from a different process.
Return true if the message was handled or false otherwise. It is safe to keep a reference to |message| outside of this callback.