|
CEF C++ API Docs - Revision 439 | ||||||
| FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
CefBase | +--CefBrowserin cef.h
Class used to represent a browser window. The methods of this class may be called on any thread unless otherwise indicated in the comments.
| Inner Classes, Typedefs, and Enums | |
typedef |
CefBrowser::KeyType
|
typedef |
CefBrowser::MouseButtonType
|
typedef |
CefBrowser::PaintElementType
|
| 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 void |
ClearHistory()= 0
Clear the back/forward browsing history. |
virtual void |
CloseBrowser()= 0
Closes this browser window. |
virtual void |
CloseDevTools()= 0
Explicitly close the developer tools window if one exists for this browser instance. |
static bool |
CreateBrowser( CefWindowInfo& windowInfo, CefRefPtr< CefClient > client, const CefString& url, const CefBrowserSettings& settings )
Create a new browser window using the window parameters specified by |windowInfo|. |
static CefRefPtr< CefBrowser > |
CreateBrowserSync( CefWindowInfo& windowInfo, CefRefPtr< CefClient > client, const CefString& url, const CefBrowserSettings& settings )
Create a new browser window using the window parameters specified by |windowInfo|. |
virtual void |
Find( int identifier, const CefString& searchText, bool forward, bool matchCase, bool findNext )= 0
Search for |searchText|. |
virtual CefRefPtr< CefClient > |
GetClient()= 0
Returns the client for this browser. |
virtual CefRefPtr< CefFrame > |
GetFocusedFrame()= 0
Returns the focused frame for the browser window. |
virtual CefRefPtr< CefFrame > |
GetFrame( const CefString& name )= 0
Returns the frame with the specified name, or NULL if not found. |
virtual void |
GetFrameNames( std::vector< CefString >& names )= 0
Returns the names of all existing frames. |
virtual bool |
GetImage( CefBrowser::PaintElementType type, int width, int height, void* buffer )= 0
Get the raw image data contained in the specified element without performing validation. |
virtual CefRefPtr< CefFrame > |
GetMainFrame()= 0
Returns the main (top-level) frame for the browser window. |
virtual CefWindowHandle |
GetOpenerWindowHandle()= 0
Retrieve the window handle of the browser that opened this browser. |
virtual bool |
GetSize( CefBrowser::PaintElementType type, int& width, int& height )= 0
Get the size of the specified element. |
virtual CefWindowHandle |
GetWindowHandle()= 0
Retrieve the window handle for this browser. |
virtual double |
GetZoomLevel()= 0
Get the zoom level. |
virtual void |
GoBack()= 0
Navigate backwards. |
virtual void |
GoForward()= 0
Navigate forwards. |
virtual bool |
HasDocument()= 0
|
virtual void |
HidePopup()= 0
Hide the currently visible popup, if any. |
virtual void |
Invalidate( const CefRect& dirtyRect )= 0
Invalidate the |dirtyRect| region of the view. |
virtual bool |
IsPopup()= 0
Returns true if the window is a popup window. |
virtual bool |
IsPopupVisible()= 0
Returns true if a popup is currently visible. |
virtual bool |
IsWindowRenderingDisabled()= 0
Returns true if window rendering is disabled. |
virtual void |
ParentWindowWillClose()= 0
Call this method before destroying a contained browser window. |
virtual void |
Reload()= 0
Reload the current page. |
virtual void |
ReloadIgnoreCache()= 0
Reload the current page ignoring any cached data. |
virtual void |
SendCaptureLostEvent()= 0
Send a capture lost event to the browser. |
virtual void |
SendFocusEvent( bool setFocus )= 0
Send a focus event to the browser. |
virtual void |
SendKeyEvent( CefBrowser::KeyType type, int key, int modifiers, bool sysChar, bool imeChar )= 0
Send a key event to the browser. |
virtual void |
SendMouseClickEvent( int x, int y, CefBrowser::MouseButtonType type, bool mouseUp, int clickCount )= 0
Send a mouse click event to the browser. |
virtual void |
SendMouseMoveEvent( int x, int y, bool mouseLeave )= 0
Send a mouse move event to the browser. |
virtual void |
SendMouseWheelEvent( int x, int y, int delta )= 0
Send a mouse wheel event to the browser. |
virtual void |
SetFocus( bool enable )= 0
Set focus for the browser window. |
virtual void |
SetSize( CefBrowser::PaintElementType type, int width, int height )= 0
Set the size of the specified element. |
virtual void |
SetZoomLevel( double zoomLevel )= 0
Change the zoom level to the specified value. |
virtual void |
ShowDevTools()= 0
Open developer tools in its own window. |
virtual void |
StopFinding( bool clearSelection )= 0
Cancel all searches that are currently going on. |
virtual void |
StopLoad()= 0
Stop loading the page. |
| Methods inherited from class CefBase |
AddRef, Release, GetRefCt |
| Method Detail |
public virtual bool CanGoBack()= 0;
public virtual bool CanGoForward()= 0;
public virtual void ClearHistory()= 0;
public virtual void CloseBrowser()= 0;
public virtual void CloseDevTools()= 0;
public static bool CreateBrowser( CefWindowInfo& windowInfo, CefRefPtr< CefClient > client, const CefString& url, const CefBrowserSettings& settings );
public static CefRefPtr< CefBrowser > CreateBrowserSync( CefWindowInfo& windowInfo, CefRefPtr< CefClient > client, const CefString& url, const CefBrowserSettings& settings );
public virtual void Find( int identifier, const CefString& searchText, bool forward, bool matchCase, bool findNext )= 0;
public virtual CefRefPtr< CefClient > GetClient()= 0;
public virtual CefRefPtr< CefFrame > GetFocusedFrame()= 0;
public virtual CefRefPtr< CefFrame > GetFrame( const CefString& name )= 0;
public virtual void GetFrameNames( std::vector< CefString >& names )= 0;
public virtual bool GetImage( CefBrowser::PaintElementType type, int width, int height, void* buffer )= 0;
public virtual CefRefPtr< CefFrame > GetMainFrame()= 0;
public virtual CefWindowHandle GetOpenerWindowHandle()= 0;
public virtual bool GetSize( CefBrowser::PaintElementType type, int& width, int& height )= 0;
public virtual CefWindowHandle GetWindowHandle()= 0;
public virtual double GetZoomLevel()= 0;
public virtual void GoBack()= 0;
public virtual void GoForward()= 0;
public virtual bool HasDocument()= 0;
public virtual void HidePopup()= 0;
public virtual void Invalidate( const CefRect& dirtyRect )= 0;
public virtual bool IsPopup()= 0;
public virtual bool IsPopupVisible()= 0;
public virtual bool IsWindowRenderingDisabled()= 0;
public virtual void ParentWindowWillClose()= 0;
public virtual void Reload()= 0;
public virtual void ReloadIgnoreCache()= 0;
public virtual void SendCaptureLostEvent()= 0;
public virtual void SendFocusEvent( bool setFocus )= 0;
public virtual void SendKeyEvent( CefBrowser::KeyType type, int key, int modifiers, bool sysChar, bool imeChar )= 0;
public virtual void SendMouseClickEvent( int x, int y, CefBrowser::MouseButtonType type, bool mouseUp, int clickCount )= 0;
public virtual void SendMouseMoveEvent( int x, int y, bool mouseLeave )= 0;
public virtual void SendMouseWheelEvent( int x, int y, int delta )= 0;
public virtual void SetFocus( bool enable )= 0;
public virtual void SetSize( CefBrowser::PaintElementType type, int width, int height )= 0;
public virtual void SetZoomLevel( double zoomLevel )= 0;
public virtual void ShowDevTools()= 0;
public virtual void StopFinding( bool clearSelection )= 0;
public virtual void StopLoad()= 0;
|
CEF C++ API Docs - Revision 439 | ||||||
| FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||