private static unsafe void VisitImpl(cef_domvisitor_t *self, cef_domdocument_t *document) { var instance = GetInstance((IntPtr)self) as CefDOMVisitor; if (instance == null || ((ICefDOMVisitorPrivate)instance).AvoidVisit()) { ReleaseIfNonNull((cef_base_ref_counted_t *)document); return; } instance.Visit(CefDOMDocument.Wrap(CefDOMDocument.Create, document)); }
/// <summary> /// 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. /// </summary> protected internal unsafe virtual void Visit(CefDOMDocument document) { }
/// <summary> /// 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. /// </summary> public unsafe virtual void Visit(CefDOMDocument document) { }