|
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 | +--CefDOMNodein cef_dom.h
Class used to represent a DOM node. The methods of this class should only be called on the render process main thread.
Inner Classes, Typedefs, and Enums | |
typedef |
CefDOMNode::AttributeMap
|
typedef |
CefDOMNode::Type
|
Method Summary | |
virtual CefString |
GetAsMarkup()= 0
Returns the contents of this node as markup. |
virtual CefRefPtr< CefDOMDocument > |
GetDocument()= 0
Returns the document associated with this node. |
virtual CefString |
GetElementAttribute( const CefString& attrName )= 0
Returns the element attribute named |attrName|. |
virtual void |
GetElementAttributes( CefDOMNode::AttributeMap& attrMap )= 0
Returns a map of all element attributes. |
virtual CefRect |
GetElementBounds()= 0
Returns the bounds of the element. |
virtual CefString |
GetElementInnerText()= 0
Returns the inner text of the element. |
virtual CefString |
GetElementTagName()= 0
Returns the tag name of this element. |
virtual CefRefPtr< CefDOMNode > |
GetFirstChild()= 0
Return the first child node. |
virtual CefString |
GetFormControlElementType()= 0
Returns the type of this form control element node. |
virtual CefRefPtr< CefDOMNode > |
GetLastChild()= 0
Returns the last child node. |
virtual CefString |
GetName()= 0
Returns the name of this node. |
virtual CefRefPtr< CefDOMNode > |
GetNextSibling()= 0
Returns the next sibling node. |
virtual CefRefPtr< CefDOMNode > |
GetParent()= 0
Returns the parent node. |
virtual CefRefPtr< CefDOMNode > |
GetPreviousSibling()= 0
Returns the previous sibling node. |
virtual CefDOMNode::Type |
GetType()= 0
Returns the type for this node. |
virtual CefString |
GetValue()= 0
Returns the value of this node. |
virtual bool |
HasChildren()= 0
Returns true if this node has child nodes. |
virtual bool |
HasElementAttribute( const CefString& attrName )= 0
Returns true if this element has an attribute named |attrName|. |
virtual bool |
HasElementAttributes()= 0
Returns true if this element has attributes. |
virtual bool |
IsEditable()= 0
Returns true if this is an editable node. |
virtual bool |
IsElement()= 0
Returns true if this is an element node. |
virtual bool |
IsFormControlElement()= 0
Returns true if this is a form control element node. |
virtual bool |
IsSame( CefRefPtr< CefDOMNode > that )= 0
Returns true if this object is pointing to the same handle as |that| object. |
virtual bool |
IsText()= 0
Returns true if this is a text node. |
virtual bool |
SetElementAttribute( const CefString& attrName, const CefString& value )= 0
Set the value for the element attribute named |attrName|. |
virtual bool |
SetValue( const CefString& value )= 0
Set the value of this node. |
Methods inherited from class CefBaseRefCounted |
AddRef, Release, HasOneRef, HasAtLeastOneRef |
Method Detail |
public virtual CefString GetAsMarkup()= 0;
public virtual CefRefPtr< CefDOMDocument > GetDocument()= 0;
public virtual CefString GetElementAttribute( const CefString& attrName )= 0;
public virtual void GetElementAttributes( CefDOMNode::AttributeMap& attrMap )= 0;
public virtual CefRect GetElementBounds()= 0;
public virtual CefString GetElementInnerText()= 0;
public virtual CefString GetElementTagName()= 0;
public virtual CefRefPtr< CefDOMNode > GetFirstChild()= 0;
public virtual CefString GetFormControlElementType()= 0;
public virtual CefRefPtr< CefDOMNode > GetLastChild()= 0;
public virtual CefString GetName()= 0;
public virtual CefRefPtr< CefDOMNode > GetNextSibling()= 0;
public virtual CefRefPtr< CefDOMNode > GetParent()= 0;
public virtual CefRefPtr< CefDOMNode > GetPreviousSibling()= 0;
public virtual CefDOMNode::Type GetType()= 0;
public virtual CefString GetValue()= 0;
public virtual bool HasChildren()= 0;
public virtual bool HasElementAttribute( const CefString& attrName )= 0;
public virtual bool HasElementAttributes()= 0;
public virtual bool IsEditable()= 0;
public virtual bool IsElement()= 0;
public virtual bool IsFormControlElement()= 0;
public virtual bool IsSame( CefRefPtr< CefDOMNode > that )= 0;
public virtual bool IsText()= 0;
public virtual bool SetElementAttribute( const CefString& attrName, const CefString& value )= 0;
public virtual bool SetValue( const CefString& value )= 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 |