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

(default)
Class CefBrowser

CefBaseRefCounted
   |
   +--CefBrowser

   in cef_browser.h

class CefBrowser
extends CefBaseRefCounted

Class used to represent a browser window. When used in the browser process the methods of this class may be called on any thread unless otherwise indicated in the comments. When used in the render process the methods of this class may only be called on the main thread.


Method Summary
 virtual bool CanGoBack()= 0
          Returns true if the browser can navigate backwards.
 virtual bool CanGoForward()= 0
          Returns true if the browser can navigate forwards.
 virtual CefRefPtr< CefFrame > GetFocusedFrame()= 0
          Returns the focused frame for the browser window.
 virtual CefRefPtr< CefFrame > GetFrame( int64 identifier )= 0
          Returns the frame with the specified identifier, or NULL if not found.
 virtual CefRefPtr< CefFrame > GetFrame( const CefString& name )= 0
          Returns the frame with the specified name, or NULL if not found.
 virtual size_t GetFrameCount()= 0
          Returns the number of frames that currently exist.
 virtual void GetFrameIdentifiers( std::vector< int64 >& identifiers )= 0
          Returns the identifiers of all existing frames.
 virtual void GetFrameNames( std::vector< CefString >& names )= 0
          Returns the names of all existing frames.
 virtual CefRefPtr< CefBrowserHost > GetHost()= 0
          Returns the browser host object.
 virtual int GetIdentifier()= 0
          Returns the globally unique identifier for this browser.
 virtual CefRefPtr< CefFrame > GetMainFrame()= 0
          Returns the main (top-level) frame for the browser window.
 virtual void GoBack()= 0
          Navigate backwards.
 virtual void GoForward()= 0
          Navigate forwards.
 virtual bool HasDocument()= 0
          Returns true if a document has been loaded in the browser.
 virtual bool IsLoading()= 0
          Returns true if the browser is currently loading.
 virtual bool IsPopup()= 0
          Returns true if the window is a popup window.
 virtual bool IsSame( CefRefPtr< CefBrowser > that )= 0
          Returns true if this object is pointing to the same handle as |that| object.
 virtual void Reload()= 0
          Reload the current page.
 virtual void ReloadIgnoreCache()= 0
          Reload the current page ignoring any cached data.
 virtual bool SendProcessMessage( CefProcessId target_process, CefRefPtr< CefProcessMessage > message )= 0
          Send a message to the specified |target_process|.
 virtual void StopLoad()= 0
          Stop loading the page.
   
Methods inherited from class CefBaseRefCounted
AddRef, Release, HasOneRef
 

Method Detail

CanGoBack

public virtual bool CanGoBack()= 0;
Returns true if the browser can navigate backwards.

CanGoForward

public virtual bool CanGoForward()= 0;
Returns true if the browser can navigate forwards.

GetFocusedFrame

public virtual CefRefPtr< CefFrame > GetFocusedFrame()= 0;
Returns the focused frame for the browser window.

GetFrame

public virtual CefRefPtr< CefFrame > GetFrame( int64 identifier )= 0;
Returns the frame with the specified identifier, or NULL if not found.

GetFrame

public virtual CefRefPtr< CefFrame > GetFrame( const CefString& name )= 0;
Returns the frame with the specified name, or NULL if not found.

GetFrameCount

public virtual size_t GetFrameCount()= 0;
Returns the number of frames that currently exist.

GetFrameIdentifiers

public virtual void GetFrameIdentifiers( std::vector< int64 >& identifiers )= 0;
Returns the identifiers of all existing frames.

GetFrameNames

public virtual void GetFrameNames( std::vector< CefString >& names )= 0;
Returns the names of all existing frames.

GetHost

public virtual CefRefPtr< CefBrowserHost > GetHost()= 0;
Returns the browser host object. This method can only be called in the browser process.

GetIdentifier

public virtual int GetIdentifier()= 0;
Returns the globally unique identifier for this browser. This value is also used as the tabId for extension APIs.

GetMainFrame

public virtual CefRefPtr< CefFrame > GetMainFrame()= 0;
Returns the main (top-level) frame for the browser window.

GoBack

public virtual void GoBack()= 0;
Navigate backwards.

GoForward

public virtual void GoForward()= 0;
Navigate forwards.

HasDocument

public virtual bool HasDocument()= 0;
Returns true if a document has been loaded in the browser.

IsLoading

public virtual bool IsLoading()= 0;
Returns true if the browser is currently loading.

IsPopup

public virtual bool IsPopup()= 0;
Returns true if the window is a popup window.

IsSame

public virtual bool IsSame( CefRefPtr< CefBrowser > that )= 0;
Returns true if this object is pointing to the same handle as |that| object.

Reload

public virtual void Reload()= 0;
Reload the current page.

ReloadIgnoreCache

public virtual void ReloadIgnoreCache()= 0;
Reload the current page ignoring any cached data.

SendProcessMessage

public virtual bool SendProcessMessage( CefProcessId target_process, CefRefPtr< CefProcessMessage > message )= 0;
Send a message to the specified |target_process|. Returns true if the message was sent successfully.

StopLoad

public virtual void StopLoad()= 0;
Stop loading the page.

 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