Commit Graph

803 Commits

Author SHA1 Message Date
salvadordf
34a4d9e859 Update to CEF 95.7.14 2021-10-30 11:59:40 +02:00
salvadordf
e3cee7cf9b Changed some Windows API imports to improve compatibility with C++ Builder 2021-10-27 12:18:33 +02:00
salvadordf
f9b7447094 Update to CEF 95.7.12
Fix for Windows shutdown issue thanks to petko
2021-10-26 10:29:58 +02:00
salvadordf
9b90babbcb Update to CEF 95.7.10
Added TChromiumCore.OnPrefsUpdated. See issue #390
2021-10-22 19:19:57 +02:00
salvadordf
649d0c65d6 Update to CEF 94.4.11 2021-10-21 10:04:54 +02:00
salvadordf
9e2b7ee65d Update to CEF 94.4.10 2021-10-19 09:28:29 +02:00
salvadordf
33309917bc Update to CEF 94.4.9 2021-10-06 13:04:04 +02:00
salvadordf
dde1340250 Update to CEF 94.4.8 2021-10-05 11:45:21 +02:00
salvadordf
89a1bfada0 Update to CEF 94.4.5 2021-10-04 20:09:01 +02:00
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
salvadordf
155e298f3e Update to CEF 93.1.14 2021-09-17 17:12:06 +02:00
Salvador Díaz Fau
a14c51f98b Added Delphi 11 Alexandria support 2021-09-14 12:45:14 +02:00
Salvador Díaz Fau
5602e1029d Moved CefClearSchemeHandlerFactories to the GlobalCEFApp destruction 2021-09-11 12:00:09 +02:00
Salvador Díaz Fau
83a75c985a Update to CEF 93.1.11
Fixed issue #378  in the VCL demos
2021-09-05 10:49:20 +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
701406f0e8 Update to CEF 92.0.26
Added the SchemeRegistrationBrowser_subprocess demo for Lazarus in Windows
Added a Google Maps example in the test.html file used by all the SchemeRegistrationBrowser demos.
Removed obsolete Flash file.
2021-08-18 15:55:54 +02:00
Salvador Díaz Fau
5347d34205 Update to CEF 92.0.25 2021-08-07 11:18:36 +02:00
Salvador Díaz Fau
c4135dedd5 Update to CEF 92.0.21
Added GlobalCEFApp.DisablePopupBlocking
Added GlobalCEFApp.DisableBackForwardCache
Fixed issue #372
TCefApplicationCore code reorganization
2021-07-31 17:24:54 +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
8bfcf813e2 Update to CEF 91.1.23 2021-07-20 12:54:20 +02:00
Salvador Díaz Fau
d42098da83 Update to CEF 91.1.22 2021-07-03 09:59:24 +02:00
Salvador Díaz Fau
e72bbfd46e Improved functions to get the screen scale and DPI values in all platforms 2021-06-24 17:47:22 +02:00
Salvador Díaz Fau
b0259524c5 Update to CEF 91.1.21
The TabbedBrowser2 demo for Windows can now open new tabs without losing the POST data.
2021-06-20 13:08:37 +02:00
Salvador Díaz Fau
371c056192 Update to CEF 91.1.20 2021-06-18 17:49:36 +02:00
Salvador Díaz Fau
c5b989588e Update to CEF 91.1.17
Remove unnecessary workarounds in the FMX demo for MacOS
2021-06-16 10:31:12 +02:00
Salvador Díaz Fau
b5d3daf8bc Update to CEF 91.1.16 2021-06-12 11:19:56 +02:00
Salvador Díaz Fau
a69df608f6 Update to CEF 91.1.12 2021-06-11 17:26:30 +02:00
Salvador Díaz Fau
43ab8ef953 Added TCEFTimerWorkScheduler
- Moved the GlobalCEFWorkScheduler creation after the GlobalCEFApp creation in all demos using it.
- Replaced TCEFWorkScheduler by TCEFTimerWorkScheduler in FMX demos for Linux and MacOS.
- Fixed context menu issue in FMXExternalPumpBrowser2 for Linux
- Fixed stability issues in FMXExternalPumpBrowser for MacOS
- Fixed 32bit build issues in TinyBrowser and ToolBoxBrowser2 demos.
- Added uCEFMacOSInterfaces and uCEFMacOSCustomCocoaTimer.
2021-06-04 15:10:40 +02:00
Salvador Díaz Fau
b14abde967 Update to CEF 90.6.7
Added workaround to avoid a crash when the user clicks the right mouse button in Firemonkey for MacOS.
Added the click count to the mouse events to the Linux Firemonkey demo.
Added the ShowMessageCF function to show a message dialog in MacOS.
Added calls to FMX.Types.Log.d to write error messages in Firemonkey for Linux and MacOS.
2021-05-27 14:29:30 +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
96cec7acb5 Update to CEF 90.6.6 2021-05-21 15:39:53 +02:00
Salvador Díaz Fau
fec1b3be79 Fixed colors in FMXExternalPumpBrowser for MacOS
Added functions to copy the CEF binaries and the CEF helpers automatically to FMXExternalPumpBrowser for MacOS
Added TFMXBufferPanel.OnResized
Added more comments with missing functionality in Linux and MacOS
2021-05-18 16:40:37 +02:00
Salvador Díaz Fau
76fc979882 Fixed UTF8 string conversion in FPC 2021-05-17 10:10:00 +02:00
Salvador Díaz Fau
28ed9e7794 Added FMXExternalPumpBrowser demo for MacOS
Added TinyBrowser demo for Linux.
Added AppHelperRenamer tool for MacOS.
Disabled 3 event in TCefViewDelegateRef in 32 bits as a workaround for the issue #278
2021-05-16 19:42:25 +02:00
Salvador Díaz Fau
ca1e47d947 Update to CEF 90.6.5 2021-05-06 14:32:42 +02:00
Salvador Díaz Fau
ff05abbe1b Update to CEF 90.6.4
Added try..except blocks to TCustomRequestContextHandler and TCustomResourceRequestHandler events.
2021-05-05 14:41:13 +02:00
Salvador Díaz Fau
d24eec2794 Update to CEF 90.6.3
Enabled the ChromeRuntime mode to the TinyBrowser2 demo for Lazarus in Windows.
2021-05-01 10:06:25 +02:00
Salvador Díaz Fau
8188dd2ca0 Update to CEF 90.6.2 2021-04-29 17:00:54 +02:00
Salvador Díaz Fau
f044e754fa Update to CEF 90.6.0 2021-04-28 14:38:07 +02:00
Salvador Díaz Fau
23ee5819d6 Update to CEF 90.5.9 2021-04-24 12:10:58 +02:00
Salvador Díaz Fau
edbfe8775b Update to CEF 90.5.7
Modified the VCL version of the TinyBrowser2 demo to use the experimental "ChromeRuntime" mode.
2021-04-23 14:52:53 +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
1c898a6d50 Removed GlobalCEFApp.OnGetCookieableSchemes because it's no longer used 2021-04-20 18:30:52 +02:00
Salvador Díaz Fau
dbd73f13b4 Removed the GlobalCEFApp.SupportedSchemes property because it's no longer used. 2021-04-20 15:09:28 +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
8d8d498b0f Update to CEF 89.0.18 2021-04-07 16:35:31 +02:00
Salvador Díaz Fau
c6e8a08522 Update to CEF 89.0.17
Added an option make simple text replacements in the ResponseFilterBrowser demo
2021-04-03 14:53:50 +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
eb03146bb2 Merged LazApplication int CefApplication (IFDEF) 2021-03-21 02:27:03 +01:00
martin
74f4caf000 Fix TEmbeddedChromium as sub-component 2021-03-21 00:12:15 +01:00
martin
eec00d7da7 Rename Components 2021-03-20 21:06:46 +01:00
Salvador Díaz Fau
0abb2732de Update to CEF 89.0.12
Modified the VCL SubProcess demo as suggested by Tomm Prami
Fixed issue #352
2021-03-20 13:16:08 +01:00
martin
9766f0e175 Readme and known restrictions 2021-03-20 05:44:04 +01:00
martin
9346acaaa0 MacOS: Get cursor keys to work under OSR 2021-03-20 05:29:35 +01:00
martin
c45c130b33 Expose additional event properties 2021-03-20 05:29:35 +01:00
Salvador Díaz Fau
181f589843 Update to CEF 89.0.7 2021-03-14 11:54:24 +01:00
martin
bd947d73a9 Add component LazarusOsrBrowserWindow / limited keyboard support, no sys keys, some keys missing on Mac 2021-03-11 16:49:26 +01:00
martin
83da1908ee Refactor BufferPanel: call OnPaint, after painting / allow apps to paint in browser 2021-03-10 18:57:50 +01:00
martin
28d4240ace Refactor BufferPanel: Allow inherited classes to hook IME events 2021-03-10 18:57:49 +01:00
martin
243b42ebd4 refactor Component LazBrowserWindow / Extracted TLazChromium 2021-03-10 18:57:49 +01:00
martin
d37e72c010 Changed Demo BrowserWindow (Lazarus_any_OS) to use ContextInitialized Handler 2021-03-10 17:07:58 +01:00
martin
605d31f8cf Added CefLazApplication: Provide RegisterHandler for ContextInitialized 2021-03-10 17:07:58 +01:00
Salvador Díaz Fau
b9c57057b8 Fixed deprecated GetLocaleFormatSettings symbol warning thanks to dilfich 2021-03-08 14:24:26 +01:00
Salvador Díaz Fau
1515e2bf99 Update to CEF 89.0.6
Added GlobalCEFApp.ApiHashUniversal
Added GlobalCEFApp.ApiHashPlatform
Added GlobalCEFApp.ApiHashCommit
Added a menu option to the MiniBrowser demo to show the CEF version info and API hashes.
2021-03-06 12:24:28 +01:00
martin
8676b8c90a Fix compile for Cocoa with Lazarus fixes branch 2.0.x / Requires patches LCL from SVN rev 63693 2021-03-02 00:03:55 +01:00
martin
754fd4a952 New TLazarusBrowserWindow. Handles all required events. 2021-03-01 01:18:26 +01:00
martin
121a43e824 CrAppProtocol for cocoa / Add Cocoa CloseChildHandle 2021-03-01 01:18:02 +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
ce5384b108 Moved uCEFLinkedWinControlBase to the source directory
Fixed build issues in Delphi with uCEFLinkedWinControlBase
Fixed GetDeviceScaleFactor for MacOS in FMX
Updated Readme
2021-02-24 10:57:59 +01:00
martin
c7fba0eb39 Extracted base-class for TCefWindow with Chromium / Move WndProc 2021-02-23 17:37:39 +01:00
martin
ff9d2a39a8 Extracted base-class for TCefWindow with Chromium 2021-02-23 17:37:00 +01:00
Salvador Diaz Fau
1ef28cb013 Fix Lazarus build issue 2021-02-21 18:49:04 +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
51d8c20f63 Fixed UTF8 string conversion in SimpleBrowser for Linux
- Removed "cmem" and "interfaces" from the TinyBrowser2 demo for Linux.
- Simplified the code of the TinyBrowser2 demo for Linux.
- Added the workaround for the CEF focus issue to TChromiumWindow in Linux.
- Set the result type of GetChildWindowHandle to LclType.THandle in FPC for TCEFWinControl, TCEFLinkedWindowParent and TChromiumWindow.
2021-02-21 11:11:08 +01:00
Salvador Diaz Fau
21ae7cec31 Update CEF_CHROMEELF_VERSION_BUILD 2021-02-20 17:30:59 +01:00
Salvador Diaz Fau
9d17a50210 Update to CEF 88.2.9
Added the SimpleBrowser demo for Linux.
Added Linux support to TChromiumWindow.
Removed unused code and added more code comments to the SimpleBrowser demos for Windows.
2021-02-20 17:14:15 +01:00
martin
4a49ab6755 Add option UseMockKeyChain for Mac. Prevents requiring permissions, but stops encrypting Cookies. 2021-02-16 23:12:07 +01:00
martin
91f0c8d740 Fix: Set LocalesDirPath and ResourcesDirPath from FrameworkDirPath, if not set explicitly 2021-02-16 21:15:22 +01:00
martin
cd73dd8b8d Use MultiExeProcessing on Mac 2021-02-16 18:10:01 +01:00
Salvador Diaz Fau
ee94b7d2cc Added TBufferPanel.UpdateDeviceScaleFactor
Fixed issue #339 : SimpleOSRBrowser crashes when the mouse is moved over the browser using CEF 88
2021-02-16 12:47:22 +01:00
Salvador Diaz Fau
bdaf4554e6 Update to CEF 88.2.8
Fixed issue #339 : SimpleOSRBrowser crashes when the mouse is moved over the browser using CEF 88
2021-02-16 12:45:44 +01:00
Salvador Diaz Fau
7de0ea6a81 Update to CEF 88.2.7 2021-02-13 14:39:56 +01:00
Salvador Diaz Fau
086042c0d9 Update to CEF 88.2.6 2021-02-12 16:45:54 +01:00
Salvador Diaz Fau
aaf512a419 Fixed TFMXWorkScheduler.QueueThread_OnPulse. Only build it when USEQUEUETHREAD is defined. 2021-02-11 21:07:22 +01:00
Salvador Diaz Fau
002a21e6d6 Update to CEF 88.2.5
- Added TCEFWorkSchedulerQueueThread as an experimental way to handle the external message pump events for all platforms.
- Fixed backwards compatibility issues with Delphi 7.
2021-02-11 19:52:23 +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
martin
03e917f85c Set LocalesDirPath and ResourcesDirPath from FrameworkDirPath, if not set explicitly 2021-02-07 22:10:08 +01:00
martin
bfff18e7b5 fix compile. If IFDEF does not apply, an empty var block causes a compile error on fpc 2021-02-07 22:10:08 +01:00
martin
7c94142d25 fix compile on Fpc/Mac. Handle is PtrUInt. IFDEF MACOS only matches Delphi 2021-02-07 22:10:08 +01:00
martin
06bcf00dd7 Allow AppHelper to read FrameworkDirPath from argv 2021-02-07 22:10:08 +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
5c93e5c49a Update to CEF 88.2.1
- Added  xlib error handlers to the "interface" unit in the Lazarus demos for Linux.
- Added the "broker" CEF process type.
- Add the Zygote process to all the MustCreate* functions in TCefApplicationCore
2021-02-04 16:59:08 +01:00
Salvador Diaz Fau
e0396ac3a5 Improved MacOS support thanks to martin_fr
Reorganized demos by OS
2021-01-31 16:53:07 +01:00
Salvador Diaz Fau
77a5766367 Added keyboard support to the FMXExternalPumpBrowser2 demo in Linux thanks to Christoph Schneider
Moved most of the Linux constants, types and functions to new units.
2021-01-28 19:29:04 +01:00
Salvador Diaz Fau
8d5797b01f Fixed the TCefWindowHandle, TCefCursorHandle and TCefEventHandle declarations 2021-01-26 18:26:24 +01:00
Salvador Diaz Fau
ee71ccb87e Update to CEF 88.1.6 2021-01-24 18:18:27 +01:00
Salvador Diaz Fau
4cc230fea8 Changed the GlobalCEFApp.EnableSpeechInput default value to false
The Speech API requires building the CEF binaries with your own Google API keys and the service is not free.
http://www.chromium.org/developers/how-tos/api-keys
https://cloud.google.com/speech-to-text/pricing
2021-01-24 15:28:38 +01:00
Salvador Diaz Fau
47fb09e887 Fixed black screen issue in OSR mode thanks to "Student"
- Fixed issues adding or replacing command line switches with hyphenated and non-hyphenated keys in TCEFApplicationCore.
- Remove the values from the "enable-features" and "enable-blink-features" when that value is in the "disable-features" or "disable-blink-features" in the command line switches.
2021-01-21 19:32:43 +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
afa8418821 Initialization fixes for some Linux demos
Added TCEFWorkScheduler.CreateDelayed
Added TFMXWorkScheduler.CreateDelayed
Added an event to wait until the context is initialized in FMXExternalPumpBrowser2 and  OSRExternalPumpBrowser for Linux
2021-01-20 18:57:20 +01:00
Salvador Diaz Fau
65733bc784 Added FMXExternalPumpBrowser2 demo for Linux thanks to Christoph Schneider
Fixed OutputDebugMessage function in Linux
Added Linux support to TCEFWorkScheduler
2021-01-19 19:14:25 +01:00
Salvador Diaz Fau
5de491ed03 Fixed the FixCefTime function 2021-01-18 11:48:23 +01:00
Salvador Diaz Fau
6ede7fa51a Fixed cookie date conversion issue 2021-01-18 11:12:01 +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
b4a2cee7f5 Fixed building errors and warnings on FMX for MacOS and Linux thanks to Christoph Schneider 2021-01-14 16:03:04 +01:00
Salvador Diaz Fau
739b510526 Added more FPC conditionals in Linux code 2021-01-12 20:32:28 +01:00
Salvador Diaz Fau
123f45ea08 Fixed OSRExternalPumpBrowser in Linux
Fixed SimpleOSRBrowser in Linux
Added the TBufferPanel.CopyOriginalBuffer property
Added the TBufferPanel.MustInitBuffer property
Added the TBufferPanel.OrigBuffer property
Added the TBufferPanel.OrigBufferWidth property
Added the TBufferPanel.OrigBufferHeight property
Renamed TBufferPanel.PopupBuffer to TBufferPanel.OrigPopupBuffer
Renamed TBufferPanel.PopupBufferWidth to TBufferPanel.OrigPopupBufferWidth
Renamed TBufferPanel.PopupBufferHeight to TBufferPanel.OrigPopupBufferHeight
Renamed TBufferPanel.PopupBufferBits to TBufferPanel.OrigPopupBufferBits
Renamed TBufferPanel.PopupScanlineSize to TBufferPanel.OrigPopupScanlineSize
Added the TBufferPanel.UpdateOrigBufferDimensions function
Added the TBufferPanel.UpdateOrigPopupBufferDimensions function
2021-01-12 17:06:31 +01:00
Salvador Diaz Fau
62753fa7f9 Update to CEF 87.1.13
Fixed some FMX compilation issues in Linux thanks to Christoph Schneider.
2021-01-08 16:01:06 +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
83cf65a8ec Workaround for issue #333
Disabled range checking in some units when using old Delphi versions to avoid internal compiler errors.
2021-01-05 11:44:41 +01:00
Salvador Diaz Fau
bef1626f31 Added the PopupBrowser2 demo for Linux
Set the CEFLinkedWindowParent1.TabStop to true to fix a focus issue
Moved TCEFLinkedWindowParent.UpdateSize to the public section
2021-01-04 18:39:15 +01:00
Salvador Diaz Fau
187a4d825c Added TabbedBrowser2 demo for Linux
Update the TCEFBitmapBitBuffer size instead of destrying and creating it when the browser is resized.
2021-01-03 18:36:17 +01:00
Salvador Diaz Fau
c3def9de88 Added workaround for issue #330 2021-01-03 13:06:12 +01:00
Salvador Diaz Fau
e3f1a0902d Added Printing support in Linux
Added the GlobalCEFApp.DisableZygote property
Added the GlobalCEFApp.OnPrintStart event.
Added the GlobalCEFApp.OnPrintSettings event.
Added the GlobalCEFApp.OnPrintDialog event.
Added the GlobalCEFApp.OnPrintJob event.
Added the GlobalCEFApp.OnPrintReset event.
Added the GlobalCEFApp.OnGetPDFPaperSize event.
2021-01-01 17:51:09 +01:00
Salvador Diaz Fau
1d984307ad Updated copyright year 2021-01-01 11:11:30 +01:00
Salvador Diaz Fau
5fd5dc79f0 Added a Linux version of the SubProcess demo for Lazarus
GlobalCEFApp now uses the custom "ShowX11Message" procedure to show messages when the WidgetSet is not initialized.
2020-12-31 12:15:10 +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
e7eae21105 Improved Linux support in Lazarus
- Fixed issue #255
- Changed GlobalCEFApp.DefaultEncoding property type to ustring
- Changed GlobalCEFApp.OverrideSpellCheckLang property type to ustring
2020-12-28 18:11:27 +01:00
Salvador Diaz Fau
7ec49e1f95 Added workaround for the CEF issue #2899
https://bitbucket.org/chromiumembedded/cef/issues/2899/cefsettingsignore_certificate_errors-true
2020-12-21 19:44:10 +01:00
Salvador Diaz Fau
34c2c49034 Added GlobalCEFApp.ForcedDeviceScaleFactor property.
Added TBufferPanel.ForcedDeviceScaleFactor property.
Added TFMXBufferPanel.ForcedDeviceScaleFactor property.
Updated ConsoleBrowser2 and WebpageSnapshot demos to use the new TBufferPanel.ForcedDeviceScaleFactor property.
2020-12-20 12:28:56 +01:00
Salvador Diaz Fau
858f1a1625 Improved Linux support thanks to Christoph Schneider
Added more code comments in the TabbedBrowser2 demo.
Removed FastMM4 from the SimpleOSRBrowser demo.
Modified TCEFWorkScheduler for FPC in Linux.
2020-12-18 16:51:02 +01:00
Salvador Diaz Fau
1299a6f596 Added ConsoleBrowser2 and WebpageSnapshot demos
- Split the Lazarus demos directory into "Lazarus_Windows" and "Lazarus_Linux".
- Added OSRExternalPumpBrowser and TinyBrowser2 demos to "Lazarus_Linux".
- Set TBufferPanel.GetScreenScale as virtual.
- Added DevTools to the SchemeRegistrationBrowser demo.
- Modified the SchemeRegistrationBrowser demo to receive XMLHttpRequest requests from JavaScript.
2020-12-13 18:36:10 +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
80b1140db6 Update to CEF 87.1.11
Fixed issue #323 in the CEF code.
2020-11-26 14:42:33 +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
2f3c23c202 Update to CEF 86.0.24 2020-11-18 12:23:20 +01:00
Salvador Diaz Fau
db361ed6d8 Use the custom conditional compilation directives 2020-11-17 15:09:02 +01:00
Salvador Diaz Fau
3ab78ad28c Delphi 10 Seattle backwards compatibility fix 2020-11-17 14:59:18 +01:00
Salvador Diaz Fau
a4067cf44c Update to CEF 86.0.23 2020-11-11 15:03:59 +01:00
Salvador Diaz Fau
8274424032 Use the TCefCustomRenderProcessHandler.RemoveReferences only in destruction 2020-11-10 15:34:48 +01:00
Salvador Diaz Fau
e72db93dd2 Partial fix for issue #291
- Create the CefApp handlers only when they are needed in SingleProcess mode.
- Added several "RemoveReferences" procedures to disable events when the application is shutting down in the CefApp handlers.
2020-11-10 15:02:49 +01:00
Salvador Diaz Fau
9ac740613c Update to CEF 86.0.21 2020-11-04 14:45:23 +01:00
Salvador Diaz Fau
e601067d01 Update to CEF 86.0.20
Fixed issue #307 TBufferPanel.ScreenScale and GetDeviceScaleFactor return 1 after changing the DPI value while the browser is runninng.
2020-10-31 14:23:06 +01:00
Salvador Diaz Fau
f5bce048ce Update to CEF 86.0.19
Fixed issue #309
2020-10-28 18:49:34 +01:00
Salvador Diaz Fau
8a28f9fea9 Added the GlobalCEFApp.BlinkSettings property 2020-10-25 18:59:09 +01:00
Salvador Diaz Fau
b118999a56 Update to CEF 86.0.18 2020-10-24 12:30:00 +02:00
Salvador Diaz Fau
592818ef30 Update to CEF 86.0.17 2020-10-16 15:27:39 +02:00
Salvador Diaz Fau
fd7645fe2c Update to CEF 86.0.14
Fixed issue #300
2020-10-14 09:56:47 +02:00
Salvador Diaz Fau
d44db3bf2a Added GlobalCEFApp.EnableUsermediaScreenCapturing 2020-10-08 16:41:27 +02:00
Salvador Diaz Fau
1186f0b105 Update to CEF 85.3.12 2020-10-02 14:23:38 +02: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 Diaz Fau
8af741c3e1 Update to CEF 85.3.11
Added an alternative PrintToPDF menu option to the MiniBrowser demo (not working for now)
2020-09-26 13:08:53 +02:00
Salvador Diaz Fau
d3e68a1d6d Update to CEF 85.3.10 2020-09-23 15:42:47 +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
d31456f517 Update to CEF 85.3.9 2020-09-16 11:11:45 +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
c7074c102c Update to CEF 85.3.7 2020-09-15 15:47:46 +02:00
Salvador Díaz Fau
a4882558dd Update to CEF 85.3.6
- Fixed issue #301
- Removed workaround for issue #301 in the MiniBrowser demo.
2020-09-12 19:33:05 +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
d444bb29e1 Update to CEF 85.2.11 2020-08-29 11:48:12 +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
3c1dae426c Update to CEF 84.4.1 2020-08-15 12:15:10 +02:00
Salvador Díaz Fau
ce722b81c3 Fixed an interface casting issue in old Delphi versions 2020-08-08 22:06:02 +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
8761ec8749 Added some string lenth checks in TCefApplicationCore.AppendSwitch 2020-07-30 11:01:43 +02:00
Salvador Díaz Fau
b3b9bf809e Update to CEF 84.3.8
Improvements in the command line switches to avoid repetitions and make it easier to remove or modify default switches.
2020-07-30 10:45:12 +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
6d735203f7 Update to CEF 84.3.7 2020-07-24 11:23:12 +02:00
Salvador Díaz Fau
6f98a74518 Update to CEF 84.3.3 2020-07-22 18:01:03 +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
dee111279b Update to CEF 84.2.1 2020-07-18 19:12:01 +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
3246eff9a1 Added context menu option to DOMVisitor to set the value of an INPUT element using the DevTools methods
Added the TCEFJson class
2020-07-16 15:47:27 +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
43e0c80431 Update to CEF 83.4.2 2020-07-02 10:50:52 +02:00
Salvador Díaz Fau
9e53c4ed92
Merge branch 'master' into master 2020-06-30 13:03:29 +02:00
paweld
45d405774c Patch for compilation error on FPC 3.2.0 - next part
Now it's ok on delpi 7.
Tested on:
- Lazarus 2.1.0 r63482 with fpc3.2.0 and fpc 3.0.4
- Lazarus 2.0.8 with fpc 3.0.4
- Delphi 7
- Delphi 10.2.3
2020-06-30 11:32:49 +02:00
paweld
84e6855b63 Patch for compilation error on FPC 3.2.0 2020-06-29 11:07:22 +02:00
Salvador Díaz Fau
b48fd893ad
Revert "Update uCEFOLEDragAndDrop.pas" 2020-06-28 15:04:16 +02:00
paweld
17b81d9472 Update uCEFOLEDragAndDrop.pas
Patch for compilation error on FPC 3.2.0 [No matching implementation for the interface method "SetData (const tagFORMATETC; var TagSTGMEDIUM; LongBool): LongInt; Stdcall; " found]
2020-06-27 20:18:41 +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
ef2277fe6c Fixed compiler warnings in Delphi 7 with string type conversions
- Added TCefFastDomVisitor3
2020-06-20 16:10:29 +02:00
Salvador Díaz Fau
ea447c74d5 Fixed LoadLibrary parameter for Linux 2020-06-13 17:57:59 +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
ef46244dde Update to CEF 83.3.12 2020-06-06 11:33:13 +02:00
Salvador Díaz Fau
ea75cd51d2 Update to CEF 83.3.11 2020-05-29 16:48:25 +02:00
Salvador Díaz Fau
f773189b70 Update to CEF 83.3.10
- Issue #280 : Added GlobalCEFApp.MissingBinariesException property.
2020-05-26 16:57:37 +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
7798f97872 Update to CEF 81.3.10
- Add missing "messages" unit to the uses section in FMXTabbedOSRBrowser demo.
2020-05-14 18:54:42 +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
e47b526c33 Fix for issue #277
- Added attribution links to other projects in the readme file.
2020-05-09 11:41:20 +02:00
Salvador Díaz Fau
1d750fac10 Compatibility fix for D7 2020-05-08 17:47:49 +02:00
Salvador Díaz Fau
5c4108424a Update to CEF 81.3.2 2020-05-08 12:01:11 +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
5c2204b207 Fixed issue #277 2020-05-05 19:20:23 +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
Salvador Díaz Fau
ccdb41b357 Update to CEF 81.3.1 2020-04-30 17:28:41 +02:00
Salvador Díaz Fau
ee831e85bd Update to CEF 81.2.25
- Work in progress : Added many more units, classes and types to support the Views Framewrok.
2020-04-29 19:14:44 +02:00
Salvador Díaz Fau
a3cab55a7c Added missing process type to the CefDebugLog procedure 2020-04-25 16:47:16 +02:00
Salvador Díaz Fau
a34ae44cb0 Update to CEF 81.2.24
- Added code comments to the MediaRouter demo
- Added a Lazarus version of the MediaRouter demo
2020-04-25 15:57:11 +02:00
Salvador Díaz Fau
fd50565420 Update to CEF 81.2.22
- Added CefKeyEventLog and CefMouseEventLog to the uCEFMiscFunctions unit
2020-04-23 11:11:53 +02:00
Salvador Díaz Fau
823be24cd9 Update to CEF 81.2.21 2020-04-22 13:12:46 +02:00
Salvador Díaz Fau
dce556683a Update to CEF 81.2.19 2020-04-21 13:27:34 +02:00
Salvador Díaz Fau
9a0c782064 Fixed exceptions when you tried to used empty languages list and set a managed preference 2020-04-20 12:02:16 +02:00
Salvador Díaz Fau
62c310a7b9 Update to CEF 81.2.17
- New MediaRouter demo (still buggy)
- Removed TCEFMediaObserverComponent and merged all the ICefMediaObserver methods and events into TChromium.
- Fixed some Media Observer parameters
- Added TChromium.RequestContext
- Added TChromium.MediaRouter
- Added TChromium.MediaObserver
- Added TChromium.Registration
2020-04-19 22:47:20 +02:00
Salvador Díaz Fau
02ef32b474 Update to CEF 81.2.16
Removed unused uCEFAudioHandler unit
2020-04-11 11:23:24 +02:00
Salvador Díaz Fau
3de53a0376 Update to CEF 81.2.15 2020-04-10 09:49:34 +02:00
Salvador Díaz Fau
846aeddd54 Issue #273 fixed
- Added TFMXChromium.ScreenScale property
2020-04-09 18:43:03 +02:00
Salvador Díaz Fau
c9b2af2a5e Issue #271 is fixed
Removed workaround from TBufferPanel, TFMXBufferPanel and demos.
2020-04-04 10:58:48 +02:00
Salvador Díaz Fau
0bf3156cca Update to CEF 80.1.15 2020-04-04 10:18:30 +02:00
Salvador Díaz Fau
1f912a7d38 Removed double unit declaration in uses section 2020-04-03 18:40:27 +02:00
Salvador Díaz Fau
0b06db2f13 Minor MacOS build fix 2020-04-03 18:30:12 +02:00
Salvador Díaz Fau
c55283acb1 Update to CEF 80.1.14 2020-04-03 17:57:52 +02:00
Salvador Díaz Fau
45db1a3ef9 Update to CEF 80.1.4
- Fixed issue #266
2020-04-02 10:44:53 +02:00
Salvador Díaz Fau
7662b61778 Workaround for issue #271 2020-03-31 12:44:10 +02:00
Salvador Díaz Fau
1984ab16ba Update to CEF 80.1.2
- Added TCEFMediaObserverComponent
- Removed TBufferPanel.OnWrongSize
- Removed TFMXBufferPanel.OnWrongSize
2020-03-29 17:31:42 +02:00
Salvador Díaz Fau
beb287e22c Fix wrong SELECT size with multiple SELECT elements in OSR mode 2020-03-18 18:37:55 +01:00
Salvador Díaz Fau
a397f68a1a Update to CEF 80.0.8
- Added GlobalCEFApp.ForceFieldTrials property.
- Added GlobalCEFApp.ForceFieldTrialParams property.
2020-03-10 11:59:58 +01:00
Salvador Díaz Fau
e1f3fb5ee3 Update to CEF 80.0.5
- Added overloaded ScreenToClient and ClientToScreen functions to TFMXBufferPanel
- Modified TFMXBufferPanel.GetScreenScale to read the current DPI
- Modified FMXExternalPumpBrowser and FMXTabbedOSRBrowser demos to read TFMXBufferPanel.ScreenScale and removed some pointer checks.
2020-03-05 11:15:47 +01:00
Salvador Díaz Fau
f4dd3e69a3 Fix for issue #265 made by Matthias Kretschmar
Added TChromium.AcceptCookies and TChormium.Block3rdPartyCookies
2020-03-04 09:42:32 +01:00
Salvador Díaz Fau
feaeb772cb Update to CEF 80.0.4
- Added GlobalCEFApp.DisableNewBrowserInfoTimeout property
- Removed remaining TCEFSentinel from all the demos.
- Fixed mouse coordinates in FMX demos with OSR browsers before sending a mouse wheel event.
2020-02-26 13:28:29 +01:00
Salvador Díaz Fau
a20752eb53 Update to CEF 79.1.38 2020-02-23 10:10:34 +01:00
Salvador Díaz Fau
e8d2db5b57 Added touch support for Windows 8,8.1,10 to FMXExternalPumpBrowser
- Removed GestureBrowser demo
- Added TBufferPanel.OnWrongSize event
- Added TFMXBufferPanel.OnWrongSize event
- More touch support fixes in SimpleOSRBrowser and KioskOSRBrowser.
2020-02-08 12:59:59 +01:00
Salvador Díaz Fau
75258ea8e7 Fixed GetDigitizerStatus function for older Delphi versions 2020-02-06 10:37:54 +01:00
Salvador Díaz Fau
7a6a008128 Clip drawing area for Firemonkey browsers in OSR mode using TFMXBufferPanel 2020-02-05 18:52:32 +01:00
Salvador Díaz Fau
e9601e4ee3 Fixed touch events in SimpleOSRBrowser and KioskOSRBrowser demo in Windows 7
- TChromium.AcceptLanguageList is now always updated
- Added GetDigitizerStatus and HasTouchOrPen functions to uCEFMiscFunctions
2020-02-05 14:40:22 +01:00
Salvador Díaz Fau
40328b5724 Fixed backwards compatibility issues in Delphi and Linux build issues in Lazarus 2020-02-04 11:50:38 +01:00
Salvador Díaz Fau
99efd21094 Fixed "error 217" in Lazarus with TCEFSentinel
- Removed TCEFSentinel from CookieVisitor and CustomResourceBrowser in Lazarus
2020-02-04 11:04:29 +01:00
Salvador Díaz Fau
dc841d6199 Fix Lazarus/FPC compatibility issues 2020-02-03 16:14:31 +01:00
Salvador Díaz Fau
1ca9ebf179 Added touch and pen support to SimpleOSRBrowser and KioskOSRBrowser demos
- Added TBufferPanel.OnCustomTouch
- Added TBufferPanel.OnPointerDown
- Added TBufferPanel.OnPointerUp
- Added TBufferPanel.OnPointerUpdate
- Added TFMXWindowParent.Touch
- Added TFMXWindowParent.OnGesture
- Removed the gesture manager from the KioskOSRBrowser demo
2020-02-03 12:02:30 +01:00
Salvador Díaz Fau
f324118a56 Added GestureBrowser demo.
- Added TCEFWinControl.Touch and TCEFWinControl.OnGesture to the published section.
2020-02-01 19:14:01 +01:00
Salvador Díaz Fau
23663b10e2 Update to CEF 79.1.36
- Added missing Windows messages to the application service and restored the SendCompMessage function in the FMXExternalPumpBrowser demo.
- Removed TCEFSentinel from the JSEval and JSRTTIExtension demos.
2020-01-30 12:08:50 +01:00
Salvador Díaz Fau
b7a4cdd786 Update to CEF 79.1.35
- Added groups to the demos with a secondary subprocess project
- Added some conditional directives for MacOS (MACOS IS NOT SUPPORTED YET!)
- Removed some Windows dependencies in the FMXExternalPumpBrowser demo
- Added TChromium.ParentFormHandle property
2020-01-28 11:36:34 +01:00
Salvador Díaz Fau
d84d1b4027 Fixed missing "stdcall" in ProcessUnderWow64 declaration 2020-01-18 15:15:41 +01:00
Salvador Díaz Fau
ec244b75d1 Update to CEF 79.1.31
- Fixed an issue with the RETURN key not working in the FMXExternalPumpBrowser demo.
- Moved CEF_SHOWBROWSER constant to the main form unit and removed the DoChildDestroyed procedure in the FMXToolBoxBrowser demo.
- Removed references to the TFMXApplicationService in the SimpleFMXBrowser demo comments.
2020-01-17 11:39:27 +01:00
Salvador Díaz Fau
91a845e42f Update to CEF 79.1.27
- Fixed issue #253 when the FMX demos in normal mode are minimized and restored by clicking directly in the task bar icon.
2020-01-15 18:11:12 +01:00
Salvador Díaz Fau
e93fd29623 Update to CEF 79.1.10
- Added TCEFOAuth2Helper
- Added OAuth2Tester demo
- Added GetDefaultCEFUserAgent function to the uCEFMiscFunctions unit.
2020-01-13 15:39:44 +01:00
Salvador Díaz Fau
c14be37648 Update to CEF 79.1.3 2020-01-07 17:08:37 +01:00
Salvador Díaz Fau
8df34119d3 CefRegisterExtension fix for single process mode made by Michał Jasiński 2020-01-05 15:15:48 +01:00
Salvador Díaz Fau
e53cc7ee5d Added TFMXChromium.TakeSnapshot
- Added TFMXChromium.SaveAsBitmapStream
- Added TChromium.SaveAsBitmapStream
- Fixed bug #253
2020-01-02 20:02:47 +01:00
Salvador Díaz Fau
fd1e936198 Update to CEF 79.0.10
- Removed CEFSentinel from some demos because it's no longer necessary.
- Updated copyright year.
2020-01-01 12:48:10 +01:00
Salvador Díaz Fau
4b585809ed Added GlobalCEFApp.SupportedSchemes
- Added TChromium.UpdateSupportedSchemes
- Added local image selection to the EditorBrowser demo
2019-12-21 12:30:16 +01:00
Salvador Díaz Fau
b57ba15ff6 Linux fixes made by pmamod
- Added 2 Linux demos in Lazarus : SimpleBrowser2 and SimpleOSRBrowser.
2019-12-18 15:10:30 +01:00
Salvador Díaz Fau
c99d14c8f0 Improved zoom handling
- Added TChromium.IncZoomPct procedure to increase the zoom percent value
- Added TChromium.DecZoomPct procedure to decrease the zoom percent value
- Added TChromium.ResetZoomLevel procedure to reset the zoom level value
- Added TChromium.ResetZoomPct procedure to reset the zoom percent value
- Added TChromium.ReadZoom procedure to trigger the TChromium.OnZoomPctAvailable event with the current zoom percent value.
- Added TChromium.OnZoomPctAvailable event.
- Added the new TChromium.OnZoomPctAvailable event to the MiniBrowser demo.
2019-12-10 16:49:07 +01:00
Salvador Díaz Fau
52cf914bbb Added GlobalCEFApp.DisableSiteIsolationTrials property 2019-12-04 11:15:14 +01:00
Salvador Díaz Fau
4231252493 New TChromium.AcceptLanguageList property
- New menu option to set the Accept Language List in MiniBrowser.
- CookieVisitor now blocks some cookies from a custom domain.
2019-12-03 12:12:19 +01:00
Salvador Díaz Fau
4140bed28a Create the resource request handler for new tabs/popups 2019-11-28 17:28:35 +01:00
Salvador Díaz Fau
160d4de7cd Update to CEF 78.3.9
- Issue #230 fixed : Shutdown crashes since CEF 77
- Issue #214 fixed : OSR demos crash when resized since CEF 76
2019-11-27 10:42:42 +01:00
Salvador Díaz Fau
c455886d29 Fixes in string handling and CEF types
- Modified Cefv8Accessor and Cefv8Interceptor helper function declarations.
- Fixed and renamed ICefV8Interceptor parameters.
- Fixed and renamed ICefV8Accessor parameters.
- Modified ICefValue.SetBool parameter.
- Fixed ICefMenuModelDelegate.FormatLabel "label" parameter.
- Modified CefStringClearAndGet parameter.
- Added CefStringInitialize function.
- Fixed string handling in TCefRequestContextRef.SetPreference.
- Fixed string handling in TCefCustomResourceBundleHandler.GetLocalizedString.
- Fixed string handling in TCefResourceHandlerOwn.GetResponseHeaders.
- Fixed string handling in TCefResourceRequestHandlerOwn.OnResourceRedirect.
- Fixed string handling in TCefStringMapOwn.
- Fixed string handling in TCefStringMultimapOwn.
- Fixed and renamed ICefv8Handler.Execute parameters.
- Adapted JSWindowBindingWithObject demo to new Cefv8Accessor declaration.
2019-11-24 18:19:49 +01:00
Salvador Díaz Fau
e5c2d4cc99 Update to CEF 78.3.4
More fixes in the CEF API types
2019-11-20 10:45:46 +01:00
Salvador Díaz Fau
956eea99bc New ToolBoxSubProcessBrowser demo
- Minor corrections in CEF API types
2019-11-19 12:44:29 +01:00
Andreas Hausladen
688969bcd7 Fixes #198: Setting the HwndParent for the Chrome_WidgetWin_0 window makes the popupmenu to close if the user clicks somewhere else. 2019-11-11 21:22:39 +01:00
Salvador Díaz Fau
b9e22bd870 Adapted ConsoleBrowser and DLLBrowser to use uCEFApplicationCore
- Added more comments to TChromiumCore.VisitAllCookies and TChromiumCore.VisitURLCookies
2019-11-11 11:38:01 +01:00
Andreas Hausladen
eb0d04f1b5 FPC compatibility with all missing MSWINDOWS features (Drag&Drop, OnBrowserCompMsg/OnWidgetCompMsg/OnRenderCompMsg) that VCL/FMX already had
Some Linux support (compiles and can load the libcef.so but still crashes when calling CreateBrowser)
2019-11-10 21:41:13 +01:00
Andreas Hausladen
d897a1d815 Combine CEFChromium common code 2019-11-10 00:34:02 +01:00
Andreas Hausladen
4cdb8207c6 uCEFApplicationCore is a VCL-free implementation (no Controls/Forms units, no Application object).
The old uCEFApplication.pas is renamed to uCEFApplicationCore.pas and a new uCEFApplication.pas is created that only contains the Controls/Forms unit related code and is backward compatible to existing code.

