You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-06-12 22:07:39 +02:00
Update to CEF 80.0.8
- Added GlobalCEFApp.ForceFieldTrials property. - Added GlobalCEFApp.ForceFieldTrialParams property.
This commit is contained in:
@ -3,10 +3,10 @@ CEF4Delphi is an open source project created by Salvador D
|
|||||||
|
|
||||||
CEF4Delphi is based on DCEF3, made by Henri Gourvest. The original license of DCEF3 still applies to CEF4Delphi. Read the license terms in the first lines of any *.pas file.
|
CEF4Delphi is based on DCEF3, made by Henri Gourvest. The original license of DCEF3 still applies to CEF4Delphi. Read the license terms in the first lines of any *.pas file.
|
||||||
|
|
||||||
CEF4Delphi uses CEF 80.0.5 which includes Chromium 80.0.3987.132.
|
CEF4Delphi uses CEF 80.0.8 which includes Chromium 80.0.3987.132.
|
||||||
The CEF binaries used by CEF4Delphi are available for download at spotify :
|
The CEF binaries used by CEF4Delphi are available for download at spotify :
|
||||||
* [32 bits](http://opensource.spotify.com/cefbuilds/cef_binary_80.0.5%2Bgdf7fb8e%2Bchromium-80.0.3987.132_windows32.tar.bz2)
|
* [32 bits](http://opensource.spotify.com/cefbuilds/cef_binary_80.0.8%2Bgf96cd1d%2Bchromium-80.0.3987.132_windows32.tar.bz2)
|
||||||
* [64 bits](http://opensource.spotify.com/cefbuilds/cef_binary_80.0.5%2Bgdf7fb8e%2Bchromium-80.0.3987.132_windows64.tar.bz2)
|
* [64 bits](http://opensource.spotify.com/cefbuilds/cef_binary_80.0.8%2Bgf96cd1d%2Bchromium-80.0.3987.132_windows64.tar.bz2)
|
||||||
|
|
||||||
|
|
||||||
CEF4Delphi was developed and tested on Delphi 10.3 Rio and it has been tested in Delphi 7, Delphi XE, Delphi 10, Delphi 10.2 and Lazarus 2.0.6/FPC 3.0.4. CEF4Delphi includes VCL, FireMonkey (FMX) and Lazarus components.
|
CEF4Delphi was developed and tested on Delphi 10.3 Rio and it has been tested in Delphi 7, Delphi XE, Delphi 10, Delphi 10.2 and Lazarus 2.0.6/FPC 3.0.4. CEF4Delphi includes VCL, FireMonkey (FMX) and Lazarus components.
|
||||||
|
@ -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="80" Release="5"/>
|
<Version Major="80" Release="8"/>
|
||||||
<Files Count="147">
|
<Files Count="147">
|
||||||
<Item1>
|
<Item1>
|
||||||
<Filename Value="..\source\uCEFAccessibilityHandler.pas"/>
|
<Filename Value="..\source\uCEFAccessibilityHandler.pas"/>
|
||||||
|
@ -62,7 +62,7 @@ uses
|
|||||||
const
|
const
|
||||||
CEF_SUPPORTED_VERSION_MAJOR = 80;
|
CEF_SUPPORTED_VERSION_MAJOR = 80;
|
||||||
CEF_SUPPORTED_VERSION_MINOR = 0;
|
CEF_SUPPORTED_VERSION_MINOR = 0;
|
||||||
CEF_SUPPORTED_VERSION_RELEASE = 5;
|
CEF_SUPPORTED_VERSION_RELEASE = 8;
|
||||||
CEF_SUPPORTED_VERSION_BUILD = 0;
|
CEF_SUPPORTED_VERSION_BUILD = 0;
|
||||||
|
|
||||||
CEF_CHROMEELF_VERSION_MAJOR = 80;
|
CEF_CHROMEELF_VERSION_MAJOR = 80;
|
||||||
@ -138,10 +138,12 @@ type
|
|||||||
FDisablePDFExtension : boolean;
|
FDisablePDFExtension : boolean;
|
||||||
FLogProcessInfo : boolean;
|
FLogProcessInfo : boolean;
|
||||||
FDisableSiteIsolationTrials : boolean;
|
FDisableSiteIsolationTrials : boolean;
|
||||||
FEnableFeatures : string;
|
FEnableFeatures : ustring;
|
||||||
FDisableFeatures : string;
|
FDisableFeatures : ustring;
|
||||||
FEnableBlinkFeatures : string;
|
FEnableBlinkFeatures : ustring;
|
||||||
FDisableBlinkFeatures : string;
|
FDisableBlinkFeatures : ustring;
|
||||||
|
FForceFieldTrials : ustring;
|
||||||
|
FForceFieldTrialParams : ustring;
|
||||||
FChromeVersionInfo : TFileVersionInfo;
|
FChromeVersionInfo : TFileVersionInfo;
|
||||||
{$IFDEF FPC}
|
{$IFDEF FPC}
|
||||||
FLibHandle : TLibHandle;
|
FLibHandle : TLibHandle;
|
||||||
@ -396,10 +398,12 @@ type
|
|||||||
property EnableSpeechInput : boolean read FEnableSpeechInput write FEnableSpeechInput; // --enable-speech-input
|
property EnableSpeechInput : boolean read FEnableSpeechInput write FEnableSpeechInput; // --enable-speech-input
|
||||||
property UseFakeUIForMediaStream : boolean read FUseFakeUIForMediaStream write FUseFakeUIForMediaStream; // --use-fake-ui-for-media-stream
|
property UseFakeUIForMediaStream : boolean read FUseFakeUIForMediaStream write FUseFakeUIForMediaStream; // --use-fake-ui-for-media-stream
|
||||||
property EnableGPU : boolean read FEnableGPU write FEnableGPU; // --enable-gpu-plugin
|
property EnableGPU : boolean read FEnableGPU write FEnableGPU; // --enable-gpu-plugin
|
||||||
property EnableFeatures : string read FEnableFeatures write FEnableFeatures; // --enable-features
|
property EnableFeatures : ustring read FEnableFeatures write FEnableFeatures; // --enable-features
|
||||||
property DisableFeatures : string read FDisableFeatures write FDisableFeatures; // --disable-features
|
property DisableFeatures : ustring read FDisableFeatures write FDisableFeatures; // --disable-features
|
||||||
property EnableBlinkFeatures : string read FEnableBlinkFeatures write FEnableBlinkFeatures; // --enable-blink-features
|
property EnableBlinkFeatures : ustring read FEnableBlinkFeatures write FEnableBlinkFeatures; // --enable-blink-features
|
||||||
property DisableBlinkFeatures : string read FDisableBlinkFeatures write FDisableBlinkFeatures; // --disable-blink-features
|
property DisableBlinkFeatures : ustring read FDisableBlinkFeatures write FDisableBlinkFeatures; // --disable-blink-features
|
||||||
|
property ForceFieldTrials : ustring read FForceFieldTrials write FForceFieldTrials; // --force-fieldtrials
|
||||||
|
property ForceFieldTrialParams : ustring read FForceFieldTrialParams write FForceFieldTrialParams; // --force-fieldtrial-params
|
||||||
property SmoothScrolling : TCefState read FSmoothScrolling write FSmoothScrolling; // --enable-smooth-scrolling
|
property SmoothScrolling : TCefState read FSmoothScrolling write FSmoothScrolling; // --enable-smooth-scrolling
|
||||||
property FastUnload : boolean read FFastUnload write FFastUnload; // --enable-fast-unload
|
property FastUnload : boolean read FFastUnload write FFastUnload; // --enable-fast-unload
|
||||||
property DisableSafeBrowsing : boolean read FDisableSafeBrowsing write FDisableSafeBrowsing; // --safebrowsing-disable-auto-update
|
property DisableSafeBrowsing : boolean read FDisableSafeBrowsing write FDisableSafeBrowsing; // --safebrowsing-disable-auto-update
|
||||||
@ -662,6 +666,8 @@ begin
|
|||||||
FDisableFeatures := '';
|
FDisableFeatures := '';
|
||||||
FEnableBlinkFeatures := '';
|
FEnableBlinkFeatures := '';
|
||||||
FDisableBlinkFeatures := '';
|
FDisableBlinkFeatures := '';
|
||||||
|
FForceFieldTrials := '';
|
||||||
|
FForceFieldTrialParams := '';
|
||||||
FSupportedSchemes := nil;
|
FSupportedSchemes := nil;
|
||||||
FDisableNewBrowserInfoTimeout := False;
|
FDisableNewBrowserInfoTimeout := False;
|
||||||
|
|
||||||
@ -1574,7 +1580,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TCefApplicationCore.Internal_OnBeforeCommandLineProcessing(const processType : ustring;
|
procedure TCefApplicationCore.Internal_OnBeforeCommandLineProcessing(const processType : ustring;
|
||||||
const commandLine : ICefCommandLine);
|
const commandLine : ICefCommandLine);
|
||||||
var
|
var
|
||||||
i : integer;
|
i : integer;
|
||||||
{$IFDEF MSWINDOWS}
|
{$IFDEF MSWINDOWS}
|
||||||
@ -1763,6 +1769,12 @@ begin
|
|||||||
if (length(FDisableBlinkFeatures) > 0) then
|
if (length(FDisableBlinkFeatures) > 0) then
|
||||||
commandLine.AppendSwitchWithValue('--disable-blink-features', FDisableBlinkFeatures);
|
commandLine.AppendSwitchWithValue('--disable-blink-features', FDisableBlinkFeatures);
|
||||||
|
|
||||||
|
if (length(FForceFieldTrials) > 0) then
|
||||||
|
commandLine.AppendSwitchWithValue('--force-fieldtrials', FForceFieldTrials);
|
||||||
|
|
||||||
|
if (length(FForceFieldTrialParams) > 0) then
|
||||||
|
commandLine.AppendSwitchWithValue('--force-fieldtrial-params', FForceFieldTrialParams);
|
||||||
|
|
||||||
if (FCustomCommandLines <> nil) and
|
if (FCustomCommandLines <> nil) and
|
||||||
(FCustomCommandLineValues <> nil) and
|
(FCustomCommandLineValues <> nil) and
|
||||||
(FCustomCommandLines.Count = FCustomCommandLineValues.Count) then
|
(FCustomCommandLines.Count = FCustomCommandLineValues.Count) then
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
"UpdateLazPackages" : [
|
"UpdateLazPackages" : [
|
||||||
{
|
{
|
||||||
"ForceNotify" : true,
|
"ForceNotify" : true,
|
||||||
"InternalVersion" : 106,
|
"InternalVersion" : 107,
|
||||||
"Name" : "cef4delphi_lazarus.lpk",
|
"Name" : "cef4delphi_lazarus.lpk",
|
||||||
"Version" : "80.0.5.0"
|
"Version" : "80.0.8.0"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"UpdatePackageData" : {
|
"UpdatePackageData" : {
|
||||||
|
Reference in New Issue
Block a user