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.
I just uploaded a bunch of fixes and new features in CEF4Delphi.
This is what's new :
Bug fix #33 : Drag and drop is now supported in OSR mode.
Improved keyboard handling in OSR mode.
MiniBrowser demo : The DOM visitor and the Javascript extensions now send customized results to the main form.
Fixed some CEF3 variable definitions.
If you need to add drag and drop support in a OSR browser you have to call TChromium.InitializeDragAndDrop and TChromium.ShutdownDragAndDrop in the creation and destruction form events.
Several events in the SimpleOSRBrowser were modified or added to improve the focus and keyboard handling.
[DCC Warning] uCEFDragAndDropMgr.pas(343): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Warning] uCEFDragAndDropMgr.pas(343): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Error] uCEFDragAndDropMgr.pas(344): E2250 There is no overloaded version of 'FmtStr' that can be called with these arguments
[DCC Warning] uCEFDragAndDropMgr.pas(345): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Warning] uCEFDragAndDropMgr.pas(347): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Error] uCEFDragAndDropMgr.pas(348): E2250 There is no overloaded version of 'FmtStr' that can be called with these arguments
[DCC Warning] uCEFDragAndDropMgr.pas(349): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Warning] uCEFDragAndDropMgr.pas(351): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Error] uCEFDragAndDropMgr.pas(352): E2250 There is no overloaded version of 'FmtStr' that can be called with these arguments
[DCC Warning] uCEFDragAndDropMgr.pas(353): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Warning] uCEFDragAndDropMgr.pas(355): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Error] uCEFDragAndDropMgr.pas(356): E2250 There is no overloaded version of 'FmtStr' that can be called with these arguments
[DCC Warning] uCEFDragAndDropMgr.pas(357): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Warning] uCEFDragAndDropMgr.pas(434): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Warning] uCEFDragAndDropMgr.pas(439): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Fatal Error] CEF4Delphi.dpk(156): F2063 Could not compile used unit 'uCEFDragAndDropMgr.pas'
Function FmtStr can take only Strings arguments, not AnsiString.
I uploaded several small bug fixes and improvements :
Fixed the functions to get the certificate issuer chains : TCEFX509CertificateRef.GetDEREncodedIssuerChain and TCEFX509CertificateRef.GetPEMEncodedIssuerChain.
Replaced FmtStr by a custom function for backwards compatibility.
Added the property TCEFApplication.EnableGPU.
Updated cef.inc to include the latest Delphi versions.