// CodeGear C++Builder // Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. // All rights reserved // (DO NOT EDIT: machine generated header) 'uCEFRenderHandler.pas' rev: 37.00 (Windows) #ifndef uCEFRenderHandlerHPP #define uCEFRenderHandlerHPP #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 //-- user supplied ----------------------------------------------------------- namespace Ucefrenderhandler { //-- forward type declarations ----------------------------------------------- class DELPHICLASS TCefRenderHandlerOwn; class DELPHICLASS TCustomRenderHandler; //-- type declarations ------------------------------------------------------- #pragma pack(push,4) class PASCALIMPLEMENTATION TCefRenderHandlerOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn { typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited; protected: virtual void __fastcall GetAccessibilityHandler(Ucefinterfaces::_di_ICefAccessibilityHandler &aAccessibilityHandler); virtual bool __fastcall GetRootScreenRect(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefRect &rect); virtual void __fastcall GetViewRect(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefRect &rect); virtual bool __fastcall GetScreenPoint(const Ucefinterfaces::_di_ICefBrowser browser, int viewX, int viewY, int &screenX, int &screenY); virtual bool __fastcall GetScreenInfo(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefScreenInfo &screenInfo); virtual void __fastcall OnPopupShow(const Ucefinterfaces::_di_ICefBrowser browser, bool show); virtual void __fastcall OnPopupSize(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefRect rect); virtual void __fastcall OnPaint(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefPaintElementType kind, System::NativeUInt dirtyRectsCount, const Uceftypes::PCefRectArray dirtyRects, const void * buffer, int width, int height); virtual void __fastcall OnAcceleratedPaint(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefPaintElementType kind, System::NativeUInt dirtyRectsCount, const Uceftypes::PCefRectArray dirtyRects, const Uceftypes::PCefAcceleratedPaintInfo info); virtual void __fastcall GetTouchHandleSize(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefHorizontalAlignment orientation, Uceftypes::TCefSize &size); virtual void __fastcall OnTouchHandleStateChanged(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::TCefTouchHandleState &state); virtual bool __fastcall OnStartDragging(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefDragData dragData, Uceftypes::TCefDragOperations allowedOps, int x, int y); virtual void __fastcall OnUpdateDragCursor(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefDragOperation operation); virtual void __fastcall OnScrollOffsetChanged(const Ucefinterfaces::_di_ICefBrowser browser, double x, double y); virtual void __fastcall OnIMECompositionRangeChanged(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefRange selected_range, System::NativeUInt character_boundsCount, const Uceftypes::PCefRect character_bounds); virtual void __fastcall OnTextSelectionChanged(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring selected_text, const Uceftypes::PCefRange selected_range); virtual void __fastcall OnVirtualKeyboardRequested(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefTextInpuMode input_mode); virtual void __fastcall RemoveReferences(); public: __fastcall virtual TCefRenderHandlerOwn(); public: /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefRenderHandlerOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { } /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefRenderHandlerOwn() { } private: void *__ICefRenderHandler; // Ucefinterfaces::ICefRenderHandler public: #if defined(MANAGED_INTERFACE_OPERATORS) // {1FC1C22B-085A-4741-9366-5249B88EC410} operator Ucefinterfaces::_di_ICefRenderHandler() { Ucefinterfaces::_di_ICefRenderHandler intf; this->GetInterface(intf); return intf; } #else operator Ucefinterfaces::ICefRenderHandler*(void) { return (Ucefinterfaces::ICefRenderHandler*)&__ICefRenderHandler; } #endif }; #pragma pack(pop) #pragma pack(push,4) class PASCALIMPLEMENTATION TCustomRenderHandler : public TCefRenderHandlerOwn { typedef TCefRenderHandlerOwn inherited; protected: void *FEvents; virtual void __fastcall GetAccessibilityHandler(Ucefinterfaces::_di_ICefAccessibilityHandler &aAccessibilityHandler); virtual bool __fastcall GetRootScreenRect(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefRect &rect); virtual void __fastcall GetViewRect(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefRect &rect); virtual bool __fastcall GetScreenPoint(const Ucefinterfaces::_di_ICefBrowser browser, int viewX, int viewY, int &screenX, int &screenY); virtual void __fastcall OnPopupShow(const Ucefinterfaces::_di_ICefBrowser browser, bool show); virtual void __fastcall OnPopupSize(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefRect rect); virtual void __fastcall OnPaint(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefPaintElementType kind, System::NativeUInt dirtyRectsCount, const Uceftypes::PCefRectArray dirtyRects, const void * buffer, int width, int height); virtual void __fastcall OnAcceleratedPaint(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefPaintElementType kind, System::NativeUInt dirtyRectsCount, const Uceftypes::PCefRectArray dirtyRects, const Uceftypes::PCefAcceleratedPaintInfo info); virtual void __fastcall GetTouchHandleSize(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefHorizontalAlignment orientation, Uceftypes::TCefSize &size); virtual void __fastcall OnTouchHandleStateChanged(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::TCefTouchHandleState &state); virtual bool __fastcall GetScreenInfo(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefScreenInfo &screenInfo); virtual bool __fastcall OnStartDragging(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefDragData dragData, Uceftypes::TCefDragOperations allowedOps, int x, int y); virtual void __fastcall OnUpdateDragCursor(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefDragOperation operation); virtual void __fastcall OnScrollOffsetChanged(const Ucefinterfaces::_di_ICefBrowser browser, double x, double y); virtual void __fastcall OnIMECompositionRangeChanged(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefRange selected_range, System::NativeUInt character_boundsCount, const Uceftypes::PCefRect character_bounds); virtual void __fastcall OnTextSelectionChanged(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring selected_text, const Uceftypes::PCefRange selected_range); virtual void __fastcall OnVirtualKeyboardRequested(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefTextInpuMode input_mode); virtual void __fastcall RemoveReferences(); public: __fastcall virtual TCustomRenderHandler(const Ucefinterfaces::_di_IChromiumEvents events); __fastcall virtual ~TCustomRenderHandler(); public: /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomRenderHandler(unsigned size, bool owned) : TCefRenderHandlerOwn(size, owned) { } }; #pragma pack(pop) //-- var, const, procedure --------------------------------------------------- } /* namespace Ucefrenderhandler */ #if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFRENDERHANDLER) using namespace Ucefrenderhandler; #endif #pragma pack(pop) #pragma option pop #pragma delphiheader end. //-- end unit ---------------------------------------------------------------- #endif // uCEFRenderHandlerHPP