Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

Update to CEF 84.3.10

Post Reply
User avatar
salvadordf
Posts: 4575
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Update to CEF 84.3.10

Post by salvadordf »

Hi,

CEF4Delphi is now updated to CEF 84.3.10.

CEF only has some building script changes that are not important for us but I added two new demos that show how to load browser extensions! :D

The new demos are located inside the "demos/Delphi_VCL/Extensions" directory :
  • HelloWorldExt : Loads a simple "Hello World" extension.
  • PageColorExt : Loads the "Set Page Color" extension that allows you to change the page background color.
CEF support for browser extensions is extremely limited and most of the extensions will not work. If you want to know what APIs are supported just load chrome://extensions-support/ in the MiniBrowser demo. At the time of this writting this is what's supported :
  • alarms
  • alarms.create
  • alarms.get
  • alarms.getAll
  • alarms.clear
  • alarms.clearAll
  • contentSettings
  • contentSettings.clear
  • contentSettings.get
  • contentSettings.set
  • contentSettings.getResourceIdentifiers
  • storage
  • storage.get
  • storage.set
  • storage.remove
  • storage.clear
  • storage.getBytesInUse
  • tabs
  • tabs.get
  • tabs.create
  • tabs.executeScript
  • tabs.insertCSS
  • tabs.setZoom
  • tabs.getZoom
  • tabs.setZoomSettings
  • tabs.getZoomSettings
This CEF issue has the latest information about browser extension support :
https://bitbucket.org/chromiumembedded/cef/issues/1947

The CEF binaries are these :
dilfich
Posts: 368
Joined: Thu Nov 30, 2017 1:17 am

Re: Update to CEF 84.3.10

Post by dilfich »

There is a problem with one demo, what is wrong?
https://prnt.sc/ty8x38
I already wrote something about this. This is definitely not a component installation problem.
User avatar
salvadordf
Posts: 4575
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Update to CEF 84.3.10

Post by salvadordf »

Those are windows types and constants used for touch screen support.

If your Delphi version doesn't have them you can add them manually or the delete all the code in those procedures.

I'll try to fix that for the next release.
Post Reply