Commit Graph

38 Commits

Author SHA1 Message Date
Salvador Díaz Fau
26c6f6696d Update to CEF 3.3239.1700.g385b2d4
- New TCEFServerComponent. The new CEF3 includes a http and websockets server for communication between applications in localhost.
- New JSDialogBrowser demo to showhow to use custom forms in javascript dialogs.
- New SimpleServer demo which uses TCEFServerComponent.
- Removed all the code that could be removed from the DPR files and moved to another units.
- Now the GlogalCEFApp checks all the CEF3 binaries and stores the missing files in GlogalCEFApp.MissingLibFiles. The default error message gives a list of missing files.
- New GlobalCEFApp.Status property. Use it with GlobalCEFApp.ShowMessageDlg set to False if you want to show customized error messages.
- Now TCEFClient only creates the necessary handlers if you use any their events in TChromium.
- Fixed a destruction bug in OSRExternalPumpBrowser
- Added the procedures to handle WM_ENTERMENULOOP and WM_EXITMENULOOP to all the demos.
2017-12-18 19:38:56 +01:00
Salvador Díaz Fau
751fe924b7 Update to CEF 3.3202.1690.gcd6b88f
- Update to CEF 3.3202.1690.gcd6b88f
- Bug fix #71
- Added the TCEFWorkScheduler class to handle the cef_do_message_loop_work calls when you use an external message pump.
- Added 2 demos using the "external message pump" mode.
- Added a TakeSnapshot function to the TChromium and TCEFWindowParent to take snapshots in non-OSR mode.
2017-12-05 10:02:07 +01:00
Salvador Díaz Fau
28a5827e3e SimpleOSRBrowser demo focus and mouse wheel fixes
- TChromium.Invalidate now also invalidates the browser in normal mode (non-OSR)
2017-11-13 18:32:48 +01:00
Salvador Díaz Fau
45d585970d Update to CEF 3.3202.1683.gb095524 2017-11-09 10:33:20 +01:00
Salvador Díaz Fau
92c167a1da Bug fixes #64 and #65
- Modified CheckLocalFiles for D7 compatibility
- Added WebRTC properties to TChromium
2017-11-04 09:40:31 +01:00
Salvador Díaz Fau
bb83979092 GlobalCEFApp initialization changes
Added a custom BrowserProcessHandler to GlobalCEFApp to know when the global context is initialized and it's allowed to set the custom cookies directory and to create browsers.
2017-10-28 10:53:51 +02:00
Salvador Díaz Fau
26f286cae7 Update to CEF 3.3202.1674.g2a991c4 2017-10-26 13:23:13 +02:00
Salvador Díaz Fau
d338c416fd Update to CEF 3.3163.1671.g700dc25 2017-10-02 11:36:22 +02:00
Salvador Díaz Fau
43cb86a823 Added the possibility to use independent request contexts when creating browsers
- Modified MDIBrowser demo to test the child browsers with independent request contexts.
2017-09-29 18:42:12 +02:00
Salvador Díaz Fau
fc72cc52ff Fixed default frame identifier in TChromium.Internal_GetHTML 2017-09-24 13:09:32 +02:00
Salvador Díaz Fau
9c33c49353 Update to CEF 3.3163.1670.g934eaba
- Added 2 overloaded versions of TChromium.RetrieveHTML
- Modified TCefBrowserRef.GetFrameIdentifiers and TCefBrowserRef.GetFrameNames functions
2017-09-24 12:48:04 +02:00
Salvador Díaz Fau
11e8a588e9 Added/modified TChromium frame properties and functions
- Modified TChromium.RetreiveHTML to get the frame HTML source
- Added TChromium.FrameCount property
- Added TChromium.GetFrameNames funcion
2017-09-22 10:04:50 +02:00
Salvador Díaz Fau
d85112902c Cookie manager initialization bug fixed
The custom cookie directory is now used in the GlobalCEFApp initialization instead of setting a TChromium property
2017-09-20 11:15:04 +02:00
Salvador Díaz Fau
968356f197 Update to CEF 3.3163.1663.g416ffeb 2017-09-13 10:25:52 +02:00
Salvador Díaz Fau
379272e643 Update to CEF 3.3112.1659.gfef43e0
- Update to CEF 3.3112.1659.gfef43e0
- Bug Fix #49
- Added longer error messages if the CEF binaries are not available.
- Added the AfterCreated event in TChromiumWindow.
- Added a 'Take a snapshot' button in the OSR demo.
2017-09-07 10:58:09 +02:00
Salvador Díaz Fau
383a1998ca Update to CEF 3.3112.1658.g3d5ae83
- Update to CEF 3.3112.1658.g3d5ae83
- Added an example of binary paramenters in the JSEval demo.
2017-09-01 22:44:58 +02:00
Salvador Diaz Fau
25b3e9bc9b Update to CEF 3.3112.1649.g0dba8a1 2017-07-29 14:06:52 +02:00
Salvador Diaz Fau
d2dd8fe5c7 Added high DPI support in OSR demo
- Added high DPI support in OSR demo
- Added cef.inc files in all demos
- Fixed some function declarations in the render handler.
2017-07-28 12:47:57 +02:00
Salvador Diaz Fau
e712f2fde4 Several small bug fixes
- 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.
2017-07-25 12:25:20 +02:00
Salvador Diaz Fau
5766453f91 Improved demos
- 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.
2017-07-18 17:50:28 +02:00
Salvador Diaz Fau
830117e0ca Faster browser destruction
Faster browser destruction. All timers have been removed from the demos.
Removed unnecessary client handler class in TChromium. Now there's only
an interface.
Fixed an old memory leak in popup windows.
2017-06-11 17:48:20 +02:00
Salvador Diaz Fau
6851d71bd3 Update to CEF 3.3071.1634.g9cc59c8 2017-06-06 12:49:27 +02:00
Salvador Diaz Fau
006d33da3a Added overloaded TChromium.CreateBrowser function 2017-06-01 10:33:30 +02:00
Salvador Diaz Fau
f803df15e7 Update to CEF 3.3029.1619.geeeb5d7
- Update to CEF 3.3029.1619.geeeb5d7
- Added fullscreen for HTML5 to MiniBrowser demo
2017-05-18 11:46:23 +02:00
Salvador Diaz Fau
18a9de0a94 Update to CEF 3.3029.1613.g22354a9
- Update to CEF 3.3029.1613.g22354a9
- Bug fix #28
- Added missing functions in uCEFMiscFunctions.pas
- Fixed MDIBrowser app close issue.
- Changed the CustomExceptionHandler to reraise exceptions with full
trace.
2017-05-07 18:14:02 +02:00
Salvador Diaz Fau
0ec2b29075 Update to CEF 3.3029.1611.g44e39a8
Update to CEF 3.3029.1611.g44e39a8
New MDIBroser demo
MultiThreadedMessageLoop initialization bug fix
New function to handle exceptions
Added a function to parse URLs
2017-05-01 14:49:43 +02:00
Salvador Diaz Fau
6842559661 Bug fixes : #18 #26
Bug fix #18 : Random crashes using custom schemes
Bug fix #26 : Dropdown control appearing in wrong place after form moved
2017-04-24 12:57:16 +02:00
Salvador Diaz Fau
5fb7bfdcb7 More TCEFApplication properties and TChromium virtual procedures 2017-04-03 09:10:15 +02:00
Salvador Diaz Fau
b5b9547d28 Update to CEF 3.2987.1596.gc2b4638
* New properties in TCEFApplication :  SmoothScrolling, FastUnload,
DisableSafeBrowsing.
* Bug fix in CefResponseFilter. Thanks to Zdravko Gabrovski!
* MiniBrowser now has a context menu option to visit the DOM.
2017-03-22 15:22:11 +01:00
Salvador Diaz Fau
68769fdda2 Update to CEF 3.2987.1594.g92fba9c
Bug fix for memory leak in TChromium.Internal_SavePreferences
2017-03-16 19:12:31 +01:00
Salvador Diaz Fau
6178ab49a5 Update to CEF3.2924.1575
MiniBrowser : Addition of a preferences form, replacement of URLEdt by
URLCbx, addition of a custom scheme
TCEFApplication : Addition of 3 new properties : EnableSpellingService,
EnableMediaStream, EnableSpeechInput
TCEFChromium : Renamed internal procedures, addition of
UppdatePreferences and SavePreferences procedures, more checks in
doOnBeforeClose and doOnClose.
TCefChromiumWindow : WebBrowser_OnClose returns False by default
2017-03-15 14:53:45 +01:00
Salvador Diaz Fau
e592e2716a Fixed AV and build error in win64. Support for CEF 3.2924.1571.gcdcdfa9 and new parameter to skip reading dll version in tcefapplication 2017-02-26 16:38:36 +01:00
Salvador Diaz Fau
9b4bb2a27c OutputDebugMessage moved to uCEFMiscFunctions, New TCEFApplication.AddCommandLine procedure and TCEFApplication.CheckCEFLibrary enhancements 2017-02-13 10:24:44 +01:00
Salvador Diaz Fau
1ce14d8796 New function OutputDebugMessage in TCEFApplication to log messages replacing OutputDebugString 2017-02-12 19:53:45 +01:00
Salvador Diaz Fau
a97aa2db53 New demo, easier extension registration and updated CEF3 2017-02-11 21:56:08 +01:00
Salvador Diaz Fau
c23afaba1b Fix for crashes on old Delphi versions 2017-02-05 20:56:46 +01:00
Salvador Diaz Fau
caff78f141 Added support for CEF 3.2924.1558.g872fbc0 / Chromium 56.0.2924.76 2017-02-02 18:07:28 +01:00
Salvador Diaz Fau
21dcc60a24 reorganization of folders 2017-01-27 17:29:37 +01:00