pub type cef_domvisitor_t = _cef_domvisitor_t;Expand description
Structure to implement for visiting the DOM. The functions of this structure will be called on the render process main thread.
NOTE: This struct is allocated client-side.
Aliased Type§
#[repr(C)]pub struct cef_domvisitor_t {
pub base: _cef_base_ref_counted_t,
pub visit: Option<unsafe extern "C" fn(*mut _cef_domvisitor_t, *mut _cef_domdocument_t)>,
}Fields§
§base: _cef_base_ref_counted_tBase structure.
visit: Option<unsafe extern "C" fn(*mut _cef_domvisitor_t, *mut _cef_domdocument_t)>Method executed for visiting the DOM. The document object passed to this function represents a snapshot of the DOM at the time this function is executed. DOM objects are only valid for the scope of this function. Do not keep references to or attempt to access any DOM objects outside the scope of this function.