Commit Graph

122 Commits

Author SHA1 Message Date
Salvador Díaz Fau
1fa2f43b0c Update to CEF 77.1.18
- Modified CefPostTask and CefPostDelayedTask to return a boolean value.
- Added CefCurrentlyOn helper function.
- Replaced all "CEF3" mentions by "CEF".
2019-10-19 10:58:34 +02:00
Salvador Díaz Fau
86fd4a0c4d Added GlobalCEFApp.TouchEvents property
- Added TChromium.ExecuteTaskOnCefThread function.
- Added TChromium.OnExecuteTaskOnCefThread event.
2019-10-18 17:15:55 +02:00
Salvador Díaz Fau
9391d68ee0 Update to CEF 77.1.13
- Added TChromium.OnRequestContextInitialized
- Added TChromium.OnBeforePluginLoad
- Added TChromium.ReqContextHandler
- Removed GlobalCEFApp.ShutdownWaitTime
2019-10-11 17:51:16 +02:00
Salvador Díaz Fau
1dc18e6aa6 Update to CEF 77.1.12
- Added TChromium.PrintingEnabled property
- Added TChromium.ClearCertificateExceptions function
- Added TChromium.ClearHttpAuthCredentialsfunction
- Added TChromium.CloseAllConnections function
- Added TChromium.OnCertificateExceptionsCleared event
- Added TChromium.OnHttpAuthCredentialsCleared event
- Added TChromium.OnAllConnectionsClosed event
2019-10-08 15:03:22 +02:00
Salvador Díaz Fau
9f202b19c0 Update to CEF 77.1.3 2019-10-01 18:47:24 +02:00
Salvador Díaz Fau
437c3bf4c0 Bug fix #222
- Fixed ICEFPostData and TCefPostData declarations
- Fixed CustomAbsolutePath to convert the relative path to absolute path even when CustomPathCanonicalize fails.
- Added a POST example to the URLRequest demo.
- Updated the PostInspectorBrowser demo for the new ICEFPostData decalrations.
2019-09-25 17:23:16 +02:00
Salvador Díaz Fau
c7b91264cb Added functions and events to flush the cookies easily.
- Added  TChromium.FlushCookieStore and TFMXChromium.FlushCookieStore functions.
- Added TChromium.OnCookiesFlushed and TFMXChromium.OnCookiesFlushed events
- Added a menu option in the MiniBrowser demo to test the new functions to flush the cookies.
2019-09-16 11:28:48 +02:00
Salvador Díaz Fau
0acd59b3d2 Update to CEF 76.1.10
- Added GlobalCEFApp.UseFakeUIForMediaStream
- Added overloaded TCefBaseRefCountedOwn.SameAs
2019-08-27 09:52:33 +02:00
Salvador Díaz Fau
43b0ec7e20 Update to CEF 75.1.4
- Fixed issue #179 : Added a new EditorBrowser demo.
- Fixed issue #195 : Added VizDisplayCompositor to the disabled features list
- Fixed issue #206 : Added a context menu option to show the DevTools in SimpleFMXBrowser. Added TCEFFMXChromium.ShowDevTools and TCEFFMXChromium.CloseDevTools.
- Added a new menu option to MiniBrowser to simulate key presses in normal mode.
2019-07-18 11:48:11 +02:00
Salvador Díaz Fau
90aeb5e525 Update to CEF 75.0.8
- Restored the GlobalCEFApp.DeleteCookies property
- Fixed the issue with the arrow keys in OSR demos
- Fixed the default return values for TCustomCookieAccessFilter.CanSendCookie and TCustomCookieAccessFilter.CandSaveCookie
- TCustomResourceRequestHandler and TCustomCookieAccessFilterwill only be created if needed by the TChromium events.
2019-06-19 16:53:26 +02:00
Salvador Díaz Fau
52fca97884 Update to CEF 75.0.7 2019-06-16 10:31:13 +02:00
Salvador Díaz Fau
efeb876371 Update to CEF 74.1.19
- Converted almost all the demos to Lazarus thanks to avra
- Reorganized "demos" directory.
2019-05-19 16:08:15 +02:00
Salvador Díaz Fau
59f3441b1e Update to CEF 74.1.16
- Copied the GlobalCEFApp_OnWebKitInitializedEvent fix for D2007 made by jepp to other demos.
- Added TChromium.DownloadImage and TChromium.OnDownloadImageFinished to download images
- Added a TChromium.DownloadImage example to the MiniBrowser demo.
- Modified some parameters in TCefImageRef
2019-05-11 15:40:19 +02:00
Salvador Díaz Fau
1a239e1e02 Update to CEF 74.1.13 2019-04-25 10:52:10 +02:00
Salvador Díaz Fau
ea103fc6ef Update to CEF 3.3683.1920.g9f41a27 2019-03-15 17:17:14 +01:00
Salvador Díaz Fau
1f96e8272b Added TChromium.GetNavigationEntries and TChromium.OnNavigationVisitorResultAvailable
- MiniBrowser demo : Added a context menu option to get the navigation entries.
2019-02-03 15:34:21 +01:00
Salvador Díaz Fau
769aa4f384 Fixed IME support in OSR mode
- Added lots of conditional compiler directives to build CEF4DElphi in Linux using Lazarus/FPC
- Updated copyright year
2019-01-08 19:15:25 +01:00
Salvador Díaz Fau
bab31cc0a2 Update to CEF 3.3578.1860.g36610bd 2018-12-12 17:13:23 +01:00
Salvador Díaz Fau
0688b10e1d Fixed circular reference in TCustomCefUrlrequestClient
Added the TCefApplication.DisableBackgroundNetworking and TCefApplication.MetricsRecordingOnly properties
2018-12-06 11:49:08 +01:00
Salvador Díaz Fau
18135e907a Always set the $MINENUMSIZE directive
Fix for #139 when using external message pump
2018-11-22 15:02:21 +01:00
Salvador Díaz Fau
1bc8aac781 Added missing GUID
Removed FastMM4 from the URLRequest demo
2018-11-17 12:33:28 +01:00
Salvador Díaz Fau
95c6939a37 Added TCEFUrlRequestClientComponent
Added URLRequest demo
2018-11-17 11:50:34 +01:00
Salvador Díaz Fau
10c9a99805 Update to CEF 3.3538.1852.gcb937fc
- Bug fix #139
- Added a LoadHandler in the render process.
- Added TCefApplication.OnLoadingStateChange
- Added TCefApplication.OnLoadStart
- Added TCefApplication.OnLoadEnd
- Added TCefApplication.OnLoadError
- Fixed a Delphi XE2 compilation issue.
2018-11-15 19:08:16 +01:00
Salvador Díaz Fau
627a77e8d2 Update to CEF 3.3538.1848.g1d1fe01 2018-10-26 10:32:10 +02:00
Salvador Díaz Fau
8519c9b5d5 Added overloaded TCEFDomNode.GetElementAttributes(var attrList: TStrings); 2018-06-12 21:34:53 +02:00
Salvador Díaz Fau
67b9ecc578 Update to CEF 3.3396.1775.g5340bb0
- Bug fix #117
- ResponseFilterBrowser now ignores the Content-Length is it has a compressed size
2018-06-03 17:18:54 +02:00
Salvador Díaz Fau
8000e45198 CEF Views type and interface definitions
- Added some Linux and MacOS initialization (doesn't work yet)
- GlobalCEFApp.MustFreeLibrary is now FALSE by default.
- GlobalCEFApp set to nil in all demos.
- ResponseFilterBrowser now uses the critical section in Chromium1ResourceLoadComplete.
- Added overloaded TChromium.LoadURL to load a URL in a frame.
- Added url and cookiename parameters to TChromium.DeleteCookies to delete the cookies from that url and/or name.
2018-05-24 19:15:41 +02:00
Salvador Díaz Fau
dd5f7f42c4 Added support for Lazarus/FPC (windows 32bit) 2018-05-12 14:50:54 +02:00
Salvador Díaz Fau
c87743849d Update to CEF 3.3359.1769.gd0bfc4d 2018-04-30 14:44:09 +02:00
Salvador Díaz Fau
cf784aba5f Update to CEF 3.3359.1768.g8e7c5d6 2018-04-20 12:45:06 +02:00
Salvador Díaz Fau
2c4fa2c94f Update to CEF 3.3325.1756.g6d8faa4 2018-03-31 18:08:18 +02:00
Salvador Díaz Fau
6fa50706a1 Update to CEF 3.3325.1755.g7c74b17 2018-03-29 20:02:04 +02:00
Salvador Díaz Fau
368479b0eb Update to CEF 3.3325.1746.ge81cdf2 2018-03-08 11:47:04 +01:00
Salvador Díaz Fau
d31825a7a5 Bug fix #98 2018-02-26 18:40:51 +01:00
Salvador Díaz Fau
a2ad188dc5 Added more conditional cmpilation for Windows
- Fixed bug with space char in OSR mode.
- SimpleOSRBrowser demo now follows the destruction sequence steps for browsers in OSR mode.
2018-02-19 13:35:01 +01:00
Salvador Díaz Fau
6905f9a292 Block all popup windows and new tabs in all demos except the MiniBrowser
- Added TChromium.IsSameBrowser function
2018-02-16 18:41:13 +01:00
Salvador Díaz Fau
579b3a9457 Update to CEF 3.3282.1732.g973997f 2018-02-08 12:45:25 +01:00
Salvador Díaz Fau
e29989623e Update to CEF 3.3282.1731.gfc9a4fa
- Chromium 64.0.3282.119 which should include partial MP3 support.
- Fixed stability issues when you closed the browser due to circular interface references.
- Fixed TCefRTTIExtension thanks to Pier.
- Added the JSRTTIExtension demo to test TCefRTTIExtension.
- Added the TCustomResponseFilter class to filter the resource contents.
- Added the ResponseFilterBrowser demo to test the new TCustomResponseFilter class.
2018-02-03 17:52:48 +01:00
Salvador Díaz Fau
b47a8e2d52 FireMonkey support added
- New Delphi package called CEF4Delphi_FMX.dpk that includes VCL and FMX components.
- New FMX comopnents : TFMXChromium, TFMXBufferPanel and TFMXWorkScheduler.
- New FMX demo :  FMXExternalPumpBrowser
- Improved WorkScheduler for VCL too.
- New GlobalCEFApp.DisableWebSecurity property.
2018-01-25 21:34:04 +01:00
Salvador Díaz Fau
6c5d5d6036 Update to CEF 3.3239.1723.g071d1c1
- New MDIExternalPumpBrowser demo.
- New JSWindowBindingSubProcess demo.
- Added more comments and checks in some initialization functions of TCEFApplication.
2018-01-06 15:25:32 +01:00
Salvador Díaz Fau
2f89f8a609 Update to CEF 3.3239.1720.g1ad5e2a
TChromium.DeleteCookies now uses the right cookie manager in custom request contexts.
2018-01-05 11:59:25 +01:00
Salvador Díaz Fau
9c9a9f59c7 Update to CEF 3.3239.1710.g85f637a
Fixed an initialization bug in MDIBrowser, TabBrowser and ToolBoxBrowser
Added several procedures to clear interface and class references before destruction
2017-12-27 14:05:33 +01:00
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
14425b01ae Update to CEF 3.3202.1693.g6adf855 2017-12-07 10:49:51 +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
f5f1a767c9 bug fix #68 2017-11-25 19:04:15 +01:00
Salvador Díaz Fau
b54a2861c4 Bug fix #68
RenderProcessHandler and ResourceBundleHandler are now created automatically in TCEFApplication. All their events are now TCEFApplication events.
2017-11-22 17:43:48 +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
5790d86fbf Bug fix #37
Initialization fix
2017-10-03 14:38:37 +02:00
Salvador Díaz Fau
659092bb37 Removed unused interface and more pointer checks 2017-10-02 17:56:56 +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
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
4e390071a2 Update to CEF 3.3163.1666.g052c2d2
Added some units for future extension support.
2017-09-19 19:18:52 +02:00
Salvador Díaz Fau
e2a597ec81 Old event types deleted 2017-08-23 10:13:48 +02:00
Salvador Díaz Fau
76e6a16ce0 Complete TCefCustomRenderProcessHandler event set 2017-08-23 09:50:38 +02:00
Salvador Díaz Fau
7f75c50c0b PostDataInspector demo 2017-08-22 18:35:04 +02:00
Dmitrij
1dd2645b1d Update uCEFInterfaces.pas
fix
2017-08-21 21:07:34 +03: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
afffdaab2f Update to CEF 3.3071.1643.ga83b8e9 2017-06-22 11:51:15 +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
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
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
8d3316ba80 Preliminary Delphi7 support, CommandLine with values, Custom libcef.dll path 2017-02-14 11:01:16 +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
21dcc60a24 reorganization of folders 2017-01-27 17:29:37 +01:00