1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2025-11-23 21:34:53 +02:00

Update to CEF 79.1.35

- Added groups to the demos with a secondary subprocess project
- Added some conditional directives for MacOS (MACOS IS NOT SUPPORTED YET!)
- Removed some Windows dependencies in the FMXExternalPumpBrowser demo
- Added TChromium.ParentFormHandle property
This commit is contained in:
Salvador Díaz Fau
2020-01-28 11:36:34 +01:00
parent 3754563ab9
commit b7a4cdd786
48 changed files with 5745 additions and 338 deletions

View File

@@ -62,13 +62,13 @@ uses
const
CEF_SUPPORTED_VERSION_MAJOR = 79;
CEF_SUPPORTED_VERSION_MINOR = 1;
CEF_SUPPORTED_VERSION_RELEASE = 31;
CEF_SUPPORTED_VERSION_RELEASE = 35;
CEF_SUPPORTED_VERSION_BUILD = 0;
CEF_CHROMEELF_VERSION_MAJOR = 79;
CEF_CHROMEELF_VERSION_MINOR = 0;
CEF_CHROMEELF_VERSION_RELEASE = 3945;
CEF_CHROMEELF_VERSION_BUILD = 117;
CEF_CHROMEELF_VERSION_BUILD = 130;
{$IFDEF MSWINDOWS}
LIBCEF_DLL = 'libcef.dll';
@@ -1111,10 +1111,15 @@ begin
if (aApp <> nil) then
begin
{$IFDEF MSWINDOWS}
TempArgs.instance := HINSTANCE{$IFDEF FPC}(){$ENDIF};
TempArgs.instance := HINSTANCE{$IFDEF FPC}(){$ENDIF};
{$ELSE}
TempArgs.argc := argc;
TempArgs.argv := argv;
{$IFDEF LINUX}
TempArgs.argc := argc;
TempArgs.argv := argv;
{$ELSE}
TempArgs.argc := 0;
TempArgs.argv := 0;
{$ENDIF}
{$ENDIF}
Result := cef_execute_process(@TempArgs, aApp.Wrap, FWindowsSandboxInfo);
@@ -1185,10 +1190,15 @@ begin
InitializeSettings(FAppSettings);
{$IFDEF MSWINDOWS}
TempArgs.instance := HINSTANCE{$IFDEF FPC}(){$ENDIF};
TempArgs.instance := HINSTANCE{$IFDEF FPC}(){$ENDIF};
{$ELSE}
TempArgs.argc := argc;
TempArgs.argv := argv;
{$IFDEF LINUX}
TempArgs.argc := argc;
TempArgs.argv := argv;
{$ELSE}
TempArgs.argc := 0;
TempArgs.argv := 0;
{$ENDIF}
{$ENDIF}
if (cef_initialize(@TempArgs, @FAppSettings, aApp.Wrap, FWindowsSandboxInfo) <> 0) then