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

Update to CEF 95.7.10

Added TChromiumCore.OnPrefsUpdated. See issue #390
This commit is contained in:
salvadordf
2021-10-22 19:19:57 +02:00
parent 649d0c65d6
commit 9b90babbcb
130 changed files with 4303 additions and 1510 deletions

View File

@@ -288,14 +288,14 @@ end;
procedure TFMXExternalPumpBrowserFrm.FormHide(Sender: TObject);
begin
chrmosr.SendFocusEvent(False);
chrmosr.SetFocus(False);
chrmosr.WasHidden(True);
end;
procedure TFMXExternalPumpBrowserFrm.FormShow(Sender: TObject);
begin
chrmosr.WasHidden(False);
chrmosr.SendFocusEvent(True);
chrmosr.SetFocus(True);
end;
procedure TFMXExternalPumpBrowserFrm.GoBtnClick(Sender: TObject);
@@ -315,17 +315,17 @@ end;
procedure TFMXExternalPumpBrowserFrm.GoBtnEnter(Sender: TObject);
begin
if (chrmosr <> nil) then chrmosr.SendFocusEvent(False);
if (chrmosr <> nil) then chrmosr.SetFocus(False);
end;
procedure TFMXExternalPumpBrowserFrm.Panel1Enter(Sender: TObject);
begin
if (chrmosr <> nil) then chrmosr.SendFocusEvent(True);
if (chrmosr <> nil) then chrmosr.SetFocus(True);
end;
procedure TFMXExternalPumpBrowserFrm.Panel1Exit(Sender: TObject);
begin
if (chrmosr <> nil) then chrmosr.SendFocusEvent(False);
if (chrmosr <> nil) then chrmosr.SetFocus(False);
end;
function TFMXExternalPumpBrowserFrm.GetMousePosition(var aPoint : TPointF) : boolean;
@@ -482,7 +482,7 @@ end;
procedure TFMXExternalPumpBrowserFrm.AddressEdtEnter(Sender: TObject);
begin
if (chrmosr <> nil) then
chrmosr.SendFocusEvent(False);
chrmosr.SetFocus(False);
end;
procedure TFMXExternalPumpBrowserFrm.chrmosrAfterCreated(Sender: TObject; const browser: ICefBrowser);
@@ -976,7 +976,7 @@ end;
procedure TFMXExternalPumpBrowserFrm.SnapshotBtnEnter(Sender: TObject);
begin
chrmosr.SendFocusEvent(False);
chrmosr.SetFocus(False);
end;
end.