1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2024-11-24 08:02:15 +02:00

Fixed typo in IApplicationCoreEvents interface

This commit is contained in:
salvadordf 2023-08-03 15:58:57 +02:00
parent 312c9530bb
commit 6b31c99902
7 changed files with 24 additions and 24 deletions

View File

@ -277,7 +277,7 @@ procedure TCustomCefApp.OnBeforeCommandLineProcessing(const processType: ustring
begin
try
if (FCefApp <> nil) then
IAppplicationCoreEvents(FCefApp).doOnBeforeCommandLineProcessing(processType, commandLine);
IApplicationCoreEvents(FCefApp).doOnBeforeCommandLineProcessing(processType, commandLine);
except
on e : exception do
if CustomExceptionHandler('TCustomCefApp.OnBeforeCommandLineProcessing', e) then raise;
@ -288,7 +288,7 @@ procedure TCustomCefApp.OnRegisterCustomSchemes(const registrar: TCefSchemeRegis
begin
try
if (FCefApp <> nil) then
IAppplicationCoreEvents(FCefApp).doOnRegisterCustomSchemes(registrar);
IApplicationCoreEvents(FCefApp).doOnRegisterCustomSchemes(registrar);
except
on e : exception do
if CustomExceptionHandler('TCustomCefApp.OnRegisterCustomSchemes', e) then raise;

View File

@ -94,7 +94,7 @@ type
/// <summary>
/// Parent class of TCefApplication used to simplify the CEF initialization and destruction.
/// </summary>
TCefApplicationCore = class(TInterfacedObject, IAppplicationCoreEvents)
TCefApplicationCore = class(TInterfacedObject, IApplicationCoreEvents)
protected
// Fields used to populate TCefSettings
FNoSandbox : boolean;

View File

@ -210,7 +210,7 @@ procedure TCefCustomBrowserProcessHandler.OnRegisterCustomPreferences(type_
begin
try
if (FCefApp <> nil) then
IAppplicationCoreEvents(FCefApp).doOnRegisterCustomPreferences(type_, registrar);
IApplicationCoreEvents(FCefApp).doOnRegisterCustomPreferences(type_, registrar);
except
on e : exception do
if CustomExceptionHandler('TCefCustomBrowserProcessHandler.OnRegisterCustomPreferences', e) then raise;
@ -221,7 +221,7 @@ procedure TCefCustomBrowserProcessHandler.OnContextInitialized;
begin
try
if (FCefApp <> nil) then
IAppplicationCoreEvents(FCefApp).doOnContextInitialized;
IApplicationCoreEvents(FCefApp).doOnContextInitialized;
except
on e : exception do
if CustomExceptionHandler('TCefCustomBrowserProcessHandler.OnContextInitialized', e) then raise;
@ -232,7 +232,7 @@ procedure TCefCustomBrowserProcessHandler.OnBeforeChildProcessLaunch(const comma
begin
try
if (FCefApp <> nil) then
IAppplicationCoreEvents(FCefApp).doOnBeforeChildProcessLaunch(commandLine);
IApplicationCoreEvents(FCefApp).doOnBeforeChildProcessLaunch(commandLine);
except
on e : exception do
if CustomExceptionHandler('TCefCustomBrowserProcessHandler.OnBeforeChildProcessLaunch', e) then raise;
@ -243,7 +243,7 @@ procedure TCefCustomBrowserProcessHandler.OnScheduleMessagePumpWork(const delayM
begin
try
if (FCefApp <> nil) then
IAppplicationCoreEvents(FCefApp).doOnScheduleMessagePumpWork(delayMs);
IApplicationCoreEvents(FCefApp).doOnScheduleMessagePumpWork(delayMs);
except
on e : exception do
if CustomExceptionHandler('TCefCustomBrowserProcessHandler.OnScheduleMessagePumpWork', e) then raise;
@ -254,7 +254,7 @@ procedure TCefCustomBrowserProcessHandler.GetDefaultClient(var aClient : ICefCli
begin
try
if (FCefApp <> nil) then
IAppplicationCoreEvents(FCefApp).doGetDefaultClient(aClient);
IApplicationCoreEvents(FCefApp).doGetDefaultClient(aClient);
except
on e : exception do
if CustomExceptionHandler('TCefCustomBrowserProcessHandler.GetDefaultClient', e) then raise;

View File

@ -283,7 +283,7 @@ type
property Enumerate[const aKey: ustring; aValueIndex: NativeUInt] : ustring read GetEnumerate;
end;
IAppplicationCoreEvents = interface
IApplicationCoreEvents = interface
['{55E99E25-A05D-46D5-B3A4-C8C2E71C1F4D}']
// ICefApp

View File

@ -292,7 +292,7 @@ procedure TCustomRenderLoadHandler.OnLoadingStateChange(const browser : ICe
begin
try
if (FCefApp <> nil) then
IAppplicationCoreEvents(FCefApp).doOnLoadingStateChange(browser, isLoading, canGoBack, canGoForward);
IApplicationCoreEvents(FCefApp).doOnLoadingStateChange(browser, isLoading, canGoBack, canGoForward);
except
on e : exception do
if CustomExceptionHandler('TCustomRenderLoadHandler.OnLoadingStateChange', e) then raise;
@ -305,7 +305,7 @@ procedure TCustomRenderLoadHandler.OnLoadStart(const browser : ICefBrowse
begin
try
if (FCefApp <> nil) then
IAppplicationCoreEvents(FCefApp).doOnLoadStart(browser, frame, transitionType);
IApplicationCoreEvents(FCefApp).doOnLoadStart(browser, frame, transitionType);
except
on e : exception do
if CustomExceptionHandler('TCustomRenderLoadHandler.OnLoadStart', e) then raise;
@ -318,7 +318,7 @@ procedure TCustomRenderLoadHandler.OnLoadEnd(const browser : ICefBrowser;
begin
try
if (FCefApp <> nil) then
IAppplicationCoreEvents(FCefApp).doOnLoadEnd(browser, frame, httpStatusCode);
IApplicationCoreEvents(FCefApp).doOnLoadEnd(browser, frame, httpStatusCode);
except
on e : exception do
if CustomExceptionHandler('TCustomRenderLoadHandler.OnLoadEnd', e) then raise;
@ -333,7 +333,7 @@ procedure TCustomRenderLoadHandler.OnLoadError(const browser : ICefBrowser;
begin
try
if (FCefApp <> nil) then
IAppplicationCoreEvents(FCefApp).doOnLoadError(browser, frame, errorCode, errorText, failedUrl);
IApplicationCoreEvents(FCefApp).doOnLoadError(browser, frame, errorCode, errorText, failedUrl);
except
on e : exception do
if CustomExceptionHandler('TCustomRenderLoadHandler.OnLoadError', e) then raise;

View File

@ -315,7 +315,7 @@ procedure TCefCustomRenderProcessHandler.OnWebKitInitialized;
begin
try
if (FCefApp <> nil) then
IAppplicationCoreEvents(FCefApp).doOnWebKitInitialized;
IApplicationCoreEvents(FCefApp).doOnWebKitInitialized;
except
on e : exception do
if CustomExceptionHandler('TCefCustomRenderProcessHandler.OnWebKitInitialized', e) then raise;
@ -326,7 +326,7 @@ procedure TCefCustomRenderProcessHandler.OnBrowserCreated(const browser: ICefBro
begin
try
if (FCefApp <> nil) then
IAppplicationCoreEvents(FCefApp).doOnBrowserCreated(browser, extra_info);
IApplicationCoreEvents(FCefApp).doOnBrowserCreated(browser, extra_info);
except
on e : exception do
if CustomExceptionHandler('TCefCustomRenderProcessHandler.OnBrowserCreated', e) then raise;
@ -337,7 +337,7 @@ procedure TCefCustomRenderProcessHandler.OnBrowserDestroyed(const browser: ICefB
begin
try
if (FCefApp <> nil) then
IAppplicationCoreEvents(FCefApp).doOnBrowserDestroyed(browser);
IApplicationCoreEvents(FCefApp).doOnBrowserDestroyed(browser);
except
on e : exception do
if CustomExceptionHandler('TCefCustomRenderProcessHandler.OnBrowserDestroyed', e) then raise;
@ -358,7 +358,7 @@ procedure TCefCustomRenderProcessHandler.OnContextCreated(const browser : ICefBr
begin
try
if (FCefApp <> nil) then
IAppplicationCoreEvents(FCefApp).doOnContextCreated(browser, frame, context);
IApplicationCoreEvents(FCefApp).doOnContextCreated(browser, frame, context);
except
on e : exception do
if CustomExceptionHandler('TCefCustomRenderProcessHandler.OnContextCreated', e) then raise;
@ -371,7 +371,7 @@ procedure TCefCustomRenderProcessHandler.OnContextReleased(const browser : ICefB
begin
try
if (FCefApp <> nil) then
IAppplicationCoreEvents(FCefApp).doOnContextReleased(browser, frame, context);
IApplicationCoreEvents(FCefApp).doOnContextReleased(browser, frame, context);
except
on e : exception do
if CustomExceptionHandler('TCefCustomRenderProcessHandler.OnContextReleased', e) then raise;
@ -386,7 +386,7 @@ procedure TCefCustomRenderProcessHandler.OnUncaughtException(const browser :
begin
try
if (FCefApp <> nil) then
IAppplicationCoreEvents(FCefApp).doOnUncaughtException(browser, frame, context, V8Exception, stackTrace);
IApplicationCoreEvents(FCefApp).doOnUncaughtException(browser, frame, context, V8Exception, stackTrace);
except
on e : exception do
if CustomExceptionHandler('TCefCustomRenderProcessHandler.OnUncaughtException', e) then raise;
@ -399,7 +399,7 @@ procedure TCefCustomRenderProcessHandler.OnFocusedNodeChanged(const browser : IC
begin
try
if (FCefApp <> nil) then
IAppplicationCoreEvents(FCefApp).doOnFocusedNodeChanged(browser, frame, node);
IApplicationCoreEvents(FCefApp).doOnFocusedNodeChanged(browser, frame, node);
except
on e : exception do
if CustomExceptionHandler('TCefCustomRenderProcessHandler.OnFocusedNodeChanged', e) then raise;
@ -415,7 +415,7 @@ begin
try
if (FCefApp <> nil) then
IAppplicationCoreEvents(FCefApp).doOnProcessMessageReceived(browser, frame, sourceProcess, aMessage, Result);
IApplicationCoreEvents(FCefApp).doOnProcessMessageReceived(browser, frame, sourceProcess, aMessage, Result);
except
on e : exception do
if CustomExceptionHandler('TCefCustomRenderProcessHandler.OnProcessMessageReceived', e) then raise;

View File

@ -186,7 +186,7 @@ begin
try
if (FCefApp <> nil) then
Result := IAppplicationCoreEvents(FCefApp).doGetLocalizedString(stringid, stringVal);
Result := IApplicationCoreEvents(FCefApp).doGetLocalizedString(stringid, stringVal);
except
on e : exception do
if CustomExceptionHandler('TCefCustomResourceBundleHandler.GetLocalizedString', e) then raise;
@ -201,7 +201,7 @@ begin
try
if (FCefApp <> nil) then
Result := IAppplicationCoreEvents(FCefApp).doGetDataResource(resourceId, data, dataSize);
Result := IApplicationCoreEvents(FCefApp).doGetDataResource(resourceId, data, dataSize);
except
on e : exception do
if CustomExceptionHandler('TCefCustomResourceBundleHandler.GetDataResource', e) then raise;
@ -217,7 +217,7 @@ begin
try
if (FCefApp <> nil) then
Result := IAppplicationCoreEvents(FCefApp).doGetDataResourceForScale(resourceId, scaleFactor, data, dataSize);
Result := IApplicationCoreEvents(FCefApp).doGetDataResourceForScale(resourceId, scaleFactor, data, dataSize);
except
on e : exception do
if CustomExceptionHandler('TCefCustomResourceBundleHandler.GetDataResourceForScale', e) then raise;