Commit Graph

515 Commits

Author SHA1 Message Date
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
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
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
09685f56e1 Fixed crash with relative paths that have ".."
Fixed compilation bug in Delphi 7
2019-09-21 11:37:13 +02:00
Salvador Díaz Fau
5e5b775608 Removed all code comments about the GlobalCEFApp.cookies property and a separate cookies directory 2019-09-19 14:14:03 +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
8b948745ef Improved debug info in JS extension demos
Removed mutation observer from the JSRTTIExtension demo
2019-09-12 11:40:52 +02:00
Salvador Díaz Fau
f6973112aa Added JSWindowBindingWithArrayBuffer demo 2019-09-10 13:09:14 +02:00
Salvador Díaz Fau
be14dc6f33 Update to CEF 76.1.13
Added more code comments to the JSExtension demo
2019-08-31 17:17:55 +02:00
Salvador Díaz Fau
2507e0730b Fixed min, max and default value of TChromium.MaxConnectionsPerProxy 2019-08-29 12:52:11 +02:00
Salvador Díaz Fau
72ebe76989 Update to CEF 76.1.11
Added TChromium.MaxConnectionsPerProxy
2019-08-29 12:28:13 +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
24d3d5b672 Disabling some features to improve stability in the VCL SimpleBrowser and SimpleBrowser2 demos 2019-08-02 10:58:50 +02:00
Salvador Díaz Fau
a189468639 Update to CEF 76.1.5 2019-08-01 18:20:42 +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
0e08d66a1f Fixed issue #202
- Updated the OnBeforeClose event in all demos using TChromiumWindow to send a WM_CLOSE message instead of calling "close".
- Fixed all MDI demos. Now the demo will not close automatically when the last browser is closed manually.
2019-07-10 14:31:45 +02:00
Salvador Díaz Fau
5d36c422eb Update to CEF 75.0.13 2019-07-04 10:03:43 +02:00
Salvador Díaz Fau
6ad2c32243 Update to CEF 75.0.11 2019-06-20 10:41:45 +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
22f4a1d6d8 Fix #188
Set all "ShowCaption" properties to the default value for backwards compatibility
2019-05-23 11:36:33 +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
8e084c205f Fixed TChromium.OnClose event declaration in JSRTTIExtension demo 2019-05-16 16:56:05 +02:00
Salvador Díaz Fau
2173c94bf0 SchemeRegistrationBrowser demo improvements
- Added a local JavaScript file to show an alert dialog
- Added more comments to the demo.
2019-05-12 10:50:27 +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
jepp
0d0912f125
GlobalCEFApp_OnWebKitInitializedEvent for D2007-
For Delphi 2007 and lower, the definition of TCefApplication.OnWebKitInitialized is a "procedure of object." The existing demo code uses a non-method procedure, which is only compatible with the definition of "reference to procedure" used for the Delphi 2009 conditional.
2019-05-10 16:54:26 -05:00
Salvador Díaz Fau
6f3920a052 Update to CEF 73.1.13 2019-04-21 11:10:39 +02:00
Salvador Díaz Fau
dbc4900358 Fix #119 : All units in the source folder start with "uCEF"
- Fixed TCustomAudioHandler creation in uCEFClient.pas
- Fixed "title" parsing in uCEFDragAndDropMgr.pas
2019-04-04 10:26:44 +02:00
Salvador Díaz Fau
0ae96d07d5 TChromium.OnClose parameter changed
- Fixed initialization issue in FMXExternalPumpBrowser
2019-03-28 10:40:36 +01:00
SchneiderInfosystems
c693aa506e Prevent Memory Leak of one TCriticalSection object 2019-03-27 18:36:18 +01:00
Salvador Díaz Fau
745026375f Added context menu option to mute/unmute the audio in the MiniBrowser demo 2019-03-24 10:59:39 +01:00
Salvador Díaz Fau
32c4ed2eb0 Updated comments in Subprocess demo
Added more info to the Lazarus package
2019-03-22 17:23:20 +01:00
Salvador Díaz Fau
4682fe3a19 Update to CEF 73.1.12
- Added context menu option in JSDemo to get the vertical scroll position.
- Now TChromium uses the same keyboard events for the browser and the DevTools.
- Fixed a MiniBrowser issue with the F12 keyboard shortcut. Now you can press F12 to hide and show the DevTools correctly.
2019-03-22 13:12:44 +01:00
Salvador Díaz Fau
2ed976d906 Fix for duplicated resources in FMX apps made by SchneiderInfosystems
- The FMX demos now load the initial web page using the TFMXChromium.DefaultUrl property.
- Added the $(FrameworkType) conditional define to all the FMX demos.
- Added the $(FrameworkType) conditional define to the CEF4Delphi_FMX project.
2019-03-20 15:56:14 +01: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
0172c6e1e3 Fix FMX demos compilation failures with Delphi 10 Seattle and XE7 2019-03-06 15:08:17 +01:00
Alexey Shumkin
84e34fea3f
fixed: SimpleFMXBrowser: compilation failure with Delphi XE7
IFXMApplicationService has GetVersionString method since XE8 only.
2019-03-06 16:45:47 +03:00
Alexey Shumkin
def9ab8a83
fixed: SimpleFMXBrowser: compilation failure with Delphi 10 Seattle
TCommonCustomForm.SetBounds(TRect) overloaded method is since Delphi
10.1 Berlin.
2019-03-06 16:45:07 +03:00
Salvador Díaz Fau
b3213a1052 Update to CEF 3.3626.1891.g52be333
- Added transparency support to TBufferPanel.
- Added TBufferPanel.Transparent property
- Added TBufferPanel.OnPaintParentBkg event
- Added the TRANSPARENT_BROWSER constant in SimpleOSRBrowser to enable transparency
2019-02-20 12:44:07 +01:00
Salvador Díaz Fau
45545152d0 New ToolBoxLazBrowser demo 2019-02-12 08:19:00 +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
f2e452c02e Update to CEF 3.3578.1867.g0f6d65a
- Removed obsolete properties in TCefApplication
- TabbedBrowser demo now closes when there are no tabs
2019-01-29 10:16:58 +01:00
Salvador Díaz Fau
9e12b2258b Bug fix #154
Fixed an issue in SchemeRegistrationBrowser with big streams. Now THelloScheme.ReadResponse copies the stream in chunks correctly.
2019-01-17 14:53:02 +01:00
Salvador Díaz Fau
a8c44bd87b Update to CEF 3.3578.1863.gbf8cff2
- Removed obsolete "Result" parameter in all OSR demos.
- Added more code comments to ResponseFilterBrowser.
- Now ResponseFilterBrowser modifies the HTTP request to receive uncompressed resources.
- Updated compiler properties in Delphinus.Install.json
2019-01-13 12:17:52 +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
665a578001 Added Delphi 10.3 Rio support
Added ComponentPlatformsAttribute to all the components to provide platform-specific run-time information.
2018-12-09 11:11:59 +01:00
Salvador Díaz Fau
f7ffd5c4c9 Fixed mime type in DATA URL 2018-11-28 11:53:54 +01:00
Salvador Díaz Fau
a06523287c Added WebSockets events and instructions to SimpleServer 2018-11-25 18:59:41 +01:00
Salvador Díaz Fau
7e7f0cbe8f Enable the timer in SimpleLazarusBrowser 2018-11-19 09:59:29 +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
c57b66c402 Added the PostInspectorBrowser demo 2018-10-28 12:52:14 +01:00
Salvador Díaz Fau
87e0dcbd84 Added missing cef.inc in the ConsoloeBrowser demo 2018-10-25 19:46:24 +02:00
Salvador Díaz Fau
b57d11d6ce New ConsoleBrowser demo 2018-10-25 19:09:24 +02:00
Salvador Díaz Fau
139f1dded2 Added memory information properties to GlobalCEFApp 2018-10-25 12:50:01 +02:00
Salvador Díaz Fau
b5920d1aac Added SetCookie example to the CookieVisitor demo 2018-10-21 20:32:35 +02:00
Salvador Díaz Fau
b2db728cbf Update to CEF 3.3497.1841.g7f37a0a 2018-10-20 14:46:24 +02:00
Salvador Díaz Fau
a151f8d639 Update to CEF 3.3497.1840.gcd24143
- Added process information in the log file when you compile in DEBUG mode.
- Now TCefApplication checks if the subprocess executable is present.
2018-10-12 12:21:43 +02:00
Salvador Díaz Fau
4d3f1b0b8b Added MutatioObserver option to the JSRTTIExtension demo 2018-10-04 09:40:14 +02:00
Salvador Díaz Fau
0a4ae46c0d Update to CEF 3.3497.1836.gb472a8d 2018-10-03 13:08:23 +02:00
Salvador Díaz Fau
0cf7c5f6b3 Update to CEF 3.3497.1829.g004ef91
- Added the TCEFLinkedWindowParent component.
2018-09-16 10:39:41 +02:00
Salvador Díaz Fau
7e270aa8ca Update to CEF 3.3497.1827.ga4f7e36
- Added option to load PDF files in the MiniBrowser demo.
- Now the ResponseFilterBrowser replaces the logo with an external PNG file.
2018-09-07 11:53:31 +02:00
Salvador Díaz Fau
37518b318e KioskOSRBrowser : detect HTML5 INPUT types 2018-08-21 10:55:01 +02:00
Salvador Díaz Fau
7a7225773f KioskOSRBrowser : removed unused AfterCreated event 2018-08-21 08:54:02 +02:00
Salvador Díaz Fau
d3f41977b5 KioskOSRBrowser improvements and fixes
- Removed browser controls like the address bar, snapshot button, etc.
- Added a context menu option to close the app.
- Fixed the node detection. Input elements have a 'text' type by default.
- Added more code comments.
2018-08-21 08:50:02 +02:00
Salvador Díaz Fau
9ac1270ffd New KioskOSRBrowser demo 2018-08-20 18:39:43 +02:00
Salvador Díaz Fau
5243ce887e Fixed D2010 issues with missing TEncoding types. 2018-08-20 14:56:14 +02:00
Salvador Díaz Fau
17a3b8e61c Added option to replace a resource in ResponseFilterBrowser
- Added more comments to ResponseFilterBrowser
2018-08-09 09:59:43 +02:00
Salvador Díaz Fau
a6d948a5c4 Added more comments to ResponseFilterBrowser and fixed a couple of bugs
- Move unit in the "uses" section.
- Return RESPONSE_FILTER_DONE when all data has been written.
2018-08-07 17:03:13 +02:00
Salvador Díaz Fau
61ff40bd9d Added a touch keyboard to SimpleOSRBrowser 2018-07-29 10:58:26 +02:00
Salvador Díaz Fau
5e5d0dcb74 TCefFileDialogMode and TCefDuplexMode defined as constants
- Added more parameter checks in CefRegisterExtension
- Minor change registering the extension in JSExtension demo. The TempHandler reference is valid until it reaches the "finally".
2018-07-24 18:18:54 +02:00
Salvador Díaz Fau
b52736b43f Added FMXToolBoxBrowser demo 2018-07-22 11:12:41 +02:00
Salvador Díaz Fau
144f0268b3 added missing stdcall directive 2018-07-06 17:33:59 +02:00
Salvador Díaz Fau
665602e6c7 Update to CEF 3.3396.1783.g1856231
- Added the DLLBrowser demo.
2018-07-06 16:23:36 +02:00
Salvador Díaz Fau
55aa9965df Added more comments to JSExtension
- MiniBrowser shows the name of the loaded frames.
- Fixed MiniBrowser Chromium1TextResultAvailable declaration.
2018-06-27 10:17:34 +02:00
Salvador Díaz Fau
5f82e1ace3 Added more code comments to the JSExtension demo 2018-06-25 13:56:23 +02:00
Salvador Díaz Fau
f05fbdc8ce Added TBufferPanel.OnUTF8KeyPress event for Lazarus
- Bug fix #120
2018-06-18 21:57:18 +02:00
Salvador Díaz Fau
09161b19e1 The SubProcess demo now uses an external unit to create and destroy GlobalCEFApp 2018-06-18 17:01:44 +02:00
Salvador Díaz Fau
bf402109bf Added GlobalCEFApp.DisablePDFExtension property
- Bug fix #89
- New SimpleLazOSRBrowser demo
2018-06-17 14:18:11 +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
b636a5930e Missing FFilterInit initialization 2018-05-27 11:43:54 +02:00
Salvador Díaz Fau
73f9318839 ResponseFilterBrowser enhancements and fixes
- Added a statusbar to show then Content-Length HTTP header information, the raw stream size and the decoded string size.
- Fixed some synchronization bugs.
2018-05-27 11:13:01 +02:00
Salvador Díaz Fau
ee61ac3c7b ResponseFilterBrowser now downloads the resource 1 time after the user clicks the GO button 2018-05-25 14:40:49 +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
wqmeng
563729a675 Force Unicode data stream to be received until the complete file to avoid copying part chain stream Msg. As a part chain stream will get encoding problem when convert the Raw string to a valid Unicode character. 2018-05-24 23:40:49 +08: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
d4dd717f51 Added a new option to the DOMVisitor context menu and new option to the config button to the MiniBrowser demo
- The DOMVisitor demo now has a context menu option to copy the HTML inside the body element to the clipboard.
- The MiniBrowser demo now has a config button option to load local HTML files using a DATA url.
2018-04-27 17:42:03 +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
d230010fa9 Update to CEF 3.3325.1758.g9aea513 and new SimpleFMXBrowser demo 2018-04-18 10:25:38 +02:00
Salvador Díaz Fau
e658ff6c92 New PopupBrowser2 demo 2018-04-08 21:35:21 +02:00
Salvador Díaz Fau
62580730d2 Added GlobalCEFWorkScheduler and GlobalFMXWorkScheduler global variables 2018-04-07 20:24:55 +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
665957e132 The JSExtensionWithFunction demo now sends a text message back to the main process 2018-03-21 11:21:41 +01:00
Salvador Díaz Fau
15581a9c06 Update to CEF 3.3325.1749.ga42963a 2018-03-17 11:12:03 +01: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
4155f11128 OSR : MouseDown must handle the event regardless of the shift state 2018-02-25 16:57:03 +01:00
Salvador Díaz Fau
f1765f7288 Bug fix #93 2018-02-25 16:27:53 +01:00
Salvador Díaz Fau
b87bbb9a54 Bug fix #92 2018-02-25 15:35:09 +01:00
Salvador Díaz Fau
3f94588897 Bug fix #92 2018-02-25 13:10:21 +01:00
Salvador Díaz Fau
8998f43f36 Added more comments with instructions to test the SubProcess demo 2018-02-24 10:02:48 +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
6ec75477ef New PopupBrowser demo 2018-02-18 21:22:10 +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
961e90bfbe Update to CEF 3.3282.1733.g9091548 2018-02-13 20:16:24 +01:00
Salvador Díaz Fau
ace189d104 ResponseFilterBrowser demo now also uses OnResourceLoadComplete to check if the resource is complete 2018-02-08 10:49:06 +01:00
Salvador Díaz Fau
0b72a3e446 Fixed backwards compatibility issue in uCEFWorkScheduler
Added more checks and comments in ResponseFilterBrowser in case the server doesn't send a Content-Length header
2018-02-07 14:30:44 +01:00
Salvador Díaz Fau
d998a912b0 ResponseFilterBrowser : reset vars after using the stream contents 2018-02-07 11:20:38 +01:00
Salvador Díaz Fau
fe2b80f3a0 ResponseFilterBrowser demo : added resource size control 2018-02-07 10:36:11 +01:00
Salvador Díaz Fau
552bc75aab Bug fix : used wrong variable for data size
- Used data_in_read instead of data_in_size before the move command.
- Added more checks before wirtting to the buffer and stream.
2018-02-07 10:02:24 +01:00
Salvador Díaz Fau
dc24988ff0 Update to CEF 3.3282.1731.gfc9a4fa
The latest CEF4Delphi version declares the LOGSEVERITY_* values as constants.
2018-02-06 12:42:38 +01:00
Salvador Díaz Fau
51ffa49b7c The ResponseFilterBrowser demo now supports multiple data chunks 2018-02-04 11:50:14 +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
fed1c04a3f SimpleOSRBrowser now shows tooltips 2018-02-01 18:57:54 +01:00
Salvador Díaz Fau
fad77c99ea MiniBrowser : Added a context menu option to inspect the response/request headers 2018-01-31 18:52:34 +01:00
Salvador Díaz Fau
8da85dd1a8 DOMVisitor demo now adds the selected text to the debug.log file when you click the "Visit DOM" button. 2018-01-31 16:23:32 +01:00
Salvador Díaz Fau
75cee6e6d8 Fixed resize issue in the FMXExternalPumpBrowser demo
- Added a button to FMXExternalPumpBrowser to take a snapshot.
- Removed unused constant
- Added more comments to MDIBrowser demo
2018-01-27 10:40:10 +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
45b4965cb8 deleted unused variables 2018-01-21 10:18:09 +01:00
Salvador Díaz Fau
330fd18397 SchemeRegistrationBrowser demo now can load local files 2018-01-21 09:48:43 +01:00
Salvador Díaz Fau
374b48e45b Added a 'Visit DOM' button to the DOMVisitor demo 2018-01-15 10:02:38 +01:00
Salvador Díaz Fau
bb1452d854 New SimpleBrowser2 demo 2018-01-08 16:22:54 +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
227dafc55c Added TChromium.ProxyScheme property 2017-12-30 15:42:29 +01:00
Salvador Díaz Fau
a334640b24 Update to CEF 3.3239.1716.g735b746
- Added a HTTP, SOCKS4 and SOCKS5 combobox to the proxy preferences in the MiniBrowser.
- Added more comments to DOMVisitor.
2017-12-30 09:54:26 +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
f871755249 TabBrowser and ToolBoxBrowser demos : Added CEF initialization checks before enabling the GUI 2017-12-14 12:09:13 +01:00
Salvador Díaz Fau
afa069b776 Update to CEF 3.3202.1694.gf061c23
- fixed MDIBrowser demo and added some crude initialization checks
2017-12-14 10:31:24 +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
47765631e3 Buffer panel resize fixes for SimpleOSRBrowser 2017-11-19 11:30:26 +01:00
Salvador Díaz Fau
ac54a086f4 Update to CEF 3.3202.1684.gd665578
- Removed the Graphics32 dependency in SimpleOSRBrowser demo. Now this demo uses a custom component called TBufferPanel included in CEF4Delphi.
- Now SimpleOSRBrowser demo draws the "select" elements.
- Fixed a bug in SimpleOSRBrowser with high DPI monitors. The new paint function works with all client sizes.
2017-11-16 12:49:15 +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
b64cc746ab Added simple downloading functions and events to MiniBrowser demo. 2017-11-06 13:19:40 +01:00
Salvador Díaz Fau
d138e98ecb Added timers to create the browsers only when GlobalCEFApp.GlobalContextInitialized is TRUE 2017-11-04 18:32:29 +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
8becf848e9 Update to CEF 3.3202.1677.gd04a869 2017-11-01 09:38:38 +01:00
Salvador Díaz Fau
453c3065d7 OSR demo : TChromium.WasHidden(False) must be in TForm.OnShow 2017-10-29 17:18:27 +01:00
Salvador Díaz Fau
410c16b0bb OSR demo : TChromium.CreateBrowser moved to TForm.OnShow 2017-10-29 17:10:33 +01:00
Salvador Díaz Fau
0e705a3aa2 Added a crash_reporter.cfg and a SimpleBrowser to the SubProcess demo 2017-10-19 12:11:47 +02:00
Salvador Díaz Fau
bd0de4a775 Deleted unused files
- Bug fix #56 : Deleted unused files.
- Created the source\dcu directory for the Delphi 7 project .
2017-10-10 09:25:01 +02:00
Salvador Díaz Fau
92f683662c Added more comments in the SimpleBrowser demo 2017-10-05 10:35:27 +02:00
Salvador Díaz Fau
5790d86fbf Bug fix #37
Initialization fix
2017-10-03 14:38:37 +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
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
9656a1323f clearer comments, fixed uses clause and minor change in Chromium_OnAddressChange 2017-09-23 12:35:36 +02:00
Salvador Díaz Fau
df5dce37fc Update to CEF 3.3163.1669.ge260cbb and new demo 2017-09-23 11:38:29 +02:00
Salvador Díaz Fau
3a83a13639 Bug fix #53 2017-09-08 17:27:05 +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 Díaz Fau
f3c1619d97 Update to CEF 3.3112.1657.g2c22842 2017-08-29 13:59:11 +02:00
Salvador Díaz Fau
13c427fc24 Extra UpdateSize call
- Added an extra call to TCEFWindowParent.UpdateSize to the demos when the browser is fully created.

- Also added a fix for Delphi 10.2 compatibility in the SchemeRegistrationBrowser.
2017-08-23 12:28:45 +02:00
Salvador Díaz Fau
e2a597ec81 Old event types deleted 2017-08-23 10:13:48 +02:00
Salvador Díaz Fau
4d29ecd428 Updated parameter name 2017-08-23 09:54:17 +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
Salvador Díaz Fau
a88659617f CookieVisitor demo 2017-08-19 12:53:47 +02:00
Salvador Diaz Fau
b349625e09 Geolocation demo 2017-08-12 20:30:34 +02:00
Salvador Diaz Fau
e25672e6b5 Update to CEF 3.3112.1656.g9ec3e42 and new demos 2017-08-12 16:23:03 +02:00
Salvador Diaz Fau
cf1b0f0aab Update to CEF 3.3112.1655.gd97fbff 2017-08-10 20:27:10 +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
1a73a1453e Added a separate JavaScript Extension demo for clarity 2017-07-25 22:50:34 +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
d54ab43b04 Bug fix #43 : backwards compatibility 2017-07-19 12:12:08 +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
9959b4b1e8 Update to CEF 3.3071.1647.gc8067b3 2017-07-12 17:00:34 +02:00
Salvador Diaz Fau
37b6ef8a04 bugfixes #35, #36 2017-07-02 13:17:47 +02:00
Salvador Diaz Fau
20c8f8db40 Update to CEF 3.3071.1645.gf54b5cd and new demo 2017-07-01 13:05:46 +02:00
Salvador Diaz Fau
4449d0505f Revert "Update to CEF 3.3071.1644.g408afd1 and new demo"
This reverts commit 7ac07f7a0f8c83ad44b621e79b3aa0251cb31068.
2017-07-01 13:05:45 +02:00
Salvador Diaz Fau
b80c4a6482 Update to CEF 3.3071.1644.g408afd1 and new demo
Update to CEF 3.3071.1644.g408afd1
New custom resource browser demo
2017-07-01 13:05:44 +02:00
Salvador Diaz Fau
b13e735ed6 Added a simple node search in MiniBrowser 2017-06-28 10:18:15 +02:00
Salvador Diaz Fau
afffdaab2f Update to CEF 3.3071.1643.ga83b8e9 2017-06-22 11:51:15 +02:00
Salvador Diaz Fau
387f67249b Added a simple DOM iteration to the MniBrowser demo 2017-06-17 09:19:18 +02:00
Salvador Diaz Fau
967b041bb1 MiniBrowser with open file menu option and certificate chain fix 2017-06-13 19:12:40 +02:00
Salvador Diaz Fau
062c045fa2 Complete inherited commands for backward compatibility 2017-06-11 20:36:14 +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
688ab57bcc Added a full screen demo 2017-05-21 19:38:32 +02:00
Salvador Diaz Fau
fbefae8e34 Added a Toolbox browser demo 2017-05-21 17:41:10 +02:00
Salvador Diaz Fau
db58c92e61 Added keyboard shortcut to show/hide the developer tools 2017-05-20 19:20:38 +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
ca993f6003 Update to CEF 3.3029.1604.g364cd86
Update to CEF 3.3029.1604.g364cd86 / Chromium 58.0.3029.81
Bug fix for Delphi 10.2
Now the binaries are fully movable
2017-04-26 15:45:41 +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
f912c6d5ec Bug fix : Render process crash with large images 2017-04-15 18:19:22 +02:00
Salvador Diaz Fau
4cd1b896ad Update to CEF 3.2987.1601.gf035232 2017-04-12 09:43:25 +02:00
Salvador Diaz Fau
5e94c5f158 Update to CEF 3.2987.1599.g495fb8c 2017-04-06 10:07:06 +02:00
Salvador Diaz Fau
5fb7bfdcb7 More TCEFApplication properties and TChromium virtual procedures 2017-04-03 09:10:15 +02:00
Salvador Diaz Fau
8762ec1e7f Update to CEF 3.2987.1596.gc2b4638 and simplebrowser project for Delphi 7 2017-03-27 09:00:47 +02:00
Salvador Diaz Fau
5c484b5658 Conditional compilation for Delphi 2007 in DPR 2017-03-26 22:43:46 +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
2d9d4af78e Conditional compilation for older delphi versions 2017-03-15 15:00:07 +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
b35837585c missing cef.inc in demos 2017-02-26 16:47:09 +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
8d3316ba80 Preliminary Delphi7 support, CommandLine with values, Custom libcef.dll path 2017-02-14 11:01:16 +01:00
Salvador Diaz Fau
bde555ddfa Command line switch example.
Uncomment the line in the DPR file to see an FPS counter in the browser
2017-02-13 15:54:27 +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
98b8762ba7 SimpleBrowser demos 2017-01-27 18:14:48 +01:00
Salvador Diaz Fau
9f5e5fe06f Subprocess demo 2017-01-27 17:59:15 +01:00
Salvador Diaz Fau
21dcc60a24 reorganization of folders 2017-01-27 17:29:37 +01:00
Salvador Diaz Fau
18dd05505c demos 2017-01-27 16:46:07 +01:00