Commit Graph

73 Commits

Author SHA1 Message Date
salvadordf
a43cd0f84c Update to CEF 94.4.4 2021-10-02 16:22:10 +02:00
salvadordf
0bc8f373f8 Update to CEF 94.4.2
Fixed issues #383 and #384
2021-09-28 16:39:21 +02:00
salvadordf
c88ec15bd4 Update to CEF 94.4.1
Added the keyboard handling modification to the OSRExternalPumpBrowser demo requested by mterrisse in issue #378
Fixed the wrong form icon in TinyBrowser demo.
2021-09-27 12:04:33 +02:00
salvadordf
5f1f820c07 Fixed initialization issue in "ChromeRuntime" mode 2021-09-18 11:00:57 +02:00
Salvador Díaz Fau
b3f388709a Update to CEF 92.0.27
Fixed issue #374 : TChromium.SaveAsBitmapStream Fails
2021-08-19 14:20:01 +02:00
Salvador Díaz Fau
8d789edbdf Update to CEF 92.0.20 2021-07-29 16:20:34 +02:00
Salvador Díaz Fau
44896524e8 Improved keyboard and mouse support in FMXExternalPumpBrowser for MacOS
Added X11 error handling functions to FMXExternalPumpBrowser2 demo for Linux.
Deleted FMXExternalPumpBrowser demo for Linux.
Added uCEFMacOSConstants and uCEFMacOSFunctions units for MacOS.
Replaced TThread.Queue for TThread.ForceQueue to avoid executing that method immediately in some cases.
2021-05-26 19:32:10 +02:00
Salvador Díaz Fau
64edef3194 Update to CEF 90.5.5 2021-04-21 15:09:14 +02:00
Salvador Díaz Fau
c5fae76a1f Update to CEF 90.5.4 2021-04-18 19:36:20 +02:00
Salvador Díaz Fau
19831611d4 Update to CEF 89.0.15
Added TCefApplicationCore.LastErrorMessage property as requested in #356
2021-03-25 13:00:37 +01:00
martin
cee41f519b Browser can be destroyed while in event. Do not access after that. 2021-03-01 01:18:01 +01:00
Salvador Diaz Fau
92da537bf7 Fix Lazarus build issue in Windows
Fix Delphi build issue in MacOS
Added TCefApplicationCore.CheckCEFResources
Added TCefApplicationCore.CheckCEFDLL
Set TCefApplicationCore.CheckCEFFiles to false by default in MacOS
2021-02-21 18:41:25 +01:00
Salvador Diaz Fau
e45839bb90 Added TBufferPanel.OnMouseEnter and TBufferPanel.OnMouseLeave on Lazarus
Fixed building in Windows
Issue #337 : First implementation. It's incomplete.
2021-02-08 10:28:36 +01:00
Salvador Diaz Fau
8f1b88bac9 Update to CEF 88.2.4
Fixed issue #335
2021-02-06 17:38:44 +01:00
Salvador Diaz Fau
8d5797b01f Fixed the TCefWindowHandle, TCefCursorHandle and TCefEventHandle declarations 2021-01-26 18:26:24 +01:00
Salvador Diaz Fau
151b6fe3da Update to CEF 88.1.4
Added GlobalCEFApp.DisableChromeLoginPrompt
Removed GlobalCEFApp.CustomFlashPath
Removed GlobalCEFApp.FlashEnabled
Removed TChromiumCore.RunAllFlashInAllowMode
2021-01-21 15:46:35 +01:00
Salvador Diaz Fau
908017b2f5 Added new DevTools events to TChromium and missing drag adn drop properties to TCefWinControl
Added TChromium.OnDevToolsRawMessage
Added TChromium.OnDevToolsMethodRawResult
Added TChromium.OnDevToolsRawEvent
Added TCefWinControl.DragKind
Added TCefWinControl.DragCursor
Added TCefWinControl.DragMode
Added TCefWinControl.OnDragDrop
Added TCefWinControl.OnDragOver
Added TCefWinControl.OnStartDrag
Added TCefWinControl.OnEndDrag
2021-01-16 14:35:01 +01:00
Salvador Diaz Fau
739b510526 Added more FPC conditionals in Linux code 2021-01-12 20:32:28 +01:00
Salvador Diaz Fau
76d296871f Added the MiniBrowser demo for Linux
Fixed the Linux version of WindowInfoAsPopUp.
2021-01-06 12:18:14 +01:00
Salvador Diaz Fau
1d984307ad Updated copyright year 2021-01-01 11:11:30 +01:00
Salvador Diaz Fau
05680d5abc Fixed issue #256
Removed non working Linux demos for now.
2020-12-30 19:40:07 +01:00
Salvador Diaz Fau
8f55182540 Update to CEF 87.1.12 2020-12-08 21:35:57 +01:00
Salvador Diaz Fau
1484fdca25 Added TinyBrowser2 demo
- Added an overloaded version of TChromiumCore.CreateBrowser to create popup browser windows in the TinyBrowser2 demo.
- Added more comments in the DOMVisitor demo describing alternative ways to send information between processes.
2020-12-06 12:28:13 +01:00
Salvador Diaz Fau
073186e71d Added workaround for issue #323
Modified all demos that used the TChromium.OnCursorChange event with the new parameters.
2020-11-22 16:42:52 +01:00
Salvador Diaz Fau
8e7660ccf8 Update to CEF 87.1.6 2020-11-19 18:55:17 +01:00
Salvador Diaz Fau
6e936cf07c Fixed issue #303
- Added TChromiumCore.ReplaceMisspelling
- Added TChromiumCore.AddWordToDictionary
- Added TChromiumCore.OpenerWindowHandle
- Added TChromiumCore.MouseCursorChangeDisabled
- Removed the 'Print to PDF stream...' menu option from the MiniBrowser demo because it's only available in headless chrome.
2020-09-30 12:43:48 +02:00
Salvador Díaz Fau
29e5b987f8 Fix for a rare TCustomRequestContextHandler leak in TChromiumCore
- Moved all the code from TChromiumCore.BeforeDestruction to TChromiumCore.Destruction.
- Moved all the HWND fields to the Windows conditional directive section.
2020-09-20 12:07:24 +02:00
Salvador Díaz Fau
03916e75f4 Added missing "Sender" parameter to all the TChromiumCore events 2020-09-15 16:31:49 +02:00
Salvador Díaz Fau
c7d0200657 Update to CEF 85.3.5
- Added the workaround to the issue #301 to the MiniBrowser demo.
2020-09-10 11:21:39 +02:00
Salvador Díaz Fau
cfeee87c30 Added 2 new TChromiumCore properties
Added TChromium.JavascriptEnabled to enable/disable JS at runtime.
Added TChromium.LoadImagesAutomatically to enable/disable image loading at runtime.
2020-08-22 14:56:24 +02:00
Salvador Díaz Fau
64a9eabcaf Added TChromium.NetworkPredictions property
Added TChromium.QuicAllowed property
2020-08-05 16:11:50 +02:00
Salvador Díaz Fau
5430db5601 Update to CEF 84.3.10
Added 2 browser extension demos : HelloWorldExt and PageColorExt
2020-08-04 17:52:09 +02:00
Salvador Díaz Fau
0f0c827b5d Fixed Is32BitProcess hint on Delphi 10.4
Renamed TChromiumCore.ClearDataForOrigin parameter from "aOriginURL" to "aOrigin"
Added some missing cef.inc files to the new demos
2020-07-28 20:04:25 +02:00
Salvador Díaz Fau
d42b2e68fb Update to CEF 84.2.6
- Fixed TChromium.HyperlinkAuditing default value
- Fixed CheckDLLs function in Linux
- Fixed Delphi 7 backwards compatibility
- Fixed issue #289
2020-07-21 12:41:03 +02:00
Salvador Díaz Fau
dceb2299e3 Moved all JSON functions to the TCEFJson class
- Added TCEFJson.SaveToFile and TCEFJson.LoadFromFile functions
- Added more code comments to DOMVisitor
- Replaced all the code to save the browser preferences in TChromiumCore with the new TCEFJson functions
2020-07-17 12:56:43 +02:00
Salvador Díaz Fau
882c79ac1b Update to CEF 83.5.0 2020-07-15 14:56:41 +02:00
Salvador Díaz Fau
51658e03f2 Fixed TChromium.OnDevToolsEvent declaration
Added more parameter checks to CefString.
Added TChromium.DestroyAllHandlersAndObservers which includes DestroyDevToolsMsgObserver to fix issue #288.
2020-07-14 15:50:23 +02:00
Salvador Díaz Fau
5bfeb8de3f Rollback the last fix for issue #288
The last fix sometimes caused an exception while you close the browser.
2020-07-13 15:28:04 +02:00
Salvador Díaz Fau
4be703326c Fixed issue #288
Added Lazarus 2.0.10/FPC 3.2.0 reference to the readme file
2020-07-12 16:54:37 +02:00
Salvador Díaz Fau
59ec2022e5 Added TChromiumCore.ClearDataForOrigin procedure
Added a menu option to the MiniBrowser demo to clear all data from the current URL
2020-07-05 12:56:21 +02:00
Salvador Díaz Fau
d394d41991 Added TChromiumCore.SetUserAgentOverride procedure
Added menu option to change the User Agent string at runtime to the MiniBrowser demo.
2020-07-05 12:06:33 +02:00
Salvador Díaz Fau
e82dc1a080 Added TChromium.ClearCache procedure
Added TChromium.Offline property.
Added a menu option to the MiniBrowser demo to clear the cache with the DevTools methods.
Added a menu option to the MiniBrowser demo to take a screenshot with the DevTools methods.
2020-07-02 12:49:21 +02:00
Salvador Díaz Fau
d55d7c0733 Added the TChromium.DefaultWindowInfoExStyle property
DefaultWindowInfoExStyle is used to initialize the browser window with that ExStyle. In some cases a focus issue may be fixed if we use the WS_EX_NOACTIVATE value instead of 0 but it may have some side effects.

