|
CEF3 C++ API Docs - Version 80.1.4+g8927396+chromium-80.0.3987.149 | ||||||
FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
CefBaseRefCounted | +--CefFramein cef_frame.h
Class used to represent a frame in the 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 void |
Copy()= 0
Execute copy in this frame. |
virtual CefRefPtr< CefURLRequest > |
CreateURLRequest( CefRefPtr< CefRequest > request, CefRefPtr< CefURLRequestClient > client )= 0
Create a new URL request that will be treated as originating from this frame and the associated browser. |
virtual void |
Cut()= 0
Execute cut in this frame. |
virtual void |
Delete()= 0
Execute delete in this frame. |
virtual void |
ExecuteJavaScript( const CefString& code, const CefString& script_url, int start_line )= 0
Execute a string of JavaScript code in this frame. |
virtual CefRefPtr< CefBrowser > |
GetBrowser()= 0
Returns the browser that this frame belongs to. |
virtual int64 |
GetIdentifier()= 0
Returns the globally unique identifier for this frame or < 0 if the underlying frame does not yet exist. |
virtual CefString |
GetName()= 0
Returns the name for this frame. |
virtual CefRefPtr< CefFrame > |
GetParent()= 0
Returns the parent of this frame or NULL if this is the main (top-level) frame. |
virtual void |
GetSource( CefRefPtr< CefStringVisitor > visitor )= 0
Retrieve this frame's HTML source as a string sent to the specified visitor. |
virtual void |
GetText( CefRefPtr< CefStringVisitor > visitor )= 0
Retrieve this frame's display text as a string sent to the specified visitor. |
virtual CefString |
GetURL()= 0
Returns the URL currently loaded in this frame. |
virtual CefRefPtr< CefV8Context > |
GetV8Context()= 0
Get the V8 context associated with the frame. |
virtual bool |
IsFocused()= 0
Returns true if this is the focused frame. |
virtual bool |
IsMain()= 0
Returns true if this is the main (top-level) frame. |
virtual bool |
IsValid()= 0
True if this object is currently attached to a valid frame. |
virtual void |
LoadRequest( CefRefPtr< CefRequest > request )= 0
Load the request represented by the |request| object. |
virtual void |
LoadURL( const CefString& url )= 0
Load the specified |url|. |
virtual void |
Paste()= 0
Execute paste in this frame. |
virtual void |
Redo()= 0
Execute redo in this frame. |
virtual void |
SelectAll()= 0
Execute select all in this frame. |
virtual void |
SendProcessMessage( CefProcessId target_process, CefRefPtr< CefProcessMessage > message )= 0
Send a message to the specified |target_process|. |
virtual void |
Undo()= 0
Execute undo in this frame. |
virtual void |
ViewSource()= 0
Save this frame's HTML source to a temporary file and open it in the default text viewing application. |
virtual void |
VisitDOM( CefRefPtr< CefDOMVisitor > visitor )= 0
Visit the DOM document. |
Methods inherited from class CefBaseRefCounted |
AddRef, Release, HasOneRef, HasAtLeastOneRef |
Method Detail |
public virtual void Copy()= 0;
public virtual CefRefPtr< CefURLRequest > CreateURLRequest( CefRefPtr< CefRequest > request, CefRefPtr< CefURLRequestClient > client )= 0;
public virtual void Cut()= 0;
public virtual void Delete()= 0;
public virtual void ExecuteJavaScript( const CefString& code, const CefString& script_url, int start_line )= 0;
public virtual CefRefPtr< CefBrowser > GetBrowser()= 0;
public virtual int64 GetIdentifier()= 0;
public virtual CefString GetName()= 0;
public virtual CefRefPtr< CefFrame > GetParent()= 0;
public virtual void GetSource( CefRefPtr< CefStringVisitor > visitor )= 0;
public virtual void GetText( CefRefPtr< CefStringVisitor > visitor )= 0;
public virtual CefString GetURL()= 0;
public virtual CefRefPtr< CefV8Context > GetV8Context()= 0;
public virtual bool IsFocused()= 0;
public virtual bool IsMain()= 0;
public virtual bool IsValid()= 0;
public virtual void LoadRequest( CefRefPtr< CefRequest > request )= 0;
public virtual void LoadURL( const CefString& url )= 0;
public virtual void Paste()= 0;
public virtual void Redo()= 0;
public virtual void SelectAll()= 0;
public virtual void SendProcessMessage( CefProcessId target_process, CefRefPtr< CefProcessMessage > message )= 0;
public virtual void Undo()= 0;
public virtual void ViewSource()= 0;
public virtual void VisitDOM( CefRefPtr< CefDOMVisitor > visitor )= 0;
|
CEF3 C++ API Docs - Version 80.1.4+g8927396+chromium-80.0.3987.149 | ||||||
FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |