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