Chromium Embedded Framework (CEF)  128.4.2+g5c235a2+chromium-128.0.6613.18
CefDOMVisitor Class Referenceabstract

Interface to implement for visiting the DOM. More...

#include "include/cef_dom.h"

Inheritance diagram for CefDOMVisitor:
CefBaseRefCounted

Public Member Functions

virtual void Visit (CefRefPtr< CefDOMDocument > document)=0
 Method executed for visiting the DOM. 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 ()
 

Detailed Description

Interface to implement for visiting the DOM.

The methods of this class will be called on the render process main thread.

Member Function Documentation

◆ Visit()

virtual void CefDOMVisitor::Visit ( CefRefPtr< CefDOMDocument document)
pure virtual

Method executed for visiting the DOM.

The document object passed to this method represents a snapshot of the DOM at the time this method is executed. DOM objects are only valid for the scope of this method. Do not keep references to or attempt to access any DOM objects outside the scope of this method.


The documentation for this class was generated from the following file: