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

Update to CEF 75.0.8

- Restored the GlobalCEFApp.DeleteCookies property
- Fixed the issue with the arrow keys in OSR demos
- Fixed the default return values for TCustomCookieAccessFilter.CanSendCookie and TCustomCookieAccessFilter.CandSaveCookie
- TCustomResourceRequestHandler and TCustomCookieAccessFilterwill only be created if needed by the TChromium events.
This commit is contained in:
Salvador Díaz Fau
2019-06-19 16:53:26 +02:00
parent 52fca97884
commit 90aeb5e525
84 changed files with 887 additions and 508 deletions

View File

@@ -82,7 +82,7 @@ type
function CanSaveCookie(const browser: ICefBrowser; const frame: ICefFrame; const request: ICefRequest; const response: ICefResponse; const cookie: PCefCookie): boolean; override;
public
constructor Create(const events: Pointer); reintroduce;
constructor Create(const events : IChromiumEvents); reintroduce;
procedure BeforeDestruction; override;
procedure RemoveReferences; override;
end;
@@ -150,12 +150,12 @@ end;
function TCefCookieAccessFilterOwn.CanSendCookie(const browser: ICefBrowser; const frame: ICefFrame; const request: ICefRequest; const cookie: PCefCookie): boolean;
begin
Result := False;
Result := True;
end;
function TCefCookieAccessFilterOwn.CanSaveCookie(const browser: ICefBrowser; const frame: ICefFrame; const request: ICefRequest; const response: ICefResponse; const cookie: PCefCookie): boolean;
begin
Result := False;
Result := True;
end;
procedure TCefCookieAccessFilterOwn.RemoveReferences;
@@ -202,11 +202,11 @@ end;
// TCustomCookieAccessFilter
constructor TCustomCookieAccessFilter.Create(const events: Pointer);
constructor TCustomCookieAccessFilter.Create(const events : IChromiumEvents);
begin
inherited Create;
FEvents := events;
FEvents := Pointer(events);
end;
procedure TCustomCookieAccessFilter.BeforeDestruction;