You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-08-04 21:32:54 +02:00
Update to CEF 91.1.17
Remove unnecessary workarounds in the FMX demo for MacOS
This commit is contained in:
16
README.md
16
README.md
@ -3,15 +3,15 @@ CEF4Delphi is an open source project created by Salvador Díaz Fau to embed Chro
|
|||||||
|
|
||||||
CEF4Delphi is based on DCEF3 and fpCEF3. The original license of those projects still applies to CEF4Delphi. Read the license terms in the first lines of any *.pas file.
|
CEF4Delphi is based on DCEF3 and fpCEF3. The original license of those projects still applies to CEF4Delphi. Read the license terms in the first lines of any *.pas file.
|
||||||
|
|
||||||
CEF4Delphi uses CEF 91.1.16 which includes Chromium 91.0.4472.101.
|
CEF4Delphi uses CEF 91.1.17 which includes Chromium 91.0.4472.101.
|
||||||
The CEF binaries used by CEF4Delphi are available for download at spotify :
|
The CEF binaries used by CEF4Delphi are available for download at spotify :
|
||||||
* [Windows 32 bits](https://cef-builds.spotifycdn.com/cef_binary_91.1.16%2Bgc95b2a1%2Bchromium-91.0.4472.101_windows32.tar.bz2)
|
* [Windows 32 bits](https://cef-builds.spotifycdn.com/cef_binary_91.1.17%2Bg1845583%2Bchromium-91.0.4472.101_windows32.tar.bz2)
|
||||||
* [Windows 64 bits](https://cef-builds.spotifycdn.com/cef_binary_91.1.16%2Bgc95b2a1%2Bchromium-91.0.4472.101_windows64.tar.bz2)
|
* [Windows 64 bits](https://cef-builds.spotifycdn.com/cef_binary_91.1.17%2Bg1845583%2Bchromium-91.0.4472.101_windows64.tar.bz2)
|
||||||
* [Linux x86 32 bits](https://cef-builds.spotifycdn.com/cef_binary_91.1.16%2Bgc95b2a1%2Bchromium-91.0.4472.101_linux32.tar.bz2)
|
* [Linux x86 32 bits](https://cef-builds.spotifycdn.com/cef_binary_91.1.17%2Bg1845583%2Bchromium-91.0.4472.101_linux32.tar.bz2)
|
||||||
* [Linux x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_91.1.16%2Bgc95b2a1%2Bchromium-91.0.4472.101_linux64.tar.bz2)
|
* [Linux x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_91.1.17%2Bg1845583%2Bchromium-91.0.4472.101_linux64.tar.bz2)
|
||||||
* [Linux ARM 32 bits](https://cef-builds.spotifycdn.com/cef_binary_91.1.16%2Bgc95b2a1%2Bchromium-91.0.4472.101_linuxarm.tar.bz2)
|
* [Linux ARM 32 bits](https://cef-builds.spotifycdn.com/cef_binary_91.1.17%2Bg1845583%2Bchromium-91.0.4472.101_linuxarm.tar.bz2)
|
||||||
* [Linux ARM 64 bits](https://cef-builds.spotifycdn.com/cef_binary_91.1.16%2Bgc95b2a1%2Bchromium-91.0.4472.101_linuxarm64.tar.bz2)
|
* [Linux ARM 64 bits](https://cef-builds.spotifycdn.com/cef_binary_91.1.17%2Bg1845583%2Bchromium-91.0.4472.101_linuxarm64.tar.bz2)
|
||||||
* [MacOS x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_91.1.16%2Bgc95b2a1%2Bchromium-91.0.4472.101_macosx64.tar.bz2)
|
* [MacOS x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_91.1.17%2Bg1845583%2Bchromium-91.0.4472.101_macosx64.tar.bz2)
|
||||||
|
|
||||||
CEF4Delphi was developed and tested on Delphi 10.4.2 and it has been tested in Delphi 7, Delphi XE, Delphi 10, Delphi 10.2, Delphi 10.3 and Lazarus 2.0.12/FPC 3.2.0. CEF4Delphi includes VCL, FireMonkey (FMX) and Lazarus components.
|
CEF4Delphi was developed and tested on Delphi 10.4.2 and it has been tested in Delphi 7, Delphi XE, Delphi 10, Delphi 10.2, Delphi 10.3 and Lazarus 2.0.12/FPC 3.2.0. CEF4Delphi includes VCL, FireMonkey (FMX) and Lazarus components.
|
||||||
|
|
||||||
|
@ -324,7 +324,9 @@ procedure TFMXExternalPumpBrowserFrm.FormCreate(Sender: TObject);
|
|||||||
begin
|
begin
|
||||||
TFMXApplicationService.AddPlatformService;
|
TFMXApplicationService.AddPlatformService;
|
||||||
|
|
||||||
GlobalCEFTimerWorkScheduler.OnAllowDoWork := GlobalCEFTimerWorkScheduler_OnAllowDoWork;
|
// Enable this code line in case there's an unexpected crash when
|
||||||
|
// cef_do_message_loop_work is called.
|
||||||
|
//GlobalCEFTimerWorkScheduler.OnAllowDoWork := GlobalCEFTimerWorkScheduler_OnAllowDoWork;
|
||||||
|
|
||||||
FPopUpBitmap := nil;
|
FPopUpBitmap := nil;
|
||||||
FPopUpRect := rect(0, 0, 0, 0);
|
FPopUpRect := rect(0, 0, 0, 0);
|
||||||
@ -554,25 +556,10 @@ var
|
|||||||
begin
|
begin
|
||||||
if not(ssTouch in Shift) then
|
if not(ssTouch in Shift) then
|
||||||
begin
|
begin
|
||||||
Panel1.SetFocus;
|
|
||||||
|
|
||||||
TempEvent.x := round(X);
|
TempEvent.x := round(X);
|
||||||
TempEvent.y := round(Y);
|
TempEvent.y := round(Y);
|
||||||
TempEvent.modifiers := getModifiers(Button, Shift);
|
TempEvent.modifiers := getModifiers(Button, Shift);
|
||||||
|
|
||||||
if (Button = TMouseButton.mbRight) then
|
|
||||||
begin
|
|
||||||
// We set the focus in another control as a workaround to show the context
|
|
||||||
// menu when we click the right mouse button.
|
|
||||||
GoBtn.SetFocus;
|
|
||||||
|
|
||||||
// We move the event point slightly so the mouse is over the context menu
|
|
||||||
TempEvent.x := TempEvent.x - 5;
|
|
||||||
TempEvent.y := TempEvent.y - 5;
|
|
||||||
end
|
|
||||||
else
|
|
||||||
Panel1.SetFocus;
|
|
||||||
|
|
||||||
if (ssDouble in Shift) then
|
if (ssDouble in Shift) then
|
||||||
TempCount := 2
|
TempCount := 2
|
||||||
else
|
else
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
</CompilerOptions>
|
</CompilerOptions>
|
||||||
<Description Value="CEF4Delphi is an open source project created by Salvador Díaz Fau to embed Chromium-based browsers in applications made with Delphi or Lazarus/FPC."/>
|
<Description Value="CEF4Delphi is an open source project created by Salvador Díaz Fau to embed Chromium-based browsers in applications made with Delphi or Lazarus/FPC."/>
|
||||||
<License Value="MPL 1.1"/>
|
<License Value="MPL 1.1"/>
|
||||||
<Version Major="91" Minor="1" Release="16"/>
|
<Version Major="91" Minor="1" Release="17"/>
|
||||||
<Files Count="202">
|
<Files Count="202">
|
||||||
<Item1>
|
<Item1>
|
||||||
<Filename Value="..\source\uCEFAccessibilityHandler.pas"/>
|
<Filename Value="..\source\uCEFAccessibilityHandler.pas"/>
|
||||||
|
@ -66,7 +66,7 @@ uses
|
|||||||
const
|
const
|
||||||
CEF_SUPPORTED_VERSION_MAJOR = 91;
|
CEF_SUPPORTED_VERSION_MAJOR = 91;
|
||||||
CEF_SUPPORTED_VERSION_MINOR = 1;
|
CEF_SUPPORTED_VERSION_MINOR = 1;
|
||||||
CEF_SUPPORTED_VERSION_RELEASE = 16;
|
CEF_SUPPORTED_VERSION_RELEASE = 17;
|
||||||
CEF_SUPPORTED_VERSION_BUILD = 0;
|
CEF_SUPPORTED_VERSION_BUILD = 0;
|
||||||
|
|
||||||
CEF_CHROMEELF_VERSION_MAJOR = 91;
|
CEF_CHROMEELF_VERSION_MAJOR = 91;
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
"UpdateLazPackages" : [
|
"UpdateLazPackages" : [
|
||||||
{
|
{
|
||||||
"ForceNotify" : true,
|
"ForceNotify" : true,
|
||||||
"InternalVersion" : 303,
|
"InternalVersion" : 304,
|
||||||
"Name" : "cef4delphi_lazarus.lpk",
|
"Name" : "cef4delphi_lazarus.lpk",
|
||||||
"Version" : "91.1.16.0"
|
"Version" : "91.1.17.0"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"UpdatePackageData" : {
|
"UpdatePackageData" : {
|
||||||
|
Reference in New Issue
Block a user