This could be used to fix issue #282
2020-06-22 16:17:38 +02:00
Salvador Díaz Fau
7e3e8bad24 Update to CEF 83.4.0 2020-06-21 21:27:55 +02:00
Salvador Díaz Fau
0be9d32bc3 Fixed Unicode strings issue with Windows API calls
Added more NIL checks in TChromiumCore
2020-06-13 17:24:22 +02:00
Salvador Díaz Fau
c44023cb21 Update to CEF 83.3.9 2020-05-23 15:00:44 +02:00
Salvador Díaz Fau
dbab922640 Update to CEF 81.3.5
- Added TChromium.IndexOfBrowserID
- Fixed TChromium.GetBrowserById
- Added "Find text..." menu option to the MiniBrowser demo
2020-05-12 11:30:19 +02:00
Salvador Díaz Fau
1d750fac10 Compatibility fix for D7 2020-05-08 17:47:49 +02:00
Salvador Díaz Fau
132edb2e88 Added Multi-Browser mode to TChromium
MiniBrowser demo now has the Multi-browser mode enabled.
Added TChromium.MultiBrowserMode
Added TChromium.BrowserById
Added TChromium.BrowserCount
Added TChromium.BrowserIdByIndex
Added TChromium.SelectBrowser
Added TChromium.CloseAllBrowsers
Added TChromium.TryCloseBrowser
2020-05-07 11:46:48 +02:00
Salvador Díaz Fau
318318c85c Added Views Framework support #244
Added ToolBoxBrowser2 demo
Added TCEFBrowserViewComponent.
Added TCEFLabelButtonComponent.
Added TCEFMenuButtonComponent.
Added TCEFPanelComponent.
Added TCEFTextfieldComponent.
Added TCEFScrollViewComponent.
Added TCEFWindowComponent.
2020-05-05 18:10:33 +02:00