// CodeGear C++Builder // Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. // All rights reserved // (DO NOT EDIT: machine generated header) 'uCEFWindow.pas' rev: 37.00 (Windows) #ifndef uCEFWindowHPP #define uCEFWindowHPP #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 #include //-- user supplied ----------------------------------------------------------- namespace Ucefwindow { //-- forward type declarations ----------------------------------------------- class DELPHICLASS TCefWindowRef; //-- type declarations ------------------------------------------------------- #pragma pack(push,4) class PASCALIMPLEMENTATION TCefWindowRef : public Ucefpanel::TCefPanelRef { typedef Ucefpanel::TCefPanelRef inherited; protected: void __fastcall Show(); void __fastcall ShowAsBrowserModalDialog(const Ucefinterfaces::_di_ICefBrowserView browser_view); void __fastcall Hide(); void __fastcall CenterWindow(const Uceftypes::TCefSize &size_); void __fastcall Close(); bool __fastcall IsClosed(); void __fastcall Activate(); void __fastcall Deactivate(); bool __fastcall IsActive(); void __fastcall BringToTop(); void __fastcall SetAlwaysOnTop(bool on_top); bool __fastcall IsAlwaysOnTop(); void __fastcall Maximize(); void __fastcall Minimize(); void __fastcall Restore(); void __fastcall SetFullscreen(bool fullscreen); bool __fastcall IsMaximized(); bool __fastcall IsMinimized(); bool __fastcall IsFullscreen(); Ucefinterfaces::_di_ICefView __fastcall GetFocusedView(); void __fastcall SetTitle(const Uceftypes::ustring title_); Uceftypes::ustring __fastcall GetTitle(); void __fastcall SetWindowIcon(const Ucefinterfaces::_di_ICefImage image); Ucefinterfaces::_di_ICefImage __fastcall GetWindowIcon(); void __fastcall SetWindowAppIcon(const Ucefinterfaces::_di_ICefImage image); Ucefinterfaces::_di_ICefImage __fastcall GetWindowAppIcon(); Ucefinterfaces::_di_ICefOverlayController __fastcall AddOverlayView(const Ucefinterfaces::_di_ICefView view, Uceftypes::TCefDockingMode docking_mode, bool can_activate); void __fastcall ShowMenu(const Ucefinterfaces::_di_ICefMenuModel menu_model, const Uceftypes::TCefPoint &screen_point, Uceftypes::TCefMenuAnchorPosition anchor_position); void __fastcall CancelMenu(); Ucefinterfaces::_di_ICefDisplay __fastcall GetDisplay(); Uceftypes::TCefRect __fastcall GetClientAreaBoundsInScreen(); void __fastcall SetDraggableRegions(System::NativeUInt regionsCount, const Uceftypes::PCefDraggableRegionArray regions); Uceftypes::TCefWindowHandle __fastcall GetWindowHandle(); void __fastcall SendKeyPress(int key_code, unsigned event_flags); void __fastcall SendMouseMove(int screen_x, int screen_y); void __fastcall SendMouseEvents(Uceftypes::TCefMouseButtonType button, bool mouse_down, bool mouse_up); void __fastcall SetAccelerator(int command_id, int key_code, bool shift_pressed, bool ctrl_pressed, bool alt_pressed, bool high_priority); void __fastcall RemoveAccelerator(int command_id); void __fastcall RemoveAllAccelerators(); void __fastcall SetThemeColor(int color_id, Uceftypes::TCefColor color); void __fastcall ThemeChanged(); Uceftypes::TCefRuntimeStyle __fastcall GetRuntimeStyle(); public: __classmethod Ucefinterfaces::_di_ICefWindow __fastcall UnWrap(void * data); __classmethod Ucefinterfaces::_di_ICefWindow __fastcall CreateTopLevel(const Ucefinterfaces::_di_ICefWindowDelegate delegate); public: /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefWindowRef(void * data) : Ucefpanel::TCefPanelRef(data) { } /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefWindowRef() { } private: void *__ICefWindow; // Ucefinterfaces::ICefWindow public: #if defined(MANAGED_INTERFACE_OPERATORS) // {C450C974-BF0A-4968-A6BE-153CEAD10DA6} operator Ucefinterfaces::_di_ICefWindow() { Ucefinterfaces::_di_ICefWindow intf; this->GetInterface(intf); return intf; } #else operator Ucefinterfaces::ICefWindow*(void) { return (Ucefinterfaces::ICefWindow*)&__ICefWindow; } #endif }; #pragma pack(pop) //-- var, const, procedure --------------------------------------------------- } /* namespace Ucefwindow */ #if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFWINDOW) using namespace Ucefwindow; #endif #pragma pack(pop) #pragma option pop #pragma delphiheader end. //-- end unit ---------------------------------------------------------------- #endif // uCEFWindowHPP