mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-04-17 06:57:13 +02:00
Removed GlobalCEFApp.OnGetCookieableSchemes because it's no longer used
This commit is contained in:
parent
dbd73f13b4
commit
1c898a6d50
@ -220,7 +220,6 @@ type
|
|||||||
FMustCreateLoadHandler : boolean;
|
FMustCreateLoadHandler : boolean;
|
||||||
|
|
||||||
// ICefBrowserProcessHandler
|
// ICefBrowserProcessHandler
|
||||||
FOnGetCookieableSchemes : TOnGetCookieableSchemesEvent;
|
|
||||||
FOnContextInitialized : TOnContextInitializedEvent;
|
FOnContextInitialized : TOnContextInitializedEvent;
|
||||||
FOnBeforeChildProcessLaunch : TOnBeforeChildProcessLaunchEvent;
|
FOnBeforeChildProcessLaunch : TOnBeforeChildProcessLaunchEvent;
|
||||||
FOnScheduleMessagePumpWork : TOnScheduleMessagePumpWorkEvent;
|
FOnScheduleMessagePumpWork : TOnScheduleMessagePumpWorkEvent;
|
||||||
@ -400,7 +399,6 @@ type
|
|||||||
procedure Internal_OnLoadStart(const browser: ICefBrowser; const frame: ICefFrame; transitionType: TCefTransitionType);
|
procedure Internal_OnLoadStart(const browser: ICefBrowser; const frame: ICefFrame; transitionType: TCefTransitionType);
|
||||||
procedure Internal_OnLoadEnd(const browser: ICefBrowser; const frame: ICefFrame; httpStatusCode: Integer);
|
procedure Internal_OnLoadEnd(const browser: ICefBrowser; const frame: ICefFrame; httpStatusCode: Integer);
|
||||||
procedure Internal_OnLoadError(const browser: ICefBrowser; const frame: ICefFrame; errorCode: Integer; const errorText, failedUrl: ustring);
|
procedure Internal_OnLoadError(const browser: ICefBrowser; const frame: ICefFrame; errorCode: Integer; const errorText, failedUrl: ustring);
|
||||||
procedure Internal_GetCookieableSchemes(var schemes: TStringList; var include_defaults : boolean);
|
|
||||||
procedure Internal_GetDefaultClient(var aClient : ICefClient);
|
procedure Internal_GetDefaultClient(var aClient : ICefClient);
|
||||||
|
|
||||||
// Properties used to populate TCefSettings (cef_settings_t)
|
// Properties used to populate TCefSettings (cef_settings_t)
|
||||||
@ -542,7 +540,6 @@ type
|
|||||||
property OnRegCustomSchemes : TOnRegisterCustomSchemesEvent read FOnRegisterCustomSchemes write FOnRegisterCustomSchemes;
|
property OnRegCustomSchemes : TOnRegisterCustomSchemesEvent read FOnRegisterCustomSchemes write FOnRegisterCustomSchemes;
|
||||||
|
|
||||||
// ICefBrowserProcessHandler
|
// ICefBrowserProcessHandler
|
||||||
property OnGetCookieableSchemes : TOnGetCookieableSchemesEvent read FOnGetCookieableSchemes write FOnGetCookieableSchemes;
|
|
||||||
property OnContextInitialized : TOnContextInitializedEvent read FOnContextInitialized write FOnContextInitialized;
|
property OnContextInitialized : TOnContextInitializedEvent read FOnContextInitialized write FOnContextInitialized;
|
||||||
property OnBeforeChildProcessLaunch : TOnBeforeChildProcessLaunchEvent read FOnBeforeChildProcessLaunch write FOnBeforeChildProcessLaunch;
|
property OnBeforeChildProcessLaunch : TOnBeforeChildProcessLaunchEvent read FOnBeforeChildProcessLaunch write FOnBeforeChildProcessLaunch;
|
||||||
property OnScheduleMessagePumpWork : TOnScheduleMessagePumpWorkEvent read FOnScheduleMessagePumpWork write FOnScheduleMessagePumpWork;
|
property OnScheduleMessagePumpWork : TOnScheduleMessagePumpWorkEvent read FOnScheduleMessagePumpWork write FOnScheduleMessagePumpWork;
|
||||||
@ -771,7 +768,6 @@ begin
|
|||||||
FMustCreateLoadHandler := False;
|
FMustCreateLoadHandler := False;
|
||||||
|
|
||||||
// ICefBrowserProcessHandler
|
// ICefBrowserProcessHandler
|
||||||
FOnGetCookieableSchemes := nil;
|
|
||||||
FOnContextInitialized := nil;
|
FOnContextInitialized := nil;
|
||||||
FOnBeforeChildProcessLaunch := nil;
|
FOnBeforeChildProcessLaunch := nil;
|
||||||
FOnScheduleMessagePumpWork := nil;
|
FOnScheduleMessagePumpWork := nil;
|
||||||
@ -1770,12 +1766,6 @@ begin
|
|||||||
FOnLoadError(browser, frame, errorCode, errorText, failedUrl);
|
FOnLoadError(browser, frame, errorCode, errorText, failedUrl);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TCefApplicationCore.Internal_GetCookieableSchemes(var schemes: TStringList; var include_defaults : boolean);
|
|
||||||
begin
|
|
||||||
if assigned(FOnGetCookieableSchemes) then
|
|
||||||
FOnGetCookieableSchemes(schemes, include_defaults);
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TCefApplicationCore.Internal_GetDefaultClient(var aClient : ICefClient);
|
procedure TCefApplicationCore.Internal_GetDefaultClient(var aClient : ICefClient);
|
||||||
begin
|
begin
|
||||||
if assigned(FOnGetDefaultClient) then
|
if assigned(FOnGetDefaultClient) then
|
||||||
@ -2214,7 +2204,6 @@ function TCefApplicationCore.GetMustCreateBrowserProcessHandler : boolean;
|
|||||||
begin
|
begin
|
||||||
Result := ((FSingleProcess or (FProcessType = ptBrowser)) and
|
Result := ((FSingleProcess or (FProcessType = ptBrowser)) and
|
||||||
(FMustCreateBrowserProcessHandler or
|
(FMustCreateBrowserProcessHandler or
|
||||||
assigned(FOnGetCookieableSchemes) or
|
|
||||||
assigned(FOnContextInitialized) or
|
assigned(FOnContextInitialized) or
|
||||||
assigned(FOnBeforeChildProcessLaunch) or
|
assigned(FOnBeforeChildProcessLaunch) or
|
||||||
assigned(FOnScheduleMessagePumpWork)) or
|
assigned(FOnScheduleMessagePumpWork)) or
|
||||||
|
@ -206,7 +206,6 @@ type
|
|||||||
TOnUncaughtExceptionEvent = {$IFDEF DELPHI12_UP}reference to{$ENDIF} procedure(const browser: ICefBrowser; const frame: ICefFrame; const context: ICefv8Context; const exception: ICefV8Exception; const stackTrace: ICefV8StackTrace) {$IFNDEF DELPHI12_UP}{$IFNDEF FPC}of object{$ENDIF}{$ENDIF};
|
TOnUncaughtExceptionEvent = {$IFDEF DELPHI12_UP}reference to{$ENDIF} procedure(const browser: ICefBrowser; const frame: ICefFrame; const context: ICefv8Context; const exception: ICefV8Exception; const stackTrace: ICefV8StackTrace) {$IFNDEF DELPHI12_UP}{$IFNDEF FPC}of object{$ENDIF}{$ENDIF};
|
||||||
TOnFocusedNodeChangedEvent = {$IFDEF DELPHI12_UP}reference to{$ENDIF} procedure(const browser: ICefBrowser; const frame: ICefFrame; const node: ICefDomNode) {$IFNDEF DELPHI12_UP}{$IFNDEF FPC}of object{$ENDIF}{$ENDIF};
|
TOnFocusedNodeChangedEvent = {$IFDEF DELPHI12_UP}reference to{$ENDIF} procedure(const browser: ICefBrowser; const frame: ICefFrame; const node: ICefDomNode) {$IFNDEF DELPHI12_UP}{$IFNDEF FPC}of object{$ENDIF}{$ENDIF};
|
||||||
TOnProcessMessageReceivedEvent = {$IFDEF DELPHI12_UP}reference to{$ENDIF} procedure(const browser: ICefBrowser; const frame: ICefFrame; sourceProcess: TCefProcessId; const message: ICefProcessMessage; var aHandled : boolean) {$IFNDEF DELPHI12_UP}{$IFNDEF LCL} of object {$ENDIF} {$ENDIF};
|
TOnProcessMessageReceivedEvent = {$IFDEF DELPHI12_UP}reference to{$ENDIF} procedure(const browser: ICefBrowser; const frame: ICefFrame; sourceProcess: TCefProcessId; const message: ICefProcessMessage; var aHandled : boolean) {$IFNDEF DELPHI12_UP}{$IFNDEF LCL} of object {$ENDIF} {$ENDIF};
|
||||||
TOnGetCookieableSchemesEvent = {$IFDEF DELPHI12_UP}reference to{$ENDIF} procedure(var schemes: TStringList; var include_defaults : boolean) {$IFNDEF DELPHI12_UP}{$IFNDEF LCL} of object {$ENDIF} {$ENDIF};
|
|
||||||
TOnContextInitializedEvent = {$IFDEF DELPHI12_UP}reference to{$ENDIF} procedure() {$IFNDEF DELPHI12_UP}{$IFNDEF FPC} of object{$ENDIF}{$ENDIF};
|
TOnContextInitializedEvent = {$IFDEF DELPHI12_UP}reference to{$ENDIF} procedure() {$IFNDEF DELPHI12_UP}{$IFNDEF FPC} of object{$ENDIF}{$ENDIF};
|
||||||
TOnBeforeChildProcessLaunchEvent = {$IFDEF DELPHI12_UP}reference to{$ENDIF} procedure(const commandLine: ICefCommandLine) {$IFNDEF DELPHI12_UP}{$IFNDEF FPC}of object{$ENDIF}{$ENDIF};
|
TOnBeforeChildProcessLaunchEvent = {$IFDEF DELPHI12_UP}reference to{$ENDIF} procedure(const commandLine: ICefCommandLine) {$IFNDEF DELPHI12_UP}{$IFNDEF FPC}of object{$ENDIF}{$ENDIF};
|
||||||
TOnRenderProcessThreadCreatedEvent = {$IFDEF DELPHI12_UP}reference to{$ENDIF} procedure(const extraInfo: ICefListValue) {$IFNDEF DELPHI12_UP}{$IFNDEF FPC}of object{$ENDIF}{$ENDIF};
|
TOnRenderProcessThreadCreatedEvent = {$IFDEF DELPHI12_UP}reference to{$ENDIF} procedure(const extraInfo: ICefListValue) {$IFNDEF DELPHI12_UP}{$IFNDEF FPC}of object{$ENDIF}{$ENDIF};
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"UpdateLazPackages" : [
|
"UpdateLazPackages" : [
|
||||||
{
|
{
|
||||||
"ForceNotify" : true,
|
"ForceNotify" : true,
|
||||||
"InternalVersion" : 277,
|
"InternalVersion" : 278,
|
||||||
"Name" : "cef4delphi_lazarus.lpk",
|
"Name" : "cef4delphi_lazarus.lpk",
|
||||||
"Version" : "90.5.4.0"
|
"Version" : "90.5.4.0"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user