Initial commit
This commit is contained in:
@@ -0,0 +1,122 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFBrowserViewComponent.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFBrowserViewComponentHPP
|
||||
#define uCEFBrowserViewComponentHPP
|
||||
|
||||
#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 <System.hpp>
|
||||
#include <SysInit.hpp>
|
||||
#include <Winapi.Windows.hpp>
|
||||
#include <System.Classes.hpp>
|
||||
#include <uCEFTypes.hpp>
|
||||
#include <uCEFInterfaces.hpp>
|
||||
#include <uCEFConstants.hpp>
|
||||
#include <uCEFViewsFrameworkEvents.hpp>
|
||||
#include <uCEFViewComponent.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefbrowserviewcomponent
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCEFBrowserViewComponent;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
class PASCALIMPLEMENTATION TCEFBrowserViewComponent : public Ucefviewcomponent::TCEFViewComponent
|
||||
{
|
||||
typedef Ucefviewcomponent::TCEFViewComponent inherited;
|
||||
|
||||
protected:
|
||||
Ucefinterfaces::_di_ICefBrowserView FBrowserView;
|
||||
Ucefinterfaces::_di_ICefBrowserViewDelegate FBrowserViewDlg;
|
||||
Ucefviewsframeworkevents::TOnBrowserCreatedEvent FOnBrowserCreated;
|
||||
Ucefviewsframeworkevents::TOnBrowserDestroyedEvent FOnBrowserDestroyed;
|
||||
Ucefviewsframeworkevents::TOnGetDelegateForPopupBrowserViewEvent FOnGetDelegateForPopupBrowserView;
|
||||
Ucefviewsframeworkevents::TOnPopupBrowserViewCreatedEvent FOnPopupBrowserViewCreated;
|
||||
Ucefviewsframeworkevents::TOnGetChromeToolbarTypeEvent FOnGetChromeToolbarType;
|
||||
Ucefviewsframeworkevents::TOnUseFramelessWindowForPictureInPicture FOnUseFramelessWindowForPictureInPicture;
|
||||
Ucefviewsframeworkevents::TOnGestureCommandEvent FOnGestureCommand;
|
||||
Ucefviewsframeworkevents::TOnGetBrowserRuntimeStyleEvent FOnGetBrowserRuntimeStyle;
|
||||
Ucefviewsframeworkevents::TOnAllowMoveForPictureInPictureEvent FOnAllowMoveForPictureInPicture;
|
||||
virtual void __fastcall DestroyView();
|
||||
virtual void __fastcall Initialize();
|
||||
virtual bool __fastcall GetInitialized();
|
||||
virtual Ucefinterfaces::_di_ICefView __fastcall GetAsView();
|
||||
virtual Ucefinterfaces::_di_ICefBrowserView __fastcall GetAsBrowserView();
|
||||
Ucefinterfaces::_di_ICefBrowser __fastcall GetBrowser();
|
||||
Ucefinterfaces::_di_ICefView __fastcall GetChromeToolbar();
|
||||
Uceftypes::TCefRuntimeStyle __fastcall GetRuntimeStyle();
|
||||
void __fastcall doOnBrowserCreated(const Ucefinterfaces::_di_ICefBrowserView browser_view, const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
void __fastcall doOnBrowserDestroyed(const Ucefinterfaces::_di_ICefBrowserView browser_view, const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
void __fastcall doOnGetDelegateForPopupBrowserView(const Ucefinterfaces::_di_ICefBrowserView browser_view, const Uceftypes::TCefBrowserSettings &settings, const Ucefinterfaces::_di_ICefClient client, bool is_devtools, Ucefinterfaces::_di_ICefBrowserViewDelegate &aResult);
|
||||
void __fastcall doOnPopupBrowserViewCreated(const Ucefinterfaces::_di_ICefBrowserView browser_view, const Ucefinterfaces::_di_ICefBrowserView popup_browser_view, bool is_devtools, bool &aResult);
|
||||
void __fastcall doOnGetChromeToolbarType(const Ucefinterfaces::_di_ICefBrowserView browser_view, Uceftypes::TCefChromeToolbarType &aChromeToolbarType);
|
||||
void __fastcall doOnUseFramelessWindowForPictureInPicture(const Ucefinterfaces::_di_ICefBrowserView browser_view, bool &aResult);
|
||||
void __fastcall doOnGestureCommand(const Ucefinterfaces::_di_ICefBrowserView browser_view, Uceftypes::TCefGestureCommand gesture_command, bool &aResult);
|
||||
void __fastcall doOnGetBrowserRuntimeStyle(Uceftypes::TCefRuntimeStyle &aResult);
|
||||
void __fastcall doOnAllowMoveForPictureInPicture(const Ucefinterfaces::_di_ICefBrowserView browser_view, bool &aResult);
|
||||
|
||||
public:
|
||||
bool __fastcall CreateBrowserView(const Ucefinterfaces::_di_ICefClient client, const Uceftypes::ustring url, const Uceftypes::TCefBrowserSettings &settings, const Ucefinterfaces::_di_ICefDictionaryValue extra_info, const Ucefinterfaces::_di_ICefRequestContext request_context);
|
||||
bool __fastcall GetForBrowser(const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
void __fastcall SetPreferAccelerators(bool prefer_accelerators);
|
||||
__property Ucefinterfaces::_di_ICefBrowser Browser = {read=GetBrowser};
|
||||
__property Ucefinterfaces::_di_ICefBrowserView BrowserView = {read=FBrowserView};
|
||||
__property Ucefinterfaces::_di_ICefView ChromeToolbar = {read=GetChromeToolbar};
|
||||
__property Uceftypes::TCefRuntimeStyle RuntimeStyle = {read=GetRuntimeStyle, nodefault};
|
||||
|
||||
__published:
|
||||
__property Ucefviewsframeworkevents::TOnBrowserCreatedEvent OnBrowserCreated = {read=FOnBrowserCreated, write=FOnBrowserCreated};
|
||||
__property Ucefviewsframeworkevents::TOnBrowserDestroyedEvent OnBrowserDestroyed = {read=FOnBrowserDestroyed, write=FOnBrowserDestroyed};
|
||||
__property Ucefviewsframeworkevents::TOnGetDelegateForPopupBrowserViewEvent OnGetDelegateForPopupBrowserView = {read=FOnGetDelegateForPopupBrowserView, write=FOnGetDelegateForPopupBrowserView};
|
||||
__property Ucefviewsframeworkevents::TOnPopupBrowserViewCreatedEvent OnPopupBrowserViewCreated = {read=FOnPopupBrowserViewCreated, write=FOnPopupBrowserViewCreated};
|
||||
__property Ucefviewsframeworkevents::TOnGetChromeToolbarTypeEvent OnGetChromeToolbarType = {read=FOnGetChromeToolbarType, write=FOnGetChromeToolbarType};
|
||||
__property Ucefviewsframeworkevents::TOnUseFramelessWindowForPictureInPicture OnUseFramelessWindowForPictureInPicture = {read=FOnUseFramelessWindowForPictureInPicture, write=FOnUseFramelessWindowForPictureInPicture};
|
||||
__property Ucefviewsframeworkevents::TOnGestureCommandEvent OnGestureCommand = {read=FOnGestureCommand, write=FOnGestureCommand};
|
||||
__property Ucefviewsframeworkevents::TOnGetBrowserRuntimeStyleEvent OnGetBrowserRuntimeStyle = {read=FOnGetBrowserRuntimeStyle, write=FOnGetBrowserRuntimeStyle};
|
||||
__property Ucefviewsframeworkevents::TOnAllowMoveForPictureInPictureEvent OnAllowMoveForPictureInPicture = {read=FOnAllowMoveForPictureInPicture, write=FOnAllowMoveForPictureInPicture};
|
||||
public:
|
||||
/* TCEFViewComponent.Create */ inline __fastcall virtual TCEFBrowserViewComponent(System::Classes::TComponent* AOwner) : Ucefviewcomponent::TCEFViewComponent(AOwner) { }
|
||||
|
||||
public:
|
||||
/* TComponent.Destroy */ inline __fastcall virtual ~TCEFBrowserViewComponent() { }
|
||||
|
||||
private:
|
||||
void *__ICefBrowserViewDelegateEvents; // Ucefinterfaces::ICefBrowserViewDelegateEvents
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {AB94B875-63C6-4FEF-BB30-0816402ABA1C}
|
||||
operator Ucefinterfaces::_di_ICefBrowserViewDelegateEvents()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefBrowserViewDelegateEvents intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefBrowserViewDelegateEvents*(void) { return (Ucefinterfaces::ICefBrowserViewDelegateEvents*)&__ICefBrowserViewDelegateEvents; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefbrowserviewcomponent */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFBROWSERVIEWCOMPONENT)
|
||||
using namespace Ucefbrowserviewcomponent;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFBrowserViewComponentHPP
|
||||
Reference in New Issue
Block a user