Skip to content

Commit

Permalink
Updated for Chromium 100
Browse files Browse the repository at this point in the history
Disable BackForwardCache, may not have any effect but it's unnecessary anyway for cefHtmlSnapshot
  • Loading branch information
Eric Grange committed Apr 19, 2022
1 parent bcb6414 commit 497e713
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions cefHtmlSnapshot.dproj
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@
<Icon_MainIcon>cefHtmlSnapshot_Icon.ico</Icon_MainIcon>
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
<VerInfo_MajorVer>0</VerInfo_MajorVer>
<VerInfo_MinorVer>6</VerInfo_MinorVer>
<VerInfo_Keys>CompanyName=delphitools.info;FileDescription=$(MSBuildProjectName);FileVersion=0.6.96.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
<VerInfo_Release>96</VerInfo_Release>
<VerInfo_MinorVer>7</VerInfo_MinorVer>
<VerInfo_Keys>CompanyName=delphitools.info;FileDescription=$(MSBuildProjectName);FileVersion=0.7.100.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
<VerInfo_Release>100</VerInfo_Release>
</PropertyGroup>
<PropertyGroup Condition="'$(Cfg_2)'!=''">
<DCC_LocalDebugSymbols>false</DCC_LocalDebugSymbols>
Expand Down
Binary file modified cefHtmlSnapshot.res
Binary file not shown.
6 changes: 3 additions & 3 deletions uCEFSnapshotParameters.pas
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ interface
uCEFTypes, uCEFMiscFunctions;

const
cChromiumSubFolder = 'Chromium96.0';
cChromiumSubFolder = 'Chromium100.0';
cDLLSubfolder = 'Libraries';

type
Expand Down Expand Up @@ -49,8 +49,8 @@ implementation
uses LibTurboJPEG, Vcl.Imaging.pngimage, System.StrUtils;

const
cHelp = 'cefHtmlSnaphot utility v0.6.96 - Html to image or pdf coversion using Chromium Embedded Framework'#10
+ 'Using CEF 96.0.14, CEF4Delphi, TurboJPEG see https://github.com/EricGrange/cefHtmlSnapshot'#10#10
cHelp = 'cefHtmlSnaphot utility v0.7.100 - Html to image or pdf coversion using Chromium Embedded Framework'#10
+ 'Using CEF 100.0.23, CEF4Delphi, TurboJPEG see https://github.com/EricGrange/cefHtmlSnapshot'#10#10
+ 'cefHtmlSnapshot.exe url_or_file [-arg1 value1] [-arg2 value2] ... output_file'#10
+ #10
+ ' -?, -h, --help This inline documentation'#10
Expand Down
1 change: 1 addition & 0 deletions uEncapsulatedBrowser.pas
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ function CreateGlobalCEFApp(const parameters : TSnapshotParameters; const chromi
GlobalCEFApp.IgnoreCertificateErrors := parameters.IgnoreCertificateErrors;
GlobalCEFApp.NoSandbox := parameters.NoSandbox;

GlobalCEFApp.DisableBackForwardCache := True;
GlobalCEFApp.DeleteCache := True;
GlobalCEFApp.DeleteCookies := True;
GlobalCEFApp.PersistSessionCookies := False;
Expand Down

0 comments on commit 497e713

Please sign in to comment.