// CodeGear C++Builder // Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. // All rights reserved // (DO NOT EDIT: machine generated header) 'uCEFViewsFrameworkEvents.pas' rev: 37.00 (Windows) #ifndef uCEFViewsFrameworkEventsHPP #define uCEFViewsFrameworkEventsHPP #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 Ucefviewsframeworkevents { //-- forward type declarations ----------------------------------------------- //-- type declarations ------------------------------------------------------- typedef void __fastcall (__closure *TOnGetPreferredSizeEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefView view, Uceftypes::TCefSize &aResult); typedef void __fastcall (__closure *TOnGetMinimumSizeEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefView view, Uceftypes::TCefSize &aResult); typedef void __fastcall (__closure *TOnGetMaximumSizeEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefView view, Uceftypes::TCefSize &aResult); typedef void __fastcall (__closure *TOnGetHeightForWidthEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefView view, int width, int &aResult); typedef void __fastcall (__closure *TOnParentViewChangedEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefView view, bool added, const Ucefinterfaces::_di_ICefView parent); typedef void __fastcall (__closure *TOnChildViewChangedEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefView view, bool added, const Ucefinterfaces::_di_ICefView child); typedef void __fastcall (__closure *TOnWindowChangedEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefView view, bool added); typedef void __fastcall (__closure *TOnLayoutChangedEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefView view, const Uceftypes::TCefRect &new_bounds); typedef void __fastcall (__closure *TOnFocusEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefView view); typedef void __fastcall (__closure *TOnBlurEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefView view); typedef void __fastcall (__closure *TOnThemeChangedEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefView view); typedef void __fastcall (__closure *TOnTextfieldKeyEventEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefTextfield textfield, const Uceftypes::TCefKeyEvent &event, bool &aResult); typedef void __fastcall (__closure *TOnAfterUserActionEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefTextfield textfield); typedef void __fastcall (__closure *TOnBrowserCreatedEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefBrowserView browser_view, const Ucefinterfaces::_di_ICefBrowser browser); typedef void __fastcall (__closure *TOnBrowserDestroyedEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefBrowserView browser_view, const Ucefinterfaces::_di_ICefBrowser browser); typedef void __fastcall (__closure *TOnGetDelegateForPopupBrowserViewEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefBrowserView browser_view, const Uceftypes::TCefBrowserSettings &settings, const Ucefinterfaces::_di_ICefClient client, bool is_devtools, Ucefinterfaces::_di_ICefBrowserViewDelegate &aResult); typedef void __fastcall (__closure *TOnPopupBrowserViewCreatedEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefBrowserView browser_view, const Ucefinterfaces::_di_ICefBrowserView popup_browser_view, bool is_devtools, bool &aResult); typedef void __fastcall (__closure *TOnGetChromeToolbarTypeEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefBrowserView browser_view, Uceftypes::TCefChromeToolbarType &aChromeToolbarType); typedef void __fastcall (__closure *TOnUseFramelessWindowForPictureInPicture)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefBrowserView browser_view, bool &aResult); typedef void __fastcall (__closure *TOnGestureCommandEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefBrowserView browser_view, Uceftypes::TCefGestureCommand gesture_command, bool &aResult); typedef void __fastcall (__closure *TOnGetBrowserRuntimeStyleEvent)(System::TObject* const Sender, Uceftypes::TCefRuntimeStyle &aResult); typedef void __fastcall (__closure *TOnAllowMoveForPictureInPictureEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefBrowserView browser_view, bool &aResult); typedef void __fastcall (__closure *TOnButtonPressedEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefButton button); typedef void __fastcall (__closure *TOnButtonStateChangedEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefButton button); typedef void __fastcall (__closure *TOnMenuButtonPressedEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefMenuButton menu_button, const Uceftypes::TCefPoint &screen_point, const Ucefinterfaces::_di_ICefMenuButtonPressedLock button_pressed_lock); typedef void __fastcall (__closure *TOnWindowCreatedEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_); typedef void __fastcall (__closure *TOnWindowClosingEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_); typedef void __fastcall (__closure *TOnWindowDestroyedEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_); typedef void __fastcall (__closure *TOnWindowActivationChangedEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, bool active); typedef void __fastcall (__closure *TOnWindowBoundsChangedEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, const Uceftypes::TCefRect &new_bounds); typedef void __fastcall (__closure *TOnWindowFullscreenTransitionEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, bool is_completed); typedef void __fastcall (__closure *TOnGetParentWindowEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, bool &is_menu, bool &can_activate_menu, Ucefinterfaces::_di_ICefWindow &aResult); typedef void __fastcall (__closure *TOnIsWindowModalDialogEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); typedef void __fastcall (__closure *TOnGetInitialBoundsEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, Uceftypes::TCefRect &aResult); typedef void __fastcall (__closure *TOnGetInitialShowStateEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, Uceftypes::TCefShowState &aResult); typedef void __fastcall (__closure *TOnIsFramelessEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); typedef void __fastcall (__closure *TOnWithStandardWindowButtonsEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); typedef void __fastcall (__closure *TOnGetTitlebarHeightEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, float &titlebar_height, bool &aResult); typedef void __fastcall (__closure *TOnAcceptsFirstMouseEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, Uceftypes::TCefState &aResult); typedef void __fastcall (__closure *TOnCanResizeEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); typedef void __fastcall (__closure *TOnCanMaximizeEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); typedef void __fastcall (__closure *TOnCanMinimizeEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); typedef void __fastcall (__closure *TOnCanCloseEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); typedef void __fastcall (__closure *TOnAcceleratorEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, int command_id, bool &aResult); typedef void __fastcall (__closure *TOnWindowKeyEventEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, const Uceftypes::TCefKeyEvent &event, bool &aResult); typedef void __fastcall (__closure *TOnThemeColorsChangedEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, int chrome_theme); typedef void __fastcall (__closure *TOnGetWindowRuntimeStyleEvent)(System::TObject* const Sender, Uceftypes::TCefRuntimeStyle &aResult); typedef void __fastcall (__closure *TOnGetLinuxWindowPropertiesEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, Uceftypes::TLinuxWindowProperties &properties, bool &aResult); //-- var, const, procedure --------------------------------------------------- } /* namespace Ucefviewsframeworkevents */ #if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFVIEWSFRAMEWORKEVENTS) using namespace Ucefviewsframeworkevents; #endif #pragma pack(pop) #pragma option pop #pragma delphiheader end. //-- end unit ---------------------------------------------------------------- #endif // uCEFViewsFrameworkEventsHPP