Chromium Embedded Framework

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).

Chromium Embedded Framework
Developer(s)Marshall Greenblatt
Initial releaseJune 1, 2009; 15 years ago (2009-06-01)
Stable release
130.1.9 (gfc42567, Chromium 130.0.6723.70)[1][2] / October 24, 2024; 19 days ago (2024-10-24)
Repository
Operating system
TypeFramework, Web browser
LicenseBSD
Websitebitbucket.org/chromiumembedded/cef

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

Overview

edit

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

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

CEF 3 is a multi-process implementation based on the Chromium Content API and has performance similar to Google Chrome.[6] It uses asynchronous messaging to communicate between the main application process and one or more render processes (Blink + V8 JavaScript engine). As of July of 2022, it no longer supports PPAPI plugins due to removal of PPAPI, legacy Chrome Apps, and Native Client (NaCl) support from the upstream Chromium project.[7] PDF viewer support from Chromium's PDFium PDF viewer is still supported though. The single-process run mode is not supported, but still present; currently is being used for debugging purposes only.[8]

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.[9][10] Newer versions include a sample application called CefSimple that, along with an accompanying tutorial, show how to create a simple application using CEF 3.[11]

Documentation can be found in the header files located in the "include" directory[12][13] and on wiki pages.[14]

Supported languages

edit

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[15]
  • Delphi (CEF3) – DCEF 3[16]
  • Delphi (CEF3) – CEF4Delphi[17]
  • Delphi (CEF3) – WebKitX CEF3 ActiveX
  • Dyalog APL (CEF3) – HTMLRenderer[18]
  • Free Pascal (CEF3) - fpCEF3[19]
  • Go (CEF3) – CEF2go[20]
  • Java (CEF3) – Java Chromium Embedded[21]
  • .NET (CEF1, CEF3) – CefSharp[22]
  • .NET (CEF1) – CefGlue[23]
  • .NET/Mono (CEF3) – Xilium.CefGlue[24]
  • .NET (CEF3) – ChromiumFX[25]
  • .NET (CEF3) – WebKitX CEF3 ActiveX
  • Python (CEF1, CEF3) – CEF Python[26]
  • Swift (CEF3) – CEF.swift[27]
  • Visual Basic 6 (CEF3) – WebKitX CEF3 ActiveX[28]
  • 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

edit

See also

edit

References

edit
  1. ^ "CEF3 WIKI Current Releases Supported".
  2. ^ "CEF Automated Builds".
  3. ^ "Versions – Overview of the CEF architecture".
  4. ^ "Content API – The Chromium Projects".
  5. ^ "CEF1 Retirement Plan".
  6. ^ "CEF 3 Architecture – CEF wiki pages".
  7. ^ "Changes to the Chrome App Support Timeline". Chromium Blog. Retrieved 2024-04-22.
  8. ^ "Single process – Process Models- The Chromium Projects".
  9. ^ "CEF Git: 1364/cef1/tests/cefclient/".
  10. ^ "CEF Git: master/tests/cefclient/".
  11. ^ "CefSimple Tutorial".
  12. ^ "CEF Git: /1364/cef1/include/".
  13. ^ "CEF Git: /master/include/".
  14. ^ "CEF Wiki Pages".
  15. ^ "delphichromiumembedded – Delphi Chromium Embedded – Google Project Hosting". Retrieved 2012-12-26.
  16. ^ "dcef3 – Delphi Chromium Embedded 3 – Google Project Hosting". Retrieved 2012-12-26.
  17. ^ "GitHub - salvadordf/CEF4Delphi: CEF4Delphi is an open source project to embed Chromium-based browsers in applications made with Delphi". github.com. Retrieved 25 February 2017.
  18. ^ "HTMLRenderer User Guide" (PDF). dyalog.com. Retrieved 1 August 2019.
  19. ^ "Chromium Embedded Framework for Free Pascal". GitHub. Retrieved 2017-01-31.
  20. ^ "HTML 5 based GUI toolkit for the Go language". GitHub. Retrieved 2014-02-06.
  21. ^ "javachromiumembedded – Java Wrapper for the Chromium Embedded Framework (CEF)".
  22. ^ "chillitom/CefSharp · GitHub". Github.com. Retrieved 2012-12-26.
  23. ^ "fddima / CefGlue / wiki / Home — Bitbucket". Bitbucket.org. 2012-08-21. Retrieved 2012-12-26.
  24. ^ "xilium / Xilium.CefGlue / wiki / Home — Bitbucket". Bitbucket.org. 2012-10-10. Retrieved 2012-12-26.[permanent dead link]
  25. ^ "ChromiumFX – .NET bindings for the Chromium Embedded Framework (CEF)". Archived from the original on 2019-02-20. Retrieved 2015-03-21.
  26. ^ "cefpython – Python bindings for Chrome / Chromium Embedded Framework (CEF) – Google Project Hosting". Retrieved 2012-12-26.
  27. ^ "CEF.swift – Swift bindings for the Chromium Embedded Framework (CEF)". GitHub. 6 December 2021.
  28. ^ "WebKitX CEF3 ActiveX – Visual Studio 2015 C++11 MFC/ATL ActiveX for VB6".
  29. ^ "Adobe using Google Chromium Embedded Framework for Edge tools | Tim Anderson's IT Writing". 27 September 2012. Retrieved 2022-12-02.
  30. ^ "CEF integration in Dreamweaver".
  31. ^ "Bitdefender Total Security".
  32. ^ "Eve Launcher – Evelopedia". Archived from the original on 28 May 2015. Retrieved 4 March 2013.
  33. ^ "The Architecture of the League Client Update". Riot Games Engineering. Retrieved 21 March 2017.
  34. ^ "How To Add a Web Browser to Your App". LiveCode. Retrieved 10 November 2015.
  35. ^ "LockDown Browser - Resources". Respondus. Retrieved 10 October 2024.
  36. ^ "Microsoft PowerBI". Microsoft. Retrieved 22 February 2019.
  37. ^ "Help us test the new Minecraft launcher! Check the comments for instructions. • /r/Minecraft". reddit. Retrieved 2016-10-25.
  38. ^ obs-browser, OBS Project, 2021-10-21, retrieved 2021-10-22
  39. ^ Know ONLYOFFICE better: our commercial director reveals the story behind the project in the interview for Diolinux, 12 September 2017, retrieved 2024-06-23
  40. ^ "Second Life 4.0.0.305703 Release Notes". 25 October 2015. Retrieved 7 April 2016.
  41. ^ "Sling TV – Watch Live TV Programming Anytime and Anywhere". Retrieved 27 August 2015.
  42. ^ "Open Source @ Spotify". Retrieved 2 March 2016.
  43. ^ "Chromium Embedded Framework". developer.valvesoftware.com. Last edited on 15 June 2023. Retrieved 27 July 2023.
  44. ^ "Derivative WebRender TOP Documentation". Retrieved 2 December 2022.
edit