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 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:
@@ -102,7 +102,7 @@ type
|
||||
procedure InitializeVars;
|
||||
|
||||
public
|
||||
constructor Create(const events: Pointer); reintroduce;
|
||||
constructor Create(const events : IChromiumEvents); reintroduce;
|
||||
procedure BeforeDestruction; override;
|
||||
procedure RemoveReferences; override;
|
||||
end;
|
||||
@@ -534,14 +534,16 @@ end;
|
||||
|
||||
// TCustomResourceRequestHandler
|
||||
|
||||
constructor TCustomResourceRequestHandler.Create(const events: Pointer);
|
||||
constructor TCustomResourceRequestHandler.Create(const events : IChromiumEvents);
|
||||
begin
|
||||
inherited Create;
|
||||
|
||||
InitializeVars;
|
||||
|
||||
FEvents := events;
|
||||
FCookieAccessFilter := TCustomCookieAccessFilter.Create(FEvents);
|
||||
FEvents := Pointer(events);
|
||||
|
||||
if (events <> nil) and events.MustCreateCookieAccessFilter then
|
||||
FCookieAccessFilter := TCustomCookieAccessFilter.Create(events);
|
||||
end;
|
||||
|
||||
procedure TCustomResourceRequestHandler.BeforeDestruction;
|
||||
|
||||
Reference in New Issue
Block a user