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 95.7.10
Added TChromiumCore.OnPrefsUpdated. See issue #390
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user