|
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 | +--CefDOMDocumentin cef_dom.h
Class used to represent a DOM document. The methods of this class should only be called on the render process main thread thread.
Inner Classes, Typedefs, and Enums | |
typedef |
CefDOMDocument::Type
|
Method Summary | |
virtual CefString |
GetBaseURL()= 0
Returns the base URL for the document. |
virtual CefRefPtr< CefDOMNode > |
GetBody()= 0
Returns the BODY node of an HTML document. |
virtual CefString |
GetCompleteURL( const CefString& partialURL )= 0
Returns a complete URL based on the document base URL and the specified partial URL. |
virtual CefRefPtr< CefDOMNode > |
GetDocument()= 0
Returns the root document node. |
virtual CefRefPtr< CefDOMNode > |
GetElementById( const CefString& id )= 0
Returns the document element with the specified ID value. |
virtual CefRefPtr< CefDOMNode > |
GetFocusedNode()= 0
Returns the node that currently has keyboard focus. |
virtual CefRefPtr< CefDOMNode > |
GetHead()= 0
Returns the HEAD node of an HTML document. |
virtual CefString |
GetSelectionAsMarkup()= 0
Returns the contents of this selection as markup. |
virtual CefString |
GetSelectionAsText()= 0
Returns the contents of this selection as text. |
virtual int |
GetSelectionEndOffset()= 0
Returns the selection offset within the end node. |
virtual int |
GetSelectionStartOffset()= 0
Returns the selection offset within the start node. |
virtual CefString |
GetTitle()= 0
Returns the title of an HTML document. |
virtual CefDOMDocument::Type |
GetType()= 0
Returns the document type. |
virtual bool |
HasSelection()= 0
Returns true if a portion of the document is selected. |
Methods inherited from class CefBaseRefCounted |
AddRef, Release, HasOneRef, HasAtLeastOneRef |
Method Detail |
public virtual CefString GetBaseURL()= 0;
public virtual CefRefPtr< CefDOMNode > GetBody()= 0;
public virtual CefString GetCompleteURL( const CefString& partialURL )= 0;
public virtual CefRefPtr< CefDOMNode > GetDocument()= 0;
public virtual CefRefPtr< CefDOMNode > GetElementById( const CefString& id )= 0;
public virtual CefRefPtr< CefDOMNode > GetFocusedNode()= 0;
public virtual CefRefPtr< CefDOMNode > GetHead()= 0;
public virtual CefString GetSelectionAsMarkup()= 0;
public virtual CefString GetSelectionAsText()= 0;
public virtual int GetSelectionEndOffset()= 0;
public virtual int GetSelectionStartOffset()= 0;
public virtual CefString GetTitle()= 0;
public virtual CefDOMDocument::Type GetType()= 0;
public virtual bool HasSelection()= 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 |