Английская Википедия:Chromium Embedded Framework

Материал из Онлайн справочника
Перейти к навигацииПерейти к поиску

Шаблон:Short description Шаблон:Infobox web browser

The Chromium Embedded Framework (CEF) is an open-source software framework for embedding a Chromium web browser within another application. This enables developers to add web browsing functionality to their application, as well as the ability to use HTML, CSS, and JavaScript to create the application's user interface (or just portions of it).

CEF runs on Linux, macOS, and Windows. It has many language bindings including C, C++, Go, Java, and Python.

Overview

There are two versions of Chromium Embedded Framework: CEF 1 and CEF 3.[1] Development of CEF 2 was abandoned after the appearance of the Chromium Content API.[2]

CEF 1 is a single-process implementation based on the Chromium WebKit API. It is no longer actively developed or supported.[3]

CEF 3 is a multi-process implementation based on the Chromium Content API and has performance similar to Google Chrome.[4] It uses asynchronous messaging to communicate between the main application process and one or more render processes (Blink + V8 JavaScript engine). It supports PPAPI plugins and extensions, both internal (PDF viewer) or externally loadable. The single-process run mode is not supported, but still present; currently is being used for debugging purposes only.[5]

On March 16, 2019, the CEF version numbering changed with the release of CEF 73.1.3+g46cf800+chromium-73.0.3683.75. The previous release on March 14, 2019 was CEF 3.3683.1920.g9f41a27. Both of these releases were based on Chromium 73.0.3683.75, however the new version numbering has the major number the same as the Chromium major version number it is based on.

CEF comes with a sample application called CefClient that is written in C++ using WinAPI, Cocoa, or GTK (depending on the platform) and contains demos of various features.[6][7] Newer versions include a sample application called CefSimple that, along with an accompanying tutorial, show how to create a simple application using CEF 3.[8]

Documentation can be found in the header files located in the "include" directory[9][10] and on wiki pages.[11]

Supported languages

The base CEF framework includes support for the C and C++ programming languages, but there are external projects that provide bindings for other languages:

  • Delphi (CEF1) – DCEF 1[12]
  • Delphi (CEF3) – DCEF 3[13]
  • Delphi (CEF3) – CEF4Delphi[14]
  • Delphi (CEF3) – WebKitX CEF3 ActiveX
  • Dyalog APL (CEF3) – HTMLRenderer[15]
  • Free Pascal (CEF3) - fpCEF3[16]
  • Go (CEF3) – CEF2go[17]
  • Java (CEF3) – Java Chromium Embedded[18]
  • .NET (CEF1, CEF3) – CefSharp[19]
  • .NET (CEF1) – CefGlue[20]
  • .NET/Mono (CEF3) – Xilium.CefGlue[21]
  • .NET (CEF3) – ChromiumFX[22]
  • .NET (CEF3) – WebKitX CEF3 ActiveX
  • Python (CEF1, CEF3) – CEF Python[23]
  • Swift (CEF3) – CEF.swift[24]
  • Visual Basic 6 (CEF3) – WebKitX CEF3 ActiveX[25]
  • Visual FoxPro (CEF3) – WebKitX CEF3 ActiveX
  • PowerBuilder (CEF3) – WebKitX CEF3 ActiveX
  • Ruby (via the 'win32ole' library) (CEF3) – WebKitX CEF3 ActiveX
  • Visual Basic for Applications 2003/2007/2010/2015/2016 (VBA, Access, Excel) (CEF3) – WebKitX CEF3 ActiveX
  • Microsoft Visual Studio .NET 2010/2015/2017 (VB.Net, C#, C++, 32-bit and 64-bit) (CEF3) – WebKitX CEF3 ActiveX
  • Xojo (for Windows apps, 32-bit and 64-bit) (CEF3) – WebKitX CEF3 ActiveX
  • Qt (any Windows version, only for 32-bit) (CEF3) – WebKitX CEF3 ActiveX
  • CodeTyphon Studio -package pl_CEF
  • Embarcadero RAD Studio (VCL C++) (CEF3) - WebKitX CEF3 ActiveX
  • Broadcom CA PLEX (VBScript / C++) (CEF3) - WebKitX CEF3 ActiveX
  • YallFramework (YS /WS ) (FF213 - WevKitX CEF57 ActiveX)

Applications using CEF

Шаблон:Cleanup list

See also

Шаблон:Portal

References

Шаблон:Reflist

External links