コード例 #1
0
        private void visit(cef_domvisitor_t *self, cef_domdocument_t *document)
        {
            CheckSelf(self);

            var m_document = CefDomDocument.FromNative(document);

            Visit(m_document);

            m_document.Dispose();
        }
コード例 #2
0
 /// <summary>
 /// 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.
 /// </summary>
 protected abstract void Visit(CefDomDocument document);
コード例 #3
0
ファイル: CefDomVisitor.cs プロジェクト: rajsite/lvcef
 /// <summary>
 /// 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.
 /// </summary>
 protected abstract void Visit(CefDomDocument document);