You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-09-30 21:28:55 +02:00
Update to CEF 139.0.30
TCEFWinControl must inherit from TCustomPanel in GTK3
This commit is contained in:
14
README.md
14
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 LICENSE.md file.
|
||||
|
||||
CEF4Delphi uses CEF 139.0.28 which includes Chromium 139.0.7258.139.
|
||||
CEF4Delphi uses CEF 139.0.30 which includes Chromium 139.0.7258.139.
|
||||
|
||||
The CEF binaries used by CEF4Delphi are available for download at Spotify :
|
||||
* [Windows 32 bits](https://cef-builds.spotifycdn.com/cef_binary_139.0.28%2Bg55ab8a8%2Bchromium-139.0.7258.139_windows32.tar.bz2)
|
||||
* [Windows 64 bits](https://cef-builds.spotifycdn.com/cef_binary_139.0.28%2Bg55ab8a8%2Bchromium-139.0.7258.139_windows64.tar.bz2)
|
||||
* [Linux x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_139.0.28%2Bg55ab8a8%2Bchromium-139.0.7258.139_linux64.tar.bz2)
|
||||
* [Linux ARM 32 bits](https://cef-builds.spotifycdn.com/cef_binary_139.0.28%2Bg55ab8a8%2Bchromium-139.0.7258.139_linuxarm.tar.bz2)
|
||||
* [Linux ARM 64 bits](https://cef-builds.spotifycdn.com/cef_binary_139.0.28%2Bg55ab8a8%2Bchromium-139.0.7258.139_linuxarm64.tar.bz2)
|
||||
* [MacOS x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_139.0.28%2Bg55ab8a8%2Bchromium-139.0.7258.139_macosx64.tar.bz2)
|
||||
* [Windows 32 bits](https://cef-builds.spotifycdn.com/cef_binary_139.0.30%2Bgd4551db%2Bchromium-139.0.7258.139_windows32.tar.bz2)
|
||||
* [Windows 64 bits](https://cef-builds.spotifycdn.com/cef_binary_139.0.30%2Bgd4551db%2Bchromium-139.0.7258.139_windows64.tar.bz2)
|
||||
* [Linux x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_139.0.30%2Bgd4551db%2Bchromium-139.0.7258.139_linux64.tar.bz2)
|
||||
* [Linux ARM 32 bits](https://cef-builds.spotifycdn.com/cef_binary_139.0.30%2Bgd4551db%2Bchromium-139.0.7258.139_linuxarm.tar.bz2)
|
||||
* [Linux ARM 64 bits](https://cef-builds.spotifycdn.com/cef_binary_139.0.30%2Bgd4551db%2Bchromium-139.0.7258.139_linuxarm64.tar.bz2)
|
||||
* [MacOS x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_139.0.30%2Bgd4551db%2Bchromium-139.0.7258.139_macosx64.tar.bz2)
|
||||
|
||||
CEF4Delphi was developed and tested on Delphi 12.3 and it has been tested in Delphi 6, Delphi XE, Delphi 10, Delphi 11 and Lazarus 4.2/FPC 3.2.2. CEF4Delphi includes VCL, FireMonkey (FMX) and Lazarus components.
|
||||
|
||||
|
@@ -21,7 +21,7 @@
|
||||
</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."/>
|
||||
<License Value="MPL 1.1"/>
|
||||
<Version Major="139" Release="28"/>
|
||||
<Version Major="139" Release="30"/>
|
||||
<Files Count="216">
|
||||
<Item1>
|
||||
<Filename Value="..\source\uCEFAccessibilityHandler.pas"/>
|
||||
|
@@ -47,6 +47,9 @@ type
|
||||
{$IFDEF MSWINDOWS}
|
||||
procedure WndProc(var aMessage: TMessage); override;
|
||||
{$ENDIF}
|
||||
{$IFDEF LCLGTK3}
|
||||
procedure Paint; override;
|
||||
{$ENDIF}
|
||||
/// <summary>
|
||||
/// TChromium instance used by this component.
|
||||
/// </summary>
|
||||
@@ -73,6 +76,13 @@ begin
|
||||
{$IFDEF MSWINDOWS}
|
||||
FUseSetFocus := True;
|
||||
{$ENDIF}
|
||||
{$IFDEF LCLGTK3}
|
||||
BevelOuter := bvNone;
|
||||
BevelWidth := 0;
|
||||
Caption := '';
|
||||
ControlStyle := ControlStyle - [csNoFocus];
|
||||
TabStop := True;
|
||||
{$ENDIF}
|
||||
end;
|
||||
|
||||
{$IFDEF MSWINDOWS}
|
||||
@@ -87,6 +97,14 @@ begin
|
||||
end;
|
||||
{$ENDIF}
|
||||
|
||||
{$IFDEF LCLGTK3}
|
||||
procedure TCEFLinkedWinControlBase.Paint;
|
||||
begin
|
||||
if (Chromium = nil) or not(Chromium.Initialized) then
|
||||
inherited Paint;
|
||||
end;
|
||||
{$ENDIF}
|
||||
|
||||
{$IFDEF FPC}
|
||||
procedure TCEFLinkedWinControlBase.SetVisible(Value: Boolean);
|
||||
{$IFDEF LINUX}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
CEF_SUPPORTED_VERSION_MAJOR = 139;
|
||||
CEF_SUPPORTED_VERSION_MINOR = 0;
|
||||
CEF_SUPPORTED_VERSION_RELEASE = 28;
|
||||
CEF_SUPPORTED_VERSION_RELEASE = 30;
|
||||
CEF_SUPPORTED_VERSION_BUILD = 0;
|
||||
|
||||
CEF_CHROMEELF_VERSION_MAJOR = CEF_SUPPORTED_VERSION_MAJOR;
|
||||
|
@@ -19,6 +19,7 @@ uses
|
||||
{$IFDEF MSWINDOWS}WinApi.Windows, {$ENDIF} System.Classes, Vcl.Controls, Vcl.Graphics,
|
||||
{$ELSE}
|
||||
{$IFDEF MSWINDOWS}Windows,{$ENDIF} Classes, Forms, Controls, Graphics,
|
||||
{$IFDEF LCLGTK3}ExtCtrls,{$ENDIF}
|
||||
{$IFDEF FPC}
|
||||
LCLProc, LCLType, LCLIntf, LResources, InterfaceBase,
|
||||
{$ENDIF}
|
||||
@@ -32,7 +33,7 @@ type
|
||||
/// <summary>
|
||||
/// Custom TWinControl used by CEF browsers.
|
||||
/// </summary>
|
||||
TCEFWinControl = class(TWinControl)
|
||||
TCEFWinControl = class({$IFDEF LCLGTK3}TCustomPanel{$ELSE}TWinControl{$ENDIF})
|
||||
protected
|
||||
function GetChildWindowHandle : {$IFNDEF MSWINDOWS}{$IFDEF FPC}LclType.{$ENDIF}{$ENDIF}THandle; virtual;
|
||||
procedure Resize; override;
|
||||
|
@@ -2,9 +2,9 @@
|
||||
"UpdateLazPackages" : [
|
||||
{
|
||||
"ForceNotify" : true,
|
||||
"InternalVersion" : 774,
|
||||
"InternalVersion" : 775,
|
||||
"Name" : "cef4delphi_lazarus.lpk",
|
||||
"Version" : "139.0.28"
|
||||
"Version" : "139.0.30"
|
||||
}
|
||||
],
|
||||
"UpdatePackageData" : {
|
||||
|
Reference in New Issue
Block a user