// CodeGear C++Builder // Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. // All rights reserved // (DO NOT EDIT: machine generated header) 'uCEFBrowserProcessHandler.pas' rev: 37.00 (Windows) #ifndef uCEFBrowserProcessHandlerHPP #define uCEFBrowserProcessHandlerHPP #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 #include #include //-- user supplied ----------------------------------------------------------- namespace Ucefbrowserprocesshandler { //-- forward type declarations ----------------------------------------------- class DELPHICLASS TCefBrowserProcessHandlerOwn; class DELPHICLASS TCefCustomBrowserProcessHandler; //-- type declarations ------------------------------------------------------- #pragma pack(push,4) class PASCALIMPLEMENTATION TCefBrowserProcessHandlerOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn { typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited; protected: virtual void __fastcall OnRegisterCustomPreferences(Uceftypes::TCefPreferencesType type_, Uceftypes::PCefPreferenceRegistrar registrar) = 0 ; virtual void __fastcall OnContextInitialized() = 0 ; virtual void __fastcall OnBeforeChildProcessLaunch(const Ucefinterfaces::_di_ICefCommandLine commandLine) = 0 ; virtual void __fastcall OnAlreadyRunningAppRelaunch(const Ucefinterfaces::_di_ICefCommandLine commandLine, const Uceftypes::ustring current_directory, bool &aResult) = 0 ; virtual void __fastcall OnScheduleMessagePumpWork(const __int64 delayMs) = 0 ; virtual void __fastcall GetDefaultClient(Ucefinterfaces::_di_ICefClient &aClient); virtual void __fastcall GetDefaultRequestContextHandler(Ucefinterfaces::_di_ICefRequestContextHandler &aRequestContextHandler); virtual void __fastcall RemoveReferences() = 0 ; public: __fastcall virtual TCefBrowserProcessHandlerOwn(); public: /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefBrowserProcessHandlerOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { } /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefBrowserProcessHandlerOwn() { } private: void *__ICefBrowserProcessHandler; // Ucefinterfaces::ICefBrowserProcessHandler public: #if defined(MANAGED_INTERFACE_OPERATORS) // {27291B7A-C0AE-4EE0-9115-15C810E22F6C} operator Ucefinterfaces::_di_ICefBrowserProcessHandler() { Ucefinterfaces::_di_ICefBrowserProcessHandler intf; this->GetInterface(intf); return intf; } #else operator Ucefinterfaces::ICefBrowserProcessHandler*(void) { return (Ucefinterfaces::ICefBrowserProcessHandler*)&__ICefBrowserProcessHandler; } #endif }; #pragma pack(pop) #pragma pack(push,4) class PASCALIMPLEMENTATION TCefCustomBrowserProcessHandler : public TCefBrowserProcessHandlerOwn { typedef TCefBrowserProcessHandlerOwn inherited; protected: Ucefapplicationcore::TCefApplicationCore* FCefApp; virtual void __fastcall OnRegisterCustomPreferences(Uceftypes::TCefPreferencesType type_, Uceftypes::PCefPreferenceRegistrar registrar); virtual void __fastcall OnContextInitialized(); virtual void __fastcall OnBeforeChildProcessLaunch(const Ucefinterfaces::_di_ICefCommandLine commandLine); virtual void __fastcall OnAlreadyRunningAppRelaunch(const Ucefinterfaces::_di_ICefCommandLine commandLine, const Uceftypes::ustring current_directory, bool &aResult); virtual void __fastcall OnScheduleMessagePumpWork(const __int64 delayMs); virtual void __fastcall GetDefaultClient(Ucefinterfaces::_di_ICefClient &aClient); virtual void __fastcall GetDefaultRequestContextHandler(Ucefinterfaces::_di_ICefRequestContextHandler &aRequestContextHandler); virtual void __fastcall RemoveReferences(); public: __fastcall TCefCustomBrowserProcessHandler(Ucefapplicationcore::TCefApplicationCore* const aCefApp); __fastcall virtual ~TCefCustomBrowserProcessHandler(); public: /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefCustomBrowserProcessHandler(unsigned size, bool owned) : TCefBrowserProcessHandlerOwn(size, owned) { } }; #pragma pack(pop) //-- var, const, procedure --------------------------------------------------- } /* namespace Ucefbrowserprocesshandler */ #if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFBROWSERPROCESSHANDLER) using namespace Ucefbrowserprocesshandler; #endif #pragma pack(pop) #pragma option pop #pragma delphiheader end. //-- end unit ---------------------------------------------------------------- #endif // uCEFBrowserProcessHandlerHPP