diff --git a/demos/Delphi_VCL/ConsoleBrowser/OSRSubProcess.dpr b/demos/Delphi_VCL/ConsoleBrowser/OSRSubProcess.dpr index b0e3a7f5..aae465a1 100644 --- a/demos/Delphi_VCL/ConsoleBrowser/OSRSubProcess.dpr +++ b/demos/Delphi_VCL/ConsoleBrowser/OSRSubProcess.dpr @@ -45,7 +45,7 @@ uses {$ELSE} Windows, {$ENDIF} - uCEFApplication, + uCEFApplicationCore, uCEFConstants; // CEF3 needs to set the LARGEADDRESSAWARE flag which allows 32-bit processes to use up to 3GB of RAM. @@ -54,7 +54,7 @@ uses // To test this demo you need to build the ConsoleLoader, OSRDLLBrowser and OSRSubProcess projects found in this directory. begin - GlobalCEFApp := TCefApplication.Create; + GlobalCEFApp := TCefApplicationCore.Create; // The main process and the subprocess *MUST* have the same FrameworkDirPath, ResourcesDirPath, // LocalesDirPath, cache, cookies and UserDataPath paths diff --git a/demos/Delphi_VCL/DLLBrowser/SubProcess.dpr b/demos/Delphi_VCL/DLLBrowser/SubProcess.dpr index efac37b4..6b96f6ee 100644 --- a/demos/Delphi_VCL/DLLBrowser/SubProcess.dpr +++ b/demos/Delphi_VCL/DLLBrowser/SubProcess.dpr @@ -45,7 +45,7 @@ uses {$ELSE} Windows, {$ENDIF} - uCEFApplication; + uCEFApplicationCore; // CEF3 needs to set the LARGEADDRESSAWARE flag which allows 32-bit processes to use up to 3GB of RAM. {$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE} @@ -53,7 +53,7 @@ uses // To test this demo you need to build the CEF4DelphiLoader, DLLBrowser and SubProcess projects found in this directory. begin - GlobalCEFApp := TCefApplication.Create; + GlobalCEFApp := TCefApplicationCore.Create; // The main process and the subprocess *MUST* have the same FrameworkDirPath, ResourcesDirPath, // LocalesDirPath, cache, cookies and UserDataPath paths diff --git a/source/uCEFChromiumCore.pas b/source/uCEFChromiumCore.pas index 9a1b2951..cfe85071 100644 --- a/source/uCEFChromiumCore.pas +++ b/source/uCEFChromiumCore.pas @@ -2531,6 +2531,9 @@ end; // TChromiumCore.VisitAllCookies triggers the TChromiumCore.OnCookiesVisited event for each cookie // aID is an optional parameter to identify which VisitAllCookies call has triggered the // OnCookiesVisited event. +// TChromiumCore.OnCookiesVisited may not be triggered if the cookie store is empty but the +// TChromium.OnCookieVisitorDestroyed event will always be triggered to signal when the browser +// when the visit is over. function TChromiumCore.VisitAllCookies(aID : integer) : boolean; var TempManager : ICefCookieManager; @@ -2555,6 +2558,9 @@ end; // TChromiumCore.VisitURLCookies triggers the TChromiumCore.OnCookiesVisited event for each cookie // aID is an optional parameter to identify which VisitURLCookies call has triggered the // OnCookiesVisited event. +// TChromiumCore.OnCookiesVisited may not be triggered if the cookie store is empty but the +// TChromium.OnCookieVisitorDestroyed event will always be triggered to signal when the browser +// when the visit is over. function TChromiumCore.VisitURLCookies(const url : ustring; includeHttpOnly : boolean; aID : integer) : boolean; var TempManager : ICefCookieManager; diff --git a/update_CEF4Delphi.json b/update_CEF4Delphi.json index c13e4cbc..bb69bbd6 100644 --- a/update_CEF4Delphi.json +++ b/update_CEF4Delphi.json @@ -2,7 +2,7 @@ "UpdateLazPackages" : [ { "ForceNotify" : true, - "InternalVersion" : 62, + "InternalVersion" : 63, "Name" : "cef4delphi_lazarus.lpk", "Version" : "78.3.1.0" }