This allows the creation of a SubProcess executable that doesn't initialize the VCL with all its problems (GlobalAtom leak in Delphi 6-XE, Application.Handle, OleInitialize and other unnecessary init-code).

ujCEFMiscFunctions.GefCursorToWindowsCursor is renamed to >>C<<efCursorToWindowsCursor and moved to uCEFApplication.pas to prevent the inclusion of the Controls unit in Delphi 7-XE.
2019-11-09 15:57:29 +01:00
Salvador Díaz Fau
8edf03c7c4
Merge pull request #239 from ahausladen/FixCompWndProc
Fixed #130: MiniBrowser demo only shows the mouse coordinates in the first webpage
2019-11-09 15:50:09 +01:00
Andreas Hausladen
a4945a236f Fixed #130: If the RenderCompHWND has changed the original WndProc of the old window if it still exists must be restored and the new window must be subclassed. 2019-11-09 14:40:17 +01:00
Andreas Hausladen
b9b25a9af1 Fix "Invalid COM thread model change" with Debug-DLLs for FMX 2019-11-09 12:53:13 +01:00
Salvador Díaz Fau
d950813081 Updated internal version after several merges
- Removed BOM mark in uChromium.pas
2019-11-09 09:44:24 +01:00
Salvador Díaz Fau
7496c5e67c
Merge pull request #235 from ahausladen/FixSubProcessCOMThreadModel
Fixes #234 "Invalid COM thread model change" with Debug-DLLs
2019-11-09 09:36:47 +01:00
Salvador Díaz Fau
56a11607f3
Merge pull request #236 from ahausladen/FixAnsiStringWarnings
Fix AnsiStrings warnings in Delphi 2009-XE3
2019-11-09 09:24:17 +01:00
Andreas Hausladen
3e9c5c4017 Fix ProcessType parameter parsing.
ParamStr() uses 0..ParamCount where 0 is the executable filename, 1 is the first and ParamCount is the last parameter.
2019-11-08 23:32:00 +01:00
Andreas Hausladen
9f70845bb1 Fix AnsiStrings warnings in Delphi 2009-XE3 2019-11-08 22:12:45 +01:00
Andreas Hausladen
af9869319c Undo TApplication.Create's OleInitialize in the sub-processes to prevent the Debug-DLLs from failing with an "Invalid COM thread model change" assertion.
Added optional TCefApplication.DestroyApplicationObject:Boolean property that causes the VCL's Application object to be destroyed. This will undo all the code from TApplication.Create. The Default value is "False" because if user code accesses the Application object in a sub-process it will cause NullReferenceExceptions.
2019-11-08 20:54:11 +01:00
Salvador Díaz Fau
427059dd9a Added TChromium.OnCookieVisitorDestroyed
- Removed TChromium.OnGetResourceRequestHandler
- Added TChromium.OnGetResourceRequestHandler_ReqHdlr
- Added TChromium.OnGetResourceRequestHandler_ReqCtxHdlr
- Modified the CookieVisitor demo to use TChromium.OnCookieVisitorDestroyed
2019-11-08 14:32:03 +01:00
Salvador Díaz Fau
aec9e6b922 Use SYSTEM proxy settings as default 2019-11-07 14:36:20 +01:00
Andreas Hausladen
16096d9f30 Use SYSTEM proxy settings as default 2019-11-07 13:36:07 +01:00
Salvador Díaz Fau
172e7ba9e4 Update to CEF 78.3.1
- Added TChromium.LoadString using a DATA URL
- Added TChromium.LoadResource using a DATA URL
2019-11-07 11:01:25 +01:00
Salvador Díaz Fau
f180972f22 Update to CEF 78.2.14 2019-11-06 11:18:33 +01:00
Salvador Díaz Fau
3c54f655db Update to CEF 78.2.10
- CustomTitleBar demo moved to the Javascript directory
- Fixed issue #189
2019-11-03 11:17:09 +01:00
Salvador Díaz Fau
f0106c20d7 Update to CEF 78.2.9 2019-10-30 10:26:48 +01:00
Salvador Díaz Fau
2fe89069a4 Added all TCefCookieManager functions to TChromium
- Added TChromium.VisitAllCookies
- Added TChromium.VisitURLCookies
- Added TChromium.SetCookie
- Added TChromium.OnCookiesVisited
- Added TChromium.OnCookieSet
- Removed unused constants.
- CookieVisitor demo adapted to the new TChromium functions and events.
2019-10-29 16:13:35 +01:00
Salvador Díaz Fau
d8ea60d8fd Added GlobalCEFApp.DisableReadingFromCanvas
Added GlobalCEFApp.HyperlinkAuditing
2019-10-28 09:56:15 +01:00
Salvador Díaz Fau
2f63378da4 Added a warning about using CEF4Delphi events to modify Windows controls 2019-10-21 11:17:47 +02:00
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
b218368d91 Removed unused TChromium.CookiePrefs and TChromium.ImagesPrefs properties
Reorder the TCefApplication properties and added more comments
2019-10-15 18:09:22 +02:00
Salvador Díaz Fau
ac75b5ba14
Merge branch 'master' into beta 2019-10-15 11:29:09 +02:00
Salvador Díaz Fau
4756bd864a Update to CEF 77.1.14 2019-10-15 11:22:42 +02:00
Salvador Díaz Fau
4d994de2e9 Fixed the CustomResourceHandler demo
- Added TCEFSentinel to more demos
2019-10-14 15:39:27 +02:00
Salvador Díaz Fau
77121dc510 Added TCEFSentinel to more demos
- Check that all frames are valid before using them
- Added an error page to MiniBrowser.
2019-10-13 18:50:23 +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
096b2c9a4b Added TCEFSentinel component
- Added TCEFSentinel to MiniBrowser, TabbedBrowser, ToolBoxBrowser and SimpleBrowser2.
2019-10-09 12:24:47 +02:00
Salvador Díaz Fau
213162cef5 Default TFMXChromium.PrintingEnabled value set to True 2019-10-08 15:17:37 +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
00552ef117 Added TChromium.SafeSearch and TChromium.YouTubeRestrict 2019-10-06 22:30:36 +02:00
Salvador Díaz Fau
29f5f3475d Update to CEF 77.1.11 2019-10-05 09:53:21 +02:00
Salvador Díaz Fau
594ed4a1c2 Fixed CookieAccessFilter events not being triggered 2019-10-04 16:58:42 +02:00
Salvador Díaz Fau
567af390ef Fixed CookieAccessFilter events not being triggered in TFMXChromium 2019-10-04 16:54:34 +02:00
Salvador Díaz Fau
7b82de6abe Fixed CookieAccessFilter events not being triggered
Fixed SimpleServer demo to call the updated ICefPostData function names
2019-10-04 16:49:53 +02:00
Salvador Díaz Fau
33213f25e4 Update to CEF 77.1.8 2019-10-04 15:13:24 +02:00
Salvador Díaz Fau
ed327ed479 Update to CEF 77.1.7 2019-10-03 12:25:40 +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
7ab6b9e9c6 Fixed PathIsUNCA and PathIsURLA declarations 2019-09-23 12:01:39 +02:00
Salvador Díaz Fau
8ec0801777 CustomAbsolutePath canonicalizes relative and absolute paths now.
Added CustomPathIsURL and CustomPathIsUNC functions
Added checks in CustomPathCanonicalize to avoid buffer overruns and unsupported paths.
2019-09-23 11:42:20 +02:00