// CodeGear C++Builder // Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. // All rights reserved // (DO NOT EDIT: machine generated header) 'uCEFPanelDelegate.pas' rev: 37.00 (Windows) #ifndef uCEFPanelDelegateHPP #define uCEFPanelDelegateHPP #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 Ucefpaneldelegate { //-- forward type declarations ----------------------------------------------- class DELPHICLASS TCefPanelDelegateRef; class DELPHICLASS TCefPanelDelegateOwn; class DELPHICLASS TCustomPanelDelegate; //-- type declarations ------------------------------------------------------- #pragma pack(push,4) class PASCALIMPLEMENTATION TCefPanelDelegateRef : public Ucefviewdelegate::TCefViewDelegateRef { typedef Ucefviewdelegate::TCefViewDelegateRef inherited; public: __classmethod Ucefinterfaces::_di_ICefPanelDelegate __fastcall UnWrap(void * data); public: /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefPanelDelegateRef(void * data) : Ucefviewdelegate::TCefViewDelegateRef(data) { } /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefPanelDelegateRef() { } private: void *__ICefPanelDelegate; // Ucefinterfaces::ICefPanelDelegate public: #if defined(MANAGED_INTERFACE_OPERATORS) // {305D453F-FEBA-48ED-AE33-5D978823EA96} operator Ucefinterfaces::_di_ICefPanelDelegate() { Ucefinterfaces::_di_ICefPanelDelegate intf; this->GetInterface(intf); return intf; } #else operator Ucefinterfaces::ICefPanelDelegate*(void) { return (Ucefinterfaces::ICefPanelDelegate*)&__ICefPanelDelegate; } #endif }; #pragma pack(pop) #pragma pack(push,4) class PASCALIMPLEMENTATION TCefPanelDelegateOwn : public Ucefviewdelegate::TCefViewDelegateOwn { typedef Ucefviewdelegate::TCefViewDelegateOwn inherited; public: __fastcall virtual TCefPanelDelegateOwn(); public: /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefPanelDelegateOwn(unsigned size, bool owned) : Ucefviewdelegate::TCefViewDelegateOwn(size, owned) { } /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefPanelDelegateOwn() { } private: void *__ICefPanelDelegate; // Ucefinterfaces::ICefPanelDelegate public: #if defined(MANAGED_INTERFACE_OPERATORS) // {305D453F-FEBA-48ED-AE33-5D978823EA96} operator Ucefinterfaces::_di_ICefPanelDelegate() { Ucefinterfaces::_di_ICefPanelDelegate intf; this->GetInterface(intf); return intf; } #else operator Ucefinterfaces::ICefPanelDelegate*(void) { return (Ucefinterfaces::ICefPanelDelegate*)&__ICefPanelDelegate; } #endif }; #pragma pack(pop) #pragma pack(push,4) class PASCALIMPLEMENTATION TCustomPanelDelegate : public TCefPanelDelegateOwn { typedef TCefPanelDelegateOwn inherited; protected: void *FEvents; virtual void __fastcall OnGetPreferredSize(const Ucefinterfaces::_di_ICefView view, Uceftypes::TCefSize &aResult); virtual void __fastcall OnGetMinimumSize(const Ucefinterfaces::_di_ICefView view, Uceftypes::TCefSize &aResult); virtual void __fastcall OnGetMaximumSize(const Ucefinterfaces::_di_ICefView view, Uceftypes::TCefSize &aResult); virtual void __fastcall OnGetHeightForWidth(const Ucefinterfaces::_di_ICefView view, int width, int &aResult); virtual void __fastcall OnParentViewChanged(const Ucefinterfaces::_di_ICefView view, bool added, const Ucefinterfaces::_di_ICefView parent); virtual void __fastcall OnChildViewChanged(const Ucefinterfaces::_di_ICefView view, bool added, const Ucefinterfaces::_di_ICefView child); virtual void __fastcall OnWindowChanged(const Ucefinterfaces::_di_ICefView view, bool added); virtual void __fastcall OnLayoutChanged(const Ucefinterfaces::_di_ICefView view, const Uceftypes::TCefRect &new_bounds); virtual void __fastcall OnFocus(const Ucefinterfaces::_di_ICefView view); virtual void __fastcall OnBlur(const Ucefinterfaces::_di_ICefView view); virtual void __fastcall OnThemeChanged(const Ucefinterfaces::_di_ICefView view); public: __fastcall TCustomPanelDelegate(const Ucefinterfaces::_di_ICefPanelDelegateEvents events); public: /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomPanelDelegate(unsigned size, bool owned) : TCefPanelDelegateOwn(size, owned) { } /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCustomPanelDelegate() { } }; #pragma pack(pop) //-- var, const, procedure --------------------------------------------------- } /* namespace Ucefpaneldelegate */ #if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFPANELDELEGATE) using namespace Ucefpaneldelegate; #endif #pragma pack(pop) #pragma option pop #pragma delphiheader end. //-- end unit ---------------------------------------------------------------- #endif // uCEFPanelDelegateHPP