mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-02-02 10:25:26 +02:00
Update to CEF 74.1.13
This commit is contained in:
parent
6f3920a052
commit
1a239e1e02
@ -3,10 +3,10 @@ CEF4Delphi is an open source project created by Salvador Diaz Fau to embed Chrom
|
||||
|
||||
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 73.1.13 which includes Chromium 73.0.3683.75.
|
||||
The CEF3 binaries used by CEF4Delphi are available for download at spotify :
|
||||
* [32 bits](http://opensource.spotify.com/cefbuilds/cef_binary_73.1.13%2Bg6e3c989%2Bchromium-73.0.3683.75_windows32.tar.bz2)
|
||||
* [64 bits](http://opensource.spotify.com/cefbuilds/cef_binary_73.1.13%2Bg6e3c989%2Bchromium-73.0.3683.75_windows64.tar.bz2)
|
||||
CEF4Delphi uses CEF 74.1.13 which includes Chromium 74.0.3729.108.
|
||||
The CEF binaries used by CEF4Delphi are available for download at spotify :
|
||||
* [32 bits](http://opensource.spotify.com/cefbuilds/cef_binary_74.1.13%2Bg98f22d3%2Bchromium-74.0.3729.108_windows32.tar.bz2)
|
||||
* [64 bits](http://opensource.spotify.com/cefbuilds/cef_binary_74.1.13%2Bg98f22d3%2Bchromium-74.0.3729.108_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.2/FPC 3.0.4. CEF4Delphi includes VCL, FireMonkey (FMX) and Lazarus components.
|
||||
|
@ -60,15 +60,15 @@ uses
|
||||
uCEFTypes, uCEFInterfaces, uCEFBaseRefCounted, uCEFSchemeRegistrar;
|
||||
|
||||
const
|
||||
CEF_SUPPORTED_VERSION_MAJOR = 73;
|
||||
CEF_SUPPORTED_VERSION_MAJOR = 74;
|
||||
CEF_SUPPORTED_VERSION_MINOR = 1;
|
||||
CEF_SUPPORTED_VERSION_RELEASE = 13;
|
||||
CEF_SUPPORTED_VERSION_BUILD = 0;
|
||||
|
||||
CEF_CHROMEELF_VERSION_MAJOR = 73;
|
||||
CEF_CHROMEELF_VERSION_MAJOR = 74;
|
||||
CEF_CHROMEELF_VERSION_MINOR = 0;
|
||||
CEF_CHROMEELF_VERSION_RELEASE = 3683;
|
||||
CEF_CHROMEELF_VERSION_BUILD = 75;
|
||||
CEF_CHROMEELF_VERSION_RELEASE = 3729;
|
||||
CEF_CHROMEELF_VERSION_BUILD = 108;
|
||||
|
||||
{$IFDEF MSWINDOWS}
|
||||
LIBCEF_DLL = 'libcef.dll';
|
||||
|
@ -1953,7 +1953,6 @@ type
|
||||
procedure ClearCertificateExceptions(const callback: ICefCompletionCallback);
|
||||
procedure CloseAllConnections(const callback: ICefCompletionCallback);
|
||||
procedure ResolveHost(const origin: ustring; const callback: ICefResolveCallback);
|
||||
function ResolveHostCached(const origin: ustring; const resolvedIps: TStrings): TCefErrorCode;
|
||||
procedure LoadExtension(const root_directory: ustring; const manifest: ICefDictionaryValue; const handler: ICefExtensionHandler);
|
||||
function DidLoadExtension(const extension_id: ustring): boolean;
|
||||
function HasExtension(const extension_id: ustring): boolean;
|
||||
|
@ -77,7 +77,6 @@ type
|
||||
procedure ClearCertificateExceptions(const callback: ICefCompletionCallback);
|
||||
procedure CloseAllConnections(const callback: ICefCompletionCallback);
|
||||
procedure ResolveHost(const origin: ustring; const callback: ICefResolveCallback);
|
||||
function ResolveHostCached(const origin: ustring; const resolvedIps: TStrings): TCefErrorCode;
|
||||
procedure LoadExtension(const root_directory: ustring; const manifest: ICefDictionaryValue; const handler: ICefExtensionHandler);
|
||||
function DidLoadExtension(const extension_id: ustring): boolean;
|
||||
function HasExtension(const extension_id: ustring): boolean;
|
||||
@ -235,18 +234,6 @@ begin
|
||||
PCefRequestContext(FData)^.resolve_host(PCefRequestContext(FData), @TempOrigin, CefGetData(callback));
|
||||
end;
|
||||
|
||||
function TCefRequestContextRef.ResolveHostCached(const origin : ustring;
|
||||
const resolvedIps : TStrings): TCefErrorCode;
|
||||
var
|
||||
TempSL : ICefStringList;
|
||||
TempOrigin : TCefString;
|
||||
begin
|
||||
TempSL := TCefStringListOwn.Create;
|
||||
TempOrigin := CefString(origin);
|
||||
Result := PCefRequestContext(FData)^.resolve_host_cached(PCefRequestContext(FData), @TempOrigin, TempSL.Handle);
|
||||
TempSL.CopyToStrings(resolvedIps);
|
||||
end;
|
||||
|
||||
procedure TCefRequestContextRef.LoadExtension(const root_directory: ustring; const manifest: ICefDictionaryValue; const handler: ICefExtensionHandler);
|
||||
var
|
||||
TempDir : TCefString;
|
||||
|
@ -1851,7 +1851,6 @@ type
|
||||
clear_certificate_exceptions : procedure(self: PCefRequestContext; callback: PCefCompletionCallback); stdcall;
|
||||
close_all_connections : procedure(self: PCefRequestContext; callback: PCefCompletionCallback); stdcall;
|
||||
resolve_host : procedure(self: PCefRequestContext; const origin: PCefString; callback: PCefResolveCallback); stdcall;
|
||||
resolve_host_cached : function(self: PCefRequestContext; const origin: PCefString; resolved_ips: TCefStringList): TCefErrorCode; stdcall;
|
||||
load_extension : procedure(self: PCefRequestContext; const root_directory: PCefString; manifest: PCefDictionaryValue; handler: PCefExtensionHandler); stdcall;
|
||||
did_load_extension : function(self: PCefRequestContext; const extension_id: PCefString): Integer; stdcall;
|
||||
has_extension : function(self: PCefRequestContext; const extension_id: PCefString): Integer; stdcall;
|
||||
|
@ -4,7 +4,7 @@
|
||||
"ForceNotify" : true,
|
||||
"InternalVersion" : 4,
|
||||
"Name" : "cef4delphi_lazarus.lpk",
|
||||
"Version" : "73.1.13.0"
|
||||
"Version" : "74.1.13.0"
|
||||
}
|
||||
],
|
||||
"UpdatePackageData" : {
|
||||
|
Loading…
x
Reference in New Issue
Block a user