// CodeGear C++Builder // Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. // All rights reserved // (DO NOT EDIT: machine generated header) 'uCEFView.pas' rev: 37.00 (Windows) #ifndef uCEFViewHPP #define uCEFViewHPP #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 //-- user supplied ----------------------------------------------------------- namespace Ucefview { //-- forward type declarations ----------------------------------------------- class DELPHICLASS TCefViewRef; //-- type declarations ------------------------------------------------------- #pragma pack(push,4) class PASCALIMPLEMENTATION TCefViewRef : public Ucefbaserefcounted::TCefBaseRefCountedRef { typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; protected: Ucefinterfaces::_di_ICefBrowserView __fastcall AsBrowserView(); Ucefinterfaces::_di_ICefButton __fastcall AsButton(); Ucefinterfaces::_di_ICefPanel __fastcall AsPanel(); Ucefinterfaces::_di_ICefScrollView __fastcall AsScrollView(); Ucefinterfaces::_di_ICefTextfield __fastcall AsTextfield(); Uceftypes::ustring __fastcall GetTypeString(); Uceftypes::ustring __fastcall ToStringEx(bool include_children); bool __fastcall IsValid(); bool __fastcall IsAttached(); bool __fastcall IsSame(const Ucefinterfaces::_di_ICefView that); Ucefinterfaces::_di_ICefViewDelegate __fastcall GetDelegate(); Ucefinterfaces::_di_ICefWindow __fastcall GetWindow(); int __fastcall GetID(); void __fastcall SetID(int id_); int __fastcall GetGroupID(); void __fastcall SetGroupID(int group_id); Ucefinterfaces::_di_ICefView __fastcall GetParentView(); Ucefinterfaces::_di_ICefView __fastcall GetViewForID(int id_); void __fastcall SetBounds(const Uceftypes::TCefRect &bounds_); Uceftypes::TCefRect __fastcall GetBounds(); Uceftypes::TCefRect __fastcall GetBoundsInScreen(); void __fastcall SetSize(const Uceftypes::TCefSize &size_); Uceftypes::TCefSize __fastcall GetSize(); void __fastcall SetPosition(const Uceftypes::TCefPoint &position_); Uceftypes::TCefPoint __fastcall GetPosition(); void __fastcall SetInsets(const Uceftypes::TCefInsets &insets); Uceftypes::TCefInsets __fastcall GetInsets(); Uceftypes::TCefSize __fastcall GetPreferredSize(); void __fastcall SizeToPreferredSize(); Uceftypes::TCefSize __fastcall GetMinimumSize(); Uceftypes::TCefSize __fastcall GetMaximumSize(); int __fastcall GetHeightForWidth(int width); void __fastcall InvalidateLayout(); void __fastcall SetVisible(bool visible_); bool __fastcall IsVisible(); bool __fastcall IsDrawn(); void __fastcall SetEnabled(bool enabled_); bool __fastcall IsEnabled(); void __fastcall SetFocusable(bool focusable_); bool __fastcall IsFocusable(); bool __fastcall IsAccessibilityFocusable(); bool __fastcall HasFocus(); void __fastcall RequestFocus(); void __fastcall SetBackgroundColor(Uceftypes::TCefColor color); Uceftypes::TCefColor __fastcall GetBackgroundColor(); Uceftypes::TCefColor __fastcall GetThemeColor(int color_id); bool __fastcall ConvertPointToScreen(Uceftypes::TCefPoint &point); bool __fastcall ConvertPointFromScreen(Uceftypes::TCefPoint &point); bool __fastcall ConvertPointToWindow(Uceftypes::TCefPoint &point); bool __fastcall ConvertPointFromWindow(Uceftypes::TCefPoint &point); bool __fastcall ConvertPointToView(const Ucefinterfaces::_di_ICefView view, Uceftypes::TCefPoint &point); bool __fastcall ConvertPointFromView(const Ucefinterfaces::_di_ICefView view, Uceftypes::TCefPoint &point); public: __classmethod Ucefinterfaces::_di_ICefView __fastcall UnWrap(void * data); public: /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefViewRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefViewRef() { } private: void *__ICefView; // Ucefinterfaces::ICefView public: #if defined(MANAGED_INTERFACE_OPERATORS) // {E9AF950A-F4E8-420C-BD1F-F26F4FDFA48D} operator Ucefinterfaces::_di_ICefView() { Ucefinterfaces::_di_ICefView intf; this->GetInterface(intf); return intf; } #else operator Ucefinterfaces::ICefView*(void) { return (Ucefinterfaces::ICefView*)&__ICefView; } #endif }; #pragma pack(pop) //-- var, const, procedure --------------------------------------------------- } /* namespace Ucefview */ #if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFVIEW) using namespace Ucefview; #endif #pragma pack(pop) #pragma option pop #pragma delphiheader end. //-- end unit ---------------------------------------------------------------- #endif // uCEFViewHPP