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