Skip to content

Commit

Permalink
Update to CEF 74.1.13
Browse files Browse the repository at this point in the history
  • Loading branch information
salvadordf committed Apr 25, 2019
1 parent 6f3920a commit 1a239e1
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 24 deletions.
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -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.
Expand Down
8 changes: 4 additions & 4 deletions source/uCEFApplication.pas
Expand Up @@ -60,15 +60,15 @@ interface
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';
Expand Down
1 change: 0 additions & 1 deletion source/uCEFInterfaces.pas
Expand Up @@ -1953,7 +1953,6 @@ interface
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;
Expand Down
13 changes: 0 additions & 13 deletions source/uCEFRequestContext.pas
Expand Up @@ -77,7 +77,6 @@ TCefRequestContextRef = class(TCefBaseRefCountedRef, ICefRequestContext)
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;
Expand Down Expand Up @@ -235,18 +234,6 @@ procedure TCefRequestContextRef.ResolveHost(const origin : ustring;
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;
Expand Down
1 change: 0 additions & 1 deletion source/uCEFTypes.pas
Expand Up @@ -1851,7 +1851,6 @@ TCefRequestContext = record
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;
Expand Down
2 changes: 1 addition & 1 deletion update_CEF4Delphi.json
Expand Up @@ -4,7 +4,7 @@
"ForceNotify" : true,
"InternalVersion" : 4,
"Name" : "cef4delphi_lazarus.lpk",
"Version" : "73.1.13.0"
"Version" : "74.1.13.0"
}
],
"UpdatePackageData" : {
Expand Down

0 comments on commit 1a239e1

Please sign in to comment.