Files
lserp_cs_6.0/插件库/Lskj.Control/BrowserSetting/BsRenderProcessHandler.cs
T
wyf ed6a289601 SVN r899
SVN-Revision: r899
2025-07-31 06:35:41 +00:00

23 lines
722 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xilium.CefGlue;
namespace Lskj.Control.BrowserSetting
{
public class BsRenderProcessHandler : CefRenderProcessHandler
{
private BsOpenModuleHandler bsOpenModuleHandler;
protected override void OnWebKitInitialized()
{
bsOpenModuleHandler = new BsOpenModuleHandler();
string extensionCode = @"
var boundObject;
if (!boundObject)
boundObject = {};
(function()
{
boundObject.OpenModule = function(menuId, menuName, dllName, modelFlag, urlParams)
{
native f