mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2024-11-15 15:55:56 +01:00
Update to CEF 116.0.18
This commit is contained in:
parent
60aa3c75b3
commit
ee696660b9
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 116.0.15 which includes Chromium 116.0.5845.111.
|
||||
CEF4Delphi uses CEF 116.0.18 which includes Chromium 116.0.5845.141.
|
||||
|
||||
The CEF binaries used by CEF4Delphi are available for download at Spotify :
|
||||
* [Windows 32 bits](https://cef-builds.spotifycdn.com/cef_binary_116.0.15%2Bg0b8c265%2Bchromium-116.0.5845.111_windows32.tar.bz2)
|
||||
* [Windows 64 bits](https://cef-builds.spotifycdn.com/cef_binary_116.0.15%2Bg0b8c265%2Bchromium-116.0.5845.111_windows64.tar.bz2)
|
||||
* [Linux x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_116.0.15%2Bg0b8c265%2Bchromium-116.0.5845.111_linux64.tar.bz2)
|
||||
* [Linux ARM 32 bits](https://cef-builds.spotifycdn.com/cef_binary_116.0.15%2Bg0b8c265%2Bchromium-116.0.5845.111_linuxarm.tar.bz2)
|
||||
* [Linux ARM 64 bits](https://cef-builds.spotifycdn.com/cef_binary_116.0.15%2Bg0b8c265%2Bchromium-116.0.5845.111_linuxarm64.tar.bz2)
|
||||
* [MacOS x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_116.0.15%2Bg0b8c265%2Bchromium-116.0.5845.111_macosx64.tar.bz2)
|
||||
* [Windows 32 bits](https://cef-builds.spotifycdn.com/cef_binary_116.0.18%2Bgf38f362%2Bchromium-116.0.5845.141_windows32.tar.bz2)
|
||||
* [Windows 64 bits](https://cef-builds.spotifycdn.com/cef_binary_116.0.18%2Bgf38f362%2Bchromium-116.0.5845.141_windows64.tar.bz2)
|
||||
* [Linux x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_116.0.18%2Bgf38f362%2Bchromium-116.0.5845.141_linux64.tar.bz2)
|
||||
* [Linux ARM 32 bits](https://cef-builds.spotifycdn.com/cef_binary_116.0.18%2Bgf38f362%2Bchromium-116.0.5845.141_linuxarm.tar.bz2)
|
||||
* [Linux ARM 64 bits](https://cef-builds.spotifycdn.com/cef_binary_116.0.18%2Bgf38f362%2Bchromium-116.0.5845.141_linuxarm64.tar.bz2)
|
||||
* [MacOS x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_116.0.18%2Bgf38f362%2Bchromium-116.0.5845.141_macosx64.tar.bz2)
|
||||
|
||||
CEF4Delphi was developed and tested on Delphi 11.3 and it has been tested in Delphi 7, Delphi XE, Delphi 10, Delphi 10.2, Delphi 10.3, Delphi 10.4 and Lazarus 2.2.6/FPC 3.2.2. CEF4Delphi includes VCL, FireMonkey (FMX) and Lazarus components.
|
||||
|
||||
|
Binary file not shown.
@ -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="116" Release="15"/>
|
||||
<Version Major="116" Release="18"/>
|
||||
<Files Count="214">
|
||||
<Item1>
|
||||
<Filename Value="..\source\uCEFAccessibilityHandler.pas"/>
|
||||
|
@ -151,6 +151,7 @@ type
|
||||
FNetLogCaptureMode : TCefNetLogCaptureMode;
|
||||
FRemoteAllowOrigins : ustring;
|
||||
FAutoAcceptCamAndMicCapture : boolean;
|
||||
FUIColorMode : TUIColorMode;
|
||||
|
||||
|
||||
// Fields used during the CEF initialization
|
||||
@ -1154,6 +1155,13 @@ type
|
||||
/// </remarks>
|
||||
property AutoAcceptCamAndMicCapture : boolean read FAutoAcceptCamAndMicCapture write FAutoAcceptCamAndMicCapture;
|
||||
/// <summary>
|
||||
/// Forces light or dark mode in UI for platforms that support it.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para><see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switches: --force-dark-mode --force-light-mode</see></para>
|
||||
/// </remarks>
|
||||
property UIColorMode : TUIColorMode read FUIColorMode write FUIColorMode;
|
||||
/// <summary>
|
||||
/// Ignores certificate-related errors.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
@ -1772,6 +1780,7 @@ begin
|
||||
FNetLogCaptureMode := nlcmDefault;
|
||||
FRemoteAllowOrigins := '';
|
||||
FAutoAcceptCamAndMicCapture := False;
|
||||
FUIColorMode := uicmSystemDefault;
|
||||
|
||||
// Fields used during the CEF initialization
|
||||
FWindowsSandboxInfo := nil;
|
||||
@ -3195,6 +3204,11 @@ begin
|
||||
if FAutoAcceptCamAndMicCapture then
|
||||
ReplaceSwitch(aKeys, aValues, '--auto-accept-camera-and-microphone-capture');
|
||||
|
||||
case FUIColorMode of
|
||||
uicmForceDark : ReplaceSwitch(aKeys, aValues, '--force-dark-mode');
|
||||
uicmForceLight : ReplaceSwitch(aKeys, aValues, '--force-light-mode');
|
||||
end;
|
||||
|
||||
if FNetLogEnabled then
|
||||
begin
|
||||
ReplaceSwitch(aKeys, aValues, '--log-net-log', FNetLogFile);
|
||||
|
@ -924,6 +924,23 @@ type
|
||||
asErrorInitializingLibrary,
|
||||
asErrorExecutingProcess);
|
||||
|
||||
/// <summary>
|
||||
/// Color mode in UI for platforms that support it.
|
||||
/// </summary>
|
||||
TUIColorMode = (
|
||||
/// <summary>
|
||||
/// System default.
|
||||
/// </summary>
|
||||
uicmSystemDefault,
|
||||
/// <summary>
|
||||
/// Forces light color mode in UI for platforms that support it.
|
||||
/// </summary>
|
||||
uicmForceLight,
|
||||
/// <summary>
|
||||
/// Forces dark color mode in UI for platforms that support it.
|
||||
/// </summary>
|
||||
uicmForceDark);
|
||||
|
||||
/// <summary>
|
||||
/// Supported proxy schemes in Chromium.
|
||||
/// </summary>
|
||||
|
@ -1,9 +1,9 @@
|
||||
CEF_SUPPORTED_VERSION_MAJOR = 116;
|
||||
CEF_SUPPORTED_VERSION_MINOR = 0;
|
||||
CEF_SUPPORTED_VERSION_RELEASE = 15;
|
||||
CEF_SUPPORTED_VERSION_RELEASE = 18;
|
||||
CEF_SUPPORTED_VERSION_BUILD = 0;
|
||||
|
||||
CEF_CHROMEELF_VERSION_MAJOR = CEF_SUPPORTED_VERSION_MAJOR;
|
||||
CEF_CHROMEELF_VERSION_MINOR = 0;
|
||||
CEF_CHROMEELF_VERSION_RELEASE = 5845;
|
||||
CEF_CHROMEELF_VERSION_BUILD = 111;
|
||||
CEF_CHROMEELF_VERSION_BUILD = 141;
|
||||
|
@ -2,9 +2,9 @@
|
||||
"UpdateLazPackages" : [
|
||||
{
|
||||
"ForceNotify" : true,
|
||||
"InternalVersion" : 509,
|
||||
"InternalVersion" : 510,
|
||||
"Name" : "cef4delphi_lazarus.lpk",
|
||||
"Version" : "116.0.15"
|
||||
"Version" : "116.0.18"
|
||||
}
|
||||
],
|
||||
"UpdatePackageData" : {
|
||||
|
Loading…
Reference in New Issue
Block a user