Chromium Embedded Framework


The Chromium Embedded Framework 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.
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. Development of CEF 2 was abandoned after the appearance of the Chromium Content API.
CEF 1 is a single-process implementation based on the Chromium WebKit API. It is no longer actively developed or supported.
CEF 3 is a multi-process implementation based on the Chromium Content API and has performance similar to Google Chrome. It uses asynchronous messaging to communicate between the main application process and one or more render processes. As of July 2022, it no longer supports PPAPI plugins due to removal of PPAPI, legacy Chrome Apps, and Native Client support from the upstream Chromium project. PDF viewer support from Chromium's PDFium PDF viewer is still supported. The single-process run mode is not supported, but still present; currently is being used for debugging purposes only.
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 and contains demos of various features. Newer versions include a sample application called CefSimple that, along with an accompanying tutorial, show how to create a simple application using CEF 3.
Documentation can be found in the header files located in the "include" directory and on wiki pages.

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 – DCEF 1
  • Delphi – DCEF 3
  • Delphi – CEF4Delphi
  • Delphi – WebKitX CEF3 ActiveX
  • Dyalog APL – HTMLRenderer
  • Free Pascal - fpCEF3
  • Go – CEF2go
  • Java – Java Chromium Embedded
  • .NET – CefSharp
  • .NET – CefGlue
  • .NET/Mono – Xilium.CefGlue
  • .NET – ChromiumFX
  • .NET – WebKitX CEF3 ActiveX
  • Python – CEF Python
  • Swift – CEF.swift
  • Visual Basic 6 – WebKitX CEF3 ActiveX
  • Visual FoxPro – WebKitX CEF3 ActiveX
  • PowerBuilder – WebKitX CEF3 ActiveX
  • Ruby – WebKitX CEF3 ActiveX
  • Visual Basic for Applications 2003/2007/2010/2015/2016 – WebKitX CEF3 ActiveX
  • Microsoft Visual Studio.NET 2010/2015/2017 – WebKitX CEF3 ActiveX
  • Xojo – WebKitX CEF3 ActiveX
  • Qt – WebKitX CEF3 ActiveX
  • CodeTyphon Studio -package pl_CEF
  • Embarcadero RAD Studio – WebKitX CEF3 ActiveX
  • Broadcom CA PLEX – WebKitX CEF3 ActiveX
  • YallFramework

Applications using CEF