Chromium Embedded Framework (CEF)
131.2.1+ge081753+chromium-131.0.6778.13
|
Class used to represent a DOM document. More...
#include "include/cef_dom.h"
Public Types | |
typedef cef_dom_document_type_t | Type |
Public Member Functions | |
virtual Type | GetType ()=0 |
Returns the document type. More... | |
virtual CefRefPtr< CefDOMNode > | GetDocument ()=0 |
Returns the root document node. More... | |
virtual CefRefPtr< CefDOMNode > | GetBody ()=0 |
Returns the BODY node of an HTML document. More... | |
virtual CefRefPtr< CefDOMNode > | GetHead ()=0 |
Returns the HEAD node of an HTML document. More... | |
virtual CefString | GetTitle ()=0 |
Returns the title of an HTML document. More... | |
virtual CefRefPtr< CefDOMNode > | GetElementById (const CefString &id)=0 |
Returns the document element with the specified ID value. More... | |
virtual CefRefPtr< CefDOMNode > | GetFocusedNode ()=0 |
Returns the node that currently has keyboard focus. More... | |
virtual bool | HasSelection ()=0 |
Returns true if a portion of the document is selected. More... | |
virtual int | GetSelectionStartOffset ()=0 |
Returns the selection offset within the start node. More... | |
virtual int | GetSelectionEndOffset ()=0 |
Returns the selection offset within the end node. More... | |
virtual CefString | GetSelectionAsMarkup ()=0 |
Returns the contents of this selection as markup. More... | |
virtual CefString | GetSelectionAsText ()=0 |
Returns the contents of this selection as text. More... | |
virtual CefString | GetBaseURL ()=0 |
Returns the base URL for the document. More... | |
virtual CefString | GetCompleteURL (const CefString &partialURL)=0 |
Returns a complete URL based on the document base URL and the specified partial URL. More... | |
Public Member Functions inherited from CefBaseRefCounted | |
virtual void | AddRef () const =0 |
Called to increment the reference count for the object. More... | |
virtual bool | Release () const =0 |
Called to decrement the reference count for the object. More... | |
virtual bool | HasOneRef () const =0 |
Returns true if the reference count is 1. More... | |
virtual bool | HasAtLeastOneRef () const =0 |
Returns true if the reference count is at least 1. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from CefBaseRefCounted | |
virtual | ~CefBaseRefCounted () |
Class used to represent a DOM document.
The methods of this class should only be called on the render process main thread thread.
|
pure virtual |
Returns the base URL for the document.
|
pure virtual |
Returns the BODY node of an HTML document.
Returns a complete URL based on the document base URL and the specified partial URL.
|
pure virtual |
Returns the root document node.
|
pure virtual |
Returns the document element with the specified ID value.
|
pure virtual |
Returns the node that currently has keyboard focus.
|
pure virtual |
Returns the HEAD node of an HTML document.
|
pure virtual |
Returns the contents of this selection as markup.
|
pure virtual |
Returns the contents of this selection as text.
|
pure virtual |
Returns the selection offset within the end node.
|
pure virtual |
Returns the selection offset within the start node.
|
pure virtual |
Returns the title of an HTML document.
|
pure virtual |
Returns the document type.
|
pure virtual |
Returns true if a portion of the document is selected.