// CodeGear C++Builder // Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. // All rights reserved // (DO NOT EDIT: machine generated header) 'uCEFApplicationEvents.pas' rev: 37.00 (Windows) #ifndef uCEFApplicationEventsHPP #define uCEFApplicationEventsHPP #pragma delphiheader begin #pragma option push #if defined(__BORLANDC__) && !defined(__clang__) #pragma option -w- // All warnings off #pragma option -Vx // Zero-length empty class member #endif #pragma pack(push,8) #include #include #include #include #include #include //-- user supplied ----------------------------------------------------------- namespace Ucefapplicationevents { //-- forward type declarations ----------------------------------------------- __interface DELPHIINTERFACE TOnRegisterCustomSchemesEvent; typedef System::DelphiInterface _di_TOnRegisterCustomSchemesEvent; __interface DELPHIINTERFACE TOnRegisterCustomPreferencesEvent; typedef System::DelphiInterface _di_TOnRegisterCustomPreferencesEvent; __interface DELPHIINTERFACE TOnContextInitializedEvent; typedef System::DelphiInterface _di_TOnContextInitializedEvent; __interface DELPHIINTERFACE TOnBeforeChildProcessLaunchEvent; typedef System::DelphiInterface _di_TOnBeforeChildProcessLaunchEvent; __interface DELPHIINTERFACE TOnAlreadyRunningAppRelaunchEvent; typedef System::DelphiInterface _di_TOnAlreadyRunningAppRelaunchEvent; __interface DELPHIINTERFACE TOnScheduleMessagePumpWorkEvent; typedef System::DelphiInterface _di_TOnScheduleMessagePumpWorkEvent; __interface DELPHIINTERFACE TOnGetDefaultClientEvent; typedef System::DelphiInterface _di_TOnGetDefaultClientEvent; __interface DELPHIINTERFACE TOnGetDefaultRequestContextHandlerEvent; typedef System::DelphiInterface _di_TOnGetDefaultRequestContextHandlerEvent; __interface DELPHIINTERFACE TOnGetLocalizedStringEvent; typedef System::DelphiInterface _di_TOnGetLocalizedStringEvent; __interface DELPHIINTERFACE TOnGetDataResourceEvent; typedef System::DelphiInterface _di_TOnGetDataResourceEvent; __interface DELPHIINTERFACE TOnGetDataResourceForScaleEvent; typedef System::DelphiInterface _di_TOnGetDataResourceForScaleEvent; __interface DELPHIINTERFACE TOnWebKitInitializedEvent; typedef System::DelphiInterface _di_TOnWebKitInitializedEvent; __interface DELPHIINTERFACE TOnBrowserCreatedEvent; typedef System::DelphiInterface _di_TOnBrowserCreatedEvent; __interface DELPHIINTERFACE TOnBrowserDestroyedEvent; typedef System::DelphiInterface _di_TOnBrowserDestroyedEvent; __interface DELPHIINTERFACE TOnContextCreatedEvent; typedef System::DelphiInterface _di_TOnContextCreatedEvent; __interface DELPHIINTERFACE TOnContextReleasedEvent; typedef System::DelphiInterface _di_TOnContextReleasedEvent; __interface DELPHIINTERFACE TOnUncaughtExceptionEvent; typedef System::DelphiInterface _di_TOnUncaughtExceptionEvent; __interface DELPHIINTERFACE TOnFocusedNodeChangedEvent; typedef System::DelphiInterface _di_TOnFocusedNodeChangedEvent; __interface DELPHIINTERFACE TOnProcessMessageReceivedEvent; typedef System::DelphiInterface _di_TOnProcessMessageReceivedEvent; __interface DELPHIINTERFACE TOnRenderLoadingStateChange; typedef System::DelphiInterface _di_TOnRenderLoadingStateChange; __interface DELPHIINTERFACE TOnRenderLoadStart; typedef System::DelphiInterface _di_TOnRenderLoadStart; __interface DELPHIINTERFACE TOnRenderLoadEnd; typedef System::DelphiInterface _di_TOnRenderLoadEnd; __interface DELPHIINTERFACE TOnRenderLoadError; typedef System::DelphiInterface _di_TOnRenderLoadError; //-- type declarations ------------------------------------------------------- __interface TOnRegisterCustomSchemesEvent : public System::IInterface { virtual void __fastcall Invoke(Ucefschemeregistrar::TCefSchemeRegistrarRef* const registrar) = 0 ; }; __interface TOnRegisterCustomPreferencesEvent : public System::IInterface { virtual void __fastcall Invoke(Uceftypes::TCefPreferencesType type_, Ucefpreferenceregistrar::TCefPreferenceRegistrarRef* const registrar) = 0 ; }; __interface TOnContextInitializedEvent : public System::IInterface { virtual void __fastcall Invoke() = 0 ; }; __interface TOnBeforeChildProcessLaunchEvent : public System::IInterface { virtual void __fastcall Invoke(const Ucefinterfaces::_di_ICefCommandLine commandLine) = 0 ; }; __interface TOnAlreadyRunningAppRelaunchEvent : public System::IInterface { virtual void __fastcall Invoke(const Ucefinterfaces::_di_ICefCommandLine commandLine, const Uceftypes::ustring current_directory, bool &aResult) = 0 ; }; __interface TOnScheduleMessagePumpWorkEvent : public System::IInterface { virtual void __fastcall Invoke(const __int64 delayMs) = 0 ; }; __interface TOnGetDefaultClientEvent : public System::IInterface { virtual void __fastcall Invoke(Ucefinterfaces::_di_ICefClient &aClient) = 0 ; }; __interface TOnGetDefaultRequestContextHandlerEvent : public System::IInterface { virtual void __fastcall Invoke(Ucefinterfaces::_di_ICefRequestContextHandler &aRequestContextHandler) = 0 ; }; __interface TOnGetLocalizedStringEvent : public System::IInterface { virtual void __fastcall Invoke(int stringId, /* out */ Uceftypes::ustring &stringVal, bool &aResult) = 0 ; }; __interface TOnGetDataResourceEvent : public System::IInterface { virtual void __fastcall Invoke(int resourceId, /* out */ void * &data, /* out */ System::NativeUInt &dataSize, bool &aResult) = 0 ; }; __interface TOnGetDataResourceForScaleEvent : public System::IInterface { virtual void __fastcall Invoke(int resourceId, Uceftypes::TCefScaleFactor scaleFactor, /* out */ void * &data, /* out */ System::NativeUInt &dataSize, bool &aResult) = 0 ; }; __interface TOnWebKitInitializedEvent : public System::IInterface { virtual void __fastcall Invoke() = 0 ; }; __interface TOnBrowserCreatedEvent : public System::IInterface { virtual void __fastcall Invoke(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefDictionaryValue extra_info) = 0 ; }; __interface TOnBrowserDestroyedEvent : public System::IInterface { virtual void __fastcall Invoke(const Ucefinterfaces::_di_ICefBrowser browser) = 0 ; }; __interface TOnContextCreatedEvent : public System::IInterface { virtual void __fastcall Invoke(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefv8Context context) = 0 ; }; __interface TOnContextReleasedEvent : public System::IInterface { virtual void __fastcall Invoke(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefv8Context context) = 0 ; }; __interface TOnUncaughtExceptionEvent : public System::IInterface { virtual void __fastcall Invoke(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefv8Context context, const Ucefinterfaces::_di_ICefV8Exception exception, const Ucefinterfaces::_di_ICefV8StackTrace stackTrace) = 0 ; }; __interface TOnFocusedNodeChangedEvent : public System::IInterface { virtual void __fastcall Invoke(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefDomNode node) = 0 ; }; __interface TOnProcessMessageReceivedEvent : public System::IInterface { virtual void __fastcall Invoke(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, Uceftypes::TCefProcessId sourceProcess, const Ucefinterfaces::_di_ICefProcessMessage message, bool &aHandled) = 0 ; }; __interface TOnRenderLoadingStateChange : public System::IInterface { virtual void __fastcall Invoke(const Ucefinterfaces::_di_ICefBrowser browser, bool isLoading, bool canGoBack, bool canGoForward) = 0 ; }; __interface TOnRenderLoadStart : public System::IInterface { virtual void __fastcall Invoke(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, Uceftypes::TCefTransitionType transitionType) = 0 ; }; __interface TOnRenderLoadEnd : public System::IInterface { virtual void __fastcall Invoke(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, int httpStatusCode) = 0 ; }; __interface TOnRenderLoadError : public System::IInterface { virtual void __fastcall Invoke(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, Uceftypes::TCefErrorCode errorCode, const Uceftypes::ustring errorText, const Uceftypes::ustring failedUrl) = 0 ; }; //-- var, const, procedure --------------------------------------------------- } /* namespace Ucefapplicationevents */ #if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFAPPLICATIONEVENTS) using namespace Ucefapplicationevents; #endif #pragma pack(pop) #pragma option pop #pragma delphiheader end. //-- end unit ---------------------------------------------------------------- #endif // uCEFApplicationEventsHPP