You've already forked CEF4Delphi
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user