Files
common/CEF4Delphi/win32/hpps/uCEFFrame.hpp
T
2026-06-12 23:18:12 +08:00

101 lines
3.8 KiB
C++

// CodeGear C++Builder
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
// All rights reserved
// (DO NOT EDIT: machine generated header) 'uCEFFrame.pas' rev: 37.00 (Windows)
#ifndef uCEFFrameHPP
#define uCEFFrameHPP
#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 <uCEFBaseRefCounted.hpp>
#include <uCEFInterfaces.hpp>
#include <uCEFTypes.hpp>
//-- user supplied -----------------------------------------------------------
namespace Ucefframe
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS TCefFrameRef;
//-- type declarations -------------------------------------------------------
#pragma pack(push,4)
class PASCALIMPLEMENTATION TCefFrameRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
{
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
public:
bool __fastcall IsValid();
void __fastcall Undo();
void __fastcall Redo();
void __fastcall Cut();
void __fastcall Copy();
void __fastcall Paste();
void __fastcall PasteAndMatchStyle();
void __fastcall Del();
void __fastcall SelectAll();
void __fastcall ViewSource();
void __fastcall GetSource(const Ucefinterfaces::_di_ICefStringVisitor visitor);
void __fastcall GetSourceProc(const Ucefinterfaces::_di_TCefStringVisitorProc proc);
void __fastcall GetText(const Ucefinterfaces::_di_ICefStringVisitor visitor);
void __fastcall GetTextProc(const Ucefinterfaces::_di_TCefStringVisitorProc proc);
void __fastcall LoadRequest(const Ucefinterfaces::_di_ICefRequest request);
void __fastcall LoadUrl(const Uceftypes::ustring url);
void __fastcall ExecuteJavaScript(const Uceftypes::ustring code, const Uceftypes::ustring scriptUrl, int startLine);
bool __fastcall IsMain();
bool __fastcall IsFocused();
Uceftypes::ustring __fastcall GetName();
Uceftypes::ustring __fastcall GetIdentifier();
Ucefinterfaces::_di_ICefFrame __fastcall GetParent();
Uceftypes::ustring __fastcall GetUrl();
Ucefinterfaces::_di_ICefBrowser __fastcall GetBrowser();
Ucefinterfaces::_di_ICefv8Context __fastcall GetV8Context();
void __fastcall VisitDom(const Ucefinterfaces::_di_ICefDomVisitor visitor);
void __fastcall VisitDomProc(const Ucefinterfaces::_di_TCefDomVisitorProc proc);
Ucefinterfaces::_di_ICefUrlRequest __fastcall CreateUrlRequest(const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefUrlrequestClient client);
void __fastcall SendProcessMessage(Uceftypes::TCefProcessId targetProcess, const Ucefinterfaces::_di_ICefProcessMessage message_);
__classmethod Ucefinterfaces::_di_ICefFrame __fastcall UnWrap(void * data);
public:
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefFrameRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefFrameRef() { }
private:
void *__ICefFrame; // Ucefinterfaces::ICefFrame
public:
#if defined(MANAGED_INTERFACE_OPERATORS)
// {8FD3D3A6-EA3A-4A72-8501-0276BD5C3D1D}
operator Ucefinterfaces::_di_ICefFrame()
{
Ucefinterfaces::_di_ICefFrame intf;
this->GetInterface(intf);
return intf;
}
#else
operator Ucefinterfaces::ICefFrame*(void) { return (Ucefinterfaces::ICefFrame*)&__ICefFrame; }
#endif
};
#pragma pack(pop)
//-- var, const, procedure ---------------------------------------------------
} /* namespace Ucefframe */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFFRAME)
using namespace Ucefframe;
#endif
#pragma pack(pop)
#pragma option pop
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // uCEFFrameHPP