Page 1 of 1

Update to CEF 84.3.10

Posted: Tue Aug 04, 2020 4:03 pm
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 :

Re: Update to CEF 84.3.10

Posted: Wed Aug 12, 2020 8:50 am
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.

Re: Update to CEF 84.3.10

Posted: Wed Aug 12, 2020 9:11 am
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.