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

Update to CEF 125.0.19

This commit is contained in:
Salvador Díaz Fau
2024-05-28 15:50:48 +02:00
parent 7c230b9d70
commit e3cd6821c8
138 changed files with 15244 additions and 5862 deletions

View File

@@ -124,7 +124,7 @@ implementation
{$R *.dfm}
uses
uCEFApplication, uCEFMiscFunctions, uBrowserTab;
uCEFApplication, uCEFMiscFunctions, uBrowserTab, uCEFWindowInfoWrapper;
// The TChromium events are executed in a CEF thread and we should only update the
// GUI controls in the main application thread.
@@ -284,6 +284,7 @@ begin
NavControlPnl.Enabled := False;
Chromium1.CloseBrowser(True);
// Workaround for the missing TChormium.OnClose event when "Chrome runtime" is enabled.
if GlobalCEFApp.ChromeRuntime then
CEFWindowParent1.Free;
end;
@@ -495,7 +496,7 @@ begin
Result := True;
TempRect := CEFWindowParent1.ClientRect;
WindowInfoAsChild(windowInfo, CEFWindowParent1.Handle, TempRect, '');
TCEFWindowInfoWrapper.AsChild(windowInfo, CEFWindowParent1.Handle, TempRect);
end
else
Result := False;