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

96 lines
3.4 KiB
C++

// CodeGear C++Builder
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
// All rights reserved
// (DO NOT EDIT: machine generated header) 'uCEFContextMenuParams.pas' rev: 37.00 (Windows)
#ifndef uCEFContextMenuParamsHPP
#define uCEFContextMenuParamsHPP
#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 <System.Classes.hpp>
#include <System.SysUtils.hpp>
#include <uCEFBaseRefCounted.hpp>
#include <uCEFInterfaces.hpp>
#include <uCEFTypes.hpp>
//-- user supplied -----------------------------------------------------------
namespace Ucefcontextmenuparams
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS TCefContextMenuParamsRef;
//-- type declarations -------------------------------------------------------
#pragma pack(push,4)
class PASCALIMPLEMENTATION TCefContextMenuParamsRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
{
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
protected:
int __fastcall GetXCoord();
int __fastcall GetYCoord();
Uceftypes::TCefContextMenuTypeFlags __fastcall GetTypeFlags();
Uceftypes::ustring __fastcall GetLinkUrl();
Uceftypes::ustring __fastcall GetUnfilteredLinkUrl();
Uceftypes::ustring __fastcall GetSourceUrl();
bool __fastcall HasImageContents();
Uceftypes::ustring __fastcall GetTitleText();
Uceftypes::ustring __fastcall GetPageUrl();
Uceftypes::ustring __fastcall GetFrameUrl();
Uceftypes::ustring __fastcall GetFrameCharset();
Uceftypes::TCefContextMenuMediaType __fastcall GetMediaType();
Uceftypes::TCefContextMenuMediaStateFlags __fastcall GetMediaStateFlags();
Uceftypes::ustring __fastcall GetSelectionText();
Uceftypes::ustring __fastcall GetMisspelledWord();
bool __fastcall GetDictionarySuggestions(System::Classes::TStringList* const suggestions);
bool __fastcall IsEditable();
bool __fastcall IsSpellCheckEnabled();
Uceftypes::TCefContextMenuEditStateFlags __fastcall GetEditStateFlags();
bool __fastcall IsCustomMenu();
public:
__classmethod Ucefinterfaces::_di_ICefContextMenuParams __fastcall UnWrap(void * data);
public:
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefContextMenuParamsRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefContextMenuParamsRef() { }
private:
void *__ICefContextMenuParams; // Ucefinterfaces::ICefContextMenuParams
public:
#if defined(MANAGED_INTERFACE_OPERATORS)
// {E31BFA9E-D4E2-49B7-A05D-20018C8794EB}
operator Ucefinterfaces::_di_ICefContextMenuParams()
{
Ucefinterfaces::_di_ICefContextMenuParams intf;
this->GetInterface(intf);
return intf;
}
#else
operator Ucefinterfaces::ICefContextMenuParams*(void) { return (Ucefinterfaces::ICefContextMenuParams*)&__ICefContextMenuParams; }
#endif
};
#pragma pack(pop)
//-- var, const, procedure ---------------------------------------------------
} /* namespace Ucefcontextmenuparams */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFCONTEXTMENUPARAMS)
using namespace Ucefcontextmenuparams;
#endif
#pragma pack(pop)
#pragma option pop
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // uCEFContextMenuParamsHPP