83 lines
4.3 KiB
C++
83 lines
4.3 KiB
C++
// CodeGear C++Builder
|
|
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
|
// All rights reserved
|
|
|
|
// (DO NOT EDIT: machine generated header) 'uCEFChromium.pas' rev: 37.00 (Windows)
|
|
|
|
#ifndef uCEFChromiumHPP
|
|
#define uCEFChromiumHPP
|
|
|
|
#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 <Vcl.Controls.hpp>
|
|
#include <Vcl.Graphics.hpp>
|
|
#include <Vcl.Forms.hpp>
|
|
#include <uCEFConstants.hpp>
|
|
#include <uCEFTypes.hpp>
|
|
#include <uCEFInterfaces.hpp>
|
|
#include <uCEFChromiumCore.hpp>
|
|
#include <System.Types.hpp>
|
|
|
|
//-- user supplied -----------------------------------------------------------
|
|
|
|
namespace Ucefchromium
|
|
{
|
|
//-- forward type declarations -----------------------------------------------
|
|
class DELPHICLASS TChromium;
|
|
//-- type declarations -------------------------------------------------------
|
|
class PASCALIMPLEMENTATION TChromium : public Ucefchromiumcore::TChromiumCore
|
|
{
|
|
typedef Ucefchromiumcore::TChromiumCore inherited;
|
|
|
|
protected:
|
|
virtual Uceftypes::TCefWindowHandle __fastcall GetParentFormHandle();
|
|
Vcl::Forms::TCustomForm* __fastcall GetParentForm();
|
|
virtual void __fastcall InitializeDevToolsWindowInfo(Vcl::Controls::TWinControl* aDevTools);
|
|
|
|
public:
|
|
HIDESBASE void __fastcall InitializeDragAndDrop(Vcl::Controls::TWinControl* const aDropTargetCtrl);
|
|
HIDESBASE void __fastcall ShowDevTools(const Winapi::Windows::TPoint &inspectElementAt, Vcl::Controls::TWinControl* const aDevTools = (Vcl::Controls::TWinControl*)(0x0));
|
|
HIDESBASE void __fastcall CloseDevTools(Vcl::Controls::TWinControl* const aDevTools = (Vcl::Controls::TWinControl*)(0x0));
|
|
void __fastcall MoveFormTo(const int x, const int y);
|
|
void __fastcall MoveFormBy(const int x, const int y);
|
|
void __fastcall ResizeFormWidthTo(const int x);
|
|
void __fastcall ResizeFormHeightTo(const int y);
|
|
void __fastcall SetFormLeftTo(const int x);
|
|
void __fastcall SetFormTopTo(const int y);
|
|
HIDESBASE virtual bool __fastcall CreateBrowser(Vcl::Controls::TWinControl* const aBrowserParent = (Vcl::Controls::TWinControl*)(0x0), const Uceftypes::ustring aWindowName = Uceftypes::ustring(), const Ucefinterfaces::_di_ICefRequestContext aContext = Ucefinterfaces::_di_ICefRequestContext(), const Ucefinterfaces::_di_ICefDictionaryValue aExtraInfo = Ucefinterfaces::_di_ICefDictionaryValue())/* overload */;
|
|
bool __fastcall SaveAsBitmapStream(System::Classes::TStream* const aStream);
|
|
bool __fastcall TakeSnapshot(Vcl::Graphics::TBitmap* &aBitmap);
|
|
public:
|
|
/* TChromiumCore.Create */ inline __fastcall virtual TChromium(System::Classes::TComponent* AOwner) : Ucefchromiumcore::TChromiumCore(AOwner) { }
|
|
/* TChromiumCore.Destroy */ inline __fastcall virtual ~TChromium() { }
|
|
|
|
/* Hoisted overloads: */
|
|
|
|
public:
|
|
inline bool __fastcall CreateBrowser(Uceftypes::TCefWindowHandle aParentHandle, const System::Types::TRect &aParentRect, const Uceftypes::ustring aWindowName = Uceftypes::ustring(), const Ucefinterfaces::_di_ICefRequestContext aContext = Ucefinterfaces::_di_ICefRequestContext(), const Ucefinterfaces::_di_ICefDictionaryValue aExtraInfo = Ucefinterfaces::_di_ICefDictionaryValue(), bool aForceAsPopup = false){ return Ucefchromiumcore::TChromiumCore::CreateBrowser(aParentHandle, aParentRect, aWindowName, aContext, aExtraInfo, aForceAsPopup); }
|
|
inline bool __fastcall CreateBrowser(const Uceftypes::ustring aURL, Ucefbrowserviewcomponent::TCEFBrowserViewComponent* const aBrowserViewComp, const Ucefinterfaces::_di_ICefRequestContext aContext = Ucefinterfaces::_di_ICefRequestContext(), const Ucefinterfaces::_di_ICefDictionaryValue aExtraInfo = Ucefinterfaces::_di_ICefDictionaryValue()){ return Ucefchromiumcore::TChromiumCore::CreateBrowser(aURL, aBrowserViewComp, aContext, aExtraInfo); }
|
|
|
|
};
|
|
|
|
|
|
//-- var, const, procedure ---------------------------------------------------
|
|
} /* namespace Ucefchromium */
|
|
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFCHROMIUM)
|
|
using namespace Ucefchromium;
|
|
#endif
|
|
#pragma pack(pop)
|
|
#pragma option pop
|
|
|
|
#pragma delphiheader end.
|
|
//-- end unit ----------------------------------------------------------------
|
|
#endif // uCEFChromiumHPP
|