init lserp cs 5.0

This commit is contained in:
cyf
2026-07-10 15:25:05 +08:00
commit 90f3fda86a
3799 changed files with 976868 additions and 0 deletions
@@ -0,0 +1,35 @@
namespace Cef3
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.InteropServices;
using Cef3.Interop;
/// <summary>
/// Interface to implement for visiting the DOM. The methods of this class will
/// be called on the render process main thread.
/// </summary>
public abstract unsafe partial class CefDomVisitor
{
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();
}
/// <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);
}
}