Overview   Project   Class   Tree   Index 
CEF C++ API Docs - Revision 1123
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

(default)
Class CefDisplayHandler

CefBase
   |
   +--CefDisplayHandler

   in cef_display_handler.h

class CefDisplayHandler
extends CefBase

Implement this interface to handle events related to browser display state. The methods of this class will be called on the UI thread.


Inner Classes, Typedefs, and Enums
typedef CefDisplayHandler::StatusType
          
 
Method Summary
 virtual void OnAddressChange( CefRefPtr< CefBrowser > browser, CefRefPtr< CefFrame > frame, const CefString& url )
          Called when a frame's address has changed.
 virtual bool OnConsoleMessage( CefRefPtr< CefBrowser > browser, const CefString& message, const CefString& source, int line )
          Called to display a console message.
 virtual void OnContentsSizeChange( CefRefPtr< CefBrowser > browser, CefRefPtr< CefFrame > frame, int width, int height )
          Called when the size of the content area has changed.
 virtual void OnFaviconURLChange( CefRefPtr< CefBrowser > browser, const std::vector< CefString >& icon_urls )
          Called when the Favicon URL for a page changes.
 virtual void OnNavStateChange( CefRefPtr< CefBrowser > browser, bool canGoBack, bool canGoForward )
          Called when the navigation state has changed.
 virtual void OnStatusMessage( CefRefPtr< CefBrowser > browser, const CefString& value, CefDisplayHandler::StatusType type )
          Called when the browser receives a status message.
 virtual void OnTitleChange( CefRefPtr< CefBrowser > browser, const CefString& title )
          Called when the page title changes.
 virtual bool OnTooltip( CefRefPtr< CefBrowser > browser, CefString& text )
          Called when the browser is about to display a tooltip.
   
Methods inherited from class CefBase
AddRef, Release, GetRefCt
 

Method Detail

OnAddressChange

public virtual void OnAddressChange( CefRefPtr< CefBrowser > browser, CefRefPtr< CefFrame > frame, const CefString& url );
Called when a frame's address has changed.

OnConsoleMessage

public virtual bool OnConsoleMessage( CefRefPtr< CefBrowser > browser, const CefString& message, const CefString& source, int line );
Called to display a console message. Return true to stop the message from being output to the console.

OnContentsSizeChange

public virtual void OnContentsSizeChange( CefRefPtr< CefBrowser > browser, CefRefPtr< CefFrame > frame, int width, int height );
Called when the size of the content area has changed.

OnFaviconURLChange

public virtual void OnFaviconURLChange( CefRefPtr< CefBrowser > browser, const std::vector< CefString >& icon_urls );
Called when the Favicon URL for a page changes.

OnNavStateChange

public virtual void OnNavStateChange( CefRefPtr< CefBrowser > browser, bool canGoBack, bool canGoForward );
Called when the navigation state has changed.

OnStatusMessage

public virtual void OnStatusMessage( CefRefPtr< CefBrowser > browser, const CefString& value, CefDisplayHandler::StatusType type );
Called when the browser receives a status message. |text| contains the text that will be displayed in the status message and |type| indicates the status message type.

OnTitleChange

public virtual void OnTitleChange( CefRefPtr< CefBrowser > browser, const CefString& title );
Called when the page title changes.

OnTooltip

public virtual bool OnTooltip( CefRefPtr< CefBrowser > browser, CefString& text );
Called when the browser is about to display a tooltip. |text| contains the text that will be displayed in the tooltip. To handle the display of the tooltip yourself return true. Otherwise, you can optionally modify |text| and then return false to allow the browser to display the tooltip.

 Overview   Project   Class   Tree   Index 
CEF C++ API Docs - Revision 1123
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

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