Chromium Embedded Framework

From HandWiki
Short description: Free and open-source software framework
Chromium Embedded Framework
Chromium Embedded Framework Logo.svg
Developer(s)Marshall Greenblatt
Initial releaseJune 1, 2009; 15 years ago (2009-06-01)
Stable release
114.2.12 (g7c09f21)

Chromium 115.0.5790.40[1][2]

/ June 29, 2023; 12 months ago (2023-06-29)
Written inC++
Operating system
TypeFramework, Web browser
LicenseBSD
Websitebitbucket.org/chromiumembedded/cef

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

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

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

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

See also

References

  1. "CEF3 WIKI Current Releases Supported". https://bitbucket.org/chromiumembedded/cef/wiki/BranchesAndBuilding#markdown-header-current-release-branches-supported. 
  2. "CEF Automated Builds". https://cef-builds.spotifycdn.com/index.html. 
  3. "Versions – Overview of the CEF architecture.". https://bitbucket.org/chromiumembedded/cef/wiki/Architecture.md#markdown-header-versions. 
  4. "Content API – The Chromium Projects". https://www.chromium.org/developers/content-module/content-api. 
  5. "CEF1 Retirement Plan". http://www.magpcss.org/ceforum/viewtopic.php?f=10&t=10647. 
  6. "CEF 3 Architecture – CEF wiki pages". https://bitbucket.org/chromiumembedded/cef/wiki/Architecture.md#markdown-header-cef3. 
  7. "Single process – Process Models- The Chromium Projects". https://www.chromium.org/developers/design-documents/process-models#TOC-Single-process. 
  8. "CEF Git: 1364/cef1/tests/cefclient/". https://bitbucket.org/chromiumembedded/cef/src/1364/cef1/tests/cefclient/?at=1364. 
  9. "CEF Git: master/tests/cefclient/". https://bitbucket.org/chromiumembedded/cef/src/master/tests/cefclient/?at=master. 
  10. "CefSimple Tutorial". https://bitbucket.org/chromiumembedded/cef/wiki/Tutorial. 
  11. "CEF Git: /1364/cef1/include/". https://bitbucket.org/chromiumembedded/cef/src/1364/cef1/include/?at=1364. 
  12. "CEF Git: /master/include/". https://bitbucket.org/chromiumembedded/cef/src/master/include/?at=master. 
  13. "CEF Wiki Pages". https://bitbucket.org/chromiumembedded/cef/wiki/Home. 
  14. "delphichromiumembedded – Delphi Chromium Embedded – Google Project Hosting". http://code.google.com/p/delphichromiumembedded/. Retrieved 2012-12-26. 
  15. "dcef3 – Delphi Chromium Embedded 3 – Google Project Hosting". http://code.google.com/p/dcef3/. Retrieved 2012-12-26. 
  16. "GitHub - salvadordf/CEF4Delphi: CEF4Delphi is an open source project to embed Chromium-based browsers in applications made with Delphi." (in en). https://github.com/salvadordf/CEF4Delphi. Retrieved 25 February 2017. 
  17. "HTMLRenderer User Guide" (in en). http://docs.dyalog.com/17.1/HTMLRenderer%20User%20Guide.pdf. Retrieved 1 August 2019. 
  18. "Chromium Embedded Framework for Free Pascal". https://github.com/dliw/fpCEF3. Retrieved 2017-01-31. 
  19. "HTML 5 based GUI toolkit for the Go language". https://github.com/CzarekTomczak/cef2go. Retrieved 2014-02-06. 
  20. "javachromiumembedded – Java Wrapper for the Chromium Embedded Framework (CEF)". https://bitbucket.org/chromiumembedded/java-cef. 
  21. "chillitom/CefSharp · GitHub". Github.com. https://github.com/chillitom/CefSharp. Retrieved 2012-12-26. 
  22. "fddima / CefGlue / wiki / Home — Bitbucket". Bitbucket.org. 2012-08-21. https://bitbucket.org/fddima/cefglue. Retrieved 2012-12-26. 
  23. "xilium / Xilium.CefGlue / wiki / Home — Bitbucket". Bitbucket.org. 2012-10-10. https://bitbucket.org/xilium/xilium.cefglue. Retrieved 2012-12-26. [yes|permanent dead link|dead link}}]
  24. "ChromiumFX – .NET bindings for the Chromium Embedded Framework (CEF)". https://bitbucket.org/chromiumfx/chromiumfx. 
  25. "cefpython – Python bindings for Chrome / Chromium Embedded Framework (CEF) – Google Project Hosting". http://code.google.com/p/cefpython/. Retrieved 2012-12-26. 
  26. "CEF.swift – Swift bindings for the Chromium Embedded Framework (CEF)". 6 December 2021. https://github.com/lvsti/CEF.swift. 
  27. "WebKitX CEF3 ActiveX – Visual Studio 2015 C++11 MFC/ATL ActiveX for VB6". http://www.webkitx.com/. 
  28. "Adobe using Google Chromium Embedded Framework for Edge tools | Tim Anderson's IT Writing" (in en-US). 27 September 2012. https://www.itwriting.com/blog/6616-adobe-using-google-chromium-embedded-framework-for-edge-tools.html. 
  29. "CEF integration in Dreamweaver". https://helpx.adobe.com/dreamweaver/using/cef-integration.html. 
  30. "Bitdefender Total Security". https://www.bitdefender.com/solutions/total-security.html. 
  31. "Eve Launcher – Evelopedia". http://wiki.eveonline.com/en/wiki/EVE_Launcher. Retrieved 4 March 2013. 
  32. "The Architecture of the League Client Update". https://engineering.riotgames.com/news/architecture-league-client-update. Retrieved 21 March 2017. 
  33. "How To Add a Web Browser to Your App". https://livecode.com/how-to-add-a-web-browser-to-your-app/. Retrieved 10 November 2015. 
  34. "Microsoft PowerBI". https://powerbi.microsoft.com/en-us/. Retrieved 22 February 2019. 
  35. "Help us test the new Minecraft launcher! Check the comments for instructions. • /r/Minecraft". https://www.reddit.com/r/Minecraft/comments/59b7m0/help_us_test_the_new_minecraft_launcher_check_the/. 
  36. obs-browser, OBS Project, 2021-10-21, https://github.com/obsproject/obs-browser, retrieved 2021-10-22 
  37. "Second Life 4.0.0.305703 Release Notes". 25 October 2015. http://wiki.secondlife.com/wiki/Release_Notes/Second_Life_Project_Valhalla/4.0.0.305703. Retrieved 7 April 2016. 
  38. "Sling TV – Watch Live TV Programming Anytime and Anywhere". https://www.sling.com/attributions. Retrieved 27 August 2015. 
  39. "Open Source @ Spotify". https://www.spotify.com/us/opensource/. Retrieved 2 March 2016. 
  40. "Chromium Embedded Framework". https://developer.valvesoftware.com/w/index.php?title=Chromium_Embedded_Framework&oldid=316840#In_relation_to_Valve. 
  41. "Derivative WebRender TOP Documentation". https://derivative.ca/UserGuide/Web_Render_TOP. Retrieved 2 December 2022. 

External links