-
大小: 33.19MB文件类型: .rar金币: 2下载: 1 次发布日期: 2023-06-21
- 语言: 其他
- 标签: xilium CEF3 Chromium49
资源简介
CEF3的2016整合版本,output包含了所有所需的必要dll,并更新了tabcontrol,增加关闭按钮;重新写了右键菜单;启用NPAPI以及PPAPI功能,只需将对应的动态库拷贝到对应文件夹,其中NPAPI拷贝到plugins文件夹,PPAPI拷贝到PepperFlash文件夹。
代码片段和文件信息
namespace Xilium.CefGlue
{
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Runtime.InteropServices;
using System.Text;
using Xilium.CefGlue.Interop;
public static unsafe class CefRuntime
{
private static readonly CefRuntimePlatform _platform;
private static bool _loaded;
private static bool _initialized;
static CefRuntime()
{
_platform = DetectPlatform();
}
#region Platform Detection
private static CefRuntimePlatform DetectPlatform()
{
var platformId = Environment.OSVersion.Platform;
if (platformId == PlatformID.MacOSX)
return CefRuntimePlatform.MacOSX;
int p = (int)platformId;
if ((p == 4) || (p == 128))
return IsRunningOnMac() ? CefRuntimePlatform.MacOSX : CefRuntimePlatform.Linux;
return CefRuntimePlatform.Windows;
}
//From Managed.Windows.Forms/XplatUI
private static bool IsRunningOnMac()
{
IntPtr buf = IntPtr.Zero;
try
{
buf = Marshal.AllocHGlobal(8192);
// This is a hacktastic way of getting sysname from uname ()
if (uname(buf) == 0)
{
string os = Marshal.PtrToStringAnsi(buf);
if (os == “Darwin“)
return true;
}
}
catch { }
finally
{
if (buf != IntPtr.Zero)
Marshal.FreeHGlobal(buf);
}
return false;
}
[DllImport(“libc“)]
private static extern int uname(IntPtr buf);
public static CefRuntimePlatform Platform
{
get { return _platform; }
}
#endregion
///
/// Loads CEF runtime.
///
///
///
///
public static void Load()
{
Load(null);
}
///
/// Loads CEF runtime from specified path.
///
///
///
///
public static void Load(string path)
{
if (_loaded) return;
if (!string.IsNullOrEmpty(path))
{
if (Platform == CefRuntimePlatform.Windows)
LoadLibraryWindows(path);
else
throw new PlatformNotSupportedException(“CEF Runtime can‘t be initialized on altered path on this platform. Use CefRuntime.Loa
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 416 2016-05-06 20:45 xilium-CEF3.2623.1397+Chromium49.0.2623.110\.hgeol
文件 315 2016-05-06 20:45 xilium-CEF3.2623.1397+Chromium49.0.2623.110\.hgignore
文件 992 2016-05-06 20:45 xilium-CEF3.2623.1397+Chromium49.0.2623.110\.hgtags
文件 187 2016-05-06 20:45 xilium-CEF3.2623.1397+Chromium49.0.2623.110\.hg_archival.txt
..A..H. 286208 2016-06-13 21:05 xilium-CEF3.2623.1397+Chromium49.0.2623.110\.vs\Xilium.CefGlue\v14\.suo
文件 18432 2016-06-08 08:36 xilium-CEF3.2623.1397+Chromium49.0.2623.110\Bin\Xilium.CefGlue.Client.exe
文件 144 2013-11-20 12:07 xilium-CEF3.2623.1397+Chromium49.0.2623.110\Bin\Xilium.CefGlue.Client.exe.config
文件 32256 2016-06-08 08:36 xilium-CEF3.2623.1397+Chromium49.0.2623.110\Bin\Xilium.CefGlue.Client.pdb
文件 684032 2016-06-08 08:22 xilium-CEF3.2623.1397+Chromium49.0.2623.110\Bin\Xilium.CefGlue.dll
文件 1861120 2016-06-08 08:22 xilium-CEF3.2623.1397+Chromium49.0.2623.110\Bin\Xilium.CefGlue.pdb
文件 26112 2016-06-08 08:04 xilium-CEF3.2623.1397+Chromium49.0.2623.110\Bin\Xilium.CefGlue.WindowsForms.dll
文件 83456 2016-06-08 08:04 xilium-CEF3.2623.1397+Chromium49.0.2623.110\Bin\Xilium.CefGlue.WindowsForms.pdb
文件 426994 2016-06-08 08:22 xilium-CEF3.2623.1397+Chromium49.0.2623.110\Bin\Xilium.CefGlue.xm
文件 282 2016-05-06 20:45 xilium-CEF3.2623.1397+Chromium49.0.2623.110\build\setenv-mono.cmd
文件 366 2016-05-06 20:45 xilium-CEF3.2623.1397+Chromium49.0.2623.110\build\setenv.cmd
文件 339 2016-05-06 20:45 xilium-CEF3.2623.1397+Chromium49.0.2623.110\build-mono.cmd
文件 97 2016-05-06 20:45 xilium-CEF3.2623.1397+Chromium49.0.2623.110\build-net40.cmd
文件 317 2016-05-06 20:45 xilium-CEF3.2623.1397+Chromium49.0.2623.110\build.cmd
文件 949 2016-05-06 20:45 xilium-CEF3.2623.1397+Chromium49.0.2623.110\build.proj
文件 34 2016-05-06 20:45 xilium-CEF3.2623.1397+Chromium49.0.2623.110\build.sh
文件 28974 2016-06-13 19:26 xilium-CEF3.2623.1397+Chromium49.0.2623.110\CefGlue\CefGlue.csproj
文件 41347 2016-05-06 20:45 xilium-CEF3.2623.1397+Chromium49.0.2623.110\CefGlue\CefRuntime.cs
文件 146 2016-05-06 20:45 xilium-CEF3.2623.1397+Chromium49.0.2623.110\CefGlue\CefRuntimePlatform.cs
文件 4013 2016-05-06 20:45 xilium-CEF3.2623.1397+Chromium49.0.2623.110\CefGlue\Classes.g\CefApp.g.cs
文件 1800 2016-05-06 20:45 xilium-CEF3.2623.1397+Chromium49.0.2623.110\CefGlue\Classes.g\CefAuthCallback.g.cs
文件 1958 2016-05-06 20:45 xilium-CEF3.2623.1397+Chromium49.0.2623.110\CefGlue\Classes.g\CefBeforeDownloadCallback.g.cs
文件 1785 2016-05-06 20:45 xilium-CEF3.2623.1397+Chromium49.0.2623.110\CefGlue\Classes.g\CefBinaryValue.g.cs
文件 1717 2016-05-06 20:45 xilium-CEF3.2623.1397+Chromium49.0.2623.110\CefGlue\Classes.g\CefBrowser.g.cs
文件 1785 2016-05-06 20:45 xilium-CEF3.2623.1397+Chromium49.0.2623.110\CefGlue\Classes.g\CefBrowserHost.g.cs
文件 4235 2016-05-06 20:45 xilium-CEF3.2623.1397+Chromium49.0.2623.110\CefGlue\Classes.g\CefBrowserProcessHandler.g.cs
............此处省略866个文件信息
- 上一篇:TCP IP详解三卷(kindle可用)
- 下一篇:计算机网络理论课PPT
相关资源
- 基于cef3的flash插件NPSWF32.dll
- xilium-CEF3.2623.1397+Chromium49.0.2623.110 整合
- cef3.rar 支持delphiXE 10.2
- Xilium.CefGlue初始化程序,最精简Demo
- cef_binary_3.2623.1395.g3034273_windows32
- 支持MP3的最后支持XP的CEF3版本2623
- duilib+cef3源码
- Chromium内核多标签浏览器dcef3-3.1650
- 谷歌cef3 编程
- Delphi Chromium开发组件 dcef 3.2623.1401
- cef_binary_3.2357
- duilib中嵌入cef3, 并和js交互
- CEF3 chromium 68.3440 with mp3/mp4 2018-08
- 基于cef4delphi 的 cef3内核 多标签浏览器
- Cef3博文配套源代码
- CEF3 chromium 2623 /mp3/mp4 稳定、终结版
- CEF3使用说明-中文
评论
共有 条评论