Update to CEF 116.0.21

This commit is contained in:
salvadordf 2023-09-08 18:42:58 +02:00
parent ee8196266a
commit 9447ad3f72
5 changed files with 34 additions and 34 deletions

View File

@ -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.20 which includes Chromium 116.0.5845.180.
CEF4Delphi uses CEF 116.0.21 which includes Chromium 116.0.5845.181.
The CEF binaries used by CEF4Delphi are available for download at Spotify :
* [Windows 32 bits](https://cef-builds.spotifycdn.com/cef_binary_116.0.20%2Bgd6abd3c%2Bchromium-116.0.5845.180_windows32.tar.bz2)
* [Windows 64 bits](https://cef-builds.spotifycdn.com/cef_binary_116.0.20%2Bgd6abd3c%2Bchromium-116.0.5845.180_windows64.tar.bz2)
* [Linux x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_116.0.20%2Bgd6abd3c%2Bchromium-116.0.5845.180_linux64.tar.bz2)
* [Linux ARM 32 bits](https://cef-builds.spotifycdn.com/cef_binary_116.0.20%2Bgd6abd3c%2Bchromium-116.0.5845.180_linuxarm.tar.bz2)
* [Linux ARM 64 bits](https://cef-builds.spotifycdn.com/cef_binary_116.0.20%2Bgd6abd3c%2Bchromium-116.0.5845.180_linuxarm64.tar.bz2)
* [MacOS x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_116.0.20%2Bgd6abd3c%2Bchromium-116.0.5845.180_macosx64.tar.bz2)
* [Windows 32 bits](https://cef-builds.spotifycdn.com/cef_binary_116.0.21%2Bg9c7dc32%2Bchromium-116.0.5845.181_windows32.tar.bz2)
* [Windows 64 bits](https://cef-builds.spotifycdn.com/cef_binary_116.0.21%2Bg9c7dc32%2Bchromium-116.0.5845.181_windows64.tar.bz2)
* [Linux x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_116.0.21%2Bg9c7dc32%2Bchromium-116.0.5845.181_linux64.tar.bz2)
* [Linux ARM 32 bits](https://cef-builds.spotifycdn.com/cef_binary_116.0.21%2Bg9c7dc32%2Bchromium-116.0.5845.181_linuxarm.tar.bz2)
* [Linux ARM 64 bits](https://cef-builds.spotifycdn.com/cef_binary_116.0.21%2Bg9c7dc32%2Bchromium-116.0.5845.181_linuxarm64.tar.bz2)
* [MacOS x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_116.0.21%2Bg9c7dc32%2Bchromium-116.0.5845.181_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.

View File

@ -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="20"/>
<Version Major="116" Release="21"/>
<Files Count="214">
<Item1>
<Filename Value="..\source\uCEFAccessibilityHandler.pas"/>

View File

@ -1,4 +1,4 @@
unit uCEFDownLoadItem;
unit uCEFDownloadItem;
{$IFDEF FPC}
{$MODE OBJFPC}{$H+}
@ -15,7 +15,7 @@ uses
uCEFBaseRefCounted, uCEFInterfaces, uCEFTypes;
type
TCefDownLoadItemRef = class(TCefBaseRefCountedRef, ICefDownLoadItem)
TCefDownloadItemRef = class(TCefBaseRefCountedRef, ICefDownLoadItem)
protected
function IsValid: Boolean;
function IsInProgress: Boolean;
@ -45,102 +45,102 @@ implementation
uses
uCEFMiscFunctions, uCEFLibFunctions;
function TCefDownLoadItemRef.GetContentDisposition: ustring;
function TCefDownloadItemRef.GetContentDisposition: ustring;
begin
Result := CefStringFreeAndGet(PCefDownloadItem(FData)^.get_content_disposition(PCefDownloadItem(FData)));
end;
function TCefDownLoadItemRef.GetCurrentSpeed: Int64;
function TCefDownloadItemRef.GetCurrentSpeed: Int64;
begin
Result := PCefDownloadItem(FData)^.get_current_speed(PCefDownloadItem(FData));
end;
function TCefDownLoadItemRef.GetEndTime: TDateTime;
function TCefDownloadItemRef.GetEndTime: TDateTime;
begin
Result := CefBaseTimeToDateTime(PCefDownloadItem(FData)^.get_end_time(PCefDownloadItem(FData)));
end;
function TCefDownLoadItemRef.GetFullPath: ustring;
function TCefDownloadItemRef.GetFullPath: ustring;
begin
Result := CefStringFreeAndGet(PCefDownloadItem(FData)^.get_full_path(PCefDownloadItem(FData)));
end;
function TCefDownLoadItemRef.GetId: Cardinal;
function TCefDownloadItemRef.GetId: Cardinal;
begin
Result := PCefDownloadItem(FData)^.get_id(PCefDownloadItem(FData));
end;
function TCefDownLoadItemRef.GetMimeType: ustring;
function TCefDownloadItemRef.GetMimeType: ustring;
begin
Result := CefStringFreeAndGet(PCefDownloadItem(FData)^.get_mime_type(PCefDownloadItem(FData)));
end;
function TCefDownLoadItemRef.GetOriginalUrl: ustring;
function TCefDownloadItemRef.GetOriginalUrl: ustring;
begin
Result := CefStringFreeAndGet(PCefDownloadItem(FData)^.get_original_url(PCefDownloadItem(FData)));
end;
function TCefDownLoadItemRef.GetPercentComplete: Integer;
function TCefDownloadItemRef.GetPercentComplete: Integer;
begin
Result := PCefDownloadItem(FData)^.get_percent_complete(PCefDownloadItem(FData));
end;
function TCefDownLoadItemRef.GetReceivedBytes: Int64;
function TCefDownloadItemRef.GetReceivedBytes: Int64;
begin
Result := PCefDownloadItem(FData)^.get_received_bytes(PCefDownloadItem(FData));
end;
function TCefDownLoadItemRef.GetStartTime: TDateTime;
function TCefDownloadItemRef.GetStartTime: TDateTime;
begin
Result := CefBaseTimeToDateTime(PCefDownloadItem(FData)^.get_start_time(PCefDownloadItem(FData)));
end;
function TCefDownLoadItemRef.GetSuggestedFileName: ustring;
function TCefDownloadItemRef.GetSuggestedFileName: ustring;
begin
Result := CefStringFreeAndGet(PCefDownloadItem(FData)^.get_suggested_file_name(PCefDownloadItem(FData)));
end;
function TCefDownLoadItemRef.GetTotalBytes: Int64;
function TCefDownloadItemRef.GetTotalBytes: Int64;
begin
Result := PCefDownloadItem(FData)^.get_total_bytes(PCefDownloadItem(FData));
end;
function TCefDownLoadItemRef.GetUrl: ustring;
function TCefDownloadItemRef.GetUrl: ustring;
begin
Result := CefStringFreeAndGet(PCefDownloadItem(FData)^.get_url(PCefDownloadItem(FData)));
end;
function TCefDownLoadItemRef.IsCanceled: Boolean;
function TCefDownloadItemRef.IsCanceled: Boolean;
begin
Result := PCefDownloadItem(FData)^.is_canceled(PCefDownloadItem(FData)) <> 0;
end;
function TCefDownLoadItemRef.IsInterrupted: Boolean;
function TCefDownloadItemRef.IsInterrupted: Boolean;
begin
Result := PCefDownloadItem(FData)^.is_interrupted(PCefDownloadItem(FData)) <> 0;
end;
function TCefDownLoadItemRef.GetInterruptReason: TCefDownloadInterruptReason;
function TCefDownloadItemRef.GetInterruptReason: TCefDownloadInterruptReason;
begin
Result := PCefDownloadItem(FData)^.get_interrupt_reason(PCefDownloadItem(FData));
end;
function TCefDownLoadItemRef.IsComplete: Boolean;
function TCefDownloadItemRef.IsComplete: Boolean;
begin
Result := PCefDownloadItem(FData)^.is_complete(PCefDownloadItem(FData)) <> 0;
end;
function TCefDownLoadItemRef.IsInProgress: Boolean;
function TCefDownloadItemRef.IsInProgress: Boolean;
begin
Result := PCefDownloadItem(FData)^.is_in_progress(PCefDownloadItem(FData)) <> 0;
end;
function TCefDownLoadItemRef.IsValid: Boolean;
function TCefDownloadItemRef.IsValid: Boolean;
begin
Result := PCefDownloadItem(FData)^.is_valid(PCefDownloadItem(FData)) <> 0;
end;
class function TCefDownLoadItemRef.UnWrap(data: Pointer): ICefDownLoadItem;
class function TCefDownloadItemRef.UnWrap(data: Pointer): ICefDownLoadItem;
begin
if (data <> nil) then
Result := Create(data) as ICefDownLoadItem

View File

@ -1,9 +1,9 @@
CEF_SUPPORTED_VERSION_MAJOR = 116;
CEF_SUPPORTED_VERSION_MINOR = 0;
CEF_SUPPORTED_VERSION_RELEASE = 20;
CEF_SUPPORTED_VERSION_RELEASE = 21;
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 = 180;
CEF_CHROMEELF_VERSION_BUILD = 181;

View File

@ -2,9 +2,9 @@
"UpdateLazPackages" : [
{
"ForceNotify" : true,
"InternalVersion" : 512,
"InternalVersion" : 513,
"Name" : "cef4delphi_lazarus.lpk",
"Version" : "116.0.20"
"Version" : "116.0.21"
}
],
"UpdatePackageData" : {