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

(default)
Class CefClient

CefBaseRefCounted
   |
   +--CefClient

   in cef_client.h

class CefClient
extends CefBaseRefCounted

Implement this interface to provide handler implementations.


Method Summary
 virtual CefRefPtr< CefContextMenuHandler > GetContextMenuHandler()
          Return the handler for context menus.
 virtual CefRefPtr< CefDialogHandler > GetDialogHandler()
          Return the handler for dialogs.
 virtual CefRefPtr< CefDisplayHandler > GetDisplayHandler()
          Return the handler for browser display state events.
 virtual CefRefPtr< CefDownloadHandler > GetDownloadHandler()
          Return the handler for download events.
 virtual CefRefPtr< CefDragHandler > GetDragHandler()
          Return the handler for drag events.
 virtual CefRefPtr< CefFindHandler > GetFindHandler()
          Return the handler for find result events.
 virtual CefRefPtr< CefFocusHandler > GetFocusHandler()
          Return the handler for focus events.
 virtual CefRefPtr< CefGeolocationHandler > GetGeolocationHandler()
          Return the handler for geolocation permissions requests.
 virtual CefRefPtr< CefJSDialogHandler > GetJSDialogHandler()
          Return the handler for JavaScript dialogs.
 virtual CefRefPtr< CefKeyboardHandler > GetKeyboardHandler()
          Return the handler for keyboard events.
 virtual CefRefPtr< CefLifeSpanHandler > GetLifeSpanHandler()
          Return the handler for browser life span events.
 virtual CefRefPtr< CefLoadHandler > GetLoadHandler()
          Return the handler for browser load status events.
 virtual CefRefPtr< CefRenderHandler > GetRenderHandler()
          Return the handler for off-screen rendering events.
 virtual CefRefPtr< CefRequestHandler > GetRequestHandler()
          Return the handler for browser request events.
 virtual bool OnProcessMessageReceived( CefRefPtr< CefBrowser > browser, CefProcessId source_process, CefRefPtr< CefProcessMessage > message )
          Called when a new message is received from a different process.
   
Methods inherited from class CefBaseRefCounted
AddRef, Release, HasOneRef
 

Method Detail

GetContextMenuHandler

public virtual CefRefPtr< CefContextMenuHandler > GetContextMenuHandler();
Return the handler for context menus. If no handler is provided the default implementation will be used.

GetDialogHandler

public virtual CefRefPtr< CefDialogHandler > GetDialogHandler();
Return the handler for dialogs. If no handler is provided the default implementation will be used.

GetDisplayHandler

public virtual CefRefPtr< CefDisplayHandler > GetDisplayHandler();
Return the handler for browser display state events.

GetDownloadHandler

public virtual CefRefPtr< CefDownloadHandler > GetDownloadHandler();
Return the handler for download events. If no handler is returned downloads will not be allowed.

GetDragHandler

public virtual CefRefPtr< CefDragHandler > GetDragHandler();
Return the handler for drag events.

GetFindHandler

public virtual CefRefPtr< CefFindHandler > GetFindHandler();
Return the handler for find result events.

GetFocusHandler

public virtual CefRefPtr< CefFocusHandler > GetFocusHandler();
Return the handler for focus events.

GetGeolocationHandler

public virtual CefRefPtr< CefGeolocationHandler > GetGeolocationHandler();
Return the handler for geolocation permissions requests. If no handler is provided geolocation access will be denied by default.

GetJSDialogHandler

public virtual CefRefPtr< CefJSDialogHandler > GetJSDialogHandler();
Return the handler for JavaScript dialogs. If no handler is provided the default implementation will be used.

GetKeyboardHandler

public virtual CefRefPtr< CefKeyboardHandler > GetKeyboardHandler();
Return the handler for keyboard events.

GetLifeSpanHandler

public virtual CefRefPtr< CefLifeSpanHandler > GetLifeSpanHandler();
Return the handler for browser life span events.

GetLoadHandler

public virtual CefRefPtr< CefLoadHandler > GetLoadHandler();
Return the handler for browser load status events.

GetRenderHandler

public virtual CefRefPtr< CefRenderHandler > GetRenderHandler();
Return the handler for off-screen rendering events.

GetRequestHandler

public virtual CefRefPtr< CefRequestHandler > GetRequestHandler();
Return the handler for browser request events.

OnProcessMessageReceived

public virtual bool OnProcessMessageReceived( CefRefPtr< CefBrowser > browser, CefProcessId source_process, CefRefPtr< CefProcessMessage > message );
Called when a new message is received from a different process. Return true if the message was handled or false otherwise. Do not keep a reference to or attempt to access the message outside of this callback.

 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