Initial commit
This commit is contained in:
@@ -0,0 +1,284 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'CEF4DelphiVCLRTL.dpk' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef CEF4DelphiVCLRTLHPP
|
||||
#define CEF4DelphiVCLRTLHPP
|
||||
|
||||
#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> // (rtl)
|
||||
#include <SysInit.hpp>
|
||||
#include <uCEFAccessibilityHandler.hpp>
|
||||
#include <uCEFApp.hpp>
|
||||
#include <uCEFApplication.hpp>
|
||||
#include <uCEFApplicationCore.hpp>
|
||||
#include <uCEFAuthCallback.hpp>
|
||||
#include <uCEFBaseRefCounted.hpp>
|
||||
#include <uCEFBaseScopedWrapper.hpp>
|
||||
#include <uCEFBeforeDownloadCallback.hpp>
|
||||
#include <uCEFBinaryValue.hpp>
|
||||
#include <uCEFBrowser.hpp>
|
||||
#include <uCEFBrowserProcessHandler.hpp>
|
||||
#include <uCEFBufferPanel.hpp>
|
||||
#include <uCEFCallback.hpp>
|
||||
#include <uCEFChromium.hpp>
|
||||
#include <uCEFChromiumCore.hpp>
|
||||
#include <uCEFChromiumEvents.hpp>
|
||||
#include <uCEFChromiumFontOptions.hpp>
|
||||
#include <uCEFChromiumOptions.hpp>
|
||||
#include <uCEFChromiumWindow.hpp>
|
||||
#include <uCEFClient.hpp>
|
||||
#include <uCEFCommandLine.hpp>
|
||||
#include <uCEFCompletionCallback.hpp>
|
||||
#include <uCEFConstants.hpp>
|
||||
#include <uCEFContextMenuHandler.hpp>
|
||||
#include <uCEFContextMenuParams.hpp>
|
||||
#include <uCEFCookieAccessFilter.hpp>
|
||||
#include <uCEFCookieManager.hpp>
|
||||
#include <uCEFCookieVisitor.hpp>
|
||||
#include <uCEFCustomStreamReader.hpp>
|
||||
#include <uCEFDeleteCookiesCallback.hpp>
|
||||
#include <uCEFDialogHandler.hpp>
|
||||
#include <uCEFDictionaryValue.hpp>
|
||||
#include <uCEFDisplayHandler.hpp>
|
||||
#include <uCEFDomDocument.hpp>
|
||||
#include <uCEFDomNode.hpp>
|
||||
#include <uCEFDomVisitor.hpp>
|
||||
#include <uCEFDownloadHandler.hpp>
|
||||
#include <uCEFDownloadImageCallBack.hpp>
|
||||
#include <uCEFDownloadItem.hpp>
|
||||
#include <uCEFDownloadItemCallback.hpp>
|
||||
#include <uCEFDragAndDropMgr.hpp>
|
||||
#include <uCEFDragData.hpp>
|
||||
#include <uCEFDragHandler.hpp>
|
||||
#include <uCEFEndTracingCallback.hpp>
|
||||
#include <uCEFFileDialogCallback.hpp>
|
||||
#include <uCEFFindHandler.hpp>
|
||||
#include <uCEFFocusHandler.hpp>
|
||||
#include <uCEFFrame.hpp>
|
||||
#include <uCEFImage.hpp>
|
||||
#include <uCEFInterfaces.hpp>
|
||||
#include <uCEFJsDialogCallback.hpp>
|
||||
#include <uCEFJsDialogHandler.hpp>
|
||||
#include <uCEFKeyboardHandler.hpp>
|
||||
#include <uCEFLibFunctions.hpp>
|
||||
#include <uCEFLifeSpanHandler.hpp>
|
||||
#include <uCEFLinkedWindowParent.hpp>
|
||||
#include <uCEFListValue.hpp>
|
||||
#include <uCEFLoadHandler.hpp>
|
||||
#include <uCEFMediaObserver.hpp>
|
||||
#include <uCEFMediaRoute.hpp>
|
||||
#include <uCEFMediaRouteCreateCallback.hpp>
|
||||
#include <uCEFMediaRouter.hpp>
|
||||
#include <uCEFMediaSink.hpp>
|
||||
#include <uCEFMediaSource.hpp>
|
||||
#include <uCEFMenuModel.hpp>
|
||||
#include <uCEFMenuModelDelegate.hpp>
|
||||
#include <uCEFMiscFunctions.hpp>
|
||||
#include <uCEFNavigationEntry.hpp>
|
||||
#include <uCEFNavigationEntryVisitor.hpp>
|
||||
#include <uCEFOAuth2Helper.hpp>
|
||||
#include <uCEFOLEDragAndDrop.hpp>
|
||||
#include <uCEFOSRIMEHandler.hpp>
|
||||
#include <uCEFPDFPrintCallback.hpp>
|
||||
#include <uCEFPDFPrintOptions.hpp>
|
||||
#include <uCEFPostData.hpp>
|
||||
#include <uCEFPostDataElement.hpp>
|
||||
#include <uCEFPrintSettings.hpp>
|
||||
#include <uCEFProcessMessage.hpp>
|
||||
#include <uCEFRegistration.hpp>
|
||||
#include <uCEFRenderHandler.hpp>
|
||||
#include <uCEFRenderProcessHandler.hpp>
|
||||
#include <uCEFRequest.hpp>
|
||||
#include <uCEFRequestContext.hpp>
|
||||
#include <uCEFRequestContextHandler.hpp>
|
||||
#include <uCEFRequestHandler.hpp>
|
||||
#include <uCEFResolveCallback.hpp>
|
||||
#include <uCEFResourceBundle.hpp>
|
||||
#include <uCEFResourceBundleHandler.hpp>
|
||||
#include <uCEFResourceHandler.hpp>
|
||||
#include <uCEFResourceReadCallback.hpp>
|
||||
#include <uCEFResourceRequestHandler.hpp>
|
||||
#include <uCEFResourceSkipCallback.hpp>
|
||||
#include <uCEFResponse.hpp>
|
||||
#include <uCEFResponseFilter.hpp>
|
||||
#include <uCEFRunContextMenuCallback.hpp>
|
||||
#include <uCEFRunFileDialogCallback.hpp>
|
||||
#include <uCEFSchemeHandlerFactory.hpp>
|
||||
#include <uCEFSchemeRegistrar.hpp>
|
||||
#include <uCEFSelectClientCertificateCallback.hpp>
|
||||
#include <uCEFSentinel.hpp>
|
||||
#include <uCEFServer.hpp>
|
||||
#include <uCEFServerComponent.hpp>
|
||||
#include <uCEFServerEvents.hpp>
|
||||
#include <uCEFServerHandler.hpp>
|
||||
#include <uCEFSetCookieCallback.hpp>
|
||||
#include <uCEFSslInfo.hpp>
|
||||
#include <uCEFSSLStatus.hpp>
|
||||
#include <uCEFStreamReader.hpp>
|
||||
#include <uCEFStreamWriter.hpp>
|
||||
#include <uCEFStringList.hpp>
|
||||
#include <uCEFStringMap.hpp>
|
||||
#include <uCEFStringMultimap.hpp>
|
||||
#include <uCEFStringVisitor.hpp>
|
||||
#include <uCEFTask.hpp>
|
||||
#include <uCEFTaskRunner.hpp>
|
||||
#include <uCEFThread.hpp>
|
||||
#include <uCEFTypes.hpp>
|
||||
#include <uCEFUrlRequest.hpp>
|
||||
#include <uCEFUrlrequestClient.hpp>
|
||||
#include <uCEFUrlRequestClientComponent.hpp>
|
||||
#include <uCEFUrlRequestClientEvents.hpp>
|
||||
#include <uCEFv8Accessor.hpp>
|
||||
#include <uCEFv8ArrayBufferReleaseCallback.hpp>
|
||||
#include <uCEFv8Context.hpp>
|
||||
#include <uCEFv8Exception.hpp>
|
||||
#include <uCEFv8Handler.hpp>
|
||||
#include <uCEFv8Interceptor.hpp>
|
||||
#include <uCEFv8StackFrame.hpp>
|
||||
#include <uCEFv8StackTrace.hpp>
|
||||
#include <uCEFv8Value.hpp>
|
||||
#include <uCEFValue.hpp>
|
||||
#include <uCEFWaitableEvent.hpp>
|
||||
#include <uCEFWinControl.hpp>
|
||||
#include <uCEFWindowParent.hpp>
|
||||
#include <uCEFWorkScheduler.hpp>
|
||||
#include <uCEFWorkSchedulerThread.hpp>
|
||||
#include <uCEFWriteHandler.hpp>
|
||||
#include <uCEFX509Certificate.hpp>
|
||||
#include <uCEFX509CertPrincipal.hpp>
|
||||
#include <uCEFXmlReader.hpp>
|
||||
#include <uCEFZipReader.hpp>
|
||||
#include <uCEFDisplay.hpp>
|
||||
#include <uCEFLayout.hpp>
|
||||
#include <uCEFBoxLayout.hpp>
|
||||
#include <uCEFFillLayout.hpp>
|
||||
#include <uCEFView.hpp>
|
||||
#include <uCEFViewDelegate.hpp>
|
||||
#include <uCEFTextfield.hpp>
|
||||
#include <uCEFTextfieldDelegate.hpp>
|
||||
#include <uCEFScrollView.hpp>
|
||||
#include <uCEFPanel.hpp>
|
||||
#include <uCEFPanelDelegate.hpp>
|
||||
#include <uCEFBrowserView.hpp>
|
||||
#include <uCEFBrowserViewDelegate.hpp>
|
||||
#include <uCEFButton.hpp>
|
||||
#include <uCEFButtonDelegate.hpp>
|
||||
#include <uCEFLabelButton.hpp>
|
||||
#include <uCEFMenuButton.hpp>
|
||||
#include <uCEFMenuButtonPressedLock.hpp>
|
||||
#include <uCEFMenuButtonDelegate.hpp>
|
||||
#include <uCEFWindow.hpp>
|
||||
#include <uCEFWindowDelegate.hpp>
|
||||
#include <uCEFViewsFrameworkEvents.hpp>
|
||||
#include <uCEFViewComponent.hpp>
|
||||
#include <uCEFTextfieldComponent.hpp>
|
||||
#include <uCEFScrollViewComponent.hpp>
|
||||
#include <uCEFPanelComponent.hpp>
|
||||
#include <uCEFWindowComponent.hpp>
|
||||
#include <uCEFBrowserViewComponent.hpp>
|
||||
#include <uCEFButtonComponent.hpp>
|
||||
#include <uCEFLabelButtonComponent.hpp>
|
||||
#include <uCEFMenuButtonComponent.hpp>
|
||||
#include <uCEFAudioHandler.hpp>
|
||||
#include <uCEFDevToolsMessageObserver.hpp>
|
||||
#include <uCEFMediaSinkDeviceInfoCallback.hpp>
|
||||
#include <uCEFJson.hpp>
|
||||
#include <uCEFBitmapBitBuffer.hpp>
|
||||
#include <uCEFPrintHandler.hpp>
|
||||
#include <uCEFPrintDialogCallback.hpp>
|
||||
#include <uCEFPrintJobCallback.hpp>
|
||||
#include <uCEFWorkSchedulerQueueThread.hpp>
|
||||
#include <uCEFLinkedWinControlBase.hpp>
|
||||
#include <uCEFFrameHandler.hpp>
|
||||
#include <uCEFOverlayController.hpp>
|
||||
#include <uCEFFileDialogInfo.hpp>
|
||||
#include <uCEFArgCopy.hpp>
|
||||
#include <uCEFCommandHandler.hpp>
|
||||
#include <uCEFMediaAccessCallback.hpp>
|
||||
#include <uCEFPermissionPromptCallback.hpp>
|
||||
#include <uCEFPermissionHandler.hpp>
|
||||
#include <uCEFSharedMemoryRegion.hpp>
|
||||
#include <uCEFSharedProcessMessageBuilder.hpp>
|
||||
#include <uCEFRunQuickMenuCallback.hpp>
|
||||
#include <uCEFPreferenceRegistrar.hpp>
|
||||
#include <uCEFPreferenceManager.hpp>
|
||||
#include <uCEFApplicationEvents.hpp>
|
||||
#include <uCEFBrowserBitmap.hpp>
|
||||
#include <uCEFComponentIdList.hpp>
|
||||
#include <uCEFUnresponsiveProcessCallback.hpp>
|
||||
#include <uCEFWindowInfoWrapper.hpp>
|
||||
#include <uCEFTaskManager.hpp>
|
||||
#include <uCEFPreferenceObserver.hpp>
|
||||
#include <uCEFSettingObserver.hpp>
|
||||
#include <System.UITypes.hpp> // (rtl)
|
||||
#include <Winapi.Windows.PkgHelper.hpp> // (rtl)
|
||||
#include <Winapi.PsAPI.hpp> // (rtl)
|
||||
#include <System.Character.hpp> // (rtl)
|
||||
#include <System.Internal.ExcUtils.hpp> // (rtl)
|
||||
#include <System.SysUtils.hpp> // (rtl)
|
||||
#include <System.VarUtils.hpp> // (rtl)
|
||||
#include <System.Variants.hpp> // (rtl)
|
||||
#include <System.TypInfo.hpp> // (rtl)
|
||||
#include <System.Math.hpp> // (rtl)
|
||||
#include <System.Generics.Defaults.hpp> // (rtl)
|
||||
#include <System.TimeSpan.hpp> // (rtl)
|
||||
#include <System.SyncObjs.hpp> // (rtl)
|
||||
#include <System.Rtti.hpp> // (rtl)
|
||||
#include <System.Classes.hpp> // (rtl)
|
||||
#include <System.DateUtils.hpp> // (rtl)
|
||||
#include <System.IOUtils.hpp> // (rtl)
|
||||
#include <System.IniFiles.hpp> // (rtl)
|
||||
#include <System.Win.Registry.hpp> // (rtl)
|
||||
#include <System.Messaging.hpp> // (rtl)
|
||||
#include <System.Actions.hpp> // (rtl)
|
||||
#include <System.UIConsts.hpp> // (rtl)
|
||||
#include <Vcl.Graphics.hpp> // (vcl)
|
||||
#include <Winapi.UxTheme.hpp> // (rtl)
|
||||
#include <Vcl.ActnList.hpp> // (vcl)
|
||||
#include <Winapi.MsCTF.PkgHelper.hpp> // (rtl)
|
||||
#include <System.AnsiStrings.hpp> // (rtl)
|
||||
#include <System.Win.ComObj.hpp> // (rtl)
|
||||
#include <Vcl.GraphUtil.hpp> // (vcl)
|
||||
#include <Vcl.Controls.hpp> // (vcl)
|
||||
#include <Vcl.StdCtrls.hpp> // (vcl)
|
||||
#include <Vcl.Clipbrd.hpp> // (vcl)
|
||||
#include <Vcl.Printers.hpp> // (vcl)
|
||||
#include <Vcl.ComCtrls.hpp> // (vcl)
|
||||
#include <System.HelpIntfs.hpp> // (rtl)
|
||||
#include <Vcl.Dialogs.hpp> // (vcl)
|
||||
#include <Vcl.ExtCtrls.hpp> // (vcl)
|
||||
#include <Vcl.Themes.hpp> // (vcl)
|
||||
#include <Vcl.Menus.hpp> // (vcl)
|
||||
#include <Winapi.FlatSB.hpp> // (rtl)
|
||||
#include <Vcl.Forms.hpp> // (vcl)
|
||||
// PRG_EXT: .bpl
|
||||
// BPI_DIR: C:\Users\Public\Documents\Embarcadero\Studio\37.0\Dcp
|
||||
// OBJ_DIR: .\Win32\Release
|
||||
// OBJ_EXT: .obj
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Cef4delphivclrtl
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
//-- type declarations -------------------------------------------------------
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Cef4delphivclrtl */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_CEF4DELPHIVCLRTL)
|
||||
using namespace Cef4delphivclrtl;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // CEF4DelphiVCLRTLHPP
|
||||
@@ -0,0 +1,79 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFApplication.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFApplicationHPP
|
||||
#define uCEFApplicationHPP
|
||||
|
||||
#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 <Winapi.ActiveX.hpp>
|
||||
#include <Vcl.Forms.hpp>
|
||||
#include <System.Classes.hpp>
|
||||
#include <System.UITypes.hpp>
|
||||
#include <uCEFApplicationCore.hpp>
|
||||
#include <uCEFTypes.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefapplication
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefApplication;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefApplication : public Ucefapplicationcore::TCefApplicationCore
|
||||
{
|
||||
typedef Ucefapplicationcore::TCefApplicationCore inherited;
|
||||
|
||||
protected:
|
||||
bool FDestroyApplicationObject;
|
||||
bool FDestroyAppWindows;
|
||||
virtual void __fastcall BeforeInitSubProcess();
|
||||
|
||||
public:
|
||||
__fastcall TCefApplication();
|
||||
__fastcall virtual ~TCefApplication();
|
||||
virtual void __fastcall UpdateDeviceScaleFactor();
|
||||
__property bool DestroyApplicationObject = {read=FDestroyApplicationObject, write=FDestroyApplicationObject, nodefault};
|
||||
__property bool DestroyAppWindows = {read=FDestroyAppWindows, write=FDestroyAppWindows, nodefault};
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
using Ucefapplicationcore::TCEFDirectoryDeleterThread;
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
static _DELPHI_CONST System::Byte CEF_SUPPORTED_VERSION_MAJOR = System::Byte(0x8e);
|
||||
static _DELPHI_CONST System::Int8 CEF_SUPPORTED_VERSION_MINOR = System::Int8(0x0);
|
||||
static _DELPHI_CONST System::Int8 CEF_SUPPORTED_VERSION_RELEASE = System::Int8(0xe);
|
||||
static _DELPHI_CONST System::Int8 CEF_SUPPORTED_VERSION_BUILD = System::Int8(0x0);
|
||||
static _DELPHI_CONST System::Byte CEF_CHROMEELF_VERSION_MAJOR = System::Byte(0x8e);
|
||||
static _DELPHI_CONST System::Int8 CEF_CHROMEELF_VERSION_MINOR = System::Int8(0x0);
|
||||
static _DELPHI_CONST System::Word CEF_CHROMEELF_VERSION_RELEASE = System::Word(0x1d14);
|
||||
static _DELPHI_CONST System::Byte CEF_CHROMEELF_VERSION_BUILD = System::Byte(0xa3);
|
||||
#define LIBCEF_DLL L"libcef.dll"
|
||||
#define CHROMEELF_DLL L"chrome_elf.dll"
|
||||
extern DELPHI_PACKAGE TCefApplication* GlobalCEFApp;
|
||||
extern DELPHI_PACKAGE System::Uitypes::TCursor __fastcall CefCursorToWindowsCursor(Uceftypes::TCefCursorType aCefCursor);
|
||||
extern DELPHI_PACKAGE void __fastcall DestroyGlobalCEFApp(void);
|
||||
} /* namespace Ucefapplication */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFAPPLICATION)
|
||||
using namespace Ucefapplication;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFApplicationHPP
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,223 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFMiscFunctions.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFMiscFunctionsHPP
|
||||
#define uCEFMiscFunctionsHPP
|
||||
|
||||
#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 <Winapi.ActiveX.hpp>
|
||||
#include <Winapi.ShellAPI.hpp>
|
||||
#include <System.Win.Registry.hpp>
|
||||
#include <System.Types.hpp>
|
||||
#include <System.IOUtils.hpp>
|
||||
#include <System.Classes.hpp>
|
||||
#include <System.SysUtils.hpp>
|
||||
#include <System.UITypes.hpp>
|
||||
#include <System.Math.hpp>
|
||||
#include <uCEFTypes.hpp>
|
||||
#include <uCEFInterfaces.hpp>
|
||||
#include <uCEFLibFunctions.hpp>
|
||||
#include <uCEFResourceHandler.hpp>
|
||||
#include <uCEFConstants.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefmiscfunctions
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
//-- type declarations -------------------------------------------------------
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
#define Kernel32DLL L"kernel32.dll"
|
||||
#define SHLWAPIDLL L"shlwapi.dll"
|
||||
#define NTDLL L"ntdll.dll"
|
||||
#define User32DLL L"User32.dll"
|
||||
#define Netapi32DLL L"Netapi32.dll"
|
||||
extern "C" System::LongBool __stdcall ProcessUnderWow64(Winapi::Windows::THandle hProcess, PBOOL Wow64Process);
|
||||
extern "C" System::LongBool __stdcall PathIsRelativeAnsi(char * pszPath);
|
||||
extern "C" System::LongBool __stdcall PathIsRelativeUnicode(System::WideChar * pszPath);
|
||||
extern "C" System::LongBool __stdcall GetGlobalMemoryStatusEx(Uceftypes::LPMEMORYSTATUSEX lpBuffer);
|
||||
extern "C" System::LongBool __stdcall PathCanonicalizeAnsi(char * pszBuf, char * pszPath);
|
||||
extern "C" System::LongBool __stdcall PathCanonicalizeUnicode(System::WideChar * pszBuf, System::WideChar * pszPath);
|
||||
extern "C" System::LongBool __stdcall PathIsUNCAnsi(char * pszPath);
|
||||
extern "C" System::LongBool __stdcall PathIsUNCUnicode(System::WideChar * pszPath);
|
||||
extern "C" System::LongBool __stdcall PathIsURLAnsi(char * pszPath);
|
||||
extern "C" System::LongBool __stdcall PathIsURLUnicode(System::WideChar * pszPath);
|
||||
extern "C" System::LongBool __stdcall ShutdownBlockReasonCreate(HWND hWnd, System::WideChar * Reason);
|
||||
extern "C" System::LongBool __stdcall ShutdownBlockReasonDestroy(HWND hWnd);
|
||||
extern "C" unsigned __stdcall NetServerGetInfo(System::WideChar * servername, unsigned level, /* out */ void * &bufptr);
|
||||
extern "C" unsigned __stdcall NetApiBufferFree(void * Buffer);
|
||||
extern DELPHI_PACKAGE System::Byte __fastcall CefColorGetA(Uceftypes::TCefColor color);
|
||||
extern DELPHI_PACKAGE System::Byte __fastcall CefColorGetR(Uceftypes::TCefColor color);
|
||||
extern DELPHI_PACKAGE System::Byte __fastcall CefColorGetG(Uceftypes::TCefColor color);
|
||||
extern DELPHI_PACKAGE System::Byte __fastcall CefColorGetB(Uceftypes::TCefColor color);
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefColor __fastcall CefColorSetARGB(System::Byte a, System::Byte r, System::Byte g, System::Byte b);
|
||||
extern DELPHI_PACKAGE __int64 __fastcall CefInt64Set(int int32_low, int int32_high);
|
||||
extern DELPHI_PACKAGE int __fastcall CefInt64GetLow(const __int64 int64_val);
|
||||
extern DELPHI_PACKAGE int __fastcall CefInt64GetHigh(const __int64 int64_val);
|
||||
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefStringClearAndGet(Uceftypes::PCefString str);
|
||||
extern DELPHI_PACKAGE System::TObject* __fastcall CefGetObject(void * ptr);
|
||||
extern DELPHI_PACKAGE void * __fastcall CefGetData(const Ucefinterfaces::_di_ICefBaseRefCounted i);
|
||||
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefString(const Uceftypes::PCefString str)/* overload */;
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefString __fastcall CefString(const Uceftypes::ustring str)/* overload */;
|
||||
extern DELPHI_PACKAGE void __fastcall CefStringFree(const Uceftypes::PCefString str);
|
||||
extern DELPHI_PACKAGE void __fastcall CefStringSet(const Uceftypes::PCefString str, const Uceftypes::ustring value)/* overload */;
|
||||
extern DELPHI_PACKAGE void __fastcall CefStringSet(const Uceftypes::TCefString &aDstStr, const Uceftypes::TCefString &aSrcStr)/* overload */;
|
||||
extern DELPHI_PACKAGE void __fastcall CefStringInitialize(const Uceftypes::PCefString aCefString);
|
||||
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefStringFreeAndGet(const Uceftypes::PCefStringUserFree str);
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefString __fastcall CefStringAlloc(const Uceftypes::ustring str);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefStringUserFree __fastcall CefUserFreeString(const Uceftypes::ustring str);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefRegisterExtension(const Uceftypes::ustring name, const Uceftypes::ustring code, const Ucefinterfaces::_di_ICefv8Handler Handler);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefPostTask(Uceftypes::TCefThreadId aThreadId, const Ucefinterfaces::_di_ICefTask aTask);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefPostDelayedTask(Uceftypes::TCefThreadId aThreadId, const Ucefinterfaces::_di_ICefTask aTask, __int64 aDelayMs);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefCurrentlyOn(Uceftypes::TCefThreadId aThreadId);
|
||||
extern DELPHI_PACKAGE Winapi::Windows::TSystemTime __fastcall CefTimeToSystemTime(const Uceftypes::TCefTime &dt);
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefTime __fastcall SystemTimeToCefTime(const Winapi::Windows::TSystemTime &dt);
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefTime __fastcall FixCefTime(const Uceftypes::TCefTime &dt);
|
||||
extern DELPHI_PACKAGE System::TDateTime __fastcall CefTimeToDateTime(const Uceftypes::TCefTime &dt);
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefTime __fastcall DateTimeToCefTime(System::TDateTime dt);
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefBaseTime __fastcall DateTimeToCefBaseTime(System::TDateTime dt);
|
||||
extern DELPHI_PACKAGE double __fastcall CefTimeToDouble(const Uceftypes::TCefTime &dt);
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefTime __fastcall DoubleToCefTime(const double dt);
|
||||
extern DELPHI_PACKAGE __int64 __fastcall CefTimeToUnixTime(const Uceftypes::TCefTime &dt);
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefTime __fastcall UnixTimeToCefTime(const __int64 dt);
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefTime __fastcall CefTimeNow(void);
|
||||
extern DELPHI_PACKAGE double __fastcall DoubleTimeNow(void);
|
||||
extern DELPHI_PACKAGE __int64 __fastcall CefTimeDelta(const Uceftypes::TCefTime &cef_time1, const Uceftypes::TCefTime &cef_time2);
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefBaseTime __fastcall CefBaseTimeNow(void);
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefBaseTime __fastcall CetTimeToCefBaseTime(const Uceftypes::TCefTime &ct);
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefTime __fastcall CetTimeFromCefBaseTime(const Uceftypes::TCefBaseTime cbt);
|
||||
extern DELPHI_PACKAGE System::TDateTime __fastcall CefBaseTimeToDateTime(const Uceftypes::TCefBaseTime cbt);
|
||||
extern DELPHI_PACKAGE int __fastcall GetTimeIntervalMilliseconds(const Uceftypes::TCefTime &from_);
|
||||
extern DELPHI_PACKAGE void __fastcall InitializeCefTime(Uceftypes::TCefTime &aTime);
|
||||
extern DELPHI_PACKAGE int __fastcall cef_string_wide_copy(const System::WideChar * src, System::NativeUInt src_len, Uceftypes::PCefStringWide output);
|
||||
extern DELPHI_PACKAGE int __fastcall cef_string_utf8_copy(const char * src, System::NativeUInt src_len, Uceftypes::PCefStringUtf8 output);
|
||||
extern DELPHI_PACKAGE int __fastcall cef_string_utf16_copy(const Uceftypes::PChar16 src, System::NativeUInt src_len, Uceftypes::PCefStringUtf16 output);
|
||||
extern DELPHI_PACKAGE int __fastcall cef_string_copy(const Uceftypes::PCefChar src, System::NativeUInt src_len, Uceftypes::PCefString output);
|
||||
extern DELPHI_PACKAGE void __fastcall WindowInfoAsChild _DEPRECATED_ATTRIBUTE0 (Uceftypes::TCefWindowInfo &aWindowInfo, Uceftypes::TCefWindowHandle aParent, const System::Types::TRect &aRect, const Uceftypes::ustring aWindowName = Uceftypes::ustring(), unsigned aExStyle = (unsigned)(0x0));
|
||||
extern DELPHI_PACKAGE void __fastcall WindowInfoAsPopUp _DEPRECATED_ATTRIBUTE0 (Uceftypes::TCefWindowInfo &aWindowInfo, Uceftypes::TCefWindowHandle aParent, const Uceftypes::ustring aWindowName = Uceftypes::ustring(), unsigned aExStyle = (unsigned)(0x0));
|
||||
extern DELPHI_PACKAGE void __fastcall WindowInfoAsWindowless _DEPRECATED_ATTRIBUTE0 (Uceftypes::TCefWindowInfo &aWindowInfo, Uceftypes::TCefWindowHandle aParent, const Uceftypes::ustring aWindowName = Uceftypes::ustring(), unsigned aExStyle = (unsigned)(0x0));
|
||||
extern DELPHI_PACKAGE bool __fastcall CefIsCertStatusError(Uceftypes::TCefCertStatus Status);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefCrashReportingEnabled(void);
|
||||
extern DELPHI_PACKAGE void __fastcall CefSetCrashKeyValue(const Uceftypes::ustring aKey, const Uceftypes::ustring aValue);
|
||||
extern DELPHI_PACKAGE void __fastcall CefLog(const System::UnicodeString aFile, int aLine, int aSeverity, const System::UnicodeString aMessage);
|
||||
extern DELPHI_PACKAGE int __fastcall CefGetMinLogLevel(void);
|
||||
extern DELPHI_PACKAGE int __fastcall CefGetVLogLevel(const System::UnicodeString file_start);
|
||||
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefGetLogSeverityName(int aSeverity);
|
||||
extern DELPHI_PACKAGE void __fastcall CefDebugLog(const System::UnicodeString aMessage, int aSeverity = 0x2);
|
||||
extern DELPHI_PACKAGE void __fastcall CefKeyEventLog(const Uceftypes::TCefKeyEvent &aEvent);
|
||||
extern DELPHI_PACKAGE void __fastcall CefMouseEventLog(const Uceftypes::TCefMouseEvent &aEvent);
|
||||
extern DELPHI_PACKAGE void __fastcall OutputDebugMessage(const System::UnicodeString aMessage);
|
||||
extern DELPHI_PACKAGE bool __fastcall CustomExceptionHandler(const System::UnicodeString aFunctionName, System::Sysutils::Exception* const aException);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefRegisterSchemeHandlerFactory(const Uceftypes::ustring SchemeName, const Uceftypes::ustring DomainName, const Ucefresourcehandler::TCefResourceHandlerClass handler = 0x0);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefClearSchemeHandlerFactories(void);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefAddCrossOriginWhitelistEntry(const Uceftypes::ustring SourceOrigin, const Uceftypes::ustring TargetProtocol, const Uceftypes::ustring TargetDomain, bool AllowTargetSubdomains);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefRemoveCrossOriginWhitelistEntry(const Uceftypes::ustring SourceOrigin, const Uceftypes::ustring TargetProtocol, const Uceftypes::ustring TargetDomain, bool AllowTargetSubdomains);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefClearCrossOriginWhitelist(void);
|
||||
extern DELPHI_PACKAGE System::UnicodeString __fastcall SplitLongString(System::UnicodeString aSrcString);
|
||||
extern DELPHI_PACKAGE bool __fastcall GetAbsoluteDirPath(const System::UnicodeString aSrcPath, System::UnicodeString &aRsltPath);
|
||||
extern DELPHI_PACKAGE bool __fastcall CheckLocales(const System::UnicodeString aLocalesDirPath, System::UnicodeString &aMissingFiles, const System::UnicodeString aLocalesRequired = System::UnicodeString());
|
||||
extern DELPHI_PACKAGE bool __fastcall CheckResources(const System::UnicodeString aResourcesDirPath, System::UnicodeString &aMissingFiles);
|
||||
extern DELPHI_PACKAGE bool __fastcall CheckSubprocessPath(const System::UnicodeString aSubprocessPath, System::UnicodeString &aMissingFiles);
|
||||
extern DELPHI_PACKAGE bool __fastcall CheckDLLs(const System::UnicodeString aFrameworkDirPath, System::UnicodeString &aMissingFiles);
|
||||
extern DELPHI_PACKAGE bool __fastcall CheckFilesExist(System::Classes::TStringList* &aList, System::UnicodeString &aMissingFiles);
|
||||
extern DELPHI_PACKAGE void __fastcall UInt64ToFileVersionInfo(const unsigned __int64 aVersion, Uceftypes::TFileVersionInfo &aVersionInfo);
|
||||
extern DELPHI_PACKAGE unsigned __int64 __fastcall GetExtendedFileVersion(const Uceftypes::ustring aFileName);
|
||||
extern DELPHI_PACKAGE void __fastcall OutputLastErrorMessage(void);
|
||||
extern DELPHI_PACKAGE bool __fastcall GetRegistryWindowsVersion(unsigned &aMajor, unsigned &aMinor);
|
||||
extern DELPHI_PACKAGE bool __fastcall GetRealWindowsVersion(unsigned &aMajor, unsigned &aMinor);
|
||||
extern DELPHI_PACKAGE bool __fastcall CheckRealWindowsVersion(unsigned aMajor, unsigned aMinor);
|
||||
extern DELPHI_PACKAGE bool __fastcall GetDLLVersion(const Uceftypes::ustring aDLLFile, Uceftypes::TFileVersionInfo &aVersionInfo);
|
||||
extern DELPHI_PACKAGE bool __fastcall CheckDLLVersion(const Uceftypes::ustring aDLLFile, System::UInt16 aMajor, System::UInt16 aMinor, System::UInt16 aRelease, System::UInt16 aBuild);
|
||||
extern DELPHI_PACKAGE bool __fastcall GetDLLHeaderMachine(const Uceftypes::ustring aDLLFile, int &aMachine);
|
||||
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall GetFileTypeDescription(const Uceftypes::ustring aExtension);
|
||||
extern DELPHI_PACKAGE System::UnicodeString __fastcall FileVersionInfoToString(const Uceftypes::TFileVersionInfo &aVersionInfo);
|
||||
extern DELPHI_PACKAGE bool __fastcall Is32BitProcess(void);
|
||||
extern DELPHI_PACKAGE bool __fastcall CustomPathIsRelative(const System::UnicodeString aPath);
|
||||
extern DELPHI_PACKAGE bool __fastcall CustomPathIsURL(const System::UnicodeString aPath);
|
||||
extern DELPHI_PACKAGE bool __fastcall CustomPathIsUNC(const System::UnicodeString aPath);
|
||||
extern DELPHI_PACKAGE bool __fastcall CustomPathCanonicalize(const System::UnicodeString aOriginalPath, System::UnicodeString &aCanonicalPath);
|
||||
extern DELPHI_PACKAGE System::UnicodeString __fastcall CustomAbsolutePath(const System::UnicodeString aPath, bool aMustExist = false);
|
||||
extern DELPHI_PACKAGE System::UnicodeString __fastcall GetModulePath(void);
|
||||
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefResolveUrl(const Uceftypes::ustring base_url, const Uceftypes::ustring relative_url);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefParseUrl(const Uceftypes::ustring url, Uceftypes::TUrlParts &parts);
|
||||
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefCreateUrl(Uceftypes::TUrlParts &parts);
|
||||
extern DELPHI_PACKAGE System::UnicodeString __fastcall CefFormatUrlForSecurityDisplay(const System::UnicodeString originUrl);
|
||||
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefGetMimeType(const Uceftypes::ustring extension);
|
||||
extern DELPHI_PACKAGE void __fastcall CefGetExtensionsForMimeType(const Uceftypes::ustring mimeType, System::Classes::TStringList* &extensions);
|
||||
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefBase64Encode(const void * data, System::NativeUInt dataSize);
|
||||
extern DELPHI_PACKAGE Ucefinterfaces::_di_ICefBinaryValue __fastcall CefBase64Decode(const Uceftypes::ustring data);
|
||||
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefUriEncode(const Uceftypes::ustring text, bool usePlus);
|
||||
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefUriDecode(const Uceftypes::ustring text, bool convertToUtf8, Uceftypes::TCefUriUnescapeRule unescapeRule);
|
||||
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefGetPath(const Uceftypes::TCefPathKey aPathKey);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefIsRTL(void);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefCreateDirectory(const Uceftypes::ustring fullPath);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefGetTempDirectory(/* out */ Uceftypes::ustring &tempDir);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefCreateNewTempDirectory(const Uceftypes::ustring prefix, /* out */ Uceftypes::ustring &newTempPath);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefCreateTempDirectoryInDirectory(const Uceftypes::ustring baseDir, const Uceftypes::ustring prefix, /* out */ Uceftypes::ustring &newDir);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefDirectoryExists(const Uceftypes::ustring path);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefDeleteFile(const Uceftypes::ustring path, bool recursive);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefZipDirectory(const Uceftypes::ustring srcDir, const Uceftypes::ustring destFile, bool includeHiddenFiles);
|
||||
extern DELPHI_PACKAGE void __fastcall CefLoadCRLSetsFile(const Uceftypes::ustring path);
|
||||
extern DELPHI_PACKAGE System::UnicodeString __fastcall GetDefaultCEFUserAgent(void);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefIsKeyDown(unsigned aWparam);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefIsKeyToggled(unsigned aWparam);
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefEventFlags __fastcall GetCefMouseModifiers(unsigned awparam)/* overload */;
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefEventFlags __fastcall GetCefMouseModifiers(void)/* overload */;
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefEventFlags __fastcall GetCefKeyboardModifiers(unsigned aWparam, int aLparam);
|
||||
extern DELPHI_PACKAGE void __fastcall CefCheckAltGrPressed(unsigned aWparam, Uceftypes::TCefKeyEvent &aEvent);
|
||||
extern DELPHI_PACKAGE void __fastcall DropEffectToDragOperation(System::LongInt aEffect, Uceftypes::TCefDragOperations &aAllowedOps);
|
||||
extern DELPHI_PACKAGE void __fastcall DragOperationToDropEffect(const Uceftypes::TCefDragOperations aDragOperations, System::LongInt &aEffect);
|
||||
extern DELPHI_PACKAGE bool __fastcall GetWindowsMajorMinorVersion(unsigned &wMajorVersion, unsigned &wMinorVersion);
|
||||
extern DELPHI_PACKAGE bool __fastcall GetIsWow64Process2(System::Word &aProcessMachine, System::Word &aNativeMachine);
|
||||
extern DELPHI_PACKAGE bool __fastcall IsWowProcess(void);
|
||||
extern DELPHI_PACKAGE bool __fastcall GetDPIForHandle(HWND aHandle, unsigned &aDPI);
|
||||
extern DELPHI_PACKAGE bool __fastcall RunningWindows10OrNewer(void);
|
||||
extern DELPHI_PACKAGE System::Types::TPoint __fastcall TouchPointToPoint(HWND aHandle, const Winapi::Windows::TTouchInput &TouchPoint);
|
||||
extern DELPHI_PACKAGE bool __fastcall GetDigitizerStatus(Uceftypes::TDigitizerStatus &aDigitizerStatus, unsigned aDPI = (unsigned)(0x0));
|
||||
extern DELPHI_PACKAGE bool __fastcall HasTouchOrPen(unsigned aDPI = (unsigned)(0x0));
|
||||
extern DELPHI_PACKAGE int __fastcall DeviceToLogical(int aValue, const double aDeviceScaleFactor)/* overload */;
|
||||
extern DELPHI_PACKAGE float __fastcall DeviceToLogical(float aValue, const double aDeviceScaleFactor)/* overload */;
|
||||
extern DELPHI_PACKAGE void __fastcall DeviceToLogical(Uceftypes::TCefMouseEvent &aEvent, const double aDeviceScaleFactor)/* overload */;
|
||||
extern DELPHI_PACKAGE void __fastcall DeviceToLogical(Uceftypes::TCefTouchEvent &aEvent, const double aDeviceScaleFactor)/* overload */;
|
||||
extern DELPHI_PACKAGE void __fastcall DeviceToLogical(System::Types::TPoint &aPoint, const double aDeviceScaleFactor)/* overload */;
|
||||
extern DELPHI_PACKAGE int __fastcall LogicalToDevice(int aValue, const double aDeviceScaleFactor)/* overload */;
|
||||
extern DELPHI_PACKAGE void __fastcall LogicalToDevice(Uceftypes::TCefRect &aRect, const double aDeviceScaleFactor)/* overload */;
|
||||
extern DELPHI_PACKAGE int __fastcall GetScreenDPI(void);
|
||||
extern DELPHI_PACKAGE float __fastcall GetDeviceScaleFactor(void);
|
||||
extern DELPHI_PACKAGE bool __fastcall TryRemoveDir(const System::UnicodeString aDirectory);
|
||||
extern DELPHI_PACKAGE bool __fastcall TryDeleteFile(const System::UnicodeString aFileName);
|
||||
extern DELPHI_PACKAGE bool __fastcall TryRenameFile(const System::UnicodeString aOldName, const System::UnicodeString aNewName);
|
||||
extern DELPHI_PACKAGE bool __fastcall TryRenameDir(const System::UnicodeString aOldName, const System::UnicodeString aNewName);
|
||||
extern DELPHI_PACKAGE bool __fastcall DeleteDirContents(const System::UnicodeString aDirectory, System::Classes::TStringList* const aExcludeFiles = (System::Classes::TStringList*)(0x0));
|
||||
extern DELPHI_PACKAGE bool __fastcall DeleteFileList(System::Classes::TStringList* const aFileList);
|
||||
extern DELPHI_PACKAGE bool __fastcall MoveFileList(System::Classes::TStringList* const aFileList, const System::UnicodeString aSrcDirectory, const System::UnicodeString aDstDirectory);
|
||||
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefGetDataURI(const Uceftypes::ustring aString, const Uceftypes::ustring aMimeType)/* overload */;
|
||||
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefGetDataURI(void * aData, int aSize, const Uceftypes::ustring aMimeType, const Uceftypes::ustring aCharset = Uceftypes::ustring())/* overload */;
|
||||
extern DELPHI_PACKAGE bool __fastcall ValidCefWindowHandle(Uceftypes::TCefWindowHandle aHandle);
|
||||
extern DELPHI_PACKAGE void __fastcall InitializeWindowHandle(Uceftypes::TCefWindowHandle &aHandle);
|
||||
extern DELPHI_PACKAGE bool __fastcall GetCommandLineSwitchValue(const System::UnicodeString aKey, Uceftypes::ustring &aValue);
|
||||
extern DELPHI_PACKAGE bool __fastcall IsCEFSubprocess(void);
|
||||
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall EditingCommandToString(Uceftypes::TCefEditingCommand aEditingCommand);
|
||||
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefResultCodeToString(Uceftypes::TCefResultCode aExitCode);
|
||||
} /* namespace Ucefmiscfunctions */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFMISCFUNCTIONS)
|
||||
using namespace Ucefmiscfunctions;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFMiscFunctionsHPP
|
||||
@@ -0,0 +1,223 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFMiscFunctions.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFMiscFunctionsHPP
|
||||
#define uCEFMiscFunctionsHPP
|
||||
|
||||
#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 <Winapi.ActiveX.hpp>
|
||||
#include <Winapi.ShellAPI.hpp>
|
||||
#include <System.Win.Registry.hpp>
|
||||
#include <System.Types.hpp>
|
||||
#include <System.IOUtils.hpp>
|
||||
#include <System.Classes.hpp>
|
||||
#include <System.SysUtils.hpp>
|
||||
#include <System.UITypes.hpp>
|
||||
#include <System.Math.hpp>
|
||||
#include <uCEFTypes.hpp>
|
||||
#include <uCEFInterfaces.hpp>
|
||||
#include <uCEFLibFunctions.hpp>
|
||||
#include <uCEFResourceHandler.hpp>
|
||||
#include <uCEFConstants.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefmiscfunctions
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
//-- type declarations -------------------------------------------------------
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
#define Kernel32DLL L"kernel32.dll"
|
||||
#define SHLWAPIDLL L"shlwapi.dll"
|
||||
#define NTDLL L"ntdll.dll"
|
||||
#define User32DLL L"User32.dll"
|
||||
#define Netapi32DLL L"Netapi32.dll"
|
||||
extern "C" System::LongBool __stdcall ProcessUnderWow64(Winapi::Windows::THandle hProcess, PBOOL Wow64Process);
|
||||
extern "C" System::LongBool __stdcall PathIsRelativeAnsi(char * pszPath);
|
||||
extern "C" System::LongBool __stdcall PathIsRelativeUnicode(System::WideChar * pszPath);
|
||||
extern "C" System::LongBool __stdcall GetGlobalMemoryStatusEx(Uceftypes::LPMEMORYSTATUSEX lpBuffer);
|
||||
extern "C" System::LongBool __stdcall PathCanonicalizeAnsi(char * pszBuf, char * pszPath);
|
||||
extern "C" System::LongBool __stdcall PathCanonicalizeUnicode(System::WideChar * pszBuf, System::WideChar * pszPath);
|
||||
extern "C" System::LongBool __stdcall PathIsUNCAnsi(char * pszPath);
|
||||
extern "C" System::LongBool __stdcall PathIsUNCUnicode(System::WideChar * pszPath);
|
||||
extern "C" System::LongBool __stdcall PathIsURLAnsi(char * pszPath);
|
||||
extern "C" System::LongBool __stdcall PathIsURLUnicode(System::WideChar * pszPath);
|
||||
//extern "C" System::LongBool __stdcall ShutdownBlockReasonCreate(HWND hWnd, System::WideChar * Reason);
|
||||
//extern "C" System::LongBool __stdcall ShutdownBlockReasonDestroy(HWND hWnd);
|
||||
extern "C" unsigned __stdcall NetServerGetInfo(System::WideChar * servername, unsigned level, /* out */ void * &bufptr);
|
||||
extern "C" unsigned __stdcall NetApiBufferFree(void * Buffer);
|
||||
extern DELPHI_PACKAGE System::Byte __fastcall CefColorGetA(Uceftypes::TCefColor color);
|
||||
extern DELPHI_PACKAGE System::Byte __fastcall CefColorGetR(Uceftypes::TCefColor color);
|
||||
extern DELPHI_PACKAGE System::Byte __fastcall CefColorGetG(Uceftypes::TCefColor color);
|
||||
extern DELPHI_PACKAGE System::Byte __fastcall CefColorGetB(Uceftypes::TCefColor color);
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefColor __fastcall CefColorSetARGB(System::Byte a, System::Byte r, System::Byte g, System::Byte b);
|
||||
extern DELPHI_PACKAGE __int64 __fastcall CefInt64Set(int int32_low, int int32_high);
|
||||
extern DELPHI_PACKAGE int __fastcall CefInt64GetLow(const __int64 int64_val);
|
||||
extern DELPHI_PACKAGE int __fastcall CefInt64GetHigh(const __int64 int64_val);
|
||||
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefStringClearAndGet(Uceftypes::PCefString str);
|
||||
extern DELPHI_PACKAGE System::TObject* __fastcall CefGetObject(void * ptr);
|
||||
extern DELPHI_PACKAGE void * __fastcall CefGetData(const Ucefinterfaces::_di_ICefBaseRefCounted i);
|
||||
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefString(const Uceftypes::PCefString str)/* overload */;
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefString __fastcall CefString(const Uceftypes::ustring str)/* overload */;
|
||||
extern DELPHI_PACKAGE void __fastcall CefStringFree(const Uceftypes::PCefString str);
|
||||
extern DELPHI_PACKAGE void __fastcall CefStringSet(const Uceftypes::PCefString str, const Uceftypes::ustring value)/* overload */;
|
||||
extern DELPHI_PACKAGE void __fastcall CefStringSet(const Uceftypes::TCefString &aDstStr, const Uceftypes::TCefString &aSrcStr)/* overload */;
|
||||
extern DELPHI_PACKAGE void __fastcall CefStringInitialize(const Uceftypes::PCefString aCefString);
|
||||
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefStringFreeAndGet(const Uceftypes::PCefStringUserFree str);
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefString __fastcall CefStringAlloc(const Uceftypes::ustring str);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefStringUserFree __fastcall CefUserFreeString(const Uceftypes::ustring str);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefRegisterExtension(const Uceftypes::ustring name, const Uceftypes::ustring code, const Ucefinterfaces::_di_ICefv8Handler Handler);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefPostTask(Uceftypes::TCefThreadId aThreadId, const Ucefinterfaces::_di_ICefTask aTask);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefPostDelayedTask(Uceftypes::TCefThreadId aThreadId, const Ucefinterfaces::_di_ICefTask aTask, __int64 aDelayMs);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefCurrentlyOn(Uceftypes::TCefThreadId aThreadId);
|
||||
extern DELPHI_PACKAGE Winapi::Windows::TSystemTime __fastcall CefTimeToSystemTime(const Uceftypes::TCefTime &dt);
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefTime __fastcall SystemTimeToCefTime(const Winapi::Windows::TSystemTime &dt);
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefTime __fastcall FixCefTime(const Uceftypes::TCefTime &dt);
|
||||
extern DELPHI_PACKAGE System::TDateTime __fastcall CefTimeToDateTime(const Uceftypes::TCefTime &dt);
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefTime __fastcall DateTimeToCefTime(System::TDateTime dt);
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefBaseTime __fastcall DateTimeToCefBaseTime(System::TDateTime dt);
|
||||
extern DELPHI_PACKAGE double __fastcall CefTimeToDouble(const Uceftypes::TCefTime &dt);
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefTime __fastcall DoubleToCefTime(const double dt);
|
||||
extern DELPHI_PACKAGE __int64 __fastcall CefTimeToUnixTime(const Uceftypes::TCefTime &dt);
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefTime __fastcall UnixTimeToCefTime(const __int64 dt);
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefTime __fastcall CefTimeNow(void);
|
||||
extern DELPHI_PACKAGE double __fastcall DoubleTimeNow(void);
|
||||
extern DELPHI_PACKAGE __int64 __fastcall CefTimeDelta(const Uceftypes::TCefTime &cef_time1, const Uceftypes::TCefTime &cef_time2);
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefBaseTime __fastcall CefBaseTimeNow(void);
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefBaseTime __fastcall CetTimeToCefBaseTime(const Uceftypes::TCefTime &ct);
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefTime __fastcall CetTimeFromCefBaseTime(const Uceftypes::TCefBaseTime cbt);
|
||||
extern DELPHI_PACKAGE System::TDateTime __fastcall CefBaseTimeToDateTime(const Uceftypes::TCefBaseTime cbt);
|
||||
extern DELPHI_PACKAGE int __fastcall GetTimeIntervalMilliseconds(const Uceftypes::TCefTime &from_);
|
||||
extern DELPHI_PACKAGE void __fastcall InitializeCefTime(Uceftypes::TCefTime &aTime);
|
||||
extern DELPHI_PACKAGE int __fastcall cef_string_wide_copy(const System::WideChar * src, System::NativeUInt src_len, Uceftypes::PCefStringWide output);
|
||||
extern DELPHI_PACKAGE int __fastcall cef_string_utf8_copy(const char * src, System::NativeUInt src_len, Uceftypes::PCefStringUtf8 output);
|
||||
extern DELPHI_PACKAGE int __fastcall cef_string_utf16_copy(const Uceftypes::PChar16 src, System::NativeUInt src_len, Uceftypes::PCefStringUtf16 output);
|
||||
extern DELPHI_PACKAGE int __fastcall cef_string_copy(const Uceftypes::PCefChar src, System::NativeUInt src_len, Uceftypes::PCefString output);
|
||||
extern DELPHI_PACKAGE void __fastcall WindowInfoAsChild _DEPRECATED_ATTRIBUTE0 (Uceftypes::TCefWindowInfo &aWindowInfo, Uceftypes::TCefWindowHandle aParent, const System::Types::TRect &aRect, const Uceftypes::ustring aWindowName = Uceftypes::ustring(), unsigned aExStyle = (unsigned)(0x0));
|
||||
extern DELPHI_PACKAGE void __fastcall WindowInfoAsPopUp _DEPRECATED_ATTRIBUTE0 (Uceftypes::TCefWindowInfo &aWindowInfo, Uceftypes::TCefWindowHandle aParent, const Uceftypes::ustring aWindowName = Uceftypes::ustring(), unsigned aExStyle = (unsigned)(0x0));
|
||||
extern DELPHI_PACKAGE void __fastcall WindowInfoAsWindowless _DEPRECATED_ATTRIBUTE0 (Uceftypes::TCefWindowInfo &aWindowInfo, Uceftypes::TCefWindowHandle aParent, const Uceftypes::ustring aWindowName = Uceftypes::ustring(), unsigned aExStyle = (unsigned)(0x0));
|
||||
extern DELPHI_PACKAGE bool __fastcall CefIsCertStatusError(Uceftypes::TCefCertStatus Status);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefCrashReportingEnabled(void);
|
||||
extern DELPHI_PACKAGE void __fastcall CefSetCrashKeyValue(const Uceftypes::ustring aKey, const Uceftypes::ustring aValue);
|
||||
extern DELPHI_PACKAGE void __fastcall CefLog(const System::UnicodeString aFile, int aLine, int aSeverity, const System::UnicodeString aMessage);
|
||||
extern DELPHI_PACKAGE int __fastcall CefGetMinLogLevel(void);
|
||||
extern DELPHI_PACKAGE int __fastcall CefGetVLogLevel(const System::UnicodeString file_start);
|
||||
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefGetLogSeverityName(int aSeverity);
|
||||
extern DELPHI_PACKAGE void __fastcall CefDebugLog(const System::UnicodeString aMessage, int aSeverity = 0x2);
|
||||
extern DELPHI_PACKAGE void __fastcall CefKeyEventLog(const Uceftypes::TCefKeyEvent &aEvent);
|
||||
extern DELPHI_PACKAGE void __fastcall CefMouseEventLog(const Uceftypes::TCefMouseEvent &aEvent);
|
||||
extern DELPHI_PACKAGE void __fastcall OutputDebugMessage(const System::UnicodeString aMessage);
|
||||
extern DELPHI_PACKAGE bool __fastcall CustomExceptionHandler(const System::UnicodeString aFunctionName, System::Sysutils::Exception* const aException);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefRegisterSchemeHandlerFactory(const Uceftypes::ustring SchemeName, const Uceftypes::ustring DomainName, const Ucefresourcehandler::TCefResourceHandlerClass handler = 0x0);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefClearSchemeHandlerFactories(void);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefAddCrossOriginWhitelistEntry(const Uceftypes::ustring SourceOrigin, const Uceftypes::ustring TargetProtocol, const Uceftypes::ustring TargetDomain, bool AllowTargetSubdomains);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefRemoveCrossOriginWhitelistEntry(const Uceftypes::ustring SourceOrigin, const Uceftypes::ustring TargetProtocol, const Uceftypes::ustring TargetDomain, bool AllowTargetSubdomains);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefClearCrossOriginWhitelist(void);
|
||||
extern DELPHI_PACKAGE System::UnicodeString __fastcall SplitLongString(System::UnicodeString aSrcString);
|
||||
extern DELPHI_PACKAGE bool __fastcall GetAbsoluteDirPath(const System::UnicodeString aSrcPath, System::UnicodeString &aRsltPath);
|
||||
extern DELPHI_PACKAGE bool __fastcall CheckLocales(const System::UnicodeString aLocalesDirPath, System::UnicodeString &aMissingFiles, const System::UnicodeString aLocalesRequired = System::UnicodeString());
|
||||
extern DELPHI_PACKAGE bool __fastcall CheckResources(const System::UnicodeString aResourcesDirPath, System::UnicodeString &aMissingFiles);
|
||||
extern DELPHI_PACKAGE bool __fastcall CheckSubprocessPath(const System::UnicodeString aSubprocessPath, System::UnicodeString &aMissingFiles);
|
||||
extern DELPHI_PACKAGE bool __fastcall CheckDLLs(const System::UnicodeString aFrameworkDirPath, System::UnicodeString &aMissingFiles);
|
||||
extern DELPHI_PACKAGE bool __fastcall CheckFilesExist(System::Classes::TStringList* &aList, System::UnicodeString &aMissingFiles);
|
||||
extern DELPHI_PACKAGE void __fastcall UInt64ToFileVersionInfo(const unsigned __int64 aVersion, Uceftypes::TFileVersionInfo &aVersionInfo);
|
||||
extern DELPHI_PACKAGE unsigned __int64 __fastcall GetExtendedFileVersion(const Uceftypes::ustring aFileName);
|
||||
extern DELPHI_PACKAGE void __fastcall OutputLastErrorMessage(void);
|
||||
extern DELPHI_PACKAGE bool __fastcall GetRegistryWindowsVersion(unsigned &aMajor, unsigned &aMinor);
|
||||
extern DELPHI_PACKAGE bool __fastcall GetRealWindowsVersion(unsigned &aMajor, unsigned &aMinor);
|
||||
extern DELPHI_PACKAGE bool __fastcall CheckRealWindowsVersion(unsigned aMajor, unsigned aMinor);
|
||||
extern DELPHI_PACKAGE bool __fastcall GetDLLVersion(const Uceftypes::ustring aDLLFile, Uceftypes::TFileVersionInfo &aVersionInfo);
|
||||
extern DELPHI_PACKAGE bool __fastcall CheckDLLVersion(const Uceftypes::ustring aDLLFile, System::UInt16 aMajor, System::UInt16 aMinor, System::UInt16 aRelease, System::UInt16 aBuild);
|
||||
extern DELPHI_PACKAGE bool __fastcall GetDLLHeaderMachine(const Uceftypes::ustring aDLLFile, int &aMachine);
|
||||
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall GetFileTypeDescription(const Uceftypes::ustring aExtension);
|
||||
extern DELPHI_PACKAGE System::UnicodeString __fastcall FileVersionInfoToString(const Uceftypes::TFileVersionInfo &aVersionInfo);
|
||||
extern DELPHI_PACKAGE bool __fastcall Is32BitProcess(void);
|
||||
extern DELPHI_PACKAGE bool __fastcall CustomPathIsRelative(const System::UnicodeString aPath);
|
||||
extern DELPHI_PACKAGE bool __fastcall CustomPathIsURL(const System::UnicodeString aPath);
|
||||
extern DELPHI_PACKAGE bool __fastcall CustomPathIsUNC(const System::UnicodeString aPath);
|
||||
extern DELPHI_PACKAGE bool __fastcall CustomPathCanonicalize(const System::UnicodeString aOriginalPath, System::UnicodeString &aCanonicalPath);
|
||||
extern DELPHI_PACKAGE System::UnicodeString __fastcall CustomAbsolutePath(const System::UnicodeString aPath, bool aMustExist = false);
|
||||
extern DELPHI_PACKAGE System::UnicodeString __fastcall GetModulePath(void);
|
||||
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefResolveUrl(const Uceftypes::ustring base_url, const Uceftypes::ustring relative_url);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefParseUrl(const Uceftypes::ustring url, Uceftypes::TUrlParts &parts);
|
||||
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefCreateUrl(Uceftypes::TUrlParts &parts);
|
||||
extern DELPHI_PACKAGE System::UnicodeString __fastcall CefFormatUrlForSecurityDisplay(const System::UnicodeString originUrl);
|
||||
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefGetMimeType(const Uceftypes::ustring extension);
|
||||
extern DELPHI_PACKAGE void __fastcall CefGetExtensionsForMimeType(const Uceftypes::ustring mimeType, System::Classes::TStringList* &extensions);
|
||||
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefBase64Encode(const void * data, System::NativeUInt dataSize);
|
||||
extern DELPHI_PACKAGE Ucefinterfaces::_di_ICefBinaryValue __fastcall CefBase64Decode(const Uceftypes::ustring data);
|
||||
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefUriEncode(const Uceftypes::ustring text, bool usePlus);
|
||||
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefUriDecode(const Uceftypes::ustring text, bool convertToUtf8, Uceftypes::TCefUriUnescapeRule unescapeRule);
|
||||
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefGetPath(const Uceftypes::TCefPathKey aPathKey);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefIsRTL(void);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefCreateDirectory(const Uceftypes::ustring fullPath);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefGetTempDirectory(/* out */ Uceftypes::ustring &tempDir);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefCreateNewTempDirectory(const Uceftypes::ustring prefix, /* out */ Uceftypes::ustring &newTempPath);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefCreateTempDirectoryInDirectory(const Uceftypes::ustring baseDir, const Uceftypes::ustring prefix, /* out */ Uceftypes::ustring &newDir);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefDirectoryExists(const Uceftypes::ustring path);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefDeleteFile(const Uceftypes::ustring path, bool recursive);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefZipDirectory(const Uceftypes::ustring srcDir, const Uceftypes::ustring destFile, bool includeHiddenFiles);
|
||||
extern DELPHI_PACKAGE void __fastcall CefLoadCRLSetsFile(const Uceftypes::ustring path);
|
||||
extern DELPHI_PACKAGE System::UnicodeString __fastcall GetDefaultCEFUserAgent(void);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefIsKeyDown(unsigned aWparam);
|
||||
extern DELPHI_PACKAGE bool __fastcall CefIsKeyToggled(unsigned aWparam);
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefEventFlags __fastcall GetCefMouseModifiers(unsigned awparam)/* overload */;
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefEventFlags __fastcall GetCefMouseModifiers(void)/* overload */;
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefEventFlags __fastcall GetCefKeyboardModifiers(unsigned aWparam, int aLparam);
|
||||
extern DELPHI_PACKAGE void __fastcall CefCheckAltGrPressed(unsigned aWparam, Uceftypes::TCefKeyEvent &aEvent);
|
||||
extern DELPHI_PACKAGE void __fastcall DropEffectToDragOperation(System::LongInt aEffect, Uceftypes::TCefDragOperations &aAllowedOps);
|
||||
extern DELPHI_PACKAGE void __fastcall DragOperationToDropEffect(const Uceftypes::TCefDragOperations aDragOperations, System::LongInt &aEffect);
|
||||
extern DELPHI_PACKAGE bool __fastcall GetWindowsMajorMinorVersion(unsigned &wMajorVersion, unsigned &wMinorVersion);
|
||||
extern DELPHI_PACKAGE bool __fastcall GetIsWow64Process2(System::Word &aProcessMachine, System::Word &aNativeMachine);
|
||||
extern DELPHI_PACKAGE bool __fastcall IsWowProcess(void);
|
||||
extern DELPHI_PACKAGE bool __fastcall GetDPIForHandle(HWND aHandle, unsigned &aDPI);
|
||||
extern DELPHI_PACKAGE bool __fastcall RunningWindows10OrNewer(void);
|
||||
extern DELPHI_PACKAGE System::Types::TPoint __fastcall TouchPointToPoint(HWND aHandle, const Winapi::Windows::TTouchInput &TouchPoint);
|
||||
extern DELPHI_PACKAGE bool __fastcall GetDigitizerStatus(Uceftypes::TDigitizerStatus &aDigitizerStatus, unsigned aDPI = (unsigned)(0x0));
|
||||
extern DELPHI_PACKAGE bool __fastcall HasTouchOrPen(unsigned aDPI = (unsigned)(0x0));
|
||||
extern DELPHI_PACKAGE int __fastcall DeviceToLogical(int aValue, const double aDeviceScaleFactor)/* overload */;
|
||||
extern DELPHI_PACKAGE float __fastcall DeviceToLogical(float aValue, const double aDeviceScaleFactor)/* overload */;
|
||||
extern DELPHI_PACKAGE void __fastcall DeviceToLogical(Uceftypes::TCefMouseEvent &aEvent, const double aDeviceScaleFactor)/* overload */;
|
||||
extern DELPHI_PACKAGE void __fastcall DeviceToLogical(Uceftypes::TCefTouchEvent &aEvent, const double aDeviceScaleFactor)/* overload */;
|
||||
extern DELPHI_PACKAGE void __fastcall DeviceToLogical(System::Types::TPoint &aPoint, const double aDeviceScaleFactor)/* overload */;
|
||||
extern DELPHI_PACKAGE int __fastcall LogicalToDevice(int aValue, const double aDeviceScaleFactor)/* overload */;
|
||||
extern DELPHI_PACKAGE void __fastcall LogicalToDevice(Uceftypes::TCefRect &aRect, const double aDeviceScaleFactor)/* overload */;
|
||||
extern DELPHI_PACKAGE int __fastcall GetScreenDPI(void);
|
||||
extern DELPHI_PACKAGE float __fastcall GetDeviceScaleFactor(void);
|
||||
extern DELPHI_PACKAGE bool __fastcall TryRemoveDir(const System::UnicodeString aDirectory);
|
||||
extern DELPHI_PACKAGE bool __fastcall TryDeleteFile(const System::UnicodeString aFileName);
|
||||
extern DELPHI_PACKAGE bool __fastcall TryRenameFile(const System::UnicodeString aOldName, const System::UnicodeString aNewName);
|
||||
extern DELPHI_PACKAGE bool __fastcall TryRenameDir(const System::UnicodeString aOldName, const System::UnicodeString aNewName);
|
||||
extern DELPHI_PACKAGE bool __fastcall DeleteDirContents(const System::UnicodeString aDirectory, System::Classes::TStringList* const aExcludeFiles = (System::Classes::TStringList*)(0x0));
|
||||
extern DELPHI_PACKAGE bool __fastcall DeleteFileList(System::Classes::TStringList* const aFileList);
|
||||
extern DELPHI_PACKAGE bool __fastcall MoveFileList(System::Classes::TStringList* const aFileList, const System::UnicodeString aSrcDirectory, const System::UnicodeString aDstDirectory);
|
||||
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefGetDataURI(const Uceftypes::ustring aString, const Uceftypes::ustring aMimeType)/* overload */;
|
||||
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefGetDataURI(void * aData, int aSize, const Uceftypes::ustring aMimeType, const Uceftypes::ustring aCharset = Uceftypes::ustring())/* overload */;
|
||||
extern DELPHI_PACKAGE bool __fastcall ValidCefWindowHandle(Uceftypes::TCefWindowHandle aHandle);
|
||||
extern DELPHI_PACKAGE void __fastcall InitializeWindowHandle(Uceftypes::TCefWindowHandle &aHandle);
|
||||
extern DELPHI_PACKAGE bool __fastcall GetCommandLineSwitchValue(const System::UnicodeString aKey, Uceftypes::ustring &aValue);
|
||||
extern DELPHI_PACKAGE bool __fastcall IsCEFSubprocess(void);
|
||||
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall EditingCommandToString(Uceftypes::TCefEditingCommand aEditingCommand);
|
||||
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefResultCodeToString(Uceftypes::TCefResultCode aExitCode);
|
||||
} /* namespace Ucefmiscfunctions */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFMISCFUNCTIONS)
|
||||
using namespace Ucefmiscfunctions;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFMiscFunctionsHPP
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,100 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFAccessibilityHandler.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFAccessibilityHandlerHPP
|
||||
#define uCEFAccessibilityHandlerHPP
|
||||
|
||||
#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>
|
||||
#include <uCEFChromiumEvents.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefaccessibilityhandler
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCEFAccessibilityHandlerOwn;
|
||||
class DELPHICLASS TCustomAccessibilityHandler;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
typedef void __fastcall (__closure *TOnAccessibilityEvent)(System::TObject* Sender, const Ucefinterfaces::_di_ICefValue value);
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCEFAccessibilityHandlerOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
||||
|
||||
protected:
|
||||
virtual void __fastcall OnAccessibilityTreeChange(const Ucefinterfaces::_di_ICefValue value);
|
||||
virtual void __fastcall OnAccessibilityLocationChange(const Ucefinterfaces::_di_ICefValue value);
|
||||
|
||||
public:
|
||||
__fastcall virtual TCEFAccessibilityHandlerOwn();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCEFAccessibilityHandlerOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCEFAccessibilityHandlerOwn() { }
|
||||
|
||||
private:
|
||||
void *__ICefAccessibilityHandler; // Ucefinterfaces::ICefAccessibilityHandler
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {1878C3C7-7692-44AB-BFE0-6C387106816B}
|
||||
operator Ucefinterfaces::_di_ICefAccessibilityHandler()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefAccessibilityHandler intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefAccessibilityHandler*(void) { return (Ucefinterfaces::ICefAccessibilityHandler*)&__ICefAccessibilityHandler; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
class PASCALIMPLEMENTATION TCustomAccessibilityHandler : public TCEFAccessibilityHandlerOwn
|
||||
{
|
||||
typedef TCEFAccessibilityHandlerOwn inherited;
|
||||
|
||||
protected:
|
||||
TOnAccessibilityEvent FOnTreeChange;
|
||||
TOnAccessibilityEvent FOnLocationChange;
|
||||
virtual void __fastcall OnAccessibilityTreeChange(const Ucefinterfaces::_di_ICefValue value);
|
||||
virtual void __fastcall OnAccessibilityLocationChange(const Ucefinterfaces::_di_ICefValue value);
|
||||
|
||||
public:
|
||||
__fastcall virtual TCustomAccessibilityHandler();
|
||||
__property TOnAccessibilityEvent OnTreeChange = {read=FOnTreeChange, write=FOnTreeChange};
|
||||
__property TOnAccessibilityEvent OnLocationChange = {read=FOnLocationChange, write=FOnLocationChange};
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomAccessibilityHandler(unsigned size, bool owned) : TCEFAccessibilityHandlerOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCustomAccessibilityHandler() { }
|
||||
|
||||
};
|
||||
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefaccessibilityhandler */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFACCESSIBILITYHANDLER)
|
||||
using namespace Ucefaccessibilityhandler;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFAccessibilityHandlerHPP
|
||||
@@ -0,0 +1,112 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFApp.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFAppHPP
|
||||
#define uCEFAppHPP
|
||||
|
||||
#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.UITypes.hpp>
|
||||
#include <uCEFTypes.hpp>
|
||||
#include <uCEFInterfaces.hpp>
|
||||
#include <uCEFBaseRefCounted.hpp>
|
||||
#include <uCEFSchemeRegistrar.hpp>
|
||||
#include <uCEFApplicationCore.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefapp
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefAppOwn;
|
||||
class DELPHICLASS TCustomCefApp;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefAppOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
||||
|
||||
protected:
|
||||
virtual void __fastcall OnBeforeCommandLineProcessing(const Uceftypes::ustring processType, const Ucefinterfaces::_di_ICefCommandLine commandLine) = 0 ;
|
||||
virtual void __fastcall OnRegisterCustomSchemes(Ucefschemeregistrar::TCefSchemeRegistrarRef* const registrar) = 0 ;
|
||||
virtual void __fastcall GetResourceBundleHandler(Ucefinterfaces::_di_ICefResourceBundleHandler &aHandler) = 0 ;
|
||||
virtual void __fastcall GetBrowserProcessHandler(Ucefinterfaces::_di_ICefBrowserProcessHandler &aHandler) = 0 ;
|
||||
virtual void __fastcall GetRenderProcessHandler(Ucefinterfaces::_di_ICefRenderProcessHandler &aHandler) = 0 ;
|
||||
virtual void __fastcall RemoveReferences() = 0 ;
|
||||
|
||||
public:
|
||||
__fastcall virtual TCefAppOwn();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefAppOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefAppOwn() { }
|
||||
|
||||
private:
|
||||
void *__ICefApp; // Ucefinterfaces::ICefApp
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {970CA670-9070-4642-B188-7D8A22DAEED4}
|
||||
operator Ucefinterfaces::_di_ICefApp()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefApp intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefApp*(void) { return (Ucefinterfaces::ICefApp*)&__ICefApp; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCustomCefApp : public TCefAppOwn
|
||||
{
|
||||
typedef TCefAppOwn inherited;
|
||||
|
||||
protected:
|
||||
Ucefapplicationcore::TCefApplicationCore* FCefApp;
|
||||
Ucefinterfaces::_di_ICefResourceBundleHandler FResourceBundleHandler;
|
||||
Ucefinterfaces::_di_ICefBrowserProcessHandler FBrowserProcessHandler;
|
||||
Ucefinterfaces::_di_ICefRenderProcessHandler FRenderProcessHandler;
|
||||
virtual void __fastcall OnBeforeCommandLineProcessing(const Uceftypes::ustring processType, const Ucefinterfaces::_di_ICefCommandLine commandLine);
|
||||
virtual void __fastcall OnRegisterCustomSchemes(Ucefschemeregistrar::TCefSchemeRegistrarRef* const registrar);
|
||||
virtual void __fastcall GetResourceBundleHandler(Ucefinterfaces::_di_ICefResourceBundleHandler &aHandler);
|
||||
virtual void __fastcall GetBrowserProcessHandler(Ucefinterfaces::_di_ICefBrowserProcessHandler &aHandler);
|
||||
virtual void __fastcall GetRenderProcessHandler(Ucefinterfaces::_di_ICefRenderProcessHandler &aHandler);
|
||||
void __fastcall InitializeVars();
|
||||
virtual void __fastcall RemoveReferences();
|
||||
|
||||
public:
|
||||
__fastcall TCustomCefApp(Ucefapplicationcore::TCefApplicationCore* const aCefApp);
|
||||
__fastcall virtual ~TCustomCefApp();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomCefApp(unsigned size, bool owned) : TCefAppOwn(size, owned) { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefapp */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFAPP)
|
||||
using namespace Ucefapp;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFAppHPP
|
||||
@@ -0,0 +1,79 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFApplication.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFApplicationHPP
|
||||
#define uCEFApplicationHPP
|
||||
|
||||
#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 <Winapi.ActiveX.hpp>
|
||||
#include <Vcl.Forms.hpp>
|
||||
#include <System.Classes.hpp>
|
||||
#include <System.UITypes.hpp>
|
||||
#include <uCEFApplicationCore.hpp>
|
||||
#include <uCEFTypes.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefapplication
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefApplication;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefApplication : public Ucefapplicationcore::TCefApplicationCore
|
||||
{
|
||||
typedef Ucefapplicationcore::TCefApplicationCore inherited;
|
||||
|
||||
protected:
|
||||
bool FDestroyApplicationObject;
|
||||
bool FDestroyAppWindows;
|
||||
virtual void __fastcall BeforeInitSubProcess();
|
||||
|
||||
public:
|
||||
__fastcall TCefApplication();
|
||||
__fastcall virtual ~TCefApplication();
|
||||
virtual void __fastcall UpdateDeviceScaleFactor();
|
||||
__property bool DestroyApplicationObject = {read=FDestroyApplicationObject, write=FDestroyApplicationObject, nodefault};
|
||||
__property bool DestroyAppWindows = {read=FDestroyAppWindows, write=FDestroyAppWindows, nodefault};
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
using Ucefapplicationcore::TCEFDirectoryDeleterThread;
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
static _DELPHI_CONST System::Byte CEF_SUPPORTED_VERSION_MAJOR = System::Byte(0x8e);
|
||||
static _DELPHI_CONST System::Int8 CEF_SUPPORTED_VERSION_MINOR = System::Int8(0x0);
|
||||
static _DELPHI_CONST System::Int8 CEF_SUPPORTED_VERSION_RELEASE = System::Int8(0xe);
|
||||
static _DELPHI_CONST System::Int8 CEF_SUPPORTED_VERSION_BUILD = System::Int8(0x0);
|
||||
static _DELPHI_CONST System::Byte CEF_CHROMEELF_VERSION_MAJOR = System::Byte(0x8e);
|
||||
static _DELPHI_CONST System::Int8 CEF_CHROMEELF_VERSION_MINOR = System::Int8(0x0);
|
||||
static _DELPHI_CONST System::Word CEF_CHROMEELF_VERSION_RELEASE = System::Word(0x1d14);
|
||||
static _DELPHI_CONST System::Byte CEF_CHROMEELF_VERSION_BUILD = System::Byte(0xa3);
|
||||
#define LIBCEF_DLL L"libcef.dll"
|
||||
#define CHROMEELF_DLL L"chrome_elf.dll"
|
||||
//extern DELPHI_PACKAGE TCefApplication* GlobalCEFApp;
|
||||
extern DELPHI_PACKAGE System::Uitypes::TCursor __fastcall CefCursorToWindowsCursor(Uceftypes::TCefCursorType aCefCursor);
|
||||
//extern DELPHI_PACKAGE void __fastcall DestroyGlobalCEFApp(void);
|
||||
} /* namespace Ucefapplication */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFAPPLICATION)
|
||||
using namespace Ucefapplication;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFApplicationHPP
|
||||
@@ -0,0 +1,621 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFApplicationCore.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFApplicationCoreHPP
|
||||
#define uCEFApplicationCoreHPP
|
||||
|
||||
#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 <System.UITypes.hpp>
|
||||
#include <System.SyncObjs.hpp>
|
||||
#include <uCEFTypes.hpp>
|
||||
#include <uCEFInterfaces.hpp>
|
||||
#include <uCEFApplicationEvents.hpp>
|
||||
#include <uCEFBaseRefCounted.hpp>
|
||||
#include <uCEFSchemeRegistrar.hpp>
|
||||
#include <uCEFPreferenceRegistrar.hpp>
|
||||
#include <uCEFComponentIdList.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefapplicationcore
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefApplicationCore;
|
||||
class DELPHICLASS TCEFDirectoryDeleterThread;
|
||||
class DELPHICLASS TCEFProxySettings;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefApplicationCore : public System::TInterfacedObject
|
||||
{
|
||||
typedef System::TInterfacedObject inherited;
|
||||
|
||||
protected:
|
||||
bool FNoSandbox;
|
||||
Uceftypes::ustring FBrowserSubprocessPath;
|
||||
Uceftypes::ustring FFrameworkDirPath;
|
||||
Uceftypes::ustring FMainBundlePath;
|
||||
bool FMultiThreadedMessageLoop;
|
||||
bool FExternalMessagePump;
|
||||
bool FWindowlessRenderingEnabled;
|
||||
bool FCommandLineArgsDisabled;
|
||||
Uceftypes::ustring FCache;
|
||||
Uceftypes::ustring FRootCache;
|
||||
bool FPersistSessionCookies;
|
||||
Uceftypes::ustring FUserAgent;
|
||||
Uceftypes::ustring FUserAgentProduct;
|
||||
Uceftypes::ustring FLocale;
|
||||
Uceftypes::ustring FLogFile;
|
||||
Uceftypes::TCefLogSeverity FLogSeverity;
|
||||
Uceftypes::TCefLogItems FLogItems;
|
||||
Uceftypes::ustring FJavaScriptFlags;
|
||||
Uceftypes::ustring FResourcesDirPath;
|
||||
Uceftypes::ustring FLocalesDirPath;
|
||||
int FRemoteDebuggingPort;
|
||||
int FUncaughtExceptionStackSize;
|
||||
bool FIgnoreCertificateErrors;
|
||||
Uceftypes::TCefColor FBackgroundColor;
|
||||
Uceftypes::ustring FAcceptLanguageList;
|
||||
Uceftypes::ustring FCookieableSchemesList;
|
||||
bool FCookieableSchemesExcludeDefaults;
|
||||
Uceftypes::ustring FChromePolicyId;
|
||||
int FChromeAppIconId;
|
||||
bool FDisableSignalHandlers;
|
||||
bool FSingleProcess;
|
||||
bool FEnableMediaStream;
|
||||
bool FEnableSpeechInput;
|
||||
bool FUseFakeUIForMediaStream;
|
||||
bool FEnableUsermediaScreenCapturing;
|
||||
bool FEnableGPU;
|
||||
Uceftypes::ustring FEnableFeatures;
|
||||
Uceftypes::ustring FDisableFeatures;
|
||||
Uceftypes::ustring FEnableBlinkFeatures;
|
||||
Uceftypes::ustring FDisableBlinkFeatures;
|
||||
Uceftypes::ustring FBlinkSettings;
|
||||
Uceftypes::ustring FForceFieldTrials;
|
||||
Uceftypes::ustring FForceFieldTrialParams;
|
||||
Uceftypes::TCefState FSmoothScrolling;
|
||||
bool FMuteAudio;
|
||||
bool FSitePerProcess;
|
||||
bool FDisableWebSecurity;
|
||||
bool FDisablePDFExtension;
|
||||
bool FDisableSiteIsolationTrials;
|
||||
bool FDisableChromeLoginPrompt;
|
||||
bool FDisableExtensions;
|
||||
Uceftypes::TCefAutoplayPolicy FAutoplayPolicy;
|
||||
bool FDisableBackgroundNetworking;
|
||||
bool FMetricsRecordingOnly;
|
||||
bool FAllowFileAccessFromFiles;
|
||||
bool FAllowRunningInsecureContent;
|
||||
bool FEnablePrintPreview;
|
||||
Uceftypes::ustring FDefaultEncoding;
|
||||
bool FDisableJavascript;
|
||||
bool FDisableJavascriptCloseWindows;
|
||||
bool FDisableJavascriptAccessClipboard;
|
||||
bool FDisableJavascriptDomPaste;
|
||||
bool FAllowUniversalAccessFromFileUrls;
|
||||
bool FDisableImageLoading;
|
||||
bool FImageShrinkStandaloneToFit;
|
||||
bool FDisableTextAreaResize;
|
||||
bool FDisableTabToLinks;
|
||||
bool FEnableProfanityFilter;
|
||||
bool FDisableSpellChecking;
|
||||
Uceftypes::ustring FOverrideSpellCheckLang;
|
||||
Uceftypes::TCefState FTouchEvents;
|
||||
bool FDisableReadingFromCanvas;
|
||||
bool FHyperlinkAuditing;
|
||||
bool FDisableNewBrowserInfoTimeout;
|
||||
Uceftypes::ustring FDevToolsProtocolLogFile;
|
||||
float FForcedDeviceScaleFactor;
|
||||
bool FDisableZygote;
|
||||
bool FUseMockKeyChain;
|
||||
bool FDisableRequestHandlingForTesting;
|
||||
bool FDisablePopupBlocking;
|
||||
bool FDisableBackForwardCache;
|
||||
bool FDisableComponentUpdate;
|
||||
bool FAllowInsecureLocalhost;
|
||||
bool FKioskPrinting;
|
||||
Uceftypes::ustring FTreatInsecureOriginAsSecure;
|
||||
bool FNetLogEnabled;
|
||||
Uceftypes::ustring FNetLogFile;
|
||||
Uceftypes::TCefNetLogCaptureMode FNetLogCaptureMode;
|
||||
Uceftypes::ustring FRemoteAllowOrigins;
|
||||
bool FAutoAcceptCamAndMicCapture;
|
||||
Uceftypes::TCefUIColorMode FUIColorMode;
|
||||
bool FDisableHangMonitor;
|
||||
bool FHideCrashRestoreBubble;
|
||||
Uceftypes::TCefState FPostQuantumKyber;
|
||||
TCEFProxySettings* FProxySettings;
|
||||
Uceftypes::TCefState FFieldTrialConfig;
|
||||
bool FDoNotDeElevate;
|
||||
void *FWindowsSandboxInfo;
|
||||
bool FDeleteCache;
|
||||
bool FDeleteCookies;
|
||||
bool FCheckCEFFiles;
|
||||
bool FShowMessageDlg;
|
||||
bool FMissingBinariesException;
|
||||
bool FSetCurrentDir;
|
||||
bool FGlobalContextInitialized;
|
||||
Uceftypes::TFileVersionInfo FChromeVersionInfo;
|
||||
bool FLibLoaded;
|
||||
bool FLogProcessInfo;
|
||||
bool FReRaiseExceptions;
|
||||
float FDeviceScaleFactor;
|
||||
Uceftypes::ustring FLocalesRequired;
|
||||
Uceftypes::TCefProcessType FProcessType;
|
||||
bool FMustCreateResourceBundleHandler;
|
||||
bool FMustCreateBrowserProcessHandler;
|
||||
bool FMustCreateRenderProcessHandler;
|
||||
bool FMustCreateLoadHandler;
|
||||
Uceftypes::TCefAplicationStatus FStatus;
|
||||
System::UnicodeString FMissingLibFiles;
|
||||
bool FMustFreeLibrary;
|
||||
Uceftypes::ustring FLastErrorMessage;
|
||||
bool FSharedTextureEnabled;
|
||||
bool FExternalBeginFrameEnabled;
|
||||
Uceftypes::TCefGLImplementation FUseGL;
|
||||
Uceftypes::TCefAngleImplementation FUseAngle;
|
||||
Winapi::Windows::THandle FLibHandle;
|
||||
System::Classes::TStringList* FCustomCommandLines;
|
||||
System::Classes::TStringList* FCustomCommandLineValues;
|
||||
Uceftypes::TCefSettings FAppSettings;
|
||||
bool FDisableGPUCache;
|
||||
Ucefcomponentidlist::TCEFComponentIdList* FComponentIDList;
|
||||
Ucefapplicationevents::_di_TOnRegisterCustomSchemesEvent FOnRegisterCustomSchemes;
|
||||
Ucefapplicationevents::_di_TOnRegisterCustomPreferencesEvent FOnRegisterCustomPreferences;
|
||||
Ucefapplicationevents::_di_TOnContextInitializedEvent FOnContextInitialized;
|
||||
Ucefapplicationevents::_di_TOnBeforeChildProcessLaunchEvent FOnBeforeChildProcessLaunch;
|
||||
Ucefapplicationevents::_di_TOnAlreadyRunningAppRelaunchEvent FOnAlreadyRunningAppRelaunch;
|
||||
Ucefapplicationevents::_di_TOnScheduleMessagePumpWorkEvent FOnScheduleMessagePumpWork;
|
||||
Ucefapplicationevents::_di_TOnGetDefaultClientEvent FOnGetDefaultClient;
|
||||
Ucefapplicationevents::_di_TOnGetDefaultRequestContextHandlerEvent FOnGetDefaultRequestContextHandler;
|
||||
Ucefapplicationevents::_di_TOnGetLocalizedStringEvent FOnGetLocalizedString;
|
||||
Ucefapplicationevents::_di_TOnGetDataResourceEvent FOnGetDataResource;
|
||||
Ucefapplicationevents::_di_TOnGetDataResourceForScaleEvent FOnGetDataResourceForScale;
|
||||
Ucefapplicationevents::_di_TOnWebKitInitializedEvent FOnWebKitInitialized;
|
||||
Ucefapplicationevents::_di_TOnBrowserCreatedEvent FOnBrowserCreated;
|
||||
Ucefapplicationevents::_di_TOnBrowserDestroyedEvent FOnBrowserDestroyed;
|
||||
Ucefapplicationevents::_di_TOnContextCreatedEvent FOnContextCreated;
|
||||
Ucefapplicationevents::_di_TOnContextReleasedEvent FOnContextReleased;
|
||||
Ucefapplicationevents::_di_TOnUncaughtExceptionEvent FOnUncaughtException;
|
||||
Ucefapplicationevents::_di_TOnFocusedNodeChangedEvent FOnFocusedNodeChanged;
|
||||
Ucefapplicationevents::_di_TOnProcessMessageReceivedEvent FOnProcessMessageReceived;
|
||||
Ucefapplicationevents::_di_TOnRenderLoadingStateChange FOnLoadingStateChange;
|
||||
Ucefapplicationevents::_di_TOnRenderLoadStart FOnLoadStart;
|
||||
Ucefapplicationevents::_di_TOnRenderLoadEnd FOnLoadEnd;
|
||||
Ucefapplicationevents::_di_TOnRenderLoadError FOnLoadError;
|
||||
void __fastcall SetCache(const Uceftypes::ustring aValue);
|
||||
void __fastcall SetRootCache(const Uceftypes::ustring aValue);
|
||||
void __fastcall SetBrowserSubprocessPath(const Uceftypes::ustring aValue);
|
||||
void __fastcall SetFrameworkDirPath(const Uceftypes::ustring aValue);
|
||||
void __fastcall SetResourcesDirPath(const Uceftypes::ustring aValue);
|
||||
void __fastcall SetLocalesDirPath(const Uceftypes::ustring aValue);
|
||||
void __fastcall SetOsmodalLoop(bool aValue);
|
||||
void __fastcall SetKioskPrinting(bool aValue);
|
||||
void __fastcall SetLogFile(const Uceftypes::ustring aValue);
|
||||
Uceftypes::ustring __fastcall GetChromeVersion();
|
||||
Uceftypes::ustring __fastcall GetLibCefVersion();
|
||||
Uceftypes::ustring __fastcall GetLibCefPath();
|
||||
Uceftypes::ustring __fastcall GetChromeElfPath();
|
||||
Uceftypes::ustring __fastcall GetLocalesDirPath();
|
||||
Uceftypes::ustring __fastcall GetResourcesDirPath();
|
||||
virtual bool __fastcall GetMustCreateResourceBundleHandler();
|
||||
virtual bool __fastcall GetMustCreateBrowserProcessHandler();
|
||||
virtual bool __fastcall GetMustCreateRenderProcessHandler();
|
||||
virtual bool __fastcall GetMustCreateLoadHandler();
|
||||
bool __fastcall GetGlobalContextInitialized();
|
||||
int __fastcall GetChildProcessesCount();
|
||||
unsigned __int64 __fastcall GetUsedMemory();
|
||||
unsigned __int64 __fastcall GetTotalSystemMemory();
|
||||
unsigned __int64 __fastcall GetAvailableSystemMemory();
|
||||
unsigned __fastcall GetSystemMemoryLoad();
|
||||
Uceftypes::ustring __fastcall GetApiHashPlatform();
|
||||
Uceftypes::ustring __fastcall GetApiHashCommit();
|
||||
int __fastcall GetApiVersion();
|
||||
Uceftypes::TCefResultCode __fastcall GetExitCode();
|
||||
Ucefinterfaces::_di_ICefBrowser __fastcall GetBrowserById(int aID);
|
||||
System::UnicodeString __fastcall GetCookiesDir(const System::UnicodeString aRootDirectory);
|
||||
virtual bool __fastcall LoadCEFlibrary();
|
||||
bool __fastcall Load_cef_api_hash_h();
|
||||
bool __fastcall Load_cef_version_info_h();
|
||||
bool __fastcall Load_cef_id_mappers_h();
|
||||
bool __fastcall Load_cef_app_capi_h();
|
||||
bool __fastcall Load_cef_app_win_h();
|
||||
bool __fastcall Load_cef_browser_capi_h();
|
||||
bool __fastcall Load_cef_command_line_capi_h();
|
||||
bool __fastcall Load_cef_cookie_capi_h();
|
||||
bool __fastcall Load_cef_crash_util_h();
|
||||
bool __fastcall Load_cef_drag_data_capi_h();
|
||||
bool __fastcall Load_cef_dump_without_crashing_internal_h();
|
||||
bool __fastcall Load_cef_file_util_capi_h();
|
||||
bool __fastcall Load_cef_i18n_util_capi_h();
|
||||
bool __fastcall Load_cef_image_capi_h();
|
||||
bool __fastcall Load_cef_menu_model_capi_h();
|
||||
bool __fastcall Load_cef_media_router_capi_h();
|
||||
bool __fastcall Load_cef_origin_whitelist_capi_h();
|
||||
bool __fastcall Load_cef_parser_capi_h();
|
||||
bool __fastcall Load_cef_path_util_capi_h();
|
||||
bool __fastcall Load_cef_preference_capi_h();
|
||||
bool __fastcall Load_cef_print_settings_capi_h();
|
||||
bool __fastcall Load_cef_process_message_capi_h();
|
||||
bool __fastcall Load_cef_process_util_capi_h();
|
||||
bool __fastcall Load_cef_request_capi_h();
|
||||
bool __fastcall Load_cef_request_context_capi_h();
|
||||
bool __fastcall Load_cef_resource_bundle_capi_h();
|
||||
bool __fastcall Load_cef_response_capi_h();
|
||||
bool __fastcall Load_cef_scheme_capi_h();
|
||||
bool __fastcall Load_cef_server_capi_h();
|
||||
bool __fastcall Load_cef_shared_process_message_builder_capi_h();
|
||||
bool __fastcall Load_cef_ssl_info_capi_h();
|
||||
bool __fastcall Load_cef_stream_capi_h();
|
||||
bool __fastcall Load_cef_task_capi_h();
|
||||
bool __fastcall Load_cef_task_manager_capi_h();
|
||||
bool __fastcall Load_cef_thread_capi_h();
|
||||
bool __fastcall Load_cef_trace_capi_h();
|
||||
bool __fastcall Load_cef_urlrequest_capi_h();
|
||||
bool __fastcall Load_cef_v8_capi_h();
|
||||
bool __fastcall Load_cef_values_capi_h();
|
||||
bool __fastcall Load_cef_waitable_event_capi_h();
|
||||
bool __fastcall Load_cef_xml_reader_capi_h();
|
||||
bool __fastcall Load_cef_zip_reader_capi_h();
|
||||
bool __fastcall Load_cef_logging_internal_h();
|
||||
bool __fastcall Load_cef_string_list_h();
|
||||
bool __fastcall Load_cef_string_map_h();
|
||||
bool __fastcall Load_cef_string_multimap_h();
|
||||
bool __fastcall Load_cef_string_types_h();
|
||||
bool __fastcall Load_cef_thread_internal_h();
|
||||
bool __fastcall Load_cef_trace_event_internal_h();
|
||||
bool __fastcall Load_cef_browser_view_capi_h();
|
||||
bool __fastcall Load_cef_display_capi_h();
|
||||
bool __fastcall Load_cef_label_button_capi_h();
|
||||
bool __fastcall Load_cef_menu_button_capi_h();
|
||||
bool __fastcall Load_cef_panel_capi_h();
|
||||
bool __fastcall Load_cef_scroll_view_capi_h();
|
||||
bool __fastcall Load_cef_textfield_capi_h();
|
||||
bool __fastcall Load_cef_window_capi_h();
|
||||
bool __fastcall Load_cef_types_linux_h();
|
||||
bool __fastcall Load_cef_time_h();
|
||||
virtual void __fastcall doOnBeforeCommandLineProcessing(const Uceftypes::ustring processType, const Ucefinterfaces::_di_ICefCommandLine commandLine);
|
||||
virtual void __fastcall doOnRegisterCustomSchemes(Ucefschemeregistrar::TCefSchemeRegistrarRef* const registrar);
|
||||
virtual void __fastcall doOnRegisterCustomPreferences(Uceftypes::TCefPreferencesType type_, Uceftypes::PCefPreferenceRegistrar registrar);
|
||||
virtual void __fastcall doOnContextInitialized();
|
||||
virtual void __fastcall doOnBeforeChildProcessLaunch(const Ucefinterfaces::_di_ICefCommandLine commandLine);
|
||||
virtual void __fastcall doOnAlreadyRunningAppRelaunch(const Ucefinterfaces::_di_ICefCommandLine commandLine, const Uceftypes::ustring current_directory, bool &aResult);
|
||||
virtual void __fastcall doOnScheduleMessagePumpWork(const __int64 delayMs);
|
||||
virtual void __fastcall doGetDefaultClient(Ucefinterfaces::_di_ICefClient &aClient);
|
||||
virtual void __fastcall doGetDefaultRequestContextHandler(Ucefinterfaces::_di_ICefRequestContextHandler &aRequestContextHandler);
|
||||
virtual bool __fastcall doGetLocalizedString(int stringid, Uceftypes::ustring &stringVal);
|
||||
virtual bool __fastcall doGetDataResource(int resourceId, void * &data, System::NativeUInt &dataSize);
|
||||
virtual bool __fastcall doGetDataResourceForScale(int resourceId, Uceftypes::TCefScaleFactor scaleFactor, void * &data, System::NativeUInt &dataSize);
|
||||
virtual void __fastcall doOnWebKitInitialized();
|
||||
virtual void __fastcall doOnBrowserCreated(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefDictionaryValue extra_info);
|
||||
virtual void __fastcall doOnBrowserDestroyed(const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
virtual void __fastcall doOnContextCreated(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefv8Context context);
|
||||
virtual void __fastcall doOnContextReleased(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefv8Context context);
|
||||
virtual void __fastcall doOnUncaughtException(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefv8Context context, const Ucefinterfaces::_di_ICefV8Exception V8Exception, const Ucefinterfaces::_di_ICefV8StackTrace stackTrace);
|
||||
virtual void __fastcall doOnFocusedNodeChanged(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefDomNode node);
|
||||
virtual void __fastcall doOnProcessMessageReceived(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, Uceftypes::TCefProcessId sourceProcess, const Ucefinterfaces::_di_ICefProcessMessage aMessage, bool &aHandled);
|
||||
virtual void __fastcall doOnLoadingStateChange(const Ucefinterfaces::_di_ICefBrowser browser, bool isLoading, bool canGoBack, bool canGoForward);
|
||||
virtual void __fastcall doOnLoadStart(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, Uceftypes::TCefTransitionType transitionType);
|
||||
virtual void __fastcall doOnLoadEnd(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, int httpStatusCode);
|
||||
virtual void __fastcall doOnLoadError(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, Uceftypes::TCefErrorCode errorCode, const Uceftypes::ustring errorText, const Uceftypes::ustring failedUrl);
|
||||
void __fastcall ShutDown();
|
||||
void __fastcall FreeLibcefLibrary();
|
||||
int __fastcall ExecuteProcess(const Ucefinterfaces::_di_ICefApp aApp);
|
||||
void __fastcall InitializeCefMainArgs(Uceftypes::TCefMainArgs &aCefMainArgs);
|
||||
void __fastcall InitializeSettings(Uceftypes::TCefSettings &aSettings);
|
||||
bool __fastcall InitializeLibrary(const Ucefinterfaces::_di_ICefApp aApp);
|
||||
void __fastcall RenameAndDeleteDir(const System::UnicodeString aDirectory, bool aKeepCookies = false);
|
||||
void __fastcall DeleteCacheContents(const System::UnicodeString aDirectory);
|
||||
void __fastcall DeleteCookiesDB(const System::UnicodeString aRootDirectory);
|
||||
void __fastcall MoveCookiesDB(const System::UnicodeString aSrcDirectory, const System::UnicodeString aDstDirectory);
|
||||
bool __fastcall MultiExeProcessing();
|
||||
bool __fastcall SingleExeProcessing();
|
||||
virtual void __fastcall BeforeInitSubProcess();
|
||||
virtual bool __fastcall CheckCEFResources();
|
||||
bool __fastcall CheckCEFAPIHash();
|
||||
virtual bool __fastcall CheckCEFDLL();
|
||||
virtual bool __fastcall CheckWindowsVersion();
|
||||
virtual bool __fastcall CheckOSVersion();
|
||||
virtual void __fastcall ShowErrorMessageDlg(const System::UnicodeString aError);
|
||||
Uceftypes::TCefProcessType __fastcall ParseProcessType();
|
||||
virtual void __fastcall AddCustomCommandLineSwitches(System::Classes::TStringList* &aKeys, System::Classes::TStringList* &aValues);
|
||||
void __fastcall AppendSwitch(System::Classes::TStringList* &aKeys, System::Classes::TStringList* &aValues, const Uceftypes::ustring aNewKey, const Uceftypes::ustring aNewValue = Uceftypes::ustring());
|
||||
void __fastcall ReplaceSwitch(System::Classes::TStringList* &aKeys, System::Classes::TStringList* &aValues, const Uceftypes::ustring aNewKey, const Uceftypes::ustring aNewValue = Uceftypes::ustring());
|
||||
void __fastcall CleanupFeatures(System::Classes::TStringList* &aKeys, System::Classes::TStringList* &aValues, const System::UnicodeString aEnableKey, const System::UnicodeString aDisableKey);
|
||||
void __fastcall ClearSchemeHandlerFactories();
|
||||
|
||||
public:
|
||||
__fastcall TCefApplicationCore();
|
||||
__fastcall virtual ~TCefApplicationCore();
|
||||
virtual void __fastcall AfterConstruction();
|
||||
void __fastcall AddCustomCommandLine(const System::UnicodeString aCommandLine, const System::UnicodeString aValue = System::UnicodeString());
|
||||
bool __fastcall CheckCEFLibrary();
|
||||
bool __fastcall StartMainProcess();
|
||||
bool __fastcall StartSubProcess();
|
||||
void __fastcall DoMessageLoopWork();
|
||||
void __fastcall RunMessageLoop();
|
||||
void __fastcall QuitMessageLoop();
|
||||
void __fastcall SetNestableTasksAllowed(bool allowed);
|
||||
virtual void __fastcall UpdateDeviceScaleFactor();
|
||||
bool __fastcall ValidComponentID(int aComponentID);
|
||||
int __fastcall NextComponentID();
|
||||
void __fastcall RemoveComponentID(int aComponentID);
|
||||
bool __fastcall DumpWithoutCrashing(__int64 mseconds_between_dumps, const Uceftypes::ustring function_name, const Uceftypes::ustring file_name, int line_number);
|
||||
bool __fastcall GetCEFVersionInfo(Uceftypes::TCefVersionInfo &aCEFVersionInfo);
|
||||
bool __fastcall GetChromiumVersionInfo(Uceftypes::TChromiumVersionInfo &aChromiumVersionInfo);
|
||||
int __fastcall GetIdForPackResourceName(const Uceftypes::ustring name);
|
||||
int __fastcall GetIdForPackStringName(const Uceftypes::ustring name);
|
||||
int __fastcall GetIdForCommandIdName(const Uceftypes::ustring name);
|
||||
__property bool NoSandbox = {read=FNoSandbox, write=FNoSandbox, nodefault};
|
||||
__property Uceftypes::ustring BrowserSubprocessPath = {read=FBrowserSubprocessPath, write=SetBrowserSubprocessPath};
|
||||
__property Uceftypes::ustring FrameworkDirPath = {read=FFrameworkDirPath, write=SetFrameworkDirPath};
|
||||
__property Uceftypes::ustring MainBundlePath = {read=FMainBundlePath, write=FMainBundlePath};
|
||||
__property bool MultiThreadedMessageLoop = {read=FMultiThreadedMessageLoop, write=FMultiThreadedMessageLoop, nodefault};
|
||||
__property bool ExternalMessagePump = {read=FExternalMessagePump, write=FExternalMessagePump, nodefault};
|
||||
__property bool WindowlessRenderingEnabled = {read=FWindowlessRenderingEnabled, write=FWindowlessRenderingEnabled, nodefault};
|
||||
__property bool CommandLineArgsDisabled = {read=FCommandLineArgsDisabled, write=FCommandLineArgsDisabled, nodefault};
|
||||
__property Uceftypes::ustring Cache = {read=FCache, write=SetCache};
|
||||
__property Uceftypes::ustring RootCache = {read=FRootCache, write=SetRootCache};
|
||||
__property bool PersistSessionCookies = {read=FPersistSessionCookies, write=FPersistSessionCookies, nodefault};
|
||||
__property Uceftypes::ustring UserAgent = {read=FUserAgent, write=FUserAgent};
|
||||
__property Uceftypes::ustring UserAgentProduct = {read=FUserAgentProduct, write=FUserAgentProduct};
|
||||
__property Uceftypes::ustring Locale = {read=FLocale, write=FLocale};
|
||||
__property Uceftypes::ustring LogFile = {read=FLogFile, write=SetLogFile};
|
||||
__property Uceftypes::TCefLogSeverity LogSeverity = {read=FLogSeverity, write=FLogSeverity, nodefault};
|
||||
__property Uceftypes::TCefLogItems LogItems = {read=FLogItems, write=FLogItems, nodefault};
|
||||
__property Uceftypes::ustring JavaScriptFlags = {read=FJavaScriptFlags, write=FJavaScriptFlags};
|
||||
__property Uceftypes::ustring ResourcesDirPath = {read=GetResourcesDirPath, write=SetResourcesDirPath};
|
||||
__property Uceftypes::ustring LocalesDirPath = {read=GetLocalesDirPath, write=SetLocalesDirPath};
|
||||
__property int RemoteDebuggingPort = {read=FRemoteDebuggingPort, write=FRemoteDebuggingPort, nodefault};
|
||||
__property int UncaughtExceptionStackSize = {read=FUncaughtExceptionStackSize, write=FUncaughtExceptionStackSize, nodefault};
|
||||
__property Uceftypes::TCefColor BackgroundColor = {read=FBackgroundColor, write=FBackgroundColor, nodefault};
|
||||
__property Uceftypes::ustring AcceptLanguageList = {read=FAcceptLanguageList, write=FAcceptLanguageList};
|
||||
__property Uceftypes::ustring CookieableSchemesList = {read=FCookieableSchemesList, write=FCookieableSchemesList};
|
||||
__property bool CookieableSchemesExcludeDefaults = {read=FCookieableSchemesExcludeDefaults, write=FCookieableSchemesExcludeDefaults, nodefault};
|
||||
__property Uceftypes::ustring ChromePolicyId = {read=FChromePolicyId, write=FChromePolicyId};
|
||||
__property int ChromeAppIconId = {read=FChromeAppIconId, write=FChromeAppIconId, nodefault};
|
||||
__property bool DisableSignalHandlers = {read=FDisableSignalHandlers, write=FDisableSignalHandlers, nodefault};
|
||||
__property bool SingleProcess = {read=FSingleProcess, write=FSingleProcess, nodefault};
|
||||
__property bool EnableMediaStream = {read=FEnableMediaStream, write=FEnableMediaStream, nodefault};
|
||||
__property bool EnableSpeechInput = {read=FEnableSpeechInput, write=FEnableSpeechInput, nodefault};
|
||||
__property bool UseFakeUIForMediaStream = {read=FUseFakeUIForMediaStream, write=FUseFakeUIForMediaStream, nodefault};
|
||||
__property bool EnableUsermediaScreenCapturing = {read=FEnableUsermediaScreenCapturing, write=FEnableUsermediaScreenCapturing, nodefault};
|
||||
__property bool EnableGPU = {read=FEnableGPU, write=FEnableGPU, nodefault};
|
||||
__property Uceftypes::ustring EnableFeatures = {read=FEnableFeatures, write=FEnableFeatures};
|
||||
__property Uceftypes::ustring DisableFeatures = {read=FDisableFeatures, write=FDisableFeatures};
|
||||
__property Uceftypes::ustring EnableBlinkFeatures = {read=FEnableBlinkFeatures, write=FEnableBlinkFeatures};
|
||||
__property Uceftypes::ustring DisableBlinkFeatures = {read=FDisableBlinkFeatures, write=FDisableBlinkFeatures};
|
||||
__property Uceftypes::ustring BlinkSettings = {read=FBlinkSettings, write=FBlinkSettings};
|
||||
__property Uceftypes::ustring ForceFieldTrials = {read=FForceFieldTrials, write=FForceFieldTrials};
|
||||
__property Uceftypes::ustring ForceFieldTrialParams = {read=FForceFieldTrialParams, write=FForceFieldTrialParams};
|
||||
__property Uceftypes::TCefState SmoothScrolling = {read=FSmoothScrolling, write=FSmoothScrolling, nodefault};
|
||||
__property bool MuteAudio = {read=FMuteAudio, write=FMuteAudio, nodefault};
|
||||
__property bool SitePerProcess = {read=FSitePerProcess, write=FSitePerProcess, nodefault};
|
||||
__property bool DisableWebSecurity = {read=FDisableWebSecurity, write=FDisableWebSecurity, nodefault};
|
||||
__property bool DisablePDFExtension = {read=FDisablePDFExtension, write=FDisablePDFExtension, nodefault};
|
||||
__property bool DisableSiteIsolationTrials = {read=FDisableSiteIsolationTrials, write=FDisableSiteIsolationTrials, nodefault};
|
||||
__property bool DisableChromeLoginPrompt = {read=FDisableChromeLoginPrompt, write=FDisableChromeLoginPrompt, nodefault};
|
||||
__property bool DisableExtensions = {read=FDisableExtensions, write=FDisableExtensions, nodefault};
|
||||
__property Uceftypes::TCefAutoplayPolicy AutoplayPolicy = {read=FAutoplayPolicy, write=FAutoplayPolicy, nodefault};
|
||||
__property bool DisableBackgroundNetworking = {read=FDisableBackgroundNetworking, write=FDisableBackgroundNetworking, nodefault};
|
||||
__property bool MetricsRecordingOnly = {read=FMetricsRecordingOnly, write=FMetricsRecordingOnly, nodefault};
|
||||
__property bool AllowFileAccessFromFiles = {read=FAllowFileAccessFromFiles, write=FAllowFileAccessFromFiles, nodefault};
|
||||
__property bool AllowRunningInsecureContent = {read=FAllowRunningInsecureContent, write=FAllowRunningInsecureContent, nodefault};
|
||||
__property bool EnablePrintPreview = {read=FEnablePrintPreview, write=FEnablePrintPreview, nodefault};
|
||||
__property Uceftypes::ustring DefaultEncoding = {read=FDefaultEncoding, write=FDefaultEncoding};
|
||||
__property bool DisableJavascript = {read=FDisableJavascript, write=FDisableJavascript, nodefault};
|
||||
__property bool DisableJavascriptCloseWindows = {read=FDisableJavascriptCloseWindows, write=FDisableJavascriptCloseWindows, nodefault};
|
||||
__property bool DisableJavascriptAccessClipboard = {read=FDisableJavascriptAccessClipboard, write=FDisableJavascriptAccessClipboard, nodefault};
|
||||
__property bool DisableJavascriptDomPaste = {read=FDisableJavascriptDomPaste, write=FDisableJavascriptDomPaste, nodefault};
|
||||
__property bool AllowUniversalAccessFromFileUrls = {read=FAllowUniversalAccessFromFileUrls, write=FAllowUniversalAccessFromFileUrls, nodefault};
|
||||
__property bool DisableImageLoading = {read=FDisableImageLoading, write=FDisableImageLoading, nodefault};
|
||||
__property bool ImageShrinkStandaloneToFit = {read=FImageShrinkStandaloneToFit, write=FImageShrinkStandaloneToFit, nodefault};
|
||||
__property bool DisableTextAreaResize = {read=FDisableTextAreaResize, write=FDisableTextAreaResize, nodefault};
|
||||
__property bool DisableTabToLinks = {read=FDisableTabToLinks, write=FDisableTabToLinks, nodefault};
|
||||
__property bool EnableProfanityFilter = {read=FEnableProfanityFilter, write=FEnableProfanityFilter, nodefault};
|
||||
__property bool DisableSpellChecking = {read=FDisableSpellChecking, write=FDisableSpellChecking, nodefault};
|
||||
__property Uceftypes::ustring OverrideSpellCheckLang = {read=FOverrideSpellCheckLang, write=FOverrideSpellCheckLang};
|
||||
__property Uceftypes::TCefState TouchEvents = {read=FTouchEvents, write=FTouchEvents, nodefault};
|
||||
__property bool DisableReadingFromCanvas = {read=FDisableReadingFromCanvas, write=FDisableReadingFromCanvas, nodefault};
|
||||
__property bool HyperlinkAuditing = {read=FHyperlinkAuditing, write=FHyperlinkAuditing, nodefault};
|
||||
__property bool DisableNewBrowserInfoTimeout = {read=FDisableNewBrowserInfoTimeout, write=FDisableNewBrowserInfoTimeout, nodefault};
|
||||
__property Uceftypes::ustring DevToolsProtocolLogFile = {read=FDevToolsProtocolLogFile, write=FDevToolsProtocolLogFile};
|
||||
__property float ForcedDeviceScaleFactor = {read=FForcedDeviceScaleFactor, write=FForcedDeviceScaleFactor};
|
||||
__property bool DisableZygote = {read=FDisableZygote, write=FDisableZygote, nodefault};
|
||||
__property bool UseMockKeyChain = {read=FUseMockKeyChain, write=FUseMockKeyChain, nodefault};
|
||||
__property bool DisableRequestHandlingForTesting = {read=FDisableRequestHandlingForTesting, write=FDisableRequestHandlingForTesting, nodefault};
|
||||
__property bool DisablePopupBlocking = {read=FDisablePopupBlocking, write=FDisablePopupBlocking, nodefault};
|
||||
__property bool DisableBackForwardCache = {read=FDisableBackForwardCache, write=FDisableBackForwardCache, nodefault};
|
||||
__property bool DisableComponentUpdate = {read=FDisableComponentUpdate, write=FDisableComponentUpdate, nodefault};
|
||||
__property bool AllowInsecureLocalhost = {read=FAllowInsecureLocalhost, write=FAllowInsecureLocalhost, nodefault};
|
||||
__property bool KioskPrinting = {read=FKioskPrinting, write=SetKioskPrinting, nodefault};
|
||||
__property Uceftypes::ustring TreatInsecureOriginAsSecure = {read=FTreatInsecureOriginAsSecure, write=FTreatInsecureOriginAsSecure};
|
||||
__property bool NetLogEnabled = {read=FNetLogEnabled, write=FNetLogEnabled, nodefault};
|
||||
__property Uceftypes::ustring NetLogFile = {read=FNetLogFile, write=FNetLogFile};
|
||||
__property Uceftypes::TCefNetLogCaptureMode NetLogCaptureMode = {read=FNetLogCaptureMode, write=FNetLogCaptureMode, nodefault};
|
||||
__property Uceftypes::ustring RemoteAllowOrigins = {read=FRemoteAllowOrigins, write=FRemoteAllowOrigins};
|
||||
__property bool AutoAcceptCamAndMicCapture = {read=FAutoAcceptCamAndMicCapture, write=FAutoAcceptCamAndMicCapture, nodefault};
|
||||
__property Uceftypes::TCefUIColorMode UIColorMode = {read=FUIColorMode, write=FUIColorMode, nodefault};
|
||||
__property bool DisableHangMonitor = {read=FDisableHangMonitor, write=FDisableHangMonitor, nodefault};
|
||||
__property bool HideCrashRestoreBubble = {read=FHideCrashRestoreBubble, write=FHideCrashRestoreBubble, nodefault};
|
||||
__property Uceftypes::TCefState TLS13HybridizedKyberSupport = {read=FPostQuantumKyber, write=FPostQuantumKyber, nodefault};
|
||||
__property TCEFProxySettings* ProxySettings = {read=FProxySettings};
|
||||
__property Uceftypes::TCefState FieldTrialConfig = {read=FFieldTrialConfig, write=FFieldTrialConfig, nodefault};
|
||||
__property bool DoNotDeElevate = {read=FDoNotDeElevate, write=FDoNotDeElevate, nodefault};
|
||||
__property bool IgnoreCertificateErrors = {read=FIgnoreCertificateErrors, write=FIgnoreCertificateErrors, nodefault};
|
||||
__property void * WindowsSandboxInfo = {read=FWindowsSandboxInfo, write=FWindowsSandboxInfo};
|
||||
__property bool DeleteCache = {read=FDeleteCache, write=FDeleteCache, nodefault};
|
||||
__property bool DeleteCookies = {read=FDeleteCookies, write=FDeleteCookies, nodefault};
|
||||
__property bool CheckCEFFiles = {read=FCheckCEFFiles, write=FCheckCEFFiles, nodefault};
|
||||
__property bool ShowMessageDlg = {read=FShowMessageDlg, write=FShowMessageDlg, nodefault};
|
||||
__property bool MissingBinariesException = {read=FMissingBinariesException, write=FMissingBinariesException, nodefault};
|
||||
__property bool SetCurrentDir = {read=FSetCurrentDir, write=FSetCurrentDir, nodefault};
|
||||
__property bool GlobalContextInitialized = {read=GetGlobalContextInitialized, nodefault};
|
||||
__property System::UInt16 ChromeMajorVer = {read=FChromeVersionInfo.MajorVer, nodefault};
|
||||
__property System::UInt16 ChromeMinorVer = {read=FChromeVersionInfo.MinorVer, nodefault};
|
||||
__property System::UInt16 ChromeRelease = {read=FChromeVersionInfo.Release, nodefault};
|
||||
__property System::UInt16 ChromeBuild = {read=FChromeVersionInfo.Build, nodefault};
|
||||
__property Uceftypes::ustring ChromeVersion = {read=GetChromeVersion};
|
||||
__property Uceftypes::ustring LibCefVersion = {read=GetLibCefVersion};
|
||||
__property Uceftypes::ustring LibCefPath = {read=GetLibCefPath};
|
||||
__property Uceftypes::ustring ChromeElfPath = {read=GetChromeElfPath};
|
||||
__property bool LibLoaded = {read=FLibLoaded, nodefault};
|
||||
__property bool LogProcessInfo = {read=FLogProcessInfo, write=FLogProcessInfo, nodefault};
|
||||
__property bool ReRaiseExceptions = {read=FReRaiseExceptions, write=FReRaiseExceptions, nodefault};
|
||||
__property float DeviceScaleFactor = {read=FDeviceScaleFactor};
|
||||
__property Uceftypes::ustring LocalesRequired = {read=FLocalesRequired, write=FLocalesRequired};
|
||||
__property Uceftypes::TCefProcessType ProcessType = {read=FProcessType, nodefault};
|
||||
__property bool MustCreateResourceBundleHandler = {read=GetMustCreateResourceBundleHandler, write=FMustCreateResourceBundleHandler, nodefault};
|
||||
__property bool MustCreateBrowserProcessHandler = {read=GetMustCreateBrowserProcessHandler, write=FMustCreateBrowserProcessHandler, nodefault};
|
||||
__property bool MustCreateRenderProcessHandler = {read=GetMustCreateRenderProcessHandler, write=FMustCreateRenderProcessHandler, nodefault};
|
||||
__property bool MustCreateLoadHandler = {read=GetMustCreateLoadHandler, write=FMustCreateLoadHandler, nodefault};
|
||||
__property bool OsmodalLoop = {write=SetOsmodalLoop, nodefault};
|
||||
__property Uceftypes::TCefAplicationStatus Status = {read=FStatus, nodefault};
|
||||
__property System::UnicodeString MissingLibFiles = {read=FMissingLibFiles};
|
||||
__property bool MustFreeLibrary = {read=FMustFreeLibrary, write=FMustFreeLibrary, nodefault};
|
||||
__property int ChildProcessesCount = {read=GetChildProcessesCount, nodefault};
|
||||
__property unsigned __int64 UsedMemory = {read=GetUsedMemory};
|
||||
__property unsigned __int64 TotalSystemMemory = {read=GetTotalSystemMemory};
|
||||
__property unsigned __int64 AvailableSystemMemory = {read=GetAvailableSystemMemory};
|
||||
__property unsigned SystemMemoryLoad = {read=GetSystemMemoryLoad, nodefault};
|
||||
__property Uceftypes::ustring ApiHashPlatform = {read=GetApiHashPlatform};
|
||||
__property Uceftypes::ustring ApiHashCommit = {read=GetApiHashCommit};
|
||||
__property int ApiVersion = {read=GetApiVersion, nodefault};
|
||||
__property Uceftypes::TCefResultCode ExitCode = {read=GetExitCode, nodefault};
|
||||
__property Ucefinterfaces::_di_ICefBrowser BrowserById[int id] = {read=GetBrowserById};
|
||||
__property Uceftypes::ustring LastErrorMessage = {read=FLastErrorMessage};
|
||||
__property bool SharedTextureEnabled = {read=FSharedTextureEnabled, write=FSharedTextureEnabled, nodefault};
|
||||
__property bool ExternalBeginFrameEnabled = {read=FExternalBeginFrameEnabled, write=FExternalBeginFrameEnabled, nodefault};
|
||||
__property Uceftypes::TCefGLImplementation UseGL = {read=FUseGL, write=FUseGL, nodefault};
|
||||
__property Uceftypes::TCefAngleImplementation UseAngle = {read=FUseAngle, write=FUseAngle, nodefault};
|
||||
__property Ucefapplicationevents::_di_TOnRegisterCustomSchemesEvent OnRegCustomSchemes = {read=FOnRegisterCustomSchemes, write=FOnRegisterCustomSchemes};
|
||||
__property Ucefapplicationevents::_di_TOnRegisterCustomPreferencesEvent OnRegisterCustomPreferences = {read=FOnRegisterCustomPreferences, write=FOnRegisterCustomPreferences};
|
||||
__property Ucefapplicationevents::_di_TOnContextInitializedEvent OnContextInitialized = {read=FOnContextInitialized, write=FOnContextInitialized};
|
||||
__property Ucefapplicationevents::_di_TOnBeforeChildProcessLaunchEvent OnBeforeChildProcessLaunch = {read=FOnBeforeChildProcessLaunch, write=FOnBeforeChildProcessLaunch};
|
||||
__property Ucefapplicationevents::_di_TOnAlreadyRunningAppRelaunchEvent OnAlreadyRunningAppRelaunch = {read=FOnAlreadyRunningAppRelaunch, write=FOnAlreadyRunningAppRelaunch};
|
||||
__property Ucefapplicationevents::_di_TOnScheduleMessagePumpWorkEvent OnScheduleMessagePumpWork = {read=FOnScheduleMessagePumpWork, write=FOnScheduleMessagePumpWork};
|
||||
__property Ucefapplicationevents::_di_TOnGetDefaultClientEvent OnGetDefaultClient = {read=FOnGetDefaultClient, write=FOnGetDefaultClient};
|
||||
__property Ucefapplicationevents::_di_TOnGetDefaultRequestContextHandlerEvent OnGetDefaultRequestContextHandler = {read=FOnGetDefaultRequestContextHandler, write=FOnGetDefaultRequestContextHandler};
|
||||
__property Ucefapplicationevents::_di_TOnGetLocalizedStringEvent OnGetLocalizedString = {read=FOnGetLocalizedString, write=FOnGetLocalizedString};
|
||||
__property Ucefapplicationevents::_di_TOnGetDataResourceEvent OnGetDataResource = {read=FOnGetDataResource, write=FOnGetDataResource};
|
||||
__property Ucefapplicationevents::_di_TOnGetDataResourceForScaleEvent OnGetDataResourceForScale = {read=FOnGetDataResourceForScale, write=FOnGetDataResourceForScale};
|
||||
__property Ucefapplicationevents::_di_TOnWebKitInitializedEvent OnWebKitInitialized = {read=FOnWebKitInitialized, write=FOnWebKitInitialized};
|
||||
__property Ucefapplicationevents::_di_TOnBrowserCreatedEvent OnBrowserCreated = {read=FOnBrowserCreated, write=FOnBrowserCreated};
|
||||
__property Ucefapplicationevents::_di_TOnBrowserDestroyedEvent OnBrowserDestroyed = {read=FOnBrowserDestroyed, write=FOnBrowserDestroyed};
|
||||
__property Ucefapplicationevents::_di_TOnContextCreatedEvent OnContextCreated = {read=FOnContextCreated, write=FOnContextCreated};
|
||||
__property Ucefapplicationevents::_di_TOnContextReleasedEvent OnContextReleased = {read=FOnContextReleased, write=FOnContextReleased};
|
||||
__property Ucefapplicationevents::_di_TOnUncaughtExceptionEvent OnUncaughtException = {read=FOnUncaughtException, write=FOnUncaughtException};
|
||||
__property Ucefapplicationevents::_di_TOnFocusedNodeChangedEvent OnFocusedNodeChanged = {read=FOnFocusedNodeChanged, write=FOnFocusedNodeChanged};
|
||||
__property Ucefapplicationevents::_di_TOnProcessMessageReceivedEvent OnProcessMessageReceived = {read=FOnProcessMessageReceived, write=FOnProcessMessageReceived};
|
||||
__property Ucefapplicationevents::_di_TOnRenderLoadingStateChange OnLoadingStateChange = {read=FOnLoadingStateChange, write=FOnLoadingStateChange};
|
||||
__property Ucefapplicationevents::_di_TOnRenderLoadStart OnLoadStart = {read=FOnLoadStart, write=FOnLoadStart};
|
||||
__property Ucefapplicationevents::_di_TOnRenderLoadEnd OnLoadEnd = {read=FOnLoadEnd, write=FOnLoadEnd};
|
||||
__property Ucefapplicationevents::_di_TOnRenderLoadError OnLoadError = {read=FOnLoadError, write=FOnLoadError};
|
||||
private:
|
||||
void *__IApplicationCoreEvents; // Ucefinterfaces::IApplicationCoreEvents
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {55E99E25-A05D-46D5-B3A4-C8C2E71C1F4D}
|
||||
operator Ucefinterfaces::_di_IApplicationCoreEvents()
|
||||
{
|
||||
Ucefinterfaces::_di_IApplicationCoreEvents intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::IApplicationCoreEvents*(void) { return (Ucefinterfaces::IApplicationCoreEvents*)&__IApplicationCoreEvents; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
class PASCALIMPLEMENTATION TCEFDirectoryDeleterThread : public System::Classes::TThread
|
||||
{
|
||||
typedef System::Classes::TThread inherited;
|
||||
|
||||
protected:
|
||||
System::UnicodeString FDirectory;
|
||||
virtual void __fastcall Execute();
|
||||
|
||||
public:
|
||||
__fastcall TCEFDirectoryDeleterThread(const System::UnicodeString aDirectory);
|
||||
public:
|
||||
/* TThread.Destroy */ inline __fastcall virtual ~TCEFDirectoryDeleterThread() { }
|
||||
|
||||
};
|
||||
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCEFProxySettings : public System::TObject
|
||||
{
|
||||
typedef System::TObject inherited;
|
||||
|
||||
protected:
|
||||
bool FNoProxyServer;
|
||||
bool FAutoDetect;
|
||||
Uceftypes::ustring FByPassList;
|
||||
Uceftypes::ustring FPacUrl;
|
||||
Uceftypes::ustring FServer;
|
||||
|
||||
public:
|
||||
__fastcall TCEFProxySettings();
|
||||
__property bool NoProxyServer = {read=FNoProxyServer, write=FNoProxyServer, nodefault};
|
||||
__property bool AutoDetect = {read=FAutoDetect, write=FAutoDetect, nodefault};
|
||||
__property Uceftypes::ustring ByPassList = {read=FByPassList, write=FByPassList};
|
||||
__property Uceftypes::ustring PacUrl = {read=FPacUrl, write=FPacUrl};
|
||||
__property Uceftypes::ustring Server = {read=FServer, write=FServer};
|
||||
public:
|
||||
/* TObject.Destroy */ inline __fastcall virtual ~TCEFProxySettings() { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
static _DELPHI_CONST System::Byte CEF_SUPPORTED_VERSION_MAJOR = System::Byte(0x8e);
|
||||
static _DELPHI_CONST System::Int8 CEF_SUPPORTED_VERSION_MINOR = System::Int8(0x0);
|
||||
static _DELPHI_CONST System::Int8 CEF_SUPPORTED_VERSION_RELEASE = System::Int8(0xe);
|
||||
static _DELPHI_CONST System::Int8 CEF_SUPPORTED_VERSION_BUILD = System::Int8(0x0);
|
||||
static _DELPHI_CONST System::Byte CEF_CHROMEELF_VERSION_MAJOR = System::Byte(0x8e);
|
||||
static _DELPHI_CONST System::Int8 CEF_CHROMEELF_VERSION_MINOR = System::Int8(0x0);
|
||||
static _DELPHI_CONST System::Word CEF_CHROMEELF_VERSION_RELEASE = System::Word(0x1d14);
|
||||
static _DELPHI_CONST System::Byte CEF_CHROMEELF_VERSION_BUILD = System::Byte(0xa3);
|
||||
static _DELPHI_CONST System::Word CEF_API_VERSION_MIN = System::Word(0x33f4);
|
||||
static _DELPHI_CONST System::Word CEF_API_VERSION_LAST = System::Word(0x3778);
|
||||
static _DELPHI_CONST System::Word CEF_API_VERSION = System::Word(0x3778);
|
||||
static _DELPHI_CONST int CEF_API_VERSION_EXPERIMENTAL = int(0xf423f);
|
||||
#define CEF_API_HASH_PLATFORM_LINUX L"18761cd4725392883e0d77a1db53b08a4cae7ac6"
|
||||
#define CEF_API_HASH_PLATFORM_MAC L"4ef1c19a09a8ca2e523fea4f79215a6934de1071"
|
||||
#define CEF_API_HASH_PLATFORM_WINDOWS L"1ce1d0945fb904ca48c16e2c2bdbbf25bfb7b12e"
|
||||
#define LIBCEF_DLL L"libcef.dll"
|
||||
#define CHROMEELF_DLL L"chrome_elf.dll"
|
||||
#define LIBCEF_PAK L"cef.pak"
|
||||
#define LIBCEF_LOCALE_DIR L"locales"
|
||||
#define LIBCEF_LOCALE_ENUS L"en-US.pak"
|
||||
extern DELPHI_PACKAGE TCefApplicationCore* GlobalCEFApp;
|
||||
extern DELPHI_PACKAGE void __fastcall DestroyGlobalCEFApp(void);
|
||||
} /* namespace Ucefapplicationcore */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFAPPLICATIONCORE)
|
||||
using namespace Ucefapplicationcore;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFApplicationCoreHPP
|
||||
@@ -0,0 +1,201 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFApplicationEvents.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFApplicationEventsHPP
|
||||
#define uCEFApplicationEventsHPP
|
||||
|
||||
#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 <uCEFTypes.hpp>
|
||||
#include <uCEFInterfaces.hpp>
|
||||
#include <uCEFSchemeRegistrar.hpp>
|
||||
#include <uCEFPreferenceRegistrar.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefapplicationevents
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
__interface DELPHIINTERFACE TOnRegisterCustomSchemesEvent;
|
||||
typedef System::DelphiInterface<TOnRegisterCustomSchemesEvent> _di_TOnRegisterCustomSchemesEvent;
|
||||
__interface DELPHIINTERFACE TOnRegisterCustomPreferencesEvent;
|
||||
typedef System::DelphiInterface<TOnRegisterCustomPreferencesEvent> _di_TOnRegisterCustomPreferencesEvent;
|
||||
__interface DELPHIINTERFACE TOnContextInitializedEvent;
|
||||
typedef System::DelphiInterface<TOnContextInitializedEvent> _di_TOnContextInitializedEvent;
|
||||
__interface DELPHIINTERFACE TOnBeforeChildProcessLaunchEvent;
|
||||
typedef System::DelphiInterface<TOnBeforeChildProcessLaunchEvent> _di_TOnBeforeChildProcessLaunchEvent;
|
||||
__interface DELPHIINTERFACE TOnAlreadyRunningAppRelaunchEvent;
|
||||
typedef System::DelphiInterface<TOnAlreadyRunningAppRelaunchEvent> _di_TOnAlreadyRunningAppRelaunchEvent;
|
||||
__interface DELPHIINTERFACE TOnScheduleMessagePumpWorkEvent;
|
||||
typedef System::DelphiInterface<TOnScheduleMessagePumpWorkEvent> _di_TOnScheduleMessagePumpWorkEvent;
|
||||
__interface DELPHIINTERFACE TOnGetDefaultClientEvent;
|
||||
typedef System::DelphiInterface<TOnGetDefaultClientEvent> _di_TOnGetDefaultClientEvent;
|
||||
__interface DELPHIINTERFACE TOnGetDefaultRequestContextHandlerEvent;
|
||||
typedef System::DelphiInterface<TOnGetDefaultRequestContextHandlerEvent> _di_TOnGetDefaultRequestContextHandlerEvent;
|
||||
__interface DELPHIINTERFACE TOnGetLocalizedStringEvent;
|
||||
typedef System::DelphiInterface<TOnGetLocalizedStringEvent> _di_TOnGetLocalizedStringEvent;
|
||||
__interface DELPHIINTERFACE TOnGetDataResourceEvent;
|
||||
typedef System::DelphiInterface<TOnGetDataResourceEvent> _di_TOnGetDataResourceEvent;
|
||||
__interface DELPHIINTERFACE TOnGetDataResourceForScaleEvent;
|
||||
typedef System::DelphiInterface<TOnGetDataResourceForScaleEvent> _di_TOnGetDataResourceForScaleEvent;
|
||||
__interface DELPHIINTERFACE TOnWebKitInitializedEvent;
|
||||
typedef System::DelphiInterface<TOnWebKitInitializedEvent> _di_TOnWebKitInitializedEvent;
|
||||
__interface DELPHIINTERFACE TOnBrowserCreatedEvent;
|
||||
typedef System::DelphiInterface<TOnBrowserCreatedEvent> _di_TOnBrowserCreatedEvent;
|
||||
__interface DELPHIINTERFACE TOnBrowserDestroyedEvent;
|
||||
typedef System::DelphiInterface<TOnBrowserDestroyedEvent> _di_TOnBrowserDestroyedEvent;
|
||||
__interface DELPHIINTERFACE TOnContextCreatedEvent;
|
||||
typedef System::DelphiInterface<TOnContextCreatedEvent> _di_TOnContextCreatedEvent;
|
||||
__interface DELPHIINTERFACE TOnContextReleasedEvent;
|
||||
typedef System::DelphiInterface<TOnContextReleasedEvent> _di_TOnContextReleasedEvent;
|
||||
__interface DELPHIINTERFACE TOnUncaughtExceptionEvent;
|
||||
typedef System::DelphiInterface<TOnUncaughtExceptionEvent> _di_TOnUncaughtExceptionEvent;
|
||||
__interface DELPHIINTERFACE TOnFocusedNodeChangedEvent;
|
||||
typedef System::DelphiInterface<TOnFocusedNodeChangedEvent> _di_TOnFocusedNodeChangedEvent;
|
||||
__interface DELPHIINTERFACE TOnProcessMessageReceivedEvent;
|
||||
typedef System::DelphiInterface<TOnProcessMessageReceivedEvent> _di_TOnProcessMessageReceivedEvent;
|
||||
__interface DELPHIINTERFACE TOnRenderLoadingStateChange;
|
||||
typedef System::DelphiInterface<TOnRenderLoadingStateChange> _di_TOnRenderLoadingStateChange;
|
||||
__interface DELPHIINTERFACE TOnRenderLoadStart;
|
||||
typedef System::DelphiInterface<TOnRenderLoadStart> _di_TOnRenderLoadStart;
|
||||
__interface DELPHIINTERFACE TOnRenderLoadEnd;
|
||||
typedef System::DelphiInterface<TOnRenderLoadEnd> _di_TOnRenderLoadEnd;
|
||||
__interface DELPHIINTERFACE TOnRenderLoadError;
|
||||
typedef System::DelphiInterface<TOnRenderLoadError> _di_TOnRenderLoadError;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
__interface TOnRegisterCustomSchemesEvent : public System::IInterface
|
||||
{
|
||||
virtual void __fastcall Invoke(Ucefschemeregistrar::TCefSchemeRegistrarRef* const registrar) = 0 ;
|
||||
};
|
||||
|
||||
__interface TOnRegisterCustomPreferencesEvent : public System::IInterface
|
||||
{
|
||||
virtual void __fastcall Invoke(Uceftypes::TCefPreferencesType type_, Ucefpreferenceregistrar::TCefPreferenceRegistrarRef* const registrar) = 0 ;
|
||||
};
|
||||
|
||||
__interface TOnContextInitializedEvent : public System::IInterface
|
||||
{
|
||||
virtual void __fastcall Invoke() = 0 ;
|
||||
};
|
||||
|
||||
__interface TOnBeforeChildProcessLaunchEvent : public System::IInterface
|
||||
{
|
||||
virtual void __fastcall Invoke(const Ucefinterfaces::_di_ICefCommandLine commandLine) = 0 ;
|
||||
};
|
||||
|
||||
__interface TOnAlreadyRunningAppRelaunchEvent : public System::IInterface
|
||||
{
|
||||
virtual void __fastcall Invoke(const Ucefinterfaces::_di_ICefCommandLine commandLine, const Uceftypes::ustring current_directory, bool &aResult) = 0 ;
|
||||
};
|
||||
|
||||
__interface TOnScheduleMessagePumpWorkEvent : public System::IInterface
|
||||
{
|
||||
virtual void __fastcall Invoke(const __int64 delayMs) = 0 ;
|
||||
};
|
||||
|
||||
__interface TOnGetDefaultClientEvent : public System::IInterface
|
||||
{
|
||||
virtual void __fastcall Invoke(Ucefinterfaces::_di_ICefClient &aClient) = 0 ;
|
||||
};
|
||||
|
||||
__interface TOnGetDefaultRequestContextHandlerEvent : public System::IInterface
|
||||
{
|
||||
virtual void __fastcall Invoke(Ucefinterfaces::_di_ICefRequestContextHandler &aRequestContextHandler) = 0 ;
|
||||
};
|
||||
|
||||
__interface TOnGetLocalizedStringEvent : public System::IInterface
|
||||
{
|
||||
virtual void __fastcall Invoke(int stringId, /* out */ Uceftypes::ustring &stringVal, bool &aResult) = 0 ;
|
||||
};
|
||||
|
||||
__interface TOnGetDataResourceEvent : public System::IInterface
|
||||
{
|
||||
virtual void __fastcall Invoke(int resourceId, /* out */ void * &data, /* out */ System::NativeUInt &dataSize, bool &aResult) = 0 ;
|
||||
};
|
||||
|
||||
__interface TOnGetDataResourceForScaleEvent : public System::IInterface
|
||||
{
|
||||
virtual void __fastcall Invoke(int resourceId, Uceftypes::TCefScaleFactor scaleFactor, /* out */ void * &data, /* out */ System::NativeUInt &dataSize, bool &aResult) = 0 ;
|
||||
};
|
||||
|
||||
__interface TOnWebKitInitializedEvent : public System::IInterface
|
||||
{
|
||||
virtual void __fastcall Invoke() = 0 ;
|
||||
};
|
||||
|
||||
__interface TOnBrowserCreatedEvent : public System::IInterface
|
||||
{
|
||||
virtual void __fastcall Invoke(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefDictionaryValue extra_info) = 0 ;
|
||||
};
|
||||
|
||||
__interface TOnBrowserDestroyedEvent : public System::IInterface
|
||||
{
|
||||
virtual void __fastcall Invoke(const Ucefinterfaces::_di_ICefBrowser browser) = 0 ;
|
||||
};
|
||||
|
||||
__interface TOnContextCreatedEvent : public System::IInterface
|
||||
{
|
||||
virtual void __fastcall Invoke(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefv8Context context) = 0 ;
|
||||
};
|
||||
|
||||
__interface TOnContextReleasedEvent : public System::IInterface
|
||||
{
|
||||
virtual void __fastcall Invoke(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefv8Context context) = 0 ;
|
||||
};
|
||||
|
||||
__interface TOnUncaughtExceptionEvent : public System::IInterface
|
||||
{
|
||||
virtual void __fastcall Invoke(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefv8Context context, const Ucefinterfaces::_di_ICefV8Exception exception, const Ucefinterfaces::_di_ICefV8StackTrace stackTrace) = 0 ;
|
||||
};
|
||||
|
||||
__interface TOnFocusedNodeChangedEvent : public System::IInterface
|
||||
{
|
||||
virtual void __fastcall Invoke(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefDomNode node) = 0 ;
|
||||
};
|
||||
|
||||
__interface TOnProcessMessageReceivedEvent : public System::IInterface
|
||||
{
|
||||
virtual void __fastcall Invoke(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, Uceftypes::TCefProcessId sourceProcess, const Ucefinterfaces::_di_ICefProcessMessage message, bool &aHandled) = 0 ;
|
||||
};
|
||||
|
||||
__interface TOnRenderLoadingStateChange : public System::IInterface
|
||||
{
|
||||
virtual void __fastcall Invoke(const Ucefinterfaces::_di_ICefBrowser browser, bool isLoading, bool canGoBack, bool canGoForward) = 0 ;
|
||||
};
|
||||
|
||||
__interface TOnRenderLoadStart : public System::IInterface
|
||||
{
|
||||
virtual void __fastcall Invoke(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, Uceftypes::TCefTransitionType transitionType) = 0 ;
|
||||
};
|
||||
|
||||
__interface TOnRenderLoadEnd : public System::IInterface
|
||||
{
|
||||
virtual void __fastcall Invoke(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, int httpStatusCode) = 0 ;
|
||||
};
|
||||
|
||||
__interface TOnRenderLoadError : public System::IInterface
|
||||
{
|
||||
virtual void __fastcall Invoke(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, Uceftypes::TCefErrorCode errorCode, const Uceftypes::ustring errorText, const Uceftypes::ustring failedUrl) = 0 ;
|
||||
};
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefapplicationevents */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFAPPLICATIONEVENTS)
|
||||
using namespace Ucefapplicationevents;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFApplicationEventsHPP
|
||||
@@ -0,0 +1,61 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFArgCopy.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFArgCopyHPP
|
||||
#define uCEFArgCopyHPP
|
||||
|
||||
#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 <System.AnsiStrings.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefargcopy
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCEFArgCopy;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCEFArgCopy : public System::TObject
|
||||
{
|
||||
typedef System::TObject inherited;
|
||||
|
||||
protected:
|
||||
System::LongInt FArgCCopy;
|
||||
System::PPAnsiChar FArgVCopy;
|
||||
void __fastcall InitializeFields();
|
||||
void __fastcall DestroyFields();
|
||||
|
||||
public:
|
||||
__fastcall TCEFArgCopy();
|
||||
__fastcall virtual ~TCEFArgCopy();
|
||||
void __fastcall CopyFromArgs(System::LongInt aArgc, System::PPAnsiChar aArgv);
|
||||
__property System::LongInt argc = {read=FArgCCopy, nodefault};
|
||||
__property System::PPAnsiChar argv = {read=FArgVCopy};
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefargcopy */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFARGCOPY)
|
||||
using namespace Ucefargcopy;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFArgCopyHPP
|
||||
@@ -0,0 +1,104 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFAudioHandler.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFAudioHandlerHPP
|
||||
#define uCEFAudioHandlerHPP
|
||||
|
||||
#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 Ucefaudiohandler
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefAudioHandlerOwn;
|
||||
class DELPHICLASS TCustomAudioHandler;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefAudioHandlerOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
||||
|
||||
protected:
|
||||
virtual void __fastcall OnGetAudioParameters(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefAudioParameters ¶ms, bool &aResult);
|
||||
virtual void __fastcall OnAudioStreamStarted(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::TCefAudioParameters ¶ms, int channels);
|
||||
virtual void __fastcall OnAudioStreamPacket(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PPSingle data, int frames, __int64 pts);
|
||||
virtual void __fastcall OnAudioStreamStopped(const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
virtual void __fastcall OnAudioStreamError(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring message_);
|
||||
virtual void __fastcall RemoveReferences();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCefAudioHandlerOwn();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefAudioHandlerOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefAudioHandlerOwn() { }
|
||||
|
||||
private:
|
||||
void *__ICefAudioHandler; // Ucefinterfaces::ICefAudioHandler
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {8963271A-0B94-4279-82C8-FB2EA7B3CDEC}
|
||||
operator Ucefinterfaces::_di_ICefAudioHandler()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefAudioHandler intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefAudioHandler*(void) { return (Ucefinterfaces::ICefAudioHandler*)&__ICefAudioHandler; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCustomAudioHandler : public TCefAudioHandlerOwn
|
||||
{
|
||||
typedef TCefAudioHandlerOwn inherited;
|
||||
|
||||
protected:
|
||||
void *FEvents;
|
||||
virtual void __fastcall OnGetAudioParameters(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefAudioParameters ¶ms, bool &aResult);
|
||||
virtual void __fastcall OnAudioStreamStarted(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::TCefAudioParameters ¶ms, int channels);
|
||||
virtual void __fastcall OnAudioStreamPacket(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PPSingle data, int frames, __int64 pts);
|
||||
virtual void __fastcall OnAudioStreamStopped(const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
virtual void __fastcall OnAudioStreamError(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring message_);
|
||||
virtual void __fastcall RemoveReferences();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCustomAudioHandler(const Ucefinterfaces::_di_IChromiumEvents events);
|
||||
__fastcall virtual ~TCustomAudioHandler();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomAudioHandler(unsigned size, bool owned) : TCefAudioHandlerOwn(size, owned) { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefaudiohandler */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFAUDIOHANDLER)
|
||||
using namespace Ucefaudiohandler;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFAudioHandlerHPP
|
||||
@@ -0,0 +1,75 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFAuthCallback.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFAuthCallbackHPP
|
||||
#define uCEFAuthCallbackHPP
|
||||
|
||||
#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 Ucefauthcallback
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefAuthCallbackRef;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefAuthCallbackRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
|
||||
|
||||
protected:
|
||||
void __fastcall Cont(const Uceftypes::ustring username, const Uceftypes::ustring password);
|
||||
void __fastcall Cancel();
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefAuthCallback __fastcall UnWrap(void * data);
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefAuthCallbackRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefAuthCallbackRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefAuthCallback; // Ucefinterfaces::ICefAuthCallback
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {500C2023-BF4D-4FF7-9C04-165E5C389131}
|
||||
operator Ucefinterfaces::_di_ICefAuthCallback()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefAuthCallback intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefAuthCallback*(void) { return (Ucefinterfaces::ICefAuthCallback*)&__ICefAuthCallback; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefauthcallback */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFAUTHCALLBACK)
|
||||
using namespace Ucefauthcallback;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFAuthCallbackHPP
|
||||
@@ -0,0 +1,138 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFBaseRefCounted.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFBaseRefCountedHPP
|
||||
#define uCEFBaseRefCountedHPP
|
||||
|
||||
#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.SysUtils.hpp>
|
||||
#include <uCEFInterfaces.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefbaserefcounted
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TLoggingInterfacedObject;
|
||||
class DELPHICLASS TCefBaseRefCountedOwn;
|
||||
class DELPHICLASS TCefBaseRefCountedRef;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TLoggingInterfacedObject : public System::TInterfacedObject
|
||||
{
|
||||
typedef System::TInterfacedObject inherited;
|
||||
|
||||
protected:
|
||||
HIDESBASE int __stdcall _AddRef();
|
||||
HIDESBASE int __stdcall _Release();
|
||||
|
||||
public:
|
||||
__classmethod virtual System::TObject* __fastcall NewInstance();
|
||||
public:
|
||||
/* TObject.Create */ inline __fastcall TLoggingInterfacedObject() : System::TInterfacedObject() { }
|
||||
/* TObject.Destroy */ inline __fastcall virtual ~TLoggingInterfacedObject() { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefBaseRefCountedOwn : public System::TInterfacedObject
|
||||
{
|
||||
typedef System::TInterfacedObject inherited;
|
||||
|
||||
protected:
|
||||
void *FData;
|
||||
bool __fastcall HasOneRef();
|
||||
bool __fastcall HasAtLeastOneRef();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCefBaseRefCountedOwn(unsigned size, bool owned);
|
||||
__fastcall virtual ~TCefBaseRefCountedOwn();
|
||||
bool __fastcall SameAs(void * aData)/* overload */;
|
||||
bool __fastcall SameAs(const Ucefinterfaces::_di_ICefBaseRefCounted aBaseRefCounted)/* overload */;
|
||||
void __fastcall DestroyOtherRefs();
|
||||
void * __fastcall Wrap();
|
||||
public:
|
||||
/* TObject.Create */ inline __fastcall TCefBaseRefCountedOwn() : System::TInterfacedObject() { }
|
||||
|
||||
private:
|
||||
void *__ICefBaseRefCounted; // Ucefinterfaces::ICefBaseRefCounted
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {1F9A7B44-DCDC-4477-9180-3ADD44BDEB7B}
|
||||
operator Ucefinterfaces::_di_ICefBaseRefCounted()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefBaseRefCounted intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefBaseRefCounted*(void) { return (Ucefinterfaces::ICefBaseRefCounted*)&__ICefBaseRefCounted; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefBaseRefCountedRef : public System::TInterfacedObject
|
||||
{
|
||||
typedef System::TInterfacedObject inherited;
|
||||
|
||||
protected:
|
||||
void *FData;
|
||||
bool __fastcall HasOneRef();
|
||||
bool __fastcall HasAtLeastOneRef();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCefBaseRefCountedRef(void * data);
|
||||
__fastcall virtual ~TCefBaseRefCountedRef();
|
||||
bool __fastcall SameAs(void * aData)/* overload */;
|
||||
bool __fastcall SameAs(const Ucefinterfaces::_di_ICefBaseRefCounted aBaseRefCounted)/* overload */;
|
||||
void __fastcall DestroyOtherRefs();
|
||||
void * __fastcall Wrap();
|
||||
__classmethod Ucefinterfaces::_di_ICefBaseRefCounted __fastcall UnWrap(void * data);
|
||||
private:
|
||||
void *__ICefBaseRefCounted; // Ucefinterfaces::ICefBaseRefCounted
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {1F9A7B44-DCDC-4477-9180-3ADD44BDEB7B}
|
||||
operator Ucefinterfaces::_di_ICefBaseRefCounted()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefBaseRefCounted intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefBaseRefCounted*(void) { return (Ucefinterfaces::ICefBaseRefCounted*)&__ICefBaseRefCounted; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefbaserefcounted */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFBASEREFCOUNTED)
|
||||
using namespace Ucefbaserefcounted;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFBaseRefCountedHPP
|
||||
@@ -0,0 +1,55 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFBaseScopedWrapper.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFBaseScopedWrapperHPP
|
||||
#define uCEFBaseScopedWrapperHPP
|
||||
|
||||
#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>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefbasescopedwrapper
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCEFBaseScopedWrapperRef;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCEFBaseScopedWrapperRef : public System::TObject
|
||||
{
|
||||
typedef System::TObject inherited;
|
||||
|
||||
protected:
|
||||
void *FData;
|
||||
|
||||
public:
|
||||
__fastcall virtual TCEFBaseScopedWrapperRef(void * data);
|
||||
void * __fastcall Wrap();
|
||||
public:
|
||||
/* TObject.Destroy */ inline __fastcall virtual ~TCEFBaseScopedWrapperRef() { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefbasescopedwrapper */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFBASESCOPEDWRAPPER)
|
||||
using namespace Ucefbasescopedwrapper;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFBaseScopedWrapperHPP
|
||||
@@ -0,0 +1,74 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFBeforeDownloadCallback.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFBeforeDownloadCallbackHPP
|
||||
#define uCEFBeforeDownloadCallbackHPP
|
||||
|
||||
#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 Ucefbeforedownloadcallback
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefBeforeDownloadCallbackRef;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefBeforeDownloadCallbackRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
|
||||
|
||||
protected:
|
||||
void __fastcall Cont(const Uceftypes::ustring downloadPath, bool showDialog);
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefBeforeDownloadCallback __fastcall UnWrap(void * data);
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefBeforeDownloadCallbackRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefBeforeDownloadCallbackRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefBeforeDownloadCallback; // Ucefinterfaces::ICefBeforeDownloadCallback
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {5A81AF75-CBA2-444D-AD8E-522160F36433}
|
||||
operator Ucefinterfaces::_di_ICefBeforeDownloadCallback()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefBeforeDownloadCallback intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefBeforeDownloadCallback*(void) { return (Ucefinterfaces::ICefBeforeDownloadCallback*)&__ICefBeforeDownloadCallback; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefbeforedownloadcallback */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFBEFOREDOWNLOADCALLBACK)
|
||||
using namespace Ucefbeforedownloadcallback;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFBeforeDownloadCallbackHPP
|
||||
@@ -0,0 +1,124 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFBinaryValue.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFBinaryValueHPP
|
||||
#define uCEFBinaryValueHPP
|
||||
|
||||
#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 Ucefbinaryvalue
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefBinaryValueRef;
|
||||
class DELPHICLASS TCefBinaryValueOwn;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefBinaryValueRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
|
||||
|
||||
protected:
|
||||
bool __fastcall IsValid();
|
||||
bool __fastcall IsOwned();
|
||||
bool __fastcall IsSame(const Ucefinterfaces::_di_ICefBinaryValue that);
|
||||
bool __fastcall IsEqual(const Ucefinterfaces::_di_ICefBinaryValue that);
|
||||
Ucefinterfaces::_di_ICefBinaryValue __fastcall Copy();
|
||||
void * __fastcall GetRawData();
|
||||
System::NativeUInt __fastcall GetSize();
|
||||
System::NativeUInt __fastcall GetData(void * buffer, System::NativeUInt bufferSize, System::NativeUInt dataOffset);
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefBinaryValue __fastcall UnWrap(void * data);
|
||||
__classmethod Ucefinterfaces::_di_ICefBinaryValue __fastcall New(const void * data, System::NativeUInt dataSize);
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefBinaryValueRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefBinaryValueRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefBinaryValue; // Ucefinterfaces::ICefBinaryValue
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {974AA40A-9C5C-4726-81F0-9F0D46D7C5B3}
|
||||
operator Ucefinterfaces::_di_ICefBinaryValue()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefBinaryValue intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefBinaryValue*(void) { return (Ucefinterfaces::ICefBinaryValue*)&__ICefBinaryValue; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefBinaryValueOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
||||
|
||||
protected:
|
||||
bool __fastcall IsValid();
|
||||
bool __fastcall IsOwned();
|
||||
bool __fastcall IsSame(const Ucefinterfaces::_di_ICefBinaryValue that);
|
||||
bool __fastcall IsEqual(const Ucefinterfaces::_di_ICefBinaryValue that);
|
||||
Ucefinterfaces::_di_ICefBinaryValue __fastcall Copy();
|
||||
void * __fastcall GetRawData();
|
||||
System::NativeUInt __fastcall GetSize();
|
||||
System::NativeUInt __fastcall GetData(void * buffer, System::NativeUInt bufferSize, System::NativeUInt dataOffset);
|
||||
|
||||
public:
|
||||
__fastcall TCefBinaryValueOwn();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefBinaryValueOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefBinaryValueOwn() { }
|
||||
|
||||
private:
|
||||
void *__ICefBinaryValue; // Ucefinterfaces::ICefBinaryValue
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {974AA40A-9C5C-4726-81F0-9F0D46D7C5B3}
|
||||
operator Ucefinterfaces::_di_ICefBinaryValue()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefBinaryValue intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefBinaryValue*(void) { return (Ucefinterfaces::ICefBinaryValue*)&__ICefBinaryValue; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefbinaryvalue */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFBINARYVALUE)
|
||||
using namespace Ucefbinaryvalue;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFBinaryValueHPP
|
||||
@@ -0,0 +1,74 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFBitmapBitBuffer.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFBitmapBitBufferHPP
|
||||
#define uCEFBitmapBitBufferHPP
|
||||
|
||||
#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>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefbitmapbitbuffer
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCEFBitmapBitBuffer;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCEFBitmapBitBuffer : public System::TObject
|
||||
{
|
||||
typedef System::TObject inherited;
|
||||
|
||||
protected:
|
||||
void *FBuffer;
|
||||
int FImageWidth;
|
||||
int FImageHeight;
|
||||
int FBufferWidth;
|
||||
int FBufferHeight;
|
||||
int __fastcall GetBufferScanlineSize();
|
||||
int __fastcall GetScanlineSize();
|
||||
int __fastcall GetBufferLength();
|
||||
bool __fastcall GetEmpty();
|
||||
System::PByte __fastcall GetScanline(int y);
|
||||
void __fastcall CreateBuffer();
|
||||
void __fastcall DestroyBuffer();
|
||||
|
||||
public:
|
||||
__fastcall TCEFBitmapBitBuffer(int aWidth, int aHeight);
|
||||
__fastcall virtual ~TCEFBitmapBitBuffer();
|
||||
void __fastcall UpdateSize(int aWidth, int aHeight);
|
||||
__property int Width = {read=FImageWidth, nodefault};
|
||||
__property int Height = {read=FImageHeight, nodefault};
|
||||
__property int BufferLength = {read=GetBufferLength, nodefault};
|
||||
__property bool Empty = {read=GetEmpty, nodefault};
|
||||
__property System::PByte Scanline[int y] = {read=GetScanline};
|
||||
__property int ScanlineSize = {read=GetScanlineSize, nodefault};
|
||||
__property int BufferScanlineSize = {read=GetBufferScanlineSize, nodefault};
|
||||
__property void * BufferBits = {read=FBuffer};
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefbitmapbitbuffer */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFBITMAPBITBUFFER)
|
||||
using namespace Ucefbitmapbitbuffer;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFBitmapBitBufferHPP
|
||||
@@ -0,0 +1,78 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFBoxLayout.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFBoxLayoutHPP
|
||||
#define uCEFBoxLayoutHPP
|
||||
|
||||
#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>
|
||||
#include <uCEFLayout.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefboxlayout
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefBoxLayoutRef;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefBoxLayoutRef : public Uceflayout::TCefLayoutRef
|
||||
{
|
||||
typedef Uceflayout::TCefLayoutRef inherited;
|
||||
|
||||
protected:
|
||||
void __fastcall SetFlexForView(const Ucefinterfaces::_di_ICefView view, int flex);
|
||||
void __fastcall ClearFlexForView(const Ucefinterfaces::_di_ICefView view);
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefBoxLayout __fastcall UnWrap(void * data);
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefBoxLayoutRef(void * data) : Uceflayout::TCefLayoutRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefBoxLayoutRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefBoxLayout; // Ucefinterfaces::ICefBoxLayout
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {E59FCCAE-A371-4C21-98D3-93D3217016AE}
|
||||
operator Ucefinterfaces::_di_ICefBoxLayout()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefBoxLayout intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefBoxLayout*(void) { return (Ucefinterfaces::ICefBoxLayout*)&__ICefBoxLayout; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefboxlayout */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFBOXLAYOUT)
|
||||
using namespace Ucefboxlayout;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFBoxLayoutHPP
|
||||
@@ -0,0 +1,202 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFBrowser.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFBrowserHPP
|
||||
#define uCEFBrowserHPP
|
||||
|
||||
#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 Ucefbrowser
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefBrowserRef;
|
||||
class DELPHICLASS TCefBrowserHostRef;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefBrowserRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
|
||||
|
||||
protected:
|
||||
bool __fastcall IsValid();
|
||||
Ucefinterfaces::_di_ICefBrowserHost __fastcall GetHost();
|
||||
bool __fastcall CanGoBack();
|
||||
void __fastcall GoBack();
|
||||
bool __fastcall CanGoForward();
|
||||
void __fastcall GoForward();
|
||||
bool __fastcall IsLoading();
|
||||
void __fastcall Reload();
|
||||
void __fastcall ReloadIgnoreCache();
|
||||
void __fastcall StopLoad();
|
||||
int __fastcall GetIdentifier();
|
||||
bool __fastcall IsSame(const Ucefinterfaces::_di_ICefBrowser that);
|
||||
bool __fastcall IsPopup();
|
||||
bool __fastcall HasDocument();
|
||||
Ucefinterfaces::_di_ICefFrame __fastcall GetMainFrame();
|
||||
Ucefinterfaces::_di_ICefFrame __fastcall GetFocusedFrame();
|
||||
Ucefinterfaces::_di_ICefFrame __fastcall GetFrameByIdentifier(const Uceftypes::ustring identifier);
|
||||
Ucefinterfaces::_di_ICefFrame __fastcall GetFrameByName(const Uceftypes::ustring name);
|
||||
System::NativeUInt __fastcall GetFrameCount();
|
||||
bool __fastcall GetFrameIdentifiers(System::Classes::TStrings* &aFrameIdentifiers);
|
||||
bool __fastcall GetFrameNames(System::Classes::TStrings* &aFrameNames);
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefBrowser __fastcall UnWrap(void * data);
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefBrowserRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefBrowserRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefBrowser; // Ucefinterfaces::ICefBrowser
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {BA003C2E-CF15-458F-9D4A-FE3CEFCF3EEF}
|
||||
operator Ucefinterfaces::_di_ICefBrowser()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefBrowser intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefBrowser*(void) { return (Ucefinterfaces::ICefBrowser*)&__ICefBrowser; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefBrowserHostRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
|
||||
|
||||
protected:
|
||||
Ucefinterfaces::_di_ICefBrowser __fastcall GetBrowser();
|
||||
void __fastcall CloseBrowser(bool forceClose);
|
||||
bool __fastcall TryCloseBrowser();
|
||||
bool __fastcall IsReadyToBeClosed();
|
||||
void __fastcall SetFocus(bool focus);
|
||||
Uceftypes::TCefWindowHandle __fastcall GetWindowHandle();
|
||||
Uceftypes::TCefWindowHandle __fastcall GetOpenerWindowHandle();
|
||||
int __fastcall GetOpenerIdentifier();
|
||||
bool __fastcall HasView();
|
||||
Ucefinterfaces::_di_ICefClient __fastcall GetClient();
|
||||
Ucefinterfaces::_di_ICefRequestContext __fastcall GetRequestContext();
|
||||
bool __fastcall CanZoom(Uceftypes::TCefZoomCommand command);
|
||||
void __fastcall Zoom(Uceftypes::TCefZoomCommand command);
|
||||
double __fastcall GetDefaultZoomLevel();
|
||||
double __fastcall GetZoomLevel();
|
||||
void __fastcall SetZoomLevel(const double zoomLevel);
|
||||
void __fastcall RunFileDialog(Uceftypes::TCefFileDialogMode mode, const Uceftypes::ustring title, const Uceftypes::ustring defaultFilePath, System::Classes::TStrings* const acceptFilters, const Ucefinterfaces::_di_ICefRunFileDialogCallback callback);
|
||||
void __fastcall RunFileDialogProc(Uceftypes::TCefFileDialogMode mode, const Uceftypes::ustring title, const Uceftypes::ustring defaultFilePath, System::Classes::TStrings* const acceptFilters, const Ucefinterfaces::_di_TCefRunFileDialogCallbackProc callback);
|
||||
void __fastcall StartDownload(const Uceftypes::ustring url);
|
||||
void __fastcall DownloadImage(const Uceftypes::ustring imageUrl, bool isFavicon, unsigned maxImageSize, bool bypassCache, const Ucefinterfaces::_di_ICefDownloadImageCallback callback);
|
||||
void __fastcall DownloadImageProc(const Uceftypes::ustring imageUrl, bool isFavicon, unsigned maxImageSize, bool bypassCache, const Ucefinterfaces::_di_TOnDownloadImageFinishedProc callback);
|
||||
void __fastcall Print();
|
||||
void __fastcall PrintToPdf(const Uceftypes::ustring path, Uceftypes::PCefPdfPrintSettings settings, const Ucefinterfaces::_di_ICefPdfPrintCallback callback);
|
||||
void __fastcall PrintToPdfProc(const Uceftypes::ustring path, Uceftypes::PCefPdfPrintSettings settings, const Ucefinterfaces::_di_TOnPdfPrintFinishedProc callback);
|
||||
void __fastcall Find(const Uceftypes::ustring searchText, bool forward_, bool matchCase, bool findNext);
|
||||
void __fastcall StopFinding(bool clearSelection);
|
||||
void __fastcall ShowDevTools(const Uceftypes::PCefWindowInfo windowInfo, const Ucefinterfaces::_di_ICefClient client, const Uceftypes::PCefBrowserSettings settings, Uceftypes::PCefPoint inspectElementAt);
|
||||
void __fastcall CloseDevTools();
|
||||
bool __fastcall HasDevTools();
|
||||
bool __fastcall SendDevToolsMessage(const Uceftypes::ustring message_);
|
||||
int __fastcall ExecuteDevToolsMethod(int message_id, const Uceftypes::ustring method, const Ucefinterfaces::_di_ICefDictionaryValue params);
|
||||
Ucefinterfaces::_di_ICefRegistration __fastcall AddDevToolsMessageObserver(const Ucefinterfaces::_di_ICefDevToolsMessageObserver observer);
|
||||
void __fastcall GetNavigationEntries(const Ucefinterfaces::_di_ICefNavigationEntryVisitor visitor, bool currentOnly);
|
||||
void __fastcall GetNavigationEntriesProc(const Ucefinterfaces::_di_TCefNavigationEntryVisitorProc proc, bool currentOnly);
|
||||
void __fastcall ReplaceMisspelling(const Uceftypes::ustring word);
|
||||
void __fastcall AddWordToDictionary(const Uceftypes::ustring word);
|
||||
bool __fastcall IsWindowRenderingDisabled();
|
||||
void __fastcall WasResized();
|
||||
void __fastcall NotifyScreenInfoChanged();
|
||||
void __fastcall WasHidden(bool hidden);
|
||||
void __fastcall Invalidate(Uceftypes::TCefPaintElementType type_);
|
||||
void __fastcall SendExternalBeginFrame();
|
||||
void __fastcall SendKeyEvent(const Uceftypes::PCefKeyEvent event);
|
||||
void __fastcall SendMouseClickEvent(const Uceftypes::PCefMouseEvent event, Uceftypes::TCefMouseButtonType type_, bool mouseUp, int clickCount);
|
||||
void __fastcall SendMouseMoveEvent(const Uceftypes::PCefMouseEvent event, bool mouseLeave);
|
||||
void __fastcall SendMouseWheelEvent(const Uceftypes::PCefMouseEvent event, int deltaX, int deltaY);
|
||||
void __fastcall SendTouchEvent(const Uceftypes::PCefTouchEvent event);
|
||||
void __fastcall SendCaptureLostEvent();
|
||||
void __fastcall NotifyMoveOrResizeStarted();
|
||||
int __fastcall GetWindowlessFrameRate();
|
||||
void __fastcall SetWindowlessFrameRate(int frameRate);
|
||||
void __fastcall IMESetComposition(const Uceftypes::ustring text, const Uceftypes::TCefCompositionUnderlineDynArray underlines, const Uceftypes::PCefRange replacement_range, const Uceftypes::PCefRange selection_range);
|
||||
void __fastcall IMECommitText(const Uceftypes::ustring text, const Uceftypes::PCefRange replacement_range, int relative_cursor_pos);
|
||||
void __fastcall IMEFinishComposingText(bool keep_selection);
|
||||
void __fastcall IMECancelComposition();
|
||||
void __fastcall DragTargetDragEnter(const Ucefinterfaces::_di_ICefDragData dragData, const Uceftypes::PCefMouseEvent event, Uceftypes::TCefDragOperations allowedOps);
|
||||
void __fastcall DragTargetDragOver(const Uceftypes::PCefMouseEvent event, Uceftypes::TCefDragOperations allowedOps);
|
||||
void __fastcall DragTargetDragLeave();
|
||||
void __fastcall DragTargetDrop(const Uceftypes::PCefMouseEvent event);
|
||||
void __fastcall DragSourceEndedAt(int x, int y, Uceftypes::TCefDragOperation op);
|
||||
void __fastcall DragSourceSystemDragEnded();
|
||||
Ucefinterfaces::_di_ICefNavigationEntry __fastcall GetVisibleNavigationEntry();
|
||||
void __fastcall SetAccessibilityState(Uceftypes::TCefState accessibilityState);
|
||||
void __fastcall SetAutoResizeEnabled(bool enabled, const Uceftypes::PCefSize min_size, const Uceftypes::PCefSize max_size);
|
||||
void __fastcall SetAudioMuted(bool mute);
|
||||
bool __fastcall IsAudioMuted();
|
||||
bool __fastcall IsFullscreen();
|
||||
void __fastcall ExitFullscreen(bool will_cause_resize);
|
||||
bool __fastcall CanExecuteChromeCommand(int command_id);
|
||||
void __fastcall ExecuteChromeCommand(int command_id, Uceftypes::TCefWindowOpenDisposition disposition);
|
||||
bool __fastcall IsRenderProcessUnresponsive();
|
||||
Uceftypes::TCefRuntimeStyle __fastcall GetRuntimeStyle();
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefBrowserHost __fastcall UnWrap(void * data);
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefBrowserHostRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefBrowserHostRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefBrowserHost; // Ucefinterfaces::ICefBrowserHost
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {53AE02FF-EF5D-48C3-A43E-069DA9535424}
|
||||
operator Ucefinterfaces::_di_ICefBrowserHost()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefBrowserHost intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefBrowserHost*(void) { return (Ucefinterfaces::ICefBrowserHost*)&__ICefBrowserHost; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefbrowser */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFBROWSER)
|
||||
using namespace Ucefbrowser;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFBrowserHPP
|
||||
@@ -0,0 +1,70 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFBrowserBitmap.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFBrowserBitmapHPP
|
||||
#define uCEFBrowserBitmapHPP
|
||||
|
||||
#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 <System.SysUtils.hpp>
|
||||
#include <Vcl.Graphics.hpp>
|
||||
#include <System.Types.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefbrowserbitmap
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCEFBrowserBitmap;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
class PASCALIMPLEMENTATION TCEFBrowserBitmap : public Vcl::Graphics::TBitmap
|
||||
{
|
||||
typedef Vcl::Graphics::TBitmap inherited;
|
||||
|
||||
protected:
|
||||
int FScanlineSize;
|
||||
float FDeviceScaleFactor;
|
||||
Winapi::Windows::THandle FSyncObj;
|
||||
void * __fastcall GetBufferBits();
|
||||
void __fastcall CreateSyncObj();
|
||||
void __fastcall DestroySyncObj();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCEFBrowserBitmap()/* overload */;
|
||||
__fastcall virtual ~TCEFBrowserBitmap();
|
||||
bool __fastcall BeginDraw();
|
||||
void __fastcall EndDraw();
|
||||
bool __fastcall UpdateDimensions(int aWidth, int aHeight);
|
||||
void __fastcall BufferDraw(Vcl::Graphics::TBitmap* const aBitmap, const Winapi::Windows::TRect &aSrcRect, const Winapi::Windows::TRect &aDstRect);
|
||||
__property int ScanlineSize = {read=FScanlineSize, nodefault};
|
||||
__property void * BufferBits = {read=GetBufferBits};
|
||||
__property float DeviceScaleFactor = {read=FDeviceScaleFactor, write=FDeviceScaleFactor};
|
||||
public:
|
||||
/* TBitmap.Create */ inline __fastcall TCEFBrowserBitmap(int AWidth, int AHeight)/* overload */ : Vcl::Graphics::TBitmap(AWidth, AHeight) { }
|
||||
|
||||
};
|
||||
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefbrowserbitmap */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFBROWSERBITMAP)
|
||||
using namespace Ucefbrowserbitmap;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFBrowserBitmapHPP
|
||||
@@ -0,0 +1,111 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFBrowserProcessHandler.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFBrowserProcessHandlerHPP
|
||||
#define uCEFBrowserProcessHandlerHPP
|
||||
|
||||
#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 <uCEFBaseRefCounted.hpp>
|
||||
#include <uCEFInterfaces.hpp>
|
||||
#include <uCEFTypes.hpp>
|
||||
#include <uCEFApplicationCore.hpp>
|
||||
#include <uCEFPreferenceRegistrar.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefbrowserprocesshandler
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefBrowserProcessHandlerOwn;
|
||||
class DELPHICLASS TCefCustomBrowserProcessHandler;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefBrowserProcessHandlerOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
||||
|
||||
protected:
|
||||
virtual void __fastcall OnRegisterCustomPreferences(Uceftypes::TCefPreferencesType type_, Uceftypes::PCefPreferenceRegistrar registrar) = 0 ;
|
||||
virtual void __fastcall OnContextInitialized() = 0 ;
|
||||
virtual void __fastcall OnBeforeChildProcessLaunch(const Ucefinterfaces::_di_ICefCommandLine commandLine) = 0 ;
|
||||
virtual void __fastcall OnAlreadyRunningAppRelaunch(const Ucefinterfaces::_di_ICefCommandLine commandLine, const Uceftypes::ustring current_directory, bool &aResult) = 0 ;
|
||||
virtual void __fastcall OnScheduleMessagePumpWork(const __int64 delayMs) = 0 ;
|
||||
virtual void __fastcall GetDefaultClient(Ucefinterfaces::_di_ICefClient &aClient);
|
||||
virtual void __fastcall GetDefaultRequestContextHandler(Ucefinterfaces::_di_ICefRequestContextHandler &aRequestContextHandler);
|
||||
virtual void __fastcall RemoveReferences() = 0 ;
|
||||
|
||||
public:
|
||||
__fastcall virtual TCefBrowserProcessHandlerOwn();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefBrowserProcessHandlerOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefBrowserProcessHandlerOwn() { }
|
||||
|
||||
private:
|
||||
void *__ICefBrowserProcessHandler; // Ucefinterfaces::ICefBrowserProcessHandler
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {27291B7A-C0AE-4EE0-9115-15C810E22F6C}
|
||||
operator Ucefinterfaces::_di_ICefBrowserProcessHandler()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefBrowserProcessHandler intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefBrowserProcessHandler*(void) { return (Ucefinterfaces::ICefBrowserProcessHandler*)&__ICefBrowserProcessHandler; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefCustomBrowserProcessHandler : public TCefBrowserProcessHandlerOwn
|
||||
{
|
||||
typedef TCefBrowserProcessHandlerOwn inherited;
|
||||
|
||||
protected:
|
||||
Ucefapplicationcore::TCefApplicationCore* FCefApp;
|
||||
virtual void __fastcall OnRegisterCustomPreferences(Uceftypes::TCefPreferencesType type_, Uceftypes::PCefPreferenceRegistrar registrar);
|
||||
virtual void __fastcall OnContextInitialized();
|
||||
virtual void __fastcall OnBeforeChildProcessLaunch(const Ucefinterfaces::_di_ICefCommandLine commandLine);
|
||||
virtual void __fastcall OnAlreadyRunningAppRelaunch(const Ucefinterfaces::_di_ICefCommandLine commandLine, const Uceftypes::ustring current_directory, bool &aResult);
|
||||
virtual void __fastcall OnScheduleMessagePumpWork(const __int64 delayMs);
|
||||
virtual void __fastcall GetDefaultClient(Ucefinterfaces::_di_ICefClient &aClient);
|
||||
virtual void __fastcall GetDefaultRequestContextHandler(Ucefinterfaces::_di_ICefRequestContextHandler &aRequestContextHandler);
|
||||
virtual void __fastcall RemoveReferences();
|
||||
|
||||
public:
|
||||
__fastcall TCefCustomBrowserProcessHandler(Ucefapplicationcore::TCefApplicationCore* const aCefApp);
|
||||
__fastcall virtual ~TCefCustomBrowserProcessHandler();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefCustomBrowserProcessHandler(unsigned size, bool owned) : TCefBrowserProcessHandlerOwn(size, owned) { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefbrowserprocesshandler */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFBROWSERPROCESSHANDLER)
|
||||
using namespace Ucefbrowserprocesshandler;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFBrowserProcessHandlerHPP
|
||||
@@ -0,0 +1,82 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFBrowserView.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFBrowserViewHPP
|
||||
#define uCEFBrowserViewHPP
|
||||
|
||||
#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>
|
||||
#include <uCEFView.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefbrowserview
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefBrowserViewRef;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefBrowserViewRef : public Ucefview::TCefViewRef
|
||||
{
|
||||
typedef Ucefview::TCefViewRef inherited;
|
||||
|
||||
protected:
|
||||
Ucefinterfaces::_di_ICefBrowser __fastcall GetBrowser();
|
||||
Ucefinterfaces::_di_ICefView __fastcall GetChromeToolbar();
|
||||
void __fastcall SetPreferAccelerators(bool prefer_accelerators);
|
||||
Uceftypes::TCefRuntimeStyle __fastcall GetRuntimeStyle();
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefBrowserView __fastcall UnWrap(void * data);
|
||||
__classmethod Ucefinterfaces::_di_ICefBrowserView __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, const Ucefinterfaces::_di_ICefBrowserViewDelegate delegate);
|
||||
__classmethod Ucefinterfaces::_di_ICefBrowserView __fastcall GetForBrowser(const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefBrowserViewRef(void * data) : Ucefview::TCefViewRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefBrowserViewRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefBrowserView; // Ucefinterfaces::ICefBrowserView
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {A617EE5D-B933-4E14-9FC0-7E88E9B6C051}
|
||||
operator Ucefinterfaces::_di_ICefBrowserView()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefBrowserView intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefBrowserView*(void) { return (Ucefinterfaces::ICefBrowserView*)&__ICefBrowserView; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefbrowserview */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFBROWSERVIEW)
|
||||
using namespace Ucefbrowserview;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFBrowserViewHPP
|
||||
@@ -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
|
||||
@@ -0,0 +1,168 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFBrowserViewDelegate.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFBrowserViewDelegateHPP
|
||||
#define uCEFBrowserViewDelegateHPP
|
||||
|
||||
#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>
|
||||
#include <uCEFViewDelegate.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefbrowserviewdelegate
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefBrowserViewDelegateRef;
|
||||
class DELPHICLASS TCefBrowserViewDelegateOwn;
|
||||
class DELPHICLASS TCustomBrowserViewDelegate;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefBrowserViewDelegateRef : public Ucefviewdelegate::TCefViewDelegateRef
|
||||
{
|
||||
typedef Ucefviewdelegate::TCefViewDelegateRef inherited;
|
||||
|
||||
protected:
|
||||
void __fastcall OnBrowserCreated(const Ucefinterfaces::_di_ICefBrowserView browser_view, const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
void __fastcall OnBrowserDestroyed(const Ucefinterfaces::_di_ICefBrowserView browser_view, const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
void __fastcall OnGetDelegateForPopupBrowserView(const Ucefinterfaces::_di_ICefBrowserView browser_view, const Uceftypes::TCefBrowserSettings &settings, const Ucefinterfaces::_di_ICefClient client, bool is_devtools, Ucefinterfaces::_di_ICefBrowserViewDelegate &aResult);
|
||||
void __fastcall OnPopupBrowserViewCreated(const Ucefinterfaces::_di_ICefBrowserView browser_view, const Ucefinterfaces::_di_ICefBrowserView popup_browser_view, bool is_devtools, bool &aResult);
|
||||
void __fastcall OnGetChromeToolbarType(const Ucefinterfaces::_di_ICefBrowserView browser_view, Uceftypes::TCefChromeToolbarType &aResult);
|
||||
void __fastcall OnUseFramelessWindowForPictureInPicture(const Ucefinterfaces::_di_ICefBrowserView browser_view, bool &aResult);
|
||||
void __fastcall OnGestureCommand(const Ucefinterfaces::_di_ICefBrowserView browser_view, Uceftypes::TCefGestureCommand gesture_command, bool &aResult);
|
||||
void __fastcall OnGetBrowserRuntimeStyle(Uceftypes::TCefRuntimeStyle &aResult);
|
||||
void __fastcall OnAllowMoveForPictureInPicture(const Ucefinterfaces::_di_ICefBrowserView browser_view, bool &aResult);
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefBrowserViewDelegate __fastcall UnWrap(void * data);
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefBrowserViewDelegateRef(void * data) : Ucefviewdelegate::TCefViewDelegateRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefBrowserViewDelegateRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefBrowserViewDelegate; // Ucefinterfaces::ICefBrowserViewDelegate
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {578A0DD4-2E7D-4061-B4DB-7C3CDC7A90C0}
|
||||
operator Ucefinterfaces::_di_ICefBrowserViewDelegate()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefBrowserViewDelegate intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefBrowserViewDelegate*(void) { return (Ucefinterfaces::ICefBrowserViewDelegate*)&__ICefBrowserViewDelegate; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefBrowserViewDelegateOwn : public Ucefviewdelegate::TCefViewDelegateOwn
|
||||
{
|
||||
typedef Ucefviewdelegate::TCefViewDelegateOwn inherited;
|
||||
|
||||
protected:
|
||||
virtual void __fastcall OnBrowserCreated(const Ucefinterfaces::_di_ICefBrowserView browser_view, const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
virtual void __fastcall OnBrowserDestroyed(const Ucefinterfaces::_di_ICefBrowserView browser_view, const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
virtual void __fastcall OnGetDelegateForPopupBrowserView(const Ucefinterfaces::_di_ICefBrowserView browser_view, const Uceftypes::TCefBrowserSettings &settings, const Ucefinterfaces::_di_ICefClient client, bool is_devtools, Ucefinterfaces::_di_ICefBrowserViewDelegate &aResult);
|
||||
virtual void __fastcall OnPopupBrowserViewCreated(const Ucefinterfaces::_di_ICefBrowserView browser_view, const Ucefinterfaces::_di_ICefBrowserView popup_browser_view, bool is_devtools, bool &aResult);
|
||||
virtual void __fastcall OnGetChromeToolbarType(const Ucefinterfaces::_di_ICefBrowserView browser_view, Uceftypes::TCefChromeToolbarType &aResult);
|
||||
virtual void __fastcall OnUseFramelessWindowForPictureInPicture(const Ucefinterfaces::_di_ICefBrowserView browser_view, bool &aResult);
|
||||
virtual void __fastcall OnGestureCommand(const Ucefinterfaces::_di_ICefBrowserView browser_view, Uceftypes::TCefGestureCommand gesture_command, bool &aResult);
|
||||
virtual void __fastcall OnGetBrowserRuntimeStyle(Uceftypes::TCefRuntimeStyle &aResult);
|
||||
virtual void __fastcall OnAllowMoveForPictureInPicture(const Ucefinterfaces::_di_ICefBrowserView browser_view, bool &aResult);
|
||||
virtual void __fastcall InitializeCEFMethods();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCefBrowserViewDelegateOwn();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefBrowserViewDelegateOwn(unsigned size, bool owned) : Ucefviewdelegate::TCefViewDelegateOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefBrowserViewDelegateOwn() { }
|
||||
|
||||
private:
|
||||
void *__ICefBrowserViewDelegate; // Ucefinterfaces::ICefBrowserViewDelegate
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {578A0DD4-2E7D-4061-B4DB-7C3CDC7A90C0}
|
||||
operator Ucefinterfaces::_di_ICefBrowserViewDelegate()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefBrowserViewDelegate intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefBrowserViewDelegate*(void) { return (Ucefinterfaces::ICefBrowserViewDelegate*)&__ICefBrowserViewDelegate; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCustomBrowserViewDelegate : public TCefBrowserViewDelegateOwn
|
||||
{
|
||||
typedef TCefBrowserViewDelegateOwn inherited;
|
||||
|
||||
protected:
|
||||
void *FEvents;
|
||||
virtual void __fastcall OnGetPreferredSize(const Ucefinterfaces::_di_ICefView view, Uceftypes::TCefSize &aResult);
|
||||
virtual void __fastcall OnGetMinimumSize(const Ucefinterfaces::_di_ICefView view, Uceftypes::TCefSize &aResult);
|
||||
virtual void __fastcall OnGetMaximumSize(const Ucefinterfaces::_di_ICefView view, Uceftypes::TCefSize &aResult);
|
||||
virtual void __fastcall OnGetHeightForWidth(const Ucefinterfaces::_di_ICefView view, int width, int &aResult);
|
||||
virtual void __fastcall OnParentViewChanged(const Ucefinterfaces::_di_ICefView view, bool added, const Ucefinterfaces::_di_ICefView parent);
|
||||
virtual void __fastcall OnChildViewChanged(const Ucefinterfaces::_di_ICefView view, bool added, const Ucefinterfaces::_di_ICefView child);
|
||||
virtual void __fastcall OnWindowChanged(const Ucefinterfaces::_di_ICefView view, bool added);
|
||||
virtual void __fastcall OnLayoutChanged(const Ucefinterfaces::_di_ICefView view, const Uceftypes::TCefRect &new_bounds);
|
||||
virtual void __fastcall OnFocus(const Ucefinterfaces::_di_ICefView view);
|
||||
virtual void __fastcall OnBlur(const Ucefinterfaces::_di_ICefView view);
|
||||
virtual void __fastcall OnThemeChanged(const Ucefinterfaces::_di_ICefView view);
|
||||
virtual void __fastcall OnBrowserCreated(const Ucefinterfaces::_di_ICefBrowserView browser_view, const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
virtual void __fastcall OnBrowserDestroyed(const Ucefinterfaces::_di_ICefBrowserView browser_view, const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
virtual void __fastcall OnGetDelegateForPopupBrowserView(const Ucefinterfaces::_di_ICefBrowserView browser_view, const Uceftypes::TCefBrowserSettings &settings, const Ucefinterfaces::_di_ICefClient client, bool is_devtools, Ucefinterfaces::_di_ICefBrowserViewDelegate &aResult);
|
||||
virtual void __fastcall OnPopupBrowserViewCreated(const Ucefinterfaces::_di_ICefBrowserView browser_view, const Ucefinterfaces::_di_ICefBrowserView popup_browser_view, bool is_devtools, bool &aResult);
|
||||
virtual void __fastcall OnGetChromeToolbarType(const Ucefinterfaces::_di_ICefBrowserView browser_view, Uceftypes::TCefChromeToolbarType &aResult);
|
||||
virtual void __fastcall OnUseFramelessWindowForPictureInPicture(const Ucefinterfaces::_di_ICefBrowserView browser_view, bool &aResult);
|
||||
virtual void __fastcall OnGestureCommand(const Ucefinterfaces::_di_ICefBrowserView browser_view, Uceftypes::TCefGestureCommand gesture_command, bool &aResult);
|
||||
virtual void __fastcall OnGetBrowserRuntimeStyle(Uceftypes::TCefRuntimeStyle &aResult);
|
||||
virtual void __fastcall OnAllowMoveForPictureInPicture(const Ucefinterfaces::_di_ICefBrowserView browser_view, bool &aResult);
|
||||
|
||||
public:
|
||||
__fastcall TCustomBrowserViewDelegate(const Ucefinterfaces::_di_ICefBrowserViewDelegateEvents events);
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomBrowserViewDelegate(unsigned size, bool owned) : TCefBrowserViewDelegateOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCustomBrowserViewDelegate() { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefbrowserviewdelegate */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFBROWSERVIEWDELEGATE)
|
||||
using namespace Ucefbrowserviewdelegate;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFBrowserViewDelegateHPP
|
||||
@@ -0,0 +1,250 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFBufferPanel.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFBufferPanelHPP
|
||||
#define uCEFBufferPanelHPP
|
||||
|
||||
#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 <Winapi.Messages.hpp>
|
||||
#include <Vcl.ExtCtrls.hpp>
|
||||
#include <Vcl.Controls.hpp>
|
||||
#include <Vcl.Graphics.hpp>
|
||||
#include <Winapi.Imm.hpp>
|
||||
#include <System.Classes.hpp>
|
||||
#include <System.SyncObjs.hpp>
|
||||
#include <System.SysUtils.hpp>
|
||||
#include <Vcl.Forms.hpp>
|
||||
#include <uCEFOSRIMEHandler.hpp>
|
||||
#include <uCEFConstants.hpp>
|
||||
#include <uCEFTypes.hpp>
|
||||
#include <uCEFBitmapBitBuffer.hpp>
|
||||
#include <System.Types.hpp>
|
||||
#include <System.UITypes.hpp>
|
||||
#include <Vcl.Menus.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefbufferpanel
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TBufferPanel;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
typedef void __fastcall (__closure *TOnIMECommitTextEvent)(System::TObject* Sender, const Uceftypes::ustring aText, const Uceftypes::PCefRange replacement_range, int relative_cursor_pos);
|
||||
|
||||
typedef void __fastcall (__closure *TOnIMESetCompositionEvent)(System::TObject* Sender, const Uceftypes::ustring aText, const Uceftypes::TCefCompositionUnderlineDynArray underlines, const Uceftypes::TCefRange &replacement_range, const Uceftypes::TCefRange &selection_range);
|
||||
|
||||
typedef void __fastcall (__closure *TOnHandledMessageEvent)(System::TObject* Sender, Winapi::Messages::TMessage &aMessage, bool &aHandled);
|
||||
|
||||
class PASCALIMPLEMENTATION TBufferPanel : public Vcl::Extctrls::TCustomPanel
|
||||
{
|
||||
typedef Vcl::Extctrls::TCustomPanel inherited;
|
||||
|
||||
protected:
|
||||
int FScanlineSize;
|
||||
bool FTransparent;
|
||||
System::Classes::TNotifyEvent FOnPaintParentBkg;
|
||||
float FForcedDeviceScaleFactor;
|
||||
float FDeviceScaleFactor;
|
||||
bool FCopyOriginalBuffer;
|
||||
bool FMustInitBuffer;
|
||||
Vcl::Graphics::TBitmap* FBuffer;
|
||||
Ucefbitmapbitbuffer::TCEFBitmapBitBuffer* FOrigBuffer;
|
||||
Ucefbitmapbitbuffer::TCEFBitmapBitBuffer* FOrigPopupBuffer;
|
||||
int FOrigPopupScanlineSize;
|
||||
Winapi::Windows::THandle FSyncObj;
|
||||
Ucefosrimehandler::TCEFOSRIMEHandler* FIMEHandler;
|
||||
System::Classes::TNotifyEvent FOnIMECancelComposition;
|
||||
TOnIMECommitTextEvent FOnIMECommitText;
|
||||
TOnIMESetCompositionEvent FOnIMESetComposition;
|
||||
TOnHandledMessageEvent FOnCustomTouch;
|
||||
TOnHandledMessageEvent FOnPointerDown;
|
||||
TOnHandledMessageEvent FOnPointerUp;
|
||||
TOnHandledMessageEvent FOnPointerUpdate;
|
||||
void __fastcall CreateSyncObj();
|
||||
void __fastcall DestroySyncObj();
|
||||
void __fastcall DestroyBuffer();
|
||||
void * __fastcall GetBufferBits();
|
||||
int __fastcall GetBufferWidth();
|
||||
int __fastcall GetBufferHeight();
|
||||
int __fastcall GetOrigBufferWidth();
|
||||
int __fastcall GetOrigBufferHeight();
|
||||
virtual float __fastcall GetScreenScale();
|
||||
virtual bool __fastcall GetRealScreenScale(float &aResultScale);
|
||||
void * __fastcall GetOrigPopupBufferBits();
|
||||
int __fastcall GetOrigPopupBufferWidth();
|
||||
int __fastcall GetOrigPopupBufferHeight();
|
||||
Uceftypes::TCefWindowHandle __fastcall GetParentFormHandle();
|
||||
Vcl::Forms::TCustomForm* __fastcall GetParentForm();
|
||||
void __fastcall SetTransparent(bool aValue);
|
||||
bool __fastcall CopyBuffer();
|
||||
bool __fastcall SaveBufferToFile(const System::UnicodeString aFilename);
|
||||
virtual void __fastcall Paint();
|
||||
virtual void __fastcall CreateParams(Vcl::Controls::TCreateParams &Params);
|
||||
virtual void __fastcall WndProc(Winapi::Messages::TMessage &aMessage);
|
||||
MESSAGE void __fastcall WMCEFInvalidate(Winapi::Messages::TMessage &aMessage);
|
||||
HIDESBASE MESSAGE void __fastcall WMEraseBkgnd(Winapi::Messages::TWMEraseBkgnd &aMessage);
|
||||
MESSAGE void __fastcall WMTouch(Winapi::Messages::TMessage &aMessage);
|
||||
MESSAGE void __fastcall WMPointerDown(Winapi::Messages::TMessage &aMessage);
|
||||
MESSAGE void __fastcall WMPointerUpdate(Winapi::Messages::TMessage &aMessage);
|
||||
MESSAGE void __fastcall WMPointerUp(Winapi::Messages::TMessage &aMessage);
|
||||
HIDESBASE void __fastcall WMIMEStartComp(Winapi::Messages::TMessage &aMessage);
|
||||
HIDESBASE void __fastcall WMIMEEndComp(Winapi::Messages::TMessage &aMessage);
|
||||
void __fastcall WMIMESetContext(Winapi::Messages::TMessage &aMessage);
|
||||
void __fastcall WMIMEComposition(Winapi::Messages::TMessage &aMessage);
|
||||
virtual void __fastcall DoOnIMECancelComposition();
|
||||
virtual void __fastcall DoOnIMECommitText(const Uceftypes::ustring aText, const Uceftypes::PCefRange replacement_range, int relative_cursor_pos);
|
||||
virtual void __fastcall DoOnIMESetComposition(const Uceftypes::ustring aText, const Uceftypes::TCefCompositionUnderlineDynArray underlines, const Uceftypes::TCefRange &replacement_range, const Uceftypes::TCefRange &selection_range);
|
||||
|
||||
public:
|
||||
__fastcall virtual TBufferPanel(System::Classes::TComponent* AOwner);
|
||||
__fastcall virtual ~TBufferPanel();
|
||||
virtual void __fastcall AfterConstruction();
|
||||
bool __fastcall SaveToFile(const System::UnicodeString aFilename);
|
||||
bool __fastcall InvalidatePanel();
|
||||
bool __fastcall BeginBufferDraw();
|
||||
void __fastcall EndBufferDraw();
|
||||
void __fastcall BufferDraw(int x, int y, Vcl::Graphics::TBitmap* const aBitmap)/* overload */;
|
||||
void __fastcall BufferDraw(Vcl::Graphics::TBitmap* const aBitmap, const Winapi::Windows::TRect &aSrcRect, const Winapi::Windows::TRect &aDstRect)/* overload */;
|
||||
bool __fastcall UpdateBufferDimensions(int aWidth, int aHeight);
|
||||
bool __fastcall UpdateOrigBufferDimensions(int aWidth, int aHeight);
|
||||
bool __fastcall UpdateOrigPopupBufferDimensions(int aWidth, int aHeight);
|
||||
void __fastcall UpdateDeviceScaleFactor();
|
||||
bool __fastcall BufferIsResized(bool aUseMutex = true);
|
||||
void __fastcall CreateIMEHandler();
|
||||
void __fastcall ChangeCompositionRange(const Uceftypes::TCefRange &selection_range, const Uceftypes::TCefRectDynArray character_bounds);
|
||||
void __fastcall DrawOrigPopupBuffer(const Winapi::Windows::TRect &aSrcRect, const Winapi::Windows::TRect &aDstRect);
|
||||
__property int ScanlineSize = {read=FScanlineSize, nodefault};
|
||||
__property int BufferWidth = {read=GetBufferWidth, nodefault};
|
||||
__property int BufferHeight = {read=GetBufferHeight, nodefault};
|
||||
__property void * BufferBits = {read=GetBufferBits};
|
||||
__property float ScreenScale = {read=GetScreenScale};
|
||||
__property float ForcedDeviceScaleFactor = {read=FForcedDeviceScaleFactor, write=FForcedDeviceScaleFactor};
|
||||
__property bool MustInitBuffer = {read=FMustInitBuffer, write=FMustInitBuffer, nodefault};
|
||||
__property Vcl::Graphics::TBitmap* Buffer = {read=FBuffer};
|
||||
__property Ucefbitmapbitbuffer::TCEFBitmapBitBuffer* OrigBuffer = {read=FOrigBuffer};
|
||||
__property int OrigBufferWidth = {read=GetOrigBufferWidth, nodefault};
|
||||
__property int OrigBufferHeight = {read=GetOrigBufferHeight, nodefault};
|
||||
__property Ucefbitmapbitbuffer::TCEFBitmapBitBuffer* OrigPopupBuffer = {read=FOrigPopupBuffer};
|
||||
__property int OrigPopupBufferWidth = {read=GetOrigPopupBufferWidth, nodefault};
|
||||
__property int OrigPopupBufferHeight = {read=GetOrigPopupBufferHeight, nodefault};
|
||||
__property void * OrigPopupBufferBits = {read=GetOrigPopupBufferBits};
|
||||
__property int OrigPopupScanlineSize = {read=FOrigPopupScanlineSize, nodefault};
|
||||
__property Uceftypes::TCefWindowHandle ParentFormHandle = {read=GetParentFormHandle, nodefault};
|
||||
__property Vcl::Forms::TCustomForm* ParentForm = {read=GetParentForm};
|
||||
__property DockManager;
|
||||
__property Canvas;
|
||||
|
||||
__published:
|
||||
__property System::Classes::TNotifyEvent OnIMECancelComposition = {read=FOnIMECancelComposition, write=FOnIMECancelComposition};
|
||||
__property TOnIMECommitTextEvent OnIMECommitText = {read=FOnIMECommitText, write=FOnIMECommitText};
|
||||
__property TOnIMESetCompositionEvent OnIMESetComposition = {read=FOnIMESetComposition, write=FOnIMESetComposition};
|
||||
__property TOnHandledMessageEvent OnCustomTouch = {read=FOnCustomTouch, write=FOnCustomTouch};
|
||||
__property TOnHandledMessageEvent OnPointerDown = {read=FOnPointerDown, write=FOnPointerDown};
|
||||
__property TOnHandledMessageEvent OnPointerUp = {read=FOnPointerUp, write=FOnPointerUp};
|
||||
__property TOnHandledMessageEvent OnPointerUpdate = {read=FOnPointerUpdate, write=FOnPointerUpdate};
|
||||
__property System::Classes::TNotifyEvent OnPaintParentBkg = {read=FOnPaintParentBkg, write=FOnPaintParentBkg};
|
||||
__property bool Transparent = {read=FTransparent, write=SetTransparent, default=0};
|
||||
__property bool CopyOriginalBuffer = {read=FCopyOriginalBuffer, write=FCopyOriginalBuffer, default=0};
|
||||
__property Align = {default=0};
|
||||
__property Alignment = {default=2};
|
||||
__property Anchors = {default=3};
|
||||
__property AutoSize = {default=0};
|
||||
__property BevelEdges = {default=15};
|
||||
__property BevelKind = {default=0};
|
||||
__property Ctl3D;
|
||||
__property Locked = {default=0};
|
||||
__property ParentBackground = {default=1};
|
||||
__property ParentCtl3D = {default=1};
|
||||
__property OnCanResize;
|
||||
__property BevelInner = {default=0};
|
||||
__property BevelOuter = {default=2};
|
||||
__property BevelWidth = {default=1};
|
||||
__property BiDiMode;
|
||||
__property BorderWidth = {default=0};
|
||||
__property BorderStyle = {default=0};
|
||||
__property Caption = {default=0};
|
||||
__property Color = {default=-16777201};
|
||||
__property Constraints;
|
||||
__property UseDockManager = {default=1};
|
||||
__property DockSite = {default=0};
|
||||
__property DoubleBuffered;
|
||||
__property DragCursor = {default=-12};
|
||||
__property DragKind = {default=0};
|
||||
__property DragMode = {default=0};
|
||||
__property Enabled = {default=1};
|
||||
__property FullRepaint = {default=1};
|
||||
__property Font;
|
||||
__property ParentBiDiMode = {default=1};
|
||||
__property ParentColor = {default=0};
|
||||
__property ParentFont = {default=1};
|
||||
__property ParentShowHint = {default=1};
|
||||
__property PopupMenu;
|
||||
__property ShowHint;
|
||||
__property TabOrder = {default=-1};
|
||||
__property TabStop = {default=0};
|
||||
__property Visible = {default=1};
|
||||
__property OnClick;
|
||||
__property OnConstrainedResize;
|
||||
__property OnContextPopup;
|
||||
__property OnDockDrop;
|
||||
__property OnDockOver;
|
||||
__property OnDblClick;
|
||||
__property OnDragDrop;
|
||||
__property OnDragOver;
|
||||
__property OnEndDock;
|
||||
__property OnEndDrag;
|
||||
__property OnEnter;
|
||||
__property OnExit;
|
||||
__property OnGetSiteInfo;
|
||||
__property OnMouseDown;
|
||||
__property OnMouseMove;
|
||||
__property OnMouseUp;
|
||||
__property OnMouseWheel;
|
||||
__property OnKeyDown;
|
||||
__property OnKeyPress;
|
||||
__property OnKeyUp;
|
||||
__property OnResize;
|
||||
__property OnStartDock;
|
||||
__property OnStartDrag;
|
||||
__property OnUnDock;
|
||||
__property VerticalAlignment = {default=2};
|
||||
__property OnAlignInsertBefore;
|
||||
__property OnAlignPosition;
|
||||
__property Padding;
|
||||
__property OnMouseActivate;
|
||||
__property OnMouseEnter;
|
||||
__property OnMouseLeave;
|
||||
__property ShowCaption = {default=1};
|
||||
__property ParentDoubleBuffered = {default=1};
|
||||
__property Touch;
|
||||
__property OnGesture;
|
||||
__property StyleElements = {default=7};
|
||||
public:
|
||||
/* TWinControl.CreateParented */ inline __fastcall TBufferPanel(HWND ParentWindow) : Vcl::Extctrls::TCustomPanel(ParentWindow) { }
|
||||
|
||||
};
|
||||
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefbufferpanel */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFBUFFERPANEL)
|
||||
using namespace Ucefbufferpanel;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFBufferPanelHPP
|
||||
@@ -0,0 +1,82 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFButton.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFButtonHPP
|
||||
#define uCEFButtonHPP
|
||||
|
||||
#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>
|
||||
#include <uCEFView.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefbutton
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefButtonRef;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefButtonRef : public Ucefview::TCefViewRef
|
||||
{
|
||||
typedef Ucefview::TCefViewRef inherited;
|
||||
|
||||
protected:
|
||||
Ucefinterfaces::_di_ICefLabelButton __fastcall AsLabelButton();
|
||||
void __fastcall SetState(Uceftypes::TCefButtonState state_);
|
||||
Uceftypes::TCefButtonState __fastcall GetState();
|
||||
void __fastcall SetInkDropEnabled(bool enabled_);
|
||||
void __fastcall SetTooltipText(const Uceftypes::ustring tooltip_text);
|
||||
void __fastcall SetAccessibleName(const Uceftypes::ustring name);
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefButton __fastcall UnWrap(void * data);
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefButtonRef(void * data) : Ucefview::TCefViewRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefButtonRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefButton; // Ucefinterfaces::ICefButton
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {D3D2E8A0-9F9C-4BD8-B495-655976534281}
|
||||
operator Ucefinterfaces::_di_ICefButton()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefButton intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefButton*(void) { return (Ucefinterfaces::ICefButton*)&__ICefButton; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefbutton */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFBUTTON)
|
||||
using namespace Ucefbutton;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFButtonHPP
|
||||
@@ -0,0 +1,97 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFButtonComponent.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFButtonComponentHPP
|
||||
#define uCEFButtonComponentHPP
|
||||
|
||||
#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 <uCEFViewsFrameworkEvents.hpp>
|
||||
#include <uCEFViewComponent.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefbuttoncomponent
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCEFButtonComponent;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
class PASCALIMPLEMENTATION TCEFButtonComponent : public Ucefviewcomponent::TCEFViewComponent
|
||||
{
|
||||
typedef Ucefviewcomponent::TCEFViewComponent inherited;
|
||||
|
||||
protected:
|
||||
Ucefinterfaces::_di_ICefButton FButton;
|
||||
Ucefviewsframeworkevents::TOnButtonPressedEvent FOnButtonPressed;
|
||||
Ucefviewsframeworkevents::TOnButtonStateChangedEvent FOnButtonStateChanged;
|
||||
virtual void __fastcall DestroyView();
|
||||
virtual void __fastcall Initialize();
|
||||
virtual bool __fastcall GetInitialized();
|
||||
virtual Ucefinterfaces::_di_ICefView __fastcall GetAsView();
|
||||
Uceftypes::TCefButtonState __fastcall GetState();
|
||||
virtual Ucefinterfaces::_di_ICefButton __fastcall GetAsButton();
|
||||
virtual Ucefinterfaces::_di_ICefLabelButton __fastcall GetAsLabelButton();
|
||||
void __fastcall SetState(Uceftypes::TCefButtonState state_);
|
||||
void __fastcall doOnButtonPressed(const Ucefinterfaces::_di_ICefButton button);
|
||||
void __fastcall doOnButtonStateChanged(const Ucefinterfaces::_di_ICefButton button);
|
||||
|
||||
public:
|
||||
void __fastcall SetInkDropEnabled(bool enabled_);
|
||||
void __fastcall SetTooltipText(const Uceftypes::ustring tooltip_text);
|
||||
void __fastcall SetAccessibleName(const Uceftypes::ustring name_);
|
||||
__property Ucefinterfaces::_di_ICefLabelButton AsLabelButton = {read=GetAsLabelButton};
|
||||
__property Uceftypes::TCefButtonState State = {read=GetState, write=SetState, nodefault};
|
||||
|
||||
__published:
|
||||
__property Ucefviewsframeworkevents::TOnButtonPressedEvent OnButtonPressed = {read=FOnButtonPressed, write=FOnButtonPressed};
|
||||
__property Ucefviewsframeworkevents::TOnButtonStateChangedEvent OnButtonStateChanged = {read=FOnButtonStateChanged, write=FOnButtonStateChanged};
|
||||
public:
|
||||
/* TCEFViewComponent.Create */ inline __fastcall virtual TCEFButtonComponent(System::Classes::TComponent* AOwner) : Ucefviewcomponent::TCEFViewComponent(AOwner) { }
|
||||
|
||||
public:
|
||||
/* TComponent.Destroy */ inline __fastcall virtual ~TCEFButtonComponent() { }
|
||||
|
||||
private:
|
||||
void *__ICefButtonDelegateEvents; // Ucefinterfaces::ICefButtonDelegateEvents
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {E8DF70BE-5DEB-42CF-AF86-B0FF1040498E}
|
||||
operator Ucefinterfaces::_di_ICefButtonDelegateEvents()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefButtonDelegateEvents intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefButtonDelegateEvents*(void) { return (Ucefinterfaces::ICefButtonDelegateEvents*)&__ICefButtonDelegateEvents; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefbuttoncomponent */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFBUTTONCOMPONENT)
|
||||
using namespace Ucefbuttoncomponent;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFButtonComponentHPP
|
||||
@@ -0,0 +1,147 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFButtonDelegate.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFButtonDelegateHPP
|
||||
#define uCEFButtonDelegateHPP
|
||||
|
||||
#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>
|
||||
#include <uCEFViewDelegate.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefbuttondelegate
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefButtonDelegateRef;
|
||||
class DELPHICLASS TCefButtonDelegateOwn;
|
||||
class DELPHICLASS TCustomButtonDelegate;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefButtonDelegateRef : public Ucefviewdelegate::TCefViewDelegateRef
|
||||
{
|
||||
typedef Ucefviewdelegate::TCefViewDelegateRef inherited;
|
||||
|
||||
protected:
|
||||
void __fastcall OnButtonPressed(const Ucefinterfaces::_di_ICefButton button);
|
||||
void __fastcall OnButtonStateChanged(const Ucefinterfaces::_di_ICefButton button);
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefButtonDelegate __fastcall UnWrap(void * data);
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefButtonDelegateRef(void * data) : Ucefviewdelegate::TCefViewDelegateRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefButtonDelegateRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefButtonDelegate; // Ucefinterfaces::ICefButtonDelegate
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {EA1EB5A4-DFB0-4A13-A23B-54FAF9401B39}
|
||||
operator Ucefinterfaces::_di_ICefButtonDelegate()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefButtonDelegate intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefButtonDelegate*(void) { return (Ucefinterfaces::ICefButtonDelegate*)&__ICefButtonDelegate; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefButtonDelegateOwn : public Ucefviewdelegate::TCefViewDelegateOwn
|
||||
{
|
||||
typedef Ucefviewdelegate::TCefViewDelegateOwn inherited;
|
||||
|
||||
protected:
|
||||
virtual void __fastcall OnButtonPressed(const Ucefinterfaces::_di_ICefButton button);
|
||||
virtual void __fastcall OnButtonStateChanged(const Ucefinterfaces::_di_ICefButton button);
|
||||
virtual void __fastcall InitializeCEFMethods();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCefButtonDelegateOwn();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefButtonDelegateOwn(unsigned size, bool owned) : Ucefviewdelegate::TCefViewDelegateOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefButtonDelegateOwn() { }
|
||||
|
||||
private:
|
||||
void *__ICefButtonDelegate; // Ucefinterfaces::ICefButtonDelegate
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {EA1EB5A4-DFB0-4A13-A23B-54FAF9401B39}
|
||||
operator Ucefinterfaces::_di_ICefButtonDelegate()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefButtonDelegate intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefButtonDelegate*(void) { return (Ucefinterfaces::ICefButtonDelegate*)&__ICefButtonDelegate; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCustomButtonDelegate : public TCefButtonDelegateOwn
|
||||
{
|
||||
typedef TCefButtonDelegateOwn inherited;
|
||||
|
||||
protected:
|
||||
void *FEvents;
|
||||
virtual void __fastcall OnGetPreferredSize(const Ucefinterfaces::_di_ICefView view, Uceftypes::TCefSize &aResult);
|
||||
virtual void __fastcall OnGetMinimumSize(const Ucefinterfaces::_di_ICefView view, Uceftypes::TCefSize &aResult);
|
||||
virtual void __fastcall OnGetMaximumSize(const Ucefinterfaces::_di_ICefView view, Uceftypes::TCefSize &aResult);
|
||||
virtual void __fastcall OnGetHeightForWidth(const Ucefinterfaces::_di_ICefView view, int width, int &aResult);
|
||||
virtual void __fastcall OnParentViewChanged(const Ucefinterfaces::_di_ICefView view, bool added, const Ucefinterfaces::_di_ICefView parent);
|
||||
virtual void __fastcall OnChildViewChanged(const Ucefinterfaces::_di_ICefView view, bool added, const Ucefinterfaces::_di_ICefView child);
|
||||
virtual void __fastcall OnWindowChanged(const Ucefinterfaces::_di_ICefView view, bool added);
|
||||
virtual void __fastcall OnLayoutChanged(const Ucefinterfaces::_di_ICefView view, const Uceftypes::TCefRect &new_bounds);
|
||||
virtual void __fastcall OnFocus(const Ucefinterfaces::_di_ICefView view);
|
||||
virtual void __fastcall OnBlur(const Ucefinterfaces::_di_ICefView view);
|
||||
virtual void __fastcall OnThemeChanged(const Ucefinterfaces::_di_ICefView view);
|
||||
virtual void __fastcall OnButtonPressed(const Ucefinterfaces::_di_ICefButton button);
|
||||
virtual void __fastcall OnButtonStateChanged(const Ucefinterfaces::_di_ICefButton button);
|
||||
|
||||
public:
|
||||
__fastcall TCustomButtonDelegate(const Ucefinterfaces::_di_ICefButtonDelegateEvents events);
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomButtonDelegate(unsigned size, bool owned) : TCefButtonDelegateOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCustomButtonDelegate() { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefbuttondelegate */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFBUTTONDELEGATE)
|
||||
using namespace Ucefbuttondelegate;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFButtonDelegateHPP
|
||||
@@ -0,0 +1,75 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFCallback.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFCallbackHPP
|
||||
#define uCEFCallbackHPP
|
||||
|
||||
#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 Ucefcallback
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefCallbackRef;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefCallbackRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
|
||||
|
||||
protected:
|
||||
void __fastcall Cont();
|
||||
void __fastcall Cancel();
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefCallback __fastcall UnWrap(void * data);
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefCallbackRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefCallbackRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefCallback; // Ucefinterfaces::ICefCallback
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {1B8C449F-E2D6-4B78-9BBA-6F47E8BCDF37}
|
||||
operator Ucefinterfaces::_di_ICefCallback()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefCallback intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefCallback*(void) { return (Ucefinterfaces::ICefCallback*)&__ICefCallback; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefcallback */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFCALLBACK)
|
||||
using namespace Ucefcallback;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFCallbackHPP
|
||||
@@ -0,0 +1,82 @@
|
||||
// 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
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,316 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFChromiumEvents.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFChromiumEventsHPP
|
||||
#define uCEFChromiumEventsHPP
|
||||
|
||||
#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 <Winapi.Messages.hpp>
|
||||
#include <uCEFTypes.hpp>
|
||||
#include <uCEFInterfaces.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefchromiumevents
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
//-- type declarations -------------------------------------------------------
|
||||
typedef void __fastcall (__closure *TOnProcessMessageReceived)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, Uceftypes::TCefProcessId sourceProcess, const Ucefinterfaces::_di_ICefProcessMessage message, /* out */ bool &Result);
|
||||
|
||||
typedef void __fastcall (__closure *TOnLoadStart)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, Uceftypes::TCefTransitionType transitionType);
|
||||
|
||||
typedef void __fastcall (__closure *TOnLoadEnd)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, int httpStatusCode);
|
||||
|
||||
typedef void __fastcall (__closure *TOnLoadError)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, Uceftypes::TCefErrorCode errorCode, const Uceftypes::ustring errorText, const Uceftypes::ustring failedUrl);
|
||||
|
||||
typedef void __fastcall (__closure *TOnLoadingStateChange)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, bool isLoading, bool canGoBack, bool canGoForward);
|
||||
|
||||
typedef void __fastcall (__closure *TOnTakeFocus)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, bool next_);
|
||||
|
||||
typedef void __fastcall (__closure *TOnSetFocus)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefFocusSource source, /* out */ bool &Result);
|
||||
|
||||
typedef void __fastcall (__closure *TOnGotFocus)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
|
||||
typedef void __fastcall (__closure *TOnBeforeContextMenu)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefContextMenuParams params, const Ucefinterfaces::_di_ICefMenuModel model);
|
||||
|
||||
typedef void __fastcall (__closure *TOnRunContextMenu)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefContextMenuParams params, const Ucefinterfaces::_di_ICefMenuModel model, const Ucefinterfaces::_di_ICefRunContextMenuCallback callback, bool &aResult);
|
||||
|
||||
typedef void __fastcall (__closure *TOnContextMenuCommand)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefContextMenuParams params, int commandId, Uceftypes::TCefEventFlags eventFlags, /* out */ bool &Result);
|
||||
|
||||
typedef void __fastcall (__closure *TOnContextMenuDismissed)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame);
|
||||
|
||||
typedef void __fastcall (__closure *TOnRunQuickMenuEvent)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Uceftypes::TCefPoint &location, const Uceftypes::TCefSize &size, Uceftypes::TCefQuickMenuEditStateFlags edit_state_flags, const Ucefinterfaces::_di_ICefRunQuickMenuCallback callback, bool &aResult);
|
||||
|
||||
typedef void __fastcall (__closure *TOnQuickMenuCommandEvent)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, int command_id, Uceftypes::TCefEventFlags event_flags, bool &aResult);
|
||||
|
||||
typedef void __fastcall (__closure *TOnQuickMenuDismissedEvent)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame);
|
||||
|
||||
typedef void __fastcall (__closure *TOnPreKeyEvent)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefKeyEvent event, Uceftypes::TCefEventHandle osEvent, /* out */ bool &isKeyboardShortcut, /* out */ bool &Result);
|
||||
|
||||
typedef void __fastcall (__closure *TOnKeyEvent)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefKeyEvent event, Uceftypes::TCefEventHandle osEvent, /* out */ bool &Result);
|
||||
|
||||
typedef void __fastcall (__closure *TOnAddressChange)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Uceftypes::ustring url);
|
||||
|
||||
typedef void __fastcall (__closure *TOnTitleChange)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring title);
|
||||
|
||||
typedef void __fastcall (__closure *TOnFavIconUrlChange)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, System::Classes::TStrings* const iconUrls);
|
||||
|
||||
typedef void __fastcall (__closure *TOnFullScreenModeChange)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, bool fullscreen);
|
||||
|
||||
typedef void __fastcall (__closure *TOnTooltip)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::ustring &text, /* out */ bool &Result);
|
||||
|
||||
typedef void __fastcall (__closure *TOnStatusMessage)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring value);
|
||||
|
||||
typedef void __fastcall (__closure *TOnConsoleMessage)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefLogSeverity level, const Uceftypes::ustring message, const Uceftypes::ustring source, int line, /* out */ bool &Result);
|
||||
|
||||
typedef void __fastcall (__closure *TOnAutoResize)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefSize new_size, /* out */ bool &Result);
|
||||
|
||||
typedef void __fastcall (__closure *TOnLoadingProgressChange)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const double progress);
|
||||
|
||||
typedef void __fastcall (__closure *TOnCursorChange)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefCursorHandle cursor_, Uceftypes::TCefCursorType cursorType, const Uceftypes::PCefCursorInfo customCursorInfo, bool &aResult);
|
||||
|
||||
typedef void __fastcall (__closure *TOnMediaAccessChange)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, bool has_video_access, bool has_audio_access);
|
||||
|
||||
typedef void __fastcall (__closure *TOnContentsBoundsChange)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefRect new_bounds, bool &aResult);
|
||||
|
||||
typedef void __fastcall (__closure *TOnGetRootWindowScreenRect)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::PCefRect rect_, bool &aResult);
|
||||
|
||||
typedef void __fastcall (__closure *TOnCanDownloadEvent)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring url, const Uceftypes::ustring request_method, bool &aResult);
|
||||
|
||||
typedef void __fastcall (__closure *TOnBeforeDownload)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefDownloadItem downloadItem, const Uceftypes::ustring suggestedName, const Ucefinterfaces::_di_ICefBeforeDownloadCallback callback, bool &aResult);
|
||||
|
||||
typedef void __fastcall (__closure *TOnDownloadUpdated)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefDownloadItem downloadItem, const Ucefinterfaces::_di_ICefDownloadItemCallback callback);
|
||||
|
||||
typedef void __fastcall (__closure *TOnJsdialog)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring originUrl, Uceftypes::TCefJsDialogType dialogType, const Uceftypes::ustring messageText, const Uceftypes::ustring defaultPromptText, const Ucefinterfaces::_di_ICefJsDialogCallback callback, /* out */ bool &suppressMessage, /* out */ bool &Result);
|
||||
|
||||
typedef void __fastcall (__closure *TOnBeforeUnloadDialog)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring messageText, bool isReload, const Ucefinterfaces::_di_ICefJsDialogCallback callback, /* out */ bool &Result);
|
||||
|
||||
typedef void __fastcall (__closure *TOnResetDialogState)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
|
||||
typedef void __fastcall (__closure *TOnDialogClosed)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
|
||||
typedef void __fastcall (__closure *TOnBeforePopup)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, int popup_id, const Uceftypes::ustring targetUrl, const Uceftypes::ustring targetFrameName, Uceftypes::TCefWindowOpenDisposition targetDisposition, bool userGesture, const Uceftypes::TCefPopupFeatures &popupFeatures, Uceftypes::TCefWindowInfo &windowInfo, Ucefinterfaces::_di_ICefClient &client, Uceftypes::TCefBrowserSettings &settings, Ucefinterfaces::_di_ICefDictionaryValue &extra_info, bool &noJavascriptAccess, bool &Result);
|
||||
|
||||
typedef void __fastcall (__closure *TOnBeforePopupAborted)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, int popup_id);
|
||||
|
||||
typedef void __fastcall (__closure *TOnBeforeDevToolsPopup)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefWindowInfo &windowInfo, Ucefinterfaces::_di_ICefClient &client, Uceftypes::TCefBrowserSettings &settings, Ucefinterfaces::_di_ICefDictionaryValue &extra_info, bool &use_default_window);
|
||||
|
||||
typedef void __fastcall (__closure *TOnAfterCreated)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
|
||||
typedef void __fastcall (__closure *TOnBeforeClose)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
|
||||
typedef void __fastcall (__closure *TOnClose)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefCloseBrowserAction &aAction);
|
||||
|
||||
typedef void __fastcall (__closure *TOnBeforeBrowse)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, bool user_gesture, bool isRedirect, /* out */ bool &Result);
|
||||
|
||||
typedef void __fastcall (__closure *TOnOpenUrlFromTab)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Uceftypes::ustring targetUrl, Uceftypes::TCefWindowOpenDisposition targetDisposition, bool userGesture, /* out */ bool &Result);
|
||||
|
||||
typedef void __fastcall (__closure *TOnGetAuthCredentials)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring originUrl, bool isProxy, const Uceftypes::ustring host, int port, const Uceftypes::ustring realm, const Uceftypes::ustring scheme, const Ucefinterfaces::_di_ICefAuthCallback callback, /* out */ bool &Result);
|
||||
|
||||
typedef void __fastcall (__closure *TOnCertificateError)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefErrorCode certError, const Uceftypes::ustring requestUrl, const Ucefinterfaces::_di_ICefSslInfo sslInfo, const Ucefinterfaces::_di_ICefCallback callback, /* out */ bool &Result);
|
||||
|
||||
typedef void __fastcall (__closure *TOnSelectClientCertificate)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, bool isProxy, const Uceftypes::ustring host, int port, System::NativeUInt certificatesCount, const Ucefinterfaces::TCefX509CertificateArray certificates, const Ucefinterfaces::_di_ICefSelectClientCertificateCallback callback, bool &aResult);
|
||||
|
||||
typedef void __fastcall (__closure *TOnRenderViewReady)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
|
||||
typedef void __fastcall (__closure *TOnRenderProcessUnresponsive)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefUnresponsiveProcessCallback callback, bool &aResult);
|
||||
|
||||
typedef void __fastcall (__closure *TOnRenderProcessResponsive)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
|
||||
typedef void __fastcall (__closure *TOnRenderProcessTerminated)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefTerminationStatus status, int error_code, const Uceftypes::ustring error_string);
|
||||
|
||||
typedef void __fastcall (__closure *TOnGetResourceRequestHandler)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, bool is_navigation, bool is_download, const Uceftypes::ustring request_initiator, bool &disable_default_handling, Ucefinterfaces::_di_ICefResourceRequestHandler &aExternalResourceRequestHandler);
|
||||
|
||||
typedef void __fastcall (__closure *TOnDocumentAvailableInMainFrame)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
|
||||
typedef void __fastcall (__closure *TOnBeforeResourceLoad)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefCallback callback, /* out */ Uceftypes::TCefReturnValue &Result);
|
||||
|
||||
typedef void __fastcall (__closure *TOnGetResourceHandler)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, Ucefinterfaces::_di_ICefResourceHandler &aResourceHandler);
|
||||
|
||||
typedef void __fastcall (__closure *TOnResourceRedirect)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefResponse response, Uceftypes::ustring &newUrl);
|
||||
|
||||
typedef void __fastcall (__closure *TOnResourceResponse)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefResponse response, /* out */ bool &Result);
|
||||
|
||||
typedef void __fastcall (__closure *TOnGetResourceResponseFilter)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefResponse response, /* out */ Ucefinterfaces::_di_ICefResponseFilter &Result);
|
||||
|
||||
typedef void __fastcall (__closure *TOnResourceLoadComplete)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefResponse response, Uceftypes::TCefUrlRequestStatus status, __int64 receivedContentLength);
|
||||
|
||||
typedef void __fastcall (__closure *TOnProtocolExecution)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, bool &allowOsExecution);
|
||||
|
||||
typedef void __fastcall (__closure *TOnCanSendCookie)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, const Uceftypes::PCefCookie cookie, bool &aResult);
|
||||
|
||||
typedef void __fastcall (__closure *TOnCanSaveCookie)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefResponse response, const Uceftypes::PCefCookie cookie, bool &aResult);
|
||||
|
||||
typedef void __fastcall (__closure *TOnFileDialog)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefFileDialogMode mode, const Uceftypes::ustring title, const Uceftypes::ustring defaultFilePath, System::Classes::TStrings* const acceptFilters, System::Classes::TStrings* const accept_extensions, System::Classes::TStrings* const accept_descriptions, const Ucefinterfaces::_di_ICefFileDialogCallback callback, bool &Result);
|
||||
|
||||
typedef void __fastcall (__closure *TOnGetAccessibilityHandler)(System::TObject* Sender, Ucefinterfaces::_di_ICefAccessibilityHandler &aAccessibilityHandler);
|
||||
|
||||
typedef void __fastcall (__closure *TOnGetRootScreenRect)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefRect &rect, /* out */ bool &Result);
|
||||
|
||||
typedef void __fastcall (__closure *TOnGetViewRect)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefRect &rect);
|
||||
|
||||
typedef void __fastcall (__closure *TOnGetScreenPoint)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, int viewX, int viewY, int &screenX, int &screenY, /* out */ bool &Result);
|
||||
|
||||
typedef void __fastcall (__closure *TOnGetScreenInfo)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefScreenInfo &screenInfo, /* out */ bool &Result);
|
||||
|
||||
typedef void __fastcall (__closure *TOnPopupShow)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, bool show);
|
||||
|
||||
typedef void __fastcall (__closure *TOnPopupSize)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefRect rect);
|
||||
|
||||
typedef void __fastcall (__closure *TOnPaint)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefPaintElementType type_, System::NativeUInt dirtyRectsCount, const Uceftypes::PCefRectArray dirtyRects, const void * buffer, int width, int height);
|
||||
|
||||
typedef void __fastcall (__closure *TOnAcceleratedPaint)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefPaintElementType type_, System::NativeUInt dirtyRectsCount, const Uceftypes::PCefRectArray dirtyRects, const Uceftypes::PCefAcceleratedPaintInfo info);
|
||||
|
||||
typedef void __fastcall (__closure *TOnGetTouchHandleSize)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefHorizontalAlignment orientation, Uceftypes::TCefSize &size);
|
||||
|
||||
typedef void __fastcall (__closure *TOnTouchHandleStateChanged)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::TCefTouchHandleState &state);
|
||||
|
||||
typedef void __fastcall (__closure *TOnStartDragging)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefDragData dragData, Uceftypes::TCefDragOperations allowedOps, int x, int y, /* out */ bool &Result);
|
||||
|
||||
typedef void __fastcall (__closure *TOnUpdateDragCursor)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefDragOperation operation);
|
||||
|
||||
typedef void __fastcall (__closure *TOnScrollOffsetChanged)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, double x, double y);
|
||||
|
||||
typedef void __fastcall (__closure *TOnIMECompositionRangeChanged)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefRange selected_range, System::NativeUInt character_boundsCount, const Uceftypes::PCefRect character_bounds);
|
||||
|
||||
typedef void __fastcall (__closure *TOnTextSelectionChanged)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring selected_text, const Uceftypes::PCefRange selected_range);
|
||||
|
||||
typedef void __fastcall (__closure *TOnVirtualKeyboardRequested)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefTextInpuMode input_mode);
|
||||
|
||||
typedef void __fastcall (__closure *TOnDragEnter)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefDragData dragData, Uceftypes::TCefDragOperations mask, /* out */ bool &Result);
|
||||
|
||||
typedef void __fastcall (__closure *TOnDraggableRegionsChanged)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, System::NativeUInt regionsCount, const Uceftypes::PCefDraggableRegionArray regions);
|
||||
|
||||
typedef void __fastcall (__closure *TOnFindResult)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, int identifier, int count, const Uceftypes::PCefRect selectionRect, int activeMatchOrdinal, bool finalUpdate);
|
||||
|
||||
typedef void __fastcall (__closure *TOnRequestContextInitialized)(System::TObject* Sender, const Ucefinterfaces::_di_ICefRequestContext request_context);
|
||||
|
||||
typedef void __fastcall (__closure *TOnSinksEvent)(System::TObject* Sender, const Ucefinterfaces::TCefMediaSinkArray sinks);
|
||||
|
||||
typedef void __fastcall (__closure *TOnRoutesEvent)(System::TObject* Sender, const Ucefinterfaces::TCefMediaRouteArray routes);
|
||||
|
||||
typedef void __fastcall (__closure *TOnRouteStateChangedEvent)(System::TObject* Sender, const Ucefinterfaces::_di_ICefMediaRoute route, Uceftypes::TCefMediaRouteConnectionState state);
|
||||
|
||||
typedef void __fastcall (__closure *TOnRouteMessageReceivedEvent)(System::TObject* Sender, const Ucefinterfaces::_di_ICefMediaRoute route, const Uceftypes::ustring message_);
|
||||
|
||||
typedef void __fastcall (__closure *TOnGetAudioParametersEvent)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefAudioParameters ¶ms, bool &aResult);
|
||||
|
||||
typedef void __fastcall (__closure *TOnAudioStreamStartedEvent)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::TCefAudioParameters ¶ms, int channels);
|
||||
|
||||
typedef void __fastcall (__closure *TOnAudioStreamPacketEvent)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PPSingle data, int frames, __int64 pts);
|
||||
|
||||
typedef void __fastcall (__closure *TOnAudioStreamStoppedEvent)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
|
||||
typedef void __fastcall (__closure *TOnAudioStreamErrorEvent)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring message_);
|
||||
|
||||
typedef void __fastcall (__closure *TOnDevToolsMessageEvent)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefValue message_, bool &aHandled);
|
||||
|
||||
typedef void __fastcall (__closure *TOnDevToolsRawMessageEvent)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const void * message_, System::NativeUInt message_size, bool &aHandled);
|
||||
|
||||
typedef void __fastcall (__closure *TOnDevToolsMethodResultEvent)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, int message_id, bool success, const Ucefinterfaces::_di_ICefValue result);
|
||||
|
||||
typedef void __fastcall (__closure *TOnDevToolsMethodRawResultEvent)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, int message_id, bool success, const void * result, System::NativeUInt result_size);
|
||||
|
||||
typedef void __fastcall (__closure *TOnDevToolsEventEvent)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring method, const Ucefinterfaces::_di_ICefValue params);
|
||||
|
||||
typedef void __fastcall (__closure *TOnDevToolsEventRawEvent)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring method, const void * params, System::NativeUInt params_size);
|
||||
|
||||
typedef void __fastcall (__closure *TOnDevToolsAgentAttachedEvent)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
|
||||
typedef void __fastcall (__closure *TOnDevToolsAgentDetachedEvent)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
|
||||
typedef void __fastcall (__closure *TOnPrintStartEvent)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
|
||||
typedef void __fastcall (__closure *TOnPrintSettingsEvent)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefPrintSettings settings, bool getDefaults);
|
||||
|
||||
typedef void __fastcall (__closure *TOnPrintDialogEvent)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, bool hasSelection, const Ucefinterfaces::_di_ICefPrintDialogCallback callback, bool &aResult);
|
||||
|
||||
typedef void __fastcall (__closure *TOnPrintJobEvent)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring documentName, const Uceftypes::ustring PDFFilePath, const Ucefinterfaces::_di_ICefPrintJobCallback callback, bool &aResult);
|
||||
|
||||
typedef void __fastcall (__closure *TOnPrintResetEvent)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
|
||||
typedef void __fastcall (__closure *TOnGetPDFPaperSizeEvent)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, int deviceUnitsPerInch, Uceftypes::TCefSize &aResult);
|
||||
|
||||
typedef void __fastcall (__closure *TOnFrameCreated)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame);
|
||||
|
||||
typedef void __fastcall (__closure *TOnFrameDestroyed)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame);
|
||||
|
||||
typedef void __fastcall (__closure *TOnFrameAttached)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, bool reattached);
|
||||
|
||||
typedef void __fastcall (__closure *TOnFrameDetached)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame);
|
||||
|
||||
typedef void __fastcall (__closure *TOnMainFrameChanged)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame old_frame, const Ucefinterfaces::_di_ICefFrame new_frame);
|
||||
|
||||
typedef void __fastcall (__closure *TOnChromeCommandEvent)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, int command_id, Uceftypes::TCefWindowOpenDisposition disposition, bool &aResult);
|
||||
|
||||
typedef void __fastcall (__closure *TOnIsChromeAppMenuItemVisibleEvent)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, int command_id, bool &aResult);
|
||||
|
||||
typedef void __fastcall (__closure *TOnIsChromeAppMenuItemEnabledEvent)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, int command_id, bool &aResult);
|
||||
|
||||
typedef void __fastcall (__closure *TOnIsChromePageActionIconVisibleEvent)(System::TObject* Sender, Uceftypes::TCefChromePageActionIconType icon_type, bool &aResult);
|
||||
|
||||
typedef void __fastcall (__closure *TOnIsChromeToolbarButtonVisibleEvent)(System::TObject* Sender, Uceftypes::TCefChromeToolbarButtonType button_type, bool &aResult);
|
||||
|
||||
typedef void __fastcall (__closure *TOnRequestMediaAccessPermissionEvent)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Uceftypes::ustring requesting_origin, unsigned requested_permissions, const Ucefinterfaces::_di_ICefMediaAccessCallback callback, bool &aResult);
|
||||
|
||||
typedef void __fastcall (__closure *TOnShowPermissionPromptEvent)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, unsigned __int64 prompt_id, const Uceftypes::ustring requesting_origin, unsigned requested_permissions, const Ucefinterfaces::_di_ICefPermissionPromptCallback callback, bool &aResult);
|
||||
|
||||
typedef void __fastcall (__closure *TOnDismissPermissionPromptEvent)(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, unsigned __int64 prompt_id, Uceftypes::TCefPermissionRequestResult result);
|
||||
|
||||
typedef void __fastcall (__closure *TOnPreferenceChangedEvent)(System::TObject* Sender, const Uceftypes::ustring name_);
|
||||
|
||||
typedef void __fastcall (__closure *TOnSettingChangedEvent)(System::TObject* Sender, const Uceftypes::ustring requesting_url, const Uceftypes::ustring top_level_url, Uceftypes::TCefContentSettingTypes content_type);
|
||||
|
||||
typedef void __fastcall (__closure *TOnTextResultAvailableEvent)(System::TObject* Sender, const Uceftypes::ustring aText);
|
||||
|
||||
typedef void __fastcall (__closure *TOnPdfPrintFinishedEvent)(System::TObject* Sender, bool aResultOK);
|
||||
|
||||
typedef void __fastcall (__closure *TOnPrefsAvailableEvent)(System::TObject* Sender, bool aResultOK);
|
||||
|
||||
typedef void __fastcall (__closure *TOnCookiesDeletedEvent)(System::TObject* Sender, int numDeleted);
|
||||
|
||||
typedef void __fastcall (__closure *TOnResolvedIPsAvailableEvent)(System::TObject* Sender, Uceftypes::TCefErrorCode result, System::Classes::TStrings* const resolvedIps);
|
||||
|
||||
typedef void __fastcall (__closure *TOnNavigationVisitorResultAvailableEvent)(System::TObject* Sender, const Ucefinterfaces::_di_ICefNavigationEntry entry, bool current, int index, int total, bool &aResult);
|
||||
|
||||
typedef void __fastcall (__closure *TOnDownloadImageFinishedEvent)(System::TObject* Sender, const Uceftypes::ustring imageUrl, int httpStatusCode, const Ucefinterfaces::_di_ICefImage image);
|
||||
|
||||
typedef void __fastcall (__closure *TOnExecuteTaskOnCefThread)(System::TObject* Sender, unsigned aTaskID);
|
||||
|
||||
typedef void __fastcall (__closure *TOnCookiesVisited)(System::TObject* Sender, const Uceftypes::ustring name_, const Uceftypes::ustring value, const Uceftypes::ustring domain, const Uceftypes::ustring path, bool secure, bool httponly, bool hasExpires, const System::TDateTime creation, const System::TDateTime lastAccess, const System::TDateTime expires, int count, int total, int aID, Uceftypes::TCefCookieSameSite same_site, Uceftypes::TCefCookiePriority priority, bool &aDeleteCookie, bool &aResult);
|
||||
|
||||
typedef void __fastcall (__closure *TOnCookieVisitorDestroyed)(System::TObject* Sender, int aID);
|
||||
|
||||
typedef void __fastcall (__closure *TOnCookieSet)(System::TObject* Sender, bool aSuccess, int aID);
|
||||
|
||||
typedef void __fastcall (__closure *TOnZoomPctAvailable)(System::TObject* Sender, const double aZoomPct);
|
||||
|
||||
typedef void __fastcall (__closure *TOnMediaRouteCreateFinishedEvent)(System::TObject* Sender, Uceftypes::TCefMediaRouterCreateResult result, const Uceftypes::ustring error, const Ucefinterfaces::_di_ICefMediaRoute route);
|
||||
|
||||
typedef void __fastcall (__closure *TOnMediaSinkDeviceInfoEvent)(System::TObject* Sender, const Uceftypes::ustring ip_address, int port, const Uceftypes::ustring model_name);
|
||||
|
||||
typedef void __fastcall (__closure *TOnCompMsgEvent)(System::TObject* Sender, Winapi::Messages::TMessage &aMessage, bool &aHandled);
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefchromiumevents */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFCHROMIUMEVENTS)
|
||||
using namespace Ucefchromiumevents;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFChromiumEventsHPP
|
||||
@@ -0,0 +1,79 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFChromiumFontOptions.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFChromiumFontOptionsHPP
|
||||
#define uCEFChromiumFontOptionsHPP
|
||||
|
||||
#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 <uCEFTypes.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefchromiumfontoptions
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TChromiumFontOptions;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TChromiumFontOptions : public System::Classes::TPersistent
|
||||
{
|
||||
typedef System::Classes::TPersistent inherited;
|
||||
|
||||
protected:
|
||||
Uceftypes::ustring FStandardFontFamily;
|
||||
Uceftypes::ustring FCursiveFontFamily;
|
||||
Uceftypes::ustring FSansSerifFontFamily;
|
||||
int FMinimumLogicalFontSize;
|
||||
Uceftypes::ustring FFantasyFontFamily;
|
||||
Uceftypes::ustring FSerifFontFamily;
|
||||
int FDefaultFixedFontSize;
|
||||
int FDefaultFontSize;
|
||||
Uceftypes::TCefState FRemoteFontsDisabled;
|
||||
Uceftypes::ustring FFixedFontFamily;
|
||||
int FMinimumFontSize;
|
||||
|
||||
public:
|
||||
__fastcall virtual TChromiumFontOptions();
|
||||
|
||||
__published:
|
||||
__property Uceftypes::ustring StandardFontFamily = {read=FStandardFontFamily, write=FStandardFontFamily};
|
||||
__property Uceftypes::ustring FixedFontFamily = {read=FFixedFontFamily, write=FFixedFontFamily};
|
||||
__property Uceftypes::ustring SerifFontFamily = {read=FSerifFontFamily, write=FSerifFontFamily};
|
||||
__property Uceftypes::ustring SansSerifFontFamily = {read=FSansSerifFontFamily, write=FSansSerifFontFamily};
|
||||
__property Uceftypes::ustring CursiveFontFamily = {read=FCursiveFontFamily, write=FCursiveFontFamily};
|
||||
__property Uceftypes::ustring FantasyFontFamily = {read=FFantasyFontFamily, write=FFantasyFontFamily};
|
||||
__property int DefaultFontSize = {read=FDefaultFontSize, write=FDefaultFontSize, default=0};
|
||||
__property int DefaultFixedFontSize = {read=FDefaultFixedFontSize, write=FDefaultFixedFontSize, default=0};
|
||||
__property int MinimumFontSize = {read=FMinimumFontSize, write=FMinimumFontSize, default=0};
|
||||
__property int MinimumLogicalFontSize = {read=FMinimumLogicalFontSize, write=FMinimumLogicalFontSize, default=0};
|
||||
__property Uceftypes::TCefState RemoteFonts = {read=FRemoteFontsDisabled, write=FRemoteFontsDisabled, default=0};
|
||||
public:
|
||||
/* TPersistent.Destroy */ inline __fastcall virtual ~TChromiumFontOptions() { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefchromiumfontoptions */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFCHROMIUMFONTOPTIONS)
|
||||
using namespace Ucefchromiumfontoptions;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFChromiumFontOptionsHPP
|
||||
@@ -0,0 +1,88 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFChromiumOptions.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFChromiumOptionsHPP
|
||||
#define uCEFChromiumOptionsHPP
|
||||
|
||||
#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 <uCEFTypes.hpp>
|
||||
#include <uCEFConstants.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefchromiumoptions
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TChromiumOptions;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TChromiumOptions : public System::Classes::TPersistent
|
||||
{
|
||||
typedef System::Classes::TPersistent inherited;
|
||||
|
||||
protected:
|
||||
int FWindowlessFrameRate;
|
||||
Uceftypes::TCefState FJavascript;
|
||||
Uceftypes::TCefState FJavascriptCloseWindows;
|
||||
Uceftypes::TCefState FJavascriptAccessClipboard;
|
||||
Uceftypes::TCefState FJavascriptDomPaste;
|
||||
Uceftypes::TCefState FImageLoading;
|
||||
Uceftypes::TCefState FImageShrinkStandaloneToFit;
|
||||
Uceftypes::TCefState FTextAreaResize;
|
||||
Uceftypes::TCefState FTabToLinks;
|
||||
Uceftypes::TCefState FLocalStorage;
|
||||
Uceftypes::TCefState FDatabases;
|
||||
Uceftypes::TCefState FWebgl;
|
||||
Uceftypes::TCefColor FBackgroundColor;
|
||||
Uceftypes::TCefState FChromeStatusBubble;
|
||||
Uceftypes::TCefState FChromeZoomBubble;
|
||||
|
||||
public:
|
||||
__fastcall virtual TChromiumOptions();
|
||||
|
||||
__published:
|
||||
__property Uceftypes::TCefState Javascript = {read=FJavascript, write=FJavascript, default=0};
|
||||
__property Uceftypes::TCefState JavascriptCloseWindows = {read=FJavascriptCloseWindows, write=FJavascriptCloseWindows, default=0};
|
||||
__property Uceftypes::TCefState JavascriptAccessClipboard = {read=FJavascriptAccessClipboard, write=FJavascriptAccessClipboard, default=0};
|
||||
__property Uceftypes::TCefState JavascriptDomPaste = {read=FJavascriptDomPaste, write=FJavascriptDomPaste, default=0};
|
||||
__property Uceftypes::TCefState ImageLoading = {read=FImageLoading, write=FImageLoading, default=0};
|
||||
__property Uceftypes::TCefState ImageShrinkStandaloneToFit = {read=FImageShrinkStandaloneToFit, write=FImageShrinkStandaloneToFit, default=0};
|
||||
__property Uceftypes::TCefState TextAreaResize = {read=FTextAreaResize, write=FTextAreaResize, default=0};
|
||||
__property Uceftypes::TCefState TabToLinks = {read=FTabToLinks, write=FTabToLinks, default=0};
|
||||
__property Uceftypes::TCefState LocalStorage = {read=FLocalStorage, write=FLocalStorage, default=0};
|
||||
__property Uceftypes::TCefState Databases = {read=FDatabases, write=FDatabases, default=0};
|
||||
__property Uceftypes::TCefState Webgl = {read=FWebgl, write=FWebgl, default=0};
|
||||
__property Uceftypes::TCefColor BackgroundColor = {read=FBackgroundColor, write=FBackgroundColor, default=0};
|
||||
__property int WindowlessFrameRate = {read=FWindowlessFrameRate, write=FWindowlessFrameRate, default=30};
|
||||
__property Uceftypes::TCefState ChromeStatusBubble = {read=FChromeStatusBubble, write=FChromeStatusBubble, default=0};
|
||||
__property Uceftypes::TCefState ChromeZoomBubble = {read=FChromeZoomBubble, write=FChromeZoomBubble, default=0};
|
||||
public:
|
||||
/* TPersistent.Destroy */ inline __fastcall virtual ~TChromiumOptions() { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefchromiumoptions */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFCHROMIUMOPTIONS)
|
||||
using namespace Ucefchromiumoptions;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFChromiumOptionsHPP
|
||||
@@ -0,0 +1,88 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFChromiumWindow.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFChromiumWindowHPP
|
||||
#define uCEFChromiumWindowHPP
|
||||
|
||||
#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 <Winapi.Messages.hpp>
|
||||
#include <System.Classes.hpp>
|
||||
#include <Vcl.Controls.hpp>
|
||||
#include <uCEFWindowParent.hpp>
|
||||
#include <uCEFChromium.hpp>
|
||||
#include <uCEFInterfaces.hpp>
|
||||
#include <uCEFConstants.hpp>
|
||||
#include <uCEFTypes.hpp>
|
||||
#include <uCEFWinControl.hpp>
|
||||
#include <uCEFLinkedWinControlBase.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefchromiumwindow
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TChromiumWindow;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
class PASCALIMPLEMENTATION TChromiumWindow : public Uceflinkedwincontrolbase::TCEFLinkedWinControlBase
|
||||
{
|
||||
typedef Uceflinkedwincontrolbase::TCEFLinkedWinControlBase inherited;
|
||||
|
||||
protected:
|
||||
Ucefchromium::TChromium* FChromium;
|
||||
System::Classes::TNotifyEvent FOnClose;
|
||||
System::Classes::TNotifyEvent FOnBeforeClose;
|
||||
System::Classes::TNotifyEvent FOnAfterCreated;
|
||||
virtual Ucefchromium::TChromium* __fastcall GetChromium();
|
||||
bool __fastcall GetBrowserInitialized();
|
||||
MESSAGE void __fastcall OnCloseMsg(Winapi::Messages::TMessage &aMessage);
|
||||
MESSAGE void __fastcall OnAfterCreatedMsg(Winapi::Messages::TMessage &aMessage);
|
||||
void __fastcall WebBrowser_OnClose(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefCloseBrowserAction &aAction);
|
||||
void __fastcall WebBrowser_OnBeforeClose(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
void __fastcall WebBrowser_OnAfterCreated(System::TObject* Sender, const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
DYNAMIC void __fastcall DoEnter();
|
||||
DYNAMIC void __fastcall DoExit();
|
||||
|
||||
public:
|
||||
__fastcall virtual TChromiumWindow(System::Classes::TComponent* AOwner);
|
||||
virtual void __fastcall AfterConstruction();
|
||||
bool __fastcall CreateBrowser();
|
||||
void __fastcall CloseBrowser(bool aForceClose);
|
||||
void __fastcall LoadURL(const Uceftypes::ustring aURL);
|
||||
void __fastcall NotifyMoveOrResizeStarted();
|
||||
__property Ucefchromium::TChromium* ChromiumBrowser = {read=GetChromium};
|
||||
__property bool Initialized = {read=GetBrowserInitialized, nodefault};
|
||||
|
||||
__published:
|
||||
__property System::Classes::TNotifyEvent OnClose = {read=FOnClose, write=FOnClose};
|
||||
__property System::Classes::TNotifyEvent OnBeforeClose = {read=FOnBeforeClose, write=FOnBeforeClose};
|
||||
__property System::Classes::TNotifyEvent OnAfterCreated = {read=FOnAfterCreated, write=FOnAfterCreated};
|
||||
public:
|
||||
/* TWinControl.CreateParented */ inline __fastcall TChromiumWindow(HWND ParentWindow) : Uceflinkedwincontrolbase::TCEFLinkedWinControlBase(ParentWindow) { }
|
||||
/* TWinControl.Destroy */ inline __fastcall virtual ~TChromiumWindow() { }
|
||||
|
||||
};
|
||||
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefchromiumwindow */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFCHROMIUMWINDOW)
|
||||
using namespace Ucefchromiumwindow;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFChromiumWindowHPP
|
||||
@@ -0,0 +1,206 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFClient.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFClientHPP
|
||||
#define uCEFClientHPP
|
||||
|
||||
#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 Ucefclient
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefClientRef;
|
||||
class DELPHICLASS TCefClientOwn;
|
||||
class DELPHICLASS TCustomClientHandler;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefClientRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
|
||||
|
||||
protected:
|
||||
virtual void __fastcall GetAudioHandler(Ucefinterfaces::_di_ICefAudioHandler &aHandler);
|
||||
virtual void __fastcall GetCommandHandler(Ucefinterfaces::_di_ICefCommandHandler &aHandler);
|
||||
virtual void __fastcall GetContextMenuHandler(Ucefinterfaces::_di_ICefContextMenuHandler &aHandler);
|
||||
virtual void __fastcall GetDialogHandler(Ucefinterfaces::_di_ICefDialogHandler &aHandler);
|
||||
virtual void __fastcall GetDisplayHandler(Ucefinterfaces::_di_ICefDisplayHandler &aHandler);
|
||||
virtual void __fastcall GetDownloadHandler(Ucefinterfaces::_di_ICefDownloadHandler &aHandler);
|
||||
virtual void __fastcall GetDragHandler(Ucefinterfaces::_di_ICefDragHandler &aHandler);
|
||||
virtual void __fastcall GetFindHandler(Ucefinterfaces::_di_ICefFindHandler &aHandler);
|
||||
virtual void __fastcall GetFocusHandler(Ucefinterfaces::_di_ICefFocusHandler &aHandler);
|
||||
virtual void __fastcall GetFrameHandler(Ucefinterfaces::_di_ICefFrameHandler &aHandler);
|
||||
virtual void __fastcall GetPermissionHandler(Ucefinterfaces::_di_ICefPermissionHandler &aHandler);
|
||||
virtual void __fastcall GetJsdialogHandler(Ucefinterfaces::_di_ICefJsDialogHandler &aHandler);
|
||||
virtual void __fastcall GetKeyboardHandler(Ucefinterfaces::_di_ICefKeyboardHandler &aHandler);
|
||||
virtual void __fastcall GetLifeSpanHandler(Ucefinterfaces::_di_ICefLifeSpanHandler &aHandler);
|
||||
virtual void __fastcall GetLoadHandler(Ucefinterfaces::_di_ICefLoadHandler &aHandler);
|
||||
virtual void __fastcall GetPrintHandler(Ucefinterfaces::_di_ICefPrintHandler &aHandler);
|
||||
virtual void __fastcall GetRenderHandler(Ucefinterfaces::_di_ICefRenderHandler &aHandler);
|
||||
virtual void __fastcall GetRequestHandler(Ucefinterfaces::_di_ICefRequestHandler &aHandler);
|
||||
virtual bool __fastcall OnProcessMessageReceived(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, Uceftypes::TCefProcessId sourceProcess, const Ucefinterfaces::_di_ICefProcessMessage message_);
|
||||
virtual void __fastcall RemoveReferences();
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefClient __fastcall UnWrap(void * data);
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefClientRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefClientRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefClient; // Ucefinterfaces::ICefClient
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {1D502075-2FF0-4E13-A112-9E541CD811F4}
|
||||
operator Ucefinterfaces::_di_ICefClient()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefClient intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefClient*(void) { return (Ucefinterfaces::ICefClient*)&__ICefClient; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefClientOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
||||
|
||||
protected:
|
||||
virtual void __fastcall GetAudioHandler(Ucefinterfaces::_di_ICefAudioHandler &aHandler);
|
||||
virtual void __fastcall GetCommandHandler(Ucefinterfaces::_di_ICefCommandHandler &aHandler);
|
||||
virtual void __fastcall GetContextMenuHandler(Ucefinterfaces::_di_ICefContextMenuHandler &aHandler);
|
||||
virtual void __fastcall GetDialogHandler(Ucefinterfaces::_di_ICefDialogHandler &aHandler);
|
||||
virtual void __fastcall GetDisplayHandler(Ucefinterfaces::_di_ICefDisplayHandler &aHandler);
|
||||
virtual void __fastcall GetDownloadHandler(Ucefinterfaces::_di_ICefDownloadHandler &aHandler);
|
||||
virtual void __fastcall GetDragHandler(Ucefinterfaces::_di_ICefDragHandler &aHandler);
|
||||
virtual void __fastcall GetFindHandler(Ucefinterfaces::_di_ICefFindHandler &aHandler);
|
||||
virtual void __fastcall GetFocusHandler(Ucefinterfaces::_di_ICefFocusHandler &aHandler);
|
||||
virtual void __fastcall GetFrameHandler(Ucefinterfaces::_di_ICefFrameHandler &aHandler);
|
||||
virtual void __fastcall GetPermissionHandler(Ucefinterfaces::_di_ICefPermissionHandler &aHandler);
|
||||
virtual void __fastcall GetJsdialogHandler(Ucefinterfaces::_di_ICefJsDialogHandler &aHandler);
|
||||
virtual void __fastcall GetKeyboardHandler(Ucefinterfaces::_di_ICefKeyboardHandler &aHandler);
|
||||
virtual void __fastcall GetLifeSpanHandler(Ucefinterfaces::_di_ICefLifeSpanHandler &aHandler);
|
||||
virtual void __fastcall GetLoadHandler(Ucefinterfaces::_di_ICefLoadHandler &aHandler);
|
||||
virtual void __fastcall GetPrintHandler(Ucefinterfaces::_di_ICefPrintHandler &aHandler);
|
||||
virtual void __fastcall GetRenderHandler(Ucefinterfaces::_di_ICefRenderHandler &aHandler);
|
||||
virtual void __fastcall GetRequestHandler(Ucefinterfaces::_di_ICefRequestHandler &aHandler);
|
||||
virtual bool __fastcall OnProcessMessageReceived(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, Uceftypes::TCefProcessId sourceProcess, const Ucefinterfaces::_di_ICefProcessMessage message_);
|
||||
virtual void __fastcall RemoveReferences();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCefClientOwn();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefClientOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefClientOwn() { }
|
||||
|
||||
private:
|
||||
void *__ICefClient; // Ucefinterfaces::ICefClient
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {1D502075-2FF0-4E13-A112-9E541CD811F4}
|
||||
operator Ucefinterfaces::_di_ICefClient()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefClient intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefClient*(void) { return (Ucefinterfaces::ICefClient*)&__ICefClient; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCustomClientHandler : public TCefClientOwn
|
||||
{
|
||||
typedef TCefClientOwn inherited;
|
||||
|
||||
protected:
|
||||
void *FEvents;
|
||||
Ucefinterfaces::_di_ICefAudioHandler FAudioHandler;
|
||||
Ucefinterfaces::_di_ICefCommandHandler FCommandHandler;
|
||||
Ucefinterfaces::_di_ICefLoadHandler FLoadHandler;
|
||||
Ucefinterfaces::_di_ICefFocusHandler FFocusHandler;
|
||||
Ucefinterfaces::_di_ICefContextMenuHandler FContextMenuHandler;
|
||||
Ucefinterfaces::_di_ICefDialogHandler FDialogHandler;
|
||||
Ucefinterfaces::_di_ICefKeyboardHandler FKeyboardHandler;
|
||||
Ucefinterfaces::_di_ICefDisplayHandler FDisplayHandler;
|
||||
Ucefinterfaces::_di_ICefDownloadHandler FDownloadHandler;
|
||||
Ucefinterfaces::_di_ICefJsDialogHandler FJsDialogHandler;
|
||||
Ucefinterfaces::_di_ICefLifeSpanHandler FLifeSpanHandler;
|
||||
Ucefinterfaces::_di_ICefRenderHandler FRenderHandler;
|
||||
Ucefinterfaces::_di_ICefRequestHandler FRequestHandler;
|
||||
Ucefinterfaces::_di_ICefDragHandler FDragHandler;
|
||||
Ucefinterfaces::_di_ICefFindHandler FFindHandler;
|
||||
Ucefinterfaces::_di_ICefPrintHandler FPrintHandler;
|
||||
Ucefinterfaces::_di_ICefFrameHandler FFrameHandler;
|
||||
Ucefinterfaces::_di_ICefPermissionHandler FPermissionHandler;
|
||||
virtual void __fastcall GetAudioHandler(Ucefinterfaces::_di_ICefAudioHandler &aHandler);
|
||||
virtual void __fastcall GetCommandHandler(Ucefinterfaces::_di_ICefCommandHandler &aHandler);
|
||||
virtual void __fastcall GetContextMenuHandler(Ucefinterfaces::_di_ICefContextMenuHandler &aHandler);
|
||||
virtual void __fastcall GetDialogHandler(Ucefinterfaces::_di_ICefDialogHandler &aHandler);
|
||||
virtual void __fastcall GetDisplayHandler(Ucefinterfaces::_di_ICefDisplayHandler &aHandler);
|
||||
virtual void __fastcall GetDownloadHandler(Ucefinterfaces::_di_ICefDownloadHandler &aHandler);
|
||||
virtual void __fastcall GetDragHandler(Ucefinterfaces::_di_ICefDragHandler &aHandler);
|
||||
virtual void __fastcall GetFindHandler(Ucefinterfaces::_di_ICefFindHandler &aHandler);
|
||||
virtual void __fastcall GetFocusHandler(Ucefinterfaces::_di_ICefFocusHandler &aHandler);
|
||||
virtual void __fastcall GetFrameHandler(Ucefinterfaces::_di_ICefFrameHandler &aHandler);
|
||||
virtual void __fastcall GetPermissionHandler(Ucefinterfaces::_di_ICefPermissionHandler &aHandler);
|
||||
virtual void __fastcall GetJsdialogHandler(Ucefinterfaces::_di_ICefJsDialogHandler &aHandler);
|
||||
virtual void __fastcall GetKeyboardHandler(Ucefinterfaces::_di_ICefKeyboardHandler &aHandler);
|
||||
virtual void __fastcall GetLifeSpanHandler(Ucefinterfaces::_di_ICefLifeSpanHandler &aHandler);
|
||||
virtual void __fastcall GetLoadHandler(Ucefinterfaces::_di_ICefLoadHandler &aHandler);
|
||||
virtual void __fastcall GetPrintHandler(Ucefinterfaces::_di_ICefPrintHandler &aHandler);
|
||||
virtual void __fastcall GetRenderHandler(Ucefinterfaces::_di_ICefRenderHandler &aHandler);
|
||||
virtual void __fastcall GetRequestHandler(Ucefinterfaces::_di_ICefRequestHandler &aHandler);
|
||||
virtual bool __fastcall OnProcessMessageReceived(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, Uceftypes::TCefProcessId sourceProcess, const Ucefinterfaces::_di_ICefProcessMessage message_);
|
||||
void __fastcall InitializeVars();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCustomClientHandler(const Ucefinterfaces::_di_IChromiumEvents events, bool aDevToolsClient);
|
||||
virtual void __fastcall BeforeDestruction();
|
||||
virtual void __fastcall RemoveReferences();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomClientHandler(unsigned size, bool owned) : TCefClientOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCustomClientHandler() { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefclient */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFCLIENT)
|
||||
using namespace Ucefclient;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFClientHPP
|
||||
@@ -0,0 +1,104 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFCommandHandler.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFCommandHandlerHPP
|
||||
#define uCEFCommandHandlerHPP
|
||||
|
||||
#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 Ucefcommandhandler
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefCommandHandlerOwn;
|
||||
class DELPHICLASS TCustomCommandHandler;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefCommandHandlerOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
||||
|
||||
protected:
|
||||
virtual bool __fastcall OnChromeCommand(const Ucefinterfaces::_di_ICefBrowser browser, int command_id, Uceftypes::TCefWindowOpenDisposition disposition);
|
||||
virtual bool __fastcall OnIsChromeAppMenuItemVisible(const Ucefinterfaces::_di_ICefBrowser browser, int command_id);
|
||||
virtual bool __fastcall OnIsChromeAppMenuItemEnabled(const Ucefinterfaces::_di_ICefBrowser browser, int command_id);
|
||||
virtual bool __fastcall OnIsChromePageActionIconVisible(Uceftypes::TCefChromePageActionIconType icon_type);
|
||||
virtual bool __fastcall OnIsChromeToolbarButtonVisible(Uceftypes::TCefChromeToolbarButtonType button_type);
|
||||
virtual void __fastcall RemoveReferences();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCefCommandHandlerOwn();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefCommandHandlerOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefCommandHandlerOwn() { }
|
||||
|
||||
private:
|
||||
void *__ICefCommandHandler; // Ucefinterfaces::ICefCommandHandler
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {7C931B93-53DC-4607-AABB-2CB4AEF7FB96}
|
||||
operator Ucefinterfaces::_di_ICefCommandHandler()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefCommandHandler intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefCommandHandler*(void) { return (Ucefinterfaces::ICefCommandHandler*)&__ICefCommandHandler; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCustomCommandHandler : public TCefCommandHandlerOwn
|
||||
{
|
||||
typedef TCefCommandHandlerOwn inherited;
|
||||
|
||||
protected:
|
||||
void *FEvents;
|
||||
virtual bool __fastcall OnChromeCommand(const Ucefinterfaces::_di_ICefBrowser browser, int command_id, Uceftypes::TCefWindowOpenDisposition disposition);
|
||||
virtual bool __fastcall OnIsChromeAppMenuItemVisible(const Ucefinterfaces::_di_ICefBrowser browser, int command_id);
|
||||
virtual bool __fastcall OnIsChromeAppMenuItemEnabled(const Ucefinterfaces::_di_ICefBrowser browser, int command_id);
|
||||
virtual bool __fastcall OnIsChromePageActionIconVisible(Uceftypes::TCefChromePageActionIconType icon_type);
|
||||
virtual bool __fastcall OnIsChromeToolbarButtonVisible(Uceftypes::TCefChromeToolbarButtonType button_type);
|
||||
virtual void __fastcall RemoveReferences();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCustomCommandHandler(const Ucefinterfaces::_di_IChromiumEvents events);
|
||||
__fastcall virtual ~TCustomCommandHandler();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomCommandHandler(unsigned size, bool owned) : TCefCommandHandlerOwn(size, owned) { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefcommandhandler */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFCOMMANDHANDLER)
|
||||
using namespace Ucefcommandhandler;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFCommandHandlerHPP
|
||||
@@ -0,0 +1,99 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFCommandLine.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFCommandLineHPP
|
||||
#define uCEFCommandLineHPP
|
||||
|
||||
#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 <uCEFTypes.hpp>
|
||||
#include <uCEFInterfaces.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefcommandline
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefCommandLineRef;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefCommandLineRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
|
||||
|
||||
protected:
|
||||
bool __fastcall IsValid();
|
||||
bool __fastcall IsReadOnly();
|
||||
Ucefinterfaces::_di_ICefCommandLine __fastcall Copy();
|
||||
void __fastcall InitFromArgv(int argc, const System::PPAnsiChar argv);
|
||||
void __fastcall InitFromString(const Uceftypes::ustring commandLine);
|
||||
void __fastcall Reset();
|
||||
Uceftypes::ustring __fastcall GetCommandLineString();
|
||||
void __fastcall GetArgv(System::Classes::TStrings* &args);
|
||||
Uceftypes::ustring __fastcall GetProgram();
|
||||
void __fastcall SetProgram(const Uceftypes::ustring prog);
|
||||
bool __fastcall HasSwitches();
|
||||
bool __fastcall HasSwitch(const Uceftypes::ustring name);
|
||||
Uceftypes::ustring __fastcall GetSwitchValue(const Uceftypes::ustring name);
|
||||
bool __fastcall GetSwitches(System::Classes::TStrings* &switches)/* overload */;
|
||||
bool __fastcall GetSwitches(System::Classes::TStringList* &SwitchKeys, System::Classes::TStringList* &SwitchValues)/* overload */;
|
||||
void __fastcall AppendSwitch(const Uceftypes::ustring name);
|
||||
void __fastcall AppendSwitchWithValue(const Uceftypes::ustring name, const Uceftypes::ustring value);
|
||||
bool __fastcall HasArguments();
|
||||
void __fastcall GetArguments(System::Classes::TStrings* &arguments);
|
||||
void __fastcall AppendArgument(const Uceftypes::ustring argument);
|
||||
void __fastcall PrependWrapper(const Uceftypes::ustring wrapper);
|
||||
void __fastcall RemoveSwitch(const Uceftypes::ustring name_);
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefCommandLine __fastcall UnWrap(void * data);
|
||||
__classmethod Ucefinterfaces::_di_ICefCommandLine __fastcall New();
|
||||
__classmethod Ucefinterfaces::_di_ICefCommandLine __fastcall Global();
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefCommandLineRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefCommandLineRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefCommandLine; // Ucefinterfaces::ICefCommandLine
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {6B43D21B-0F2C-4B94-B4E6-4AF0D7669D8E}
|
||||
operator Ucefinterfaces::_di_ICefCommandLine()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefCommandLine intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefCommandLine*(void) { return (Ucefinterfaces::ICefCommandLine*)&__ICefCommandLine; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefcommandline */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFCOMMANDLINE)
|
||||
using namespace Ucefcommandline;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFCommandLineHPP
|
||||
@@ -0,0 +1,133 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFCompletionCallback.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFCompletionCallbackHPP
|
||||
#define uCEFCompletionCallbackHPP
|
||||
|
||||
#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 <uCEFWaitableEvent.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefcompletioncallback
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefCompletionCallbackOwn;
|
||||
class DELPHICLASS TCefFastCompletionCallback;
|
||||
class DELPHICLASS TCefEventCompletionCallback;
|
||||
class DELPHICLASS TCefCustomCompletionCallback;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefCompletionCallbackOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
||||
|
||||
protected:
|
||||
virtual void __fastcall OnComplete();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCefCompletionCallbackOwn();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefCompletionCallbackOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefCompletionCallbackOwn() { }
|
||||
|
||||
private:
|
||||
void *__ICefCompletionCallback; // Ucefinterfaces::ICefCompletionCallback
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {A8ECCFBB-FEE0-446F-AB32-AD69A7478D57}
|
||||
operator Ucefinterfaces::_di_ICefCompletionCallback()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefCompletionCallback intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefCompletionCallback*(void) { return (Ucefinterfaces::ICefCompletionCallback*)&__ICefCompletionCallback; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefFastCompletionCallback : public TCefCompletionCallbackOwn
|
||||
{
|
||||
typedef TCefCompletionCallbackOwn inherited;
|
||||
|
||||
protected:
|
||||
Ucefinterfaces::_di_TCefCompletionCallbackProc FProc;
|
||||
virtual void __fastcall OnComplete();
|
||||
|
||||
public:
|
||||
__fastcall TCefFastCompletionCallback(const Ucefinterfaces::_di_TCefCompletionCallbackProc proc);
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefFastCompletionCallback(unsigned size, bool owned) : TCefCompletionCallbackOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefFastCompletionCallback() { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefEventCompletionCallback : public TCefCompletionCallbackOwn
|
||||
{
|
||||
typedef TCefCompletionCallbackOwn inherited;
|
||||
|
||||
protected:
|
||||
Ucefinterfaces::_di_ICefWaitableEvent FEvent;
|
||||
virtual void __fastcall OnComplete();
|
||||
|
||||
public:
|
||||
__fastcall TCefEventCompletionCallback(const Ucefinterfaces::_di_ICefWaitableEvent event);
|
||||
__fastcall virtual ~TCefEventCompletionCallback();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefEventCompletionCallback(unsigned size, bool owned) : TCefCompletionCallbackOwn(size, owned) { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefCustomCompletionCallback : public TCefCompletionCallbackOwn
|
||||
{
|
||||
typedef TCefCompletionCallbackOwn inherited;
|
||||
|
||||
protected:
|
||||
void *FEvents;
|
||||
|
||||
public:
|
||||
__fastcall TCefCustomCompletionCallback(const Ucefinterfaces::_di_IChromiumEvents aEvents);
|
||||
__fastcall virtual ~TCefCustomCompletionCallback();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefCustomCompletionCallback(unsigned size, bool owned) : TCefCompletionCallbackOwn(size, owned) { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefcompletioncallback */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFCOMPLETIONCALLBACK)
|
||||
using namespace Ucefcompletioncallback;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFCompletionCallbackHPP
|
||||
@@ -0,0 +1,64 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFComponentIdList.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFComponentIdListHPP
|
||||
#define uCEFComponentIdListHPP
|
||||
|
||||
#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.SyncObjs.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefcomponentidlist
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCEFComponentIdList;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCEFComponentIdList : public System::TObject
|
||||
{
|
||||
typedef System::TObject inherited;
|
||||
|
||||
protected:
|
||||
System::Classes::TList* FList;
|
||||
int FIdGen;
|
||||
System::Syncobjs::TCriticalSection* FSyncObj;
|
||||
bool __fastcall GetInitialized();
|
||||
bool __fastcall Lock();
|
||||
void __fastcall Unlock();
|
||||
|
||||
public:
|
||||
__fastcall TCEFComponentIdList();
|
||||
__fastcall virtual ~TCEFComponentIdList();
|
||||
virtual void __fastcall AfterConstruction();
|
||||
bool __fastcall ValidID(int aID);
|
||||
int __fastcall NextID();
|
||||
void __fastcall RemoveID(int aID);
|
||||
__property bool Initialized = {read=GetInitialized, nodefault};
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefcomponentidlist */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFCOMPONENTIDLIST)
|
||||
using namespace Ucefcomponentidlist;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFComponentIdListHPP
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,108 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFContextMenuHandler.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFContextMenuHandlerHPP
|
||||
#define uCEFContextMenuHandlerHPP
|
||||
|
||||
#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 Ucefcontextmenuhandler
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefContextMenuHandlerOwn;
|
||||
class DELPHICLASS TCustomContextMenuHandler;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefContextMenuHandlerOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
||||
|
||||
protected:
|
||||
virtual void __fastcall OnBeforeContextMenu(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefContextMenuParams params, const Ucefinterfaces::_di_ICefMenuModel model);
|
||||
virtual bool __fastcall RunContextMenu(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefContextMenuParams params, const Ucefinterfaces::_di_ICefMenuModel model, const Ucefinterfaces::_di_ICefRunContextMenuCallback callback);
|
||||
virtual bool __fastcall OnContextMenuCommand(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefContextMenuParams params, int commandId, Uceftypes::TCefEventFlags eventFlags);
|
||||
virtual void __fastcall OnContextMenuDismissed(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame);
|
||||
virtual bool __fastcall RunQuickMenu(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, Uceftypes::PCefPoint location, Uceftypes::PCefSize size, Uceftypes::TCefQuickMenuEditStateFlags edit_state_flags, const Ucefinterfaces::_di_ICefRunQuickMenuCallback callback);
|
||||
virtual bool __fastcall OnQuickMenuCommand(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, int command_id, Uceftypes::TCefEventFlags event_flags);
|
||||
virtual void __fastcall OnQuickMenuDismissed(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame);
|
||||
virtual void __fastcall RemoveReferences();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCefContextMenuHandlerOwn();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefContextMenuHandlerOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefContextMenuHandlerOwn() { }
|
||||
|
||||
private:
|
||||
void *__ICefContextMenuHandler; // Ucefinterfaces::ICefContextMenuHandler
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {C2951895-4087-49D5-BA18-4D9BA4F5EDD7}
|
||||
operator Ucefinterfaces::_di_ICefContextMenuHandler()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefContextMenuHandler intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefContextMenuHandler*(void) { return (Ucefinterfaces::ICefContextMenuHandler*)&__ICefContextMenuHandler; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCustomContextMenuHandler : public TCefContextMenuHandlerOwn
|
||||
{
|
||||
typedef TCefContextMenuHandlerOwn inherited;
|
||||
|
||||
protected:
|
||||
void *FEvents;
|
||||
virtual void __fastcall OnBeforeContextMenu(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefContextMenuParams params, const Ucefinterfaces::_di_ICefMenuModel model);
|
||||
virtual bool __fastcall RunContextMenu(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefContextMenuParams params, const Ucefinterfaces::_di_ICefMenuModel model, const Ucefinterfaces::_di_ICefRunContextMenuCallback callback);
|
||||
virtual bool __fastcall OnContextMenuCommand(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefContextMenuParams params, int commandId, Uceftypes::TCefEventFlags eventFlags);
|
||||
virtual void __fastcall OnContextMenuDismissed(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame);
|
||||
virtual bool __fastcall RunQuickMenu(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, Uceftypes::PCefPoint location, Uceftypes::PCefSize size, Uceftypes::TCefQuickMenuEditStateFlags edit_state_flags, const Ucefinterfaces::_di_ICefRunQuickMenuCallback callback);
|
||||
virtual bool __fastcall OnQuickMenuCommand(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, int command_id, Uceftypes::TCefEventFlags event_flags);
|
||||
virtual void __fastcall OnQuickMenuDismissed(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame);
|
||||
virtual void __fastcall RemoveReferences();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCustomContextMenuHandler(const Ucefinterfaces::_di_IChromiumEvents events);
|
||||
__fastcall virtual ~TCustomContextMenuHandler();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomContextMenuHandler(unsigned size, bool owned) : TCefContextMenuHandlerOwn(size, owned) { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefcontextmenuhandler */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFCONTEXTMENUHANDLER)
|
||||
using namespace Ucefcontextmenuhandler;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFContextMenuHandlerHPP
|
||||
@@ -0,0 +1,95 @@
|
||||
// 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
|
||||
@@ -0,0 +1,136 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFCookieAccessFilter.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFCookieAccessFilterHPP
|
||||
#define uCEFCookieAccessFilterHPP
|
||||
|
||||
#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 Ucefcookieaccessfilter
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefCookieAccessFilterRef;
|
||||
class DELPHICLASS TCefCookieAccessFilterOwn;
|
||||
class DELPHICLASS TCustomCookieAccessFilter;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefCookieAccessFilterRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
|
||||
|
||||
protected:
|
||||
bool __fastcall CanSendCookie(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, const Uceftypes::PCefCookie cookie);
|
||||
bool __fastcall CanSaveCookie(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefResponse response, const Uceftypes::PCefCookie cookie);
|
||||
void __fastcall RemoveReferences();
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefCookieAccessFilter __fastcall UnWrap(void * data);
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefCookieAccessFilterRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefCookieAccessFilterRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefCookieAccessFilter; // Ucefinterfaces::ICefCookieAccessFilter
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {65ECD862-F55F-46E4-8AC3-2AE90DCC86F5}
|
||||
operator Ucefinterfaces::_di_ICefCookieAccessFilter()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefCookieAccessFilter intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefCookieAccessFilter*(void) { return (Ucefinterfaces::ICefCookieAccessFilter*)&__ICefCookieAccessFilter; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefCookieAccessFilterOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
||||
|
||||
protected:
|
||||
virtual bool __fastcall CanSendCookie(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, const Uceftypes::PCefCookie cookie);
|
||||
virtual bool __fastcall CanSaveCookie(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefResponse response, const Uceftypes::PCefCookie cookie);
|
||||
virtual void __fastcall RemoveReferences();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCefCookieAccessFilterOwn();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefCookieAccessFilterOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefCookieAccessFilterOwn() { }
|
||||
|
||||
private:
|
||||
void *__ICefCookieAccessFilter; // Ucefinterfaces::ICefCookieAccessFilter
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {65ECD862-F55F-46E4-8AC3-2AE90DCC86F5}
|
||||
operator Ucefinterfaces::_di_ICefCookieAccessFilter()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefCookieAccessFilter intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefCookieAccessFilter*(void) { return (Ucefinterfaces::ICefCookieAccessFilter*)&__ICefCookieAccessFilter; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCustomCookieAccessFilter : public TCefCookieAccessFilterOwn
|
||||
{
|
||||
typedef TCefCookieAccessFilterOwn inherited;
|
||||
|
||||
protected:
|
||||
void *FEvents;
|
||||
virtual bool __fastcall CanSendCookie(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, const Uceftypes::PCefCookie cookie);
|
||||
virtual bool __fastcall CanSaveCookie(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefResponse response, const Uceftypes::PCefCookie cookie);
|
||||
|
||||
public:
|
||||
__fastcall TCustomCookieAccessFilter(const Ucefinterfaces::_di_IChromiumEvents events);
|
||||
virtual void __fastcall BeforeDestruction();
|
||||
virtual void __fastcall RemoveReferences();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomCookieAccessFilter(unsigned size, bool owned) : TCefCookieAccessFilterOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCustomCookieAccessFilter() { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefcookieaccessfilter */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFCOOKIEACCESSFILTER)
|
||||
using namespace Ucefcookieaccessfilter;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFCookieAccessFilterHPP
|
||||
@@ -0,0 +1,107 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFCookieManager.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFCookieManagerHPP
|
||||
#define uCEFCookieManagerHPP
|
||||
|
||||
#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>
|
||||
#include <uCEFCompletionCallback.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefcookiemanager
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefCookieManagerRef;
|
||||
class DELPHICLASS TCefFlushStoreCompletionCallback;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefCookieManagerRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
|
||||
|
||||
protected:
|
||||
bool __fastcall VisitAllCookies(const Ucefinterfaces::_di_ICefCookieVisitor visitor);
|
||||
bool __fastcall VisitAllCookiesProc(const Ucefinterfaces::_di_TCefCookieVisitorProc visitor);
|
||||
bool __fastcall VisitUrlCookies(const Uceftypes::ustring url, bool includeHttpOnly, const Ucefinterfaces::_di_ICefCookieVisitor visitor);
|
||||
bool __fastcall VisitUrlCookiesProc(const Uceftypes::ustring url, bool includeHttpOnly, const Ucefinterfaces::_di_TCefCookieVisitorProc visitor);
|
||||
bool __fastcall SetCookie(const Uceftypes::ustring url, const Uceftypes::ustring name, const Uceftypes::ustring value, const Uceftypes::ustring domain, const Uceftypes::ustring path, bool secure, bool httponly, bool hasExpires, const System::TDateTime creation, const System::TDateTime lastAccess, const System::TDateTime expires, Uceftypes::TCefCookieSameSite same_site, Uceftypes::TCefCookiePriority priority, const Ucefinterfaces::_di_ICefSetCookieCallback callback);
|
||||
bool __fastcall SetCookieProc(const Uceftypes::ustring url, const Uceftypes::ustring name, const Uceftypes::ustring value, const Uceftypes::ustring domain, const Uceftypes::ustring path, bool secure, bool httponly, bool hasExpires, const System::TDateTime creation, const System::TDateTime lastAccess, const System::TDateTime expires, Uceftypes::TCefCookieSameSite same_site, Uceftypes::TCefCookiePriority priority, const Ucefinterfaces::_di_TCefSetCookieCallbackProc callback);
|
||||
bool __fastcall DeleteCookies(const Uceftypes::ustring url, const Uceftypes::ustring cookieName, const Ucefinterfaces::_di_ICefDeleteCookiesCallback callback);
|
||||
bool __fastcall DeleteCookiesProc(const Uceftypes::ustring url, const Uceftypes::ustring cookieName, const Ucefinterfaces::_di_TCefDeleteCookiesCallbackProc callback);
|
||||
bool __fastcall FlushStore(const Ucefinterfaces::_di_ICefCompletionCallback callback);
|
||||
bool __fastcall FlushStoreProc(const Ucefinterfaces::_di_TCefCompletionCallbackProc proc);
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefCookieManager __fastcall UnWrap(void * data);
|
||||
__classmethod Ucefinterfaces::_di_ICefCookieManager __fastcall Global(const Ucefinterfaces::_di_ICefCompletionCallback callback);
|
||||
__classmethod Ucefinterfaces::_di_ICefCookieManager __fastcall GlobalProc(const Ucefinterfaces::_di_TCefCompletionCallbackProc callback);
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefCookieManagerRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefCookieManagerRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefCookieManager; // Ucefinterfaces::ICefCookieManager
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {CC1749E6-9AD3-4283-8430-AF6CBF3E8785}
|
||||
operator Ucefinterfaces::_di_ICefCookieManager()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefCookieManager intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefCookieManager*(void) { return (Ucefinterfaces::ICefCookieManager*)&__ICefCookieManager; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefFlushStoreCompletionCallback : public Ucefcompletioncallback::TCefCustomCompletionCallback
|
||||
{
|
||||
typedef Ucefcompletioncallback::TCefCustomCompletionCallback inherited;
|
||||
|
||||
protected:
|
||||
virtual void __fastcall OnComplete();
|
||||
public:
|
||||
/* TCefCustomCompletionCallback.Create */ inline __fastcall TCefFlushStoreCompletionCallback(const Ucefinterfaces::_di_IChromiumEvents aEvents) : Ucefcompletioncallback::TCefCustomCompletionCallback(aEvents) { }
|
||||
/* TCefCustomCompletionCallback.Destroy */ inline __fastcall virtual ~TCefFlushStoreCompletionCallback() { }
|
||||
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefFlushStoreCompletionCallback(unsigned size, bool owned) : Ucefcompletioncallback::TCefCustomCompletionCallback(size, owned) { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefcookiemanager */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFCOOKIEMANAGER)
|
||||
using namespace Ucefcookiemanager;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFCookieManagerHPP
|
||||
@@ -0,0 +1,115 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFCookieVisitor.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFCookieVisitorHPP
|
||||
#define uCEFCookieVisitorHPP
|
||||
|
||||
#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 Ucefcookievisitor
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefCookieVisitorOwn;
|
||||
class DELPHICLASS TCefFastCookieVisitor;
|
||||
class DELPHICLASS TCefCustomCookieVisitor;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefCookieVisitorOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
||||
|
||||
protected:
|
||||
virtual bool __fastcall visit(const Uceftypes::ustring name, const Uceftypes::ustring value, const Uceftypes::ustring domain, const Uceftypes::ustring path, bool secure, bool httponly, bool hasExpires, const System::TDateTime creation, const System::TDateTime lastAccess, const System::TDateTime expires, int count, int total, Uceftypes::TCefCookieSameSite same_site, Uceftypes::TCefCookiePriority priority, /* out */ bool &deleteCookie);
|
||||
|
||||
public:
|
||||
__fastcall virtual TCefCookieVisitorOwn();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefCookieVisitorOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefCookieVisitorOwn() { }
|
||||
|
||||
private:
|
||||
void *__ICefCookieVisitor; // Ucefinterfaces::ICefCookieVisitor
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {8378CF1B-84AB-4FDB-9B86-34DDABCCC402}
|
||||
operator Ucefinterfaces::_di_ICefCookieVisitor()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefCookieVisitor intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefCookieVisitor*(void) { return (Ucefinterfaces::ICefCookieVisitor*)&__ICefCookieVisitor; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefFastCookieVisitor : public TCefCookieVisitorOwn
|
||||
{
|
||||
typedef TCefCookieVisitorOwn inherited;
|
||||
|
||||
protected:
|
||||
Ucefinterfaces::_di_TCefCookieVisitorProc FVisitor;
|
||||
virtual bool __fastcall visit(const Uceftypes::ustring name, const Uceftypes::ustring value, const Uceftypes::ustring domain, const Uceftypes::ustring path, bool secure, bool httponly, bool hasExpires, const System::TDateTime creation, const System::TDateTime lastAccess, const System::TDateTime expires, int count, int total, Uceftypes::TCefCookieSameSite same_site, Uceftypes::TCefCookiePriority priority, /* out */ bool &deleteCookie);
|
||||
|
||||
public:
|
||||
__fastcall TCefFastCookieVisitor(const Ucefinterfaces::_di_TCefCookieVisitorProc visitor);
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefFastCookieVisitor(unsigned size, bool owned) : TCefCookieVisitorOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefFastCookieVisitor() { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefCustomCookieVisitor : public TCefCookieVisitorOwn
|
||||
{
|
||||
typedef TCefCookieVisitorOwn inherited;
|
||||
|
||||
protected:
|
||||
void *FEvents;
|
||||
int FID;
|
||||
virtual bool __fastcall visit(const Uceftypes::ustring name, const Uceftypes::ustring value, const Uceftypes::ustring domain, const Uceftypes::ustring path, bool secure, bool httponly, bool hasExpires, const System::TDateTime creation, const System::TDateTime lastAccess, const System::TDateTime expires, int count, int total, Uceftypes::TCefCookieSameSite same_site, Uceftypes::TCefCookiePriority priority, /* out */ bool &deleteCookie);
|
||||
|
||||
public:
|
||||
__fastcall TCefCustomCookieVisitor(const Ucefinterfaces::_di_IChromiumEvents aEvents, int aID);
|
||||
__fastcall virtual ~TCefCustomCookieVisitor();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefCustomCookieVisitor(unsigned size, bool owned) : TCefCookieVisitorOwn(size, owned) { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefcookievisitor */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFCOOKIEVISITOR)
|
||||
using namespace Ucefcookievisitor;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFCookieVisitorHPP
|
||||
@@ -0,0 +1,83 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFCustomStreamReader.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFCustomStreamReaderHPP
|
||||
#define uCEFCustomStreamReaderHPP
|
||||
|
||||
#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 Ucefcustomstreamreader
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefCustomStreamReader;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefCustomStreamReader : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
||||
|
||||
protected:
|
||||
System::Classes::TStream* FStream;
|
||||
bool FOwned;
|
||||
virtual System::NativeUInt __fastcall Read(void * ptr, System::NativeUInt size, System::NativeUInt n);
|
||||
virtual int __fastcall Seek(__int64 offset, int whence);
|
||||
virtual __int64 __fastcall Tell();
|
||||
virtual bool __fastcall Eof();
|
||||
virtual bool __fastcall MayBlock();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCefCustomStreamReader(System::Classes::TStream* Stream, bool Owned)/* overload */;
|
||||
__fastcall virtual TCefCustomStreamReader(const System::UnicodeString filename)/* overload */;
|
||||
__fastcall virtual ~TCefCustomStreamReader();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefCustomStreamReader(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
||||
|
||||
private:
|
||||
void *__ICefCustomStreamReader; // Ucefinterfaces::ICefCustomStreamReader
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {BBCFF23A-6FE7-4C28-B13E-6D2ACA5C83B7}
|
||||
operator Ucefinterfaces::_di_ICefCustomStreamReader()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefCustomStreamReader intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefCustomStreamReader*(void) { return (Ucefinterfaces::ICefCustomStreamReader*)&__ICefCustomStreamReader; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefcustomstreamreader */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFCUSTOMSTREAMREADER)
|
||||
using namespace Ucefcustomstreamreader;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFCustomStreamReaderHPP
|
||||
@@ -0,0 +1,114 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFDeleteCookiesCallback.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFDeleteCookiesCallbackHPP
|
||||
#define uCEFDeleteCookiesCallbackHPP
|
||||
|
||||
#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 Ucefdeletecookiescallback
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefDeleteCookiesCallbackOwn;
|
||||
class DELPHICLASS TCefFastDeleteCookiesCallback;
|
||||
class DELPHICLASS TCefCustomDeleteCookiesCallback;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefDeleteCookiesCallbackOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
||||
|
||||
protected:
|
||||
virtual void __fastcall OnComplete(int numDeleted) = 0 ;
|
||||
|
||||
public:
|
||||
__fastcall virtual TCefDeleteCookiesCallbackOwn();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefDeleteCookiesCallbackOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefDeleteCookiesCallbackOwn() { }
|
||||
|
||||
private:
|
||||
void *__ICefDeleteCookiesCallback; // Ucefinterfaces::ICefDeleteCookiesCallback
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {758B79A1-B9E8-4F0D-94A0-DCE5AFADE33D}
|
||||
operator Ucefinterfaces::_di_ICefDeleteCookiesCallback()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefDeleteCookiesCallback intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefDeleteCookiesCallback*(void) { return (Ucefinterfaces::ICefDeleteCookiesCallback*)&__ICefDeleteCookiesCallback; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefFastDeleteCookiesCallback : public TCefDeleteCookiesCallbackOwn
|
||||
{
|
||||
typedef TCefDeleteCookiesCallbackOwn inherited;
|
||||
|
||||
protected:
|
||||
Ucefinterfaces::_di_TCefDeleteCookiesCallbackProc FCallback;
|
||||
virtual void __fastcall OnComplete(int numDeleted);
|
||||
|
||||
public:
|
||||
__fastcall TCefFastDeleteCookiesCallback(const Ucefinterfaces::_di_TCefDeleteCookiesCallbackProc callback);
|
||||
__fastcall virtual ~TCefFastDeleteCookiesCallback();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefFastDeleteCookiesCallback(unsigned size, bool owned) : TCefDeleteCookiesCallbackOwn(size, owned) { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefCustomDeleteCookiesCallback : public TCefDeleteCookiesCallbackOwn
|
||||
{
|
||||
typedef TCefDeleteCookiesCallbackOwn inherited;
|
||||
|
||||
protected:
|
||||
void *FEvents;
|
||||
virtual void __fastcall OnComplete(int numDeleted);
|
||||
|
||||
public:
|
||||
__fastcall TCefCustomDeleteCookiesCallback(const Ucefinterfaces::_di_IChromiumEvents aEvents);
|
||||
__fastcall virtual ~TCefCustomDeleteCookiesCallback();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefCustomDeleteCookiesCallback(unsigned size, bool owned) : TCefDeleteCookiesCallbackOwn(size, owned) { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefdeletecookiescallback */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFDELETECOOKIESCALLBACK)
|
||||
using namespace Ucefdeletecookiescallback;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFDeleteCookiesCallbackHPP
|
||||
@@ -0,0 +1,102 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFDevToolsMessageObserver.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFDevToolsMessageObserverHPP
|
||||
#define uCEFDevToolsMessageObserverHPP
|
||||
|
||||
#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 Ucefdevtoolsmessageobserver
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCEFDevToolsMessageObserverOwn;
|
||||
class DELPHICLASS TCustomDevToolsMessageObserver;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCEFDevToolsMessageObserverOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
||||
|
||||
protected:
|
||||
virtual void __fastcall OnDevToolsMessage(const Ucefinterfaces::_di_ICefBrowser browser, const void * message_, System::NativeUInt message_size, bool &aHandled);
|
||||
virtual void __fastcall OnDevToolsMethodResult(const Ucefinterfaces::_di_ICefBrowser browser, int message_id, bool success, const void * result, System::NativeUInt result_size);
|
||||
virtual void __fastcall OnDevToolsEvent(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring method, const void * params, System::NativeUInt params_size);
|
||||
virtual void __fastcall OnDevToolsAgentAttached(const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
virtual void __fastcall OnDevToolsAgentDetached(const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
|
||||
public:
|
||||
__fastcall virtual TCEFDevToolsMessageObserverOwn();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCEFDevToolsMessageObserverOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCEFDevToolsMessageObserverOwn() { }
|
||||
|
||||
private:
|
||||
void *__ICefDevToolsMessageObserver; // Ucefinterfaces::ICefDevToolsMessageObserver
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {76E5BB2B-7F69-4BC9-94C7-B55C61CE630F}
|
||||
operator Ucefinterfaces::_di_ICefDevToolsMessageObserver()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefDevToolsMessageObserver intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefDevToolsMessageObserver*(void) { return (Ucefinterfaces::ICefDevToolsMessageObserver*)&__ICefDevToolsMessageObserver; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCustomDevToolsMessageObserver : public TCEFDevToolsMessageObserverOwn
|
||||
{
|
||||
typedef TCEFDevToolsMessageObserverOwn inherited;
|
||||
|
||||
protected:
|
||||
void *FEvents;
|
||||
virtual void __fastcall OnDevToolsMessage(const Ucefinterfaces::_di_ICefBrowser browser, const void * message_, System::NativeUInt message_size, bool &aHandled);
|
||||
virtual void __fastcall OnDevToolsMethodResult(const Ucefinterfaces::_di_ICefBrowser browser, int message_id, bool success, const void * result, System::NativeUInt result_size);
|
||||
virtual void __fastcall OnDevToolsEvent(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring method, const void * params, System::NativeUInt params_size);
|
||||
virtual void __fastcall OnDevToolsAgentAttached(const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
virtual void __fastcall OnDevToolsAgentDetached(const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
|
||||
public:
|
||||
__fastcall TCustomDevToolsMessageObserver(const Ucefinterfaces::_di_IChromiumEvents events);
|
||||
__fastcall virtual ~TCustomDevToolsMessageObserver();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomDevToolsMessageObserver(unsigned size, bool owned) : TCEFDevToolsMessageObserverOwn(size, owned) { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefdevtoolsmessageobserver */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFDEVTOOLSMESSAGEOBSERVER)
|
||||
using namespace Ucefdevtoolsmessageobserver;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFDevToolsMessageObserverHPP
|
||||
@@ -0,0 +1,97 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFDialogHandler.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFDialogHandlerHPP
|
||||
#define uCEFDialogHandlerHPP
|
||||
|
||||
#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 <uCEFBaseRefCounted.hpp>
|
||||
#include <uCEFInterfaces.hpp>
|
||||
#include <uCEFTypes.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefdialoghandler
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefDialogHandlerOwn;
|
||||
class DELPHICLASS TCustomDialogHandler;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefDialogHandlerOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
||||
|
||||
protected:
|
||||
virtual bool __fastcall OnFileDialog(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefFileDialogMode mode, const Uceftypes::ustring title, const Uceftypes::ustring defaultFilePath, System::Classes::TStrings* const acceptFilters, System::Classes::TStrings* const accept_extensions, System::Classes::TStrings* const accept_descriptions, const Ucefinterfaces::_di_ICefFileDialogCallback callback);
|
||||
virtual void __fastcall RemoveReferences();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCefDialogHandlerOwn();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefDialogHandlerOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefDialogHandlerOwn() { }
|
||||
|
||||
private:
|
||||
void *__ICefDialogHandler; // Ucefinterfaces::ICefDialogHandler
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {7763F4B2-8BE1-4E80-AC43-8B825850DC67}
|
||||
operator Ucefinterfaces::_di_ICefDialogHandler()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefDialogHandler intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefDialogHandler*(void) { return (Ucefinterfaces::ICefDialogHandler*)&__ICefDialogHandler; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCustomDialogHandler : public TCefDialogHandlerOwn
|
||||
{
|
||||
typedef TCefDialogHandlerOwn inherited;
|
||||
|
||||
protected:
|
||||
void *FEvents;
|
||||
virtual bool __fastcall OnFileDialog(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefFileDialogMode mode, const Uceftypes::ustring title, const Uceftypes::ustring defaultFilePath, System::Classes::TStrings* const acceptFilters, System::Classes::TStrings* const accept_extensions, System::Classes::TStrings* const accept_descriptions, const Ucefinterfaces::_di_ICefFileDialogCallback callback);
|
||||
virtual void __fastcall RemoveReferences();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCustomDialogHandler(const Ucefinterfaces::_di_IChromiumEvents events);
|
||||
__fastcall virtual ~TCustomDialogHandler();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomDialogHandler(unsigned size, bool owned) : TCefDialogHandlerOwn(size, owned) { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefdialoghandler */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFDIALOGHANDLER)
|
||||
using namespace Ucefdialoghandler;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFDialogHandlerHPP
|
||||
@@ -0,0 +1,105 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFDictionaryValue.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFDictionaryValueHPP
|
||||
#define uCEFDictionaryValueHPP
|
||||
|
||||
#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 Ucefdictionaryvalue
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefDictionaryValueRef;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefDictionaryValueRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
|
||||
|
||||
protected:
|
||||
bool __fastcall IsValid();
|
||||
bool __fastcall isOwned();
|
||||
bool __fastcall IsReadOnly();
|
||||
bool __fastcall IsSame(const Ucefinterfaces::_di_ICefDictionaryValue that);
|
||||
bool __fastcall IsEqual(const Ucefinterfaces::_di_ICefDictionaryValue that);
|
||||
Ucefinterfaces::_di_ICefDictionaryValue __fastcall Copy(bool excludeEmptyChildren);
|
||||
System::NativeUInt __fastcall GetSize();
|
||||
bool __fastcall Clear();
|
||||
bool __fastcall HasKey(const Uceftypes::ustring key);
|
||||
bool __fastcall GetKeys(System::Classes::TStrings* const keys);
|
||||
bool __fastcall Remove(const Uceftypes::ustring key);
|
||||
Uceftypes::TCefValueType __fastcall GetType(const Uceftypes::ustring key);
|
||||
Ucefinterfaces::_di_ICefValue __fastcall GetValue(const Uceftypes::ustring key);
|
||||
bool __fastcall GetBool(const Uceftypes::ustring key);
|
||||
int __fastcall GetInt(const Uceftypes::ustring key);
|
||||
double __fastcall GetDouble(const Uceftypes::ustring key);
|
||||
Uceftypes::ustring __fastcall GetString(const Uceftypes::ustring key);
|
||||
Ucefinterfaces::_di_ICefBinaryValue __fastcall GetBinary(const Uceftypes::ustring key);
|
||||
Ucefinterfaces::_di_ICefDictionaryValue __fastcall GetDictionary(const Uceftypes::ustring key);
|
||||
Ucefinterfaces::_di_ICefListValue __fastcall GetList(const Uceftypes::ustring key);
|
||||
bool __fastcall SetValue(const Uceftypes::ustring key, const Ucefinterfaces::_di_ICefValue value);
|
||||
bool __fastcall SetNull(const Uceftypes::ustring key);
|
||||
bool __fastcall SetBool(const Uceftypes::ustring key, bool value);
|
||||
bool __fastcall SetInt(const Uceftypes::ustring key, int value);
|
||||
bool __fastcall SetDouble(const Uceftypes::ustring key, double value);
|
||||
bool __fastcall SetString(const Uceftypes::ustring key, const Uceftypes::ustring value);
|
||||
bool __fastcall SetBinary(const Uceftypes::ustring key, const Ucefinterfaces::_di_ICefBinaryValue value);
|
||||
bool __fastcall SetDictionary(const Uceftypes::ustring key, const Ucefinterfaces::_di_ICefDictionaryValue value);
|
||||
bool __fastcall SetList(const Uceftypes::ustring key, const Ucefinterfaces::_di_ICefListValue value);
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefDictionaryValue __fastcall UnWrap(void * data);
|
||||
__classmethod Ucefinterfaces::_di_ICefDictionaryValue __fastcall New();
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefDictionaryValueRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefDictionaryValueRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefDictionaryValue; // Ucefinterfaces::ICefDictionaryValue
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {B9638559-54DC-498C-8185-233EEF12BC69}
|
||||
operator Ucefinterfaces::_di_ICefDictionaryValue()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefDictionaryValue intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefDictionaryValue*(void) { return (Ucefinterfaces::ICefDictionaryValue*)&__ICefDictionaryValue; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefdictionaryvalue */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFDICTIONARYVALUE)
|
||||
using namespace Ucefdictionaryvalue;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFDictionaryValueHPP
|
||||
@@ -0,0 +1,92 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFDisplay.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFDisplayHPP
|
||||
#define uCEFDisplayHPP
|
||||
|
||||
#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 <System.Types.hpp>
|
||||
#include <uCEFBaseRefCounted.hpp>
|
||||
#include <uCEFInterfaces.hpp>
|
||||
#include <uCEFTypes.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefdisplay
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefDisplayRef;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefDisplayRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
|
||||
|
||||
protected:
|
||||
__int64 __fastcall GetID();
|
||||
float __fastcall GetDeviceScaleFactor();
|
||||
void __fastcall ConvertPointToPixels(Uceftypes::TCefPoint &point);
|
||||
void __fastcall ConvertPointFromPixels(Uceftypes::TCefPoint &point);
|
||||
Uceftypes::TCefRect __fastcall GetBounds();
|
||||
Uceftypes::TCefRect __fastcall GetWorkArea();
|
||||
int __fastcall GetRotation();
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefDisplay __fastcall UnWrap(void * data);
|
||||
__classmethod Ucefinterfaces::_di_ICefDisplay __fastcall Primary();
|
||||
__classmethod Ucefinterfaces::_di_ICefDisplay __fastcall NearestPoint(const Uceftypes::TCefPoint &point, bool input_pixel_coords);
|
||||
__classmethod Ucefinterfaces::_di_ICefDisplay __fastcall MatchingBounds(const Uceftypes::TCefRect &bounds, bool input_pixel_coords);
|
||||
__classmethod System::NativeUInt __fastcall GetCount();
|
||||
__classmethod bool __fastcall GetAlls(Ucefinterfaces::TCefDisplayArray &aDisplayArray);
|
||||
__classmethod System::Types::TPoint __fastcall ScreenPointToPixels(const System::Types::TPoint &aScreenPoint);
|
||||
__classmethod System::Types::TPoint __fastcall ScreenPointFromPixels(const System::Types::TPoint &aPixelsPoint);
|
||||
__classmethod System::Types::TRect __fastcall ScreenRectToPixels(const System::Types::TRect &aScreenRect);
|
||||
__classmethod System::Types::TRect __fastcall ScreenRectFromPixels(const System::Types::TRect &aPixelsRect);
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefDisplayRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefDisplayRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefDisplay; // Ucefinterfaces::ICefDisplay
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {EC2D3606-DB4C-4894-8D38-B8F99E091965}
|
||||
operator Ucefinterfaces::_di_ICefDisplay()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefDisplay intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefDisplay*(void) { return (Ucefinterfaces::ICefDisplay*)&__ICefDisplay; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefdisplay */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFDISPLAY)
|
||||
using namespace Ucefdisplay;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFDisplayHPP
|
||||
@@ -0,0 +1,121 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFDisplayHandler.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFDisplayHandlerHPP
|
||||
#define uCEFDisplayHandlerHPP
|
||||
|
||||
#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 <uCEFBaseRefCounted.hpp>
|
||||
#include <uCEFInterfaces.hpp>
|
||||
#include <uCEFTypes.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefdisplayhandler
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefDisplayHandlerOwn;
|
||||
class DELPHICLASS TCustomDisplayHandler;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefDisplayHandlerOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
||||
|
||||
protected:
|
||||
virtual void __fastcall OnAddressChange(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Uceftypes::ustring url);
|
||||
virtual void __fastcall OnTitleChange(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring title);
|
||||
virtual void __fastcall OnFaviconUrlChange(const Ucefinterfaces::_di_ICefBrowser browser, System::Classes::TStrings* const iconUrls);
|
||||
virtual void __fastcall OnFullScreenModeChange(const Ucefinterfaces::_di_ICefBrowser browser, bool fullscreen);
|
||||
virtual bool __fastcall OnTooltip(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::ustring &text);
|
||||
virtual void __fastcall OnStatusMessage(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring value);
|
||||
virtual bool __fastcall OnConsoleMessage(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefLogSeverity level, const Uceftypes::ustring message_, const Uceftypes::ustring source, int line);
|
||||
virtual bool __fastcall OnAutoResize(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefSize new_size);
|
||||
virtual void __fastcall OnLoadingProgressChange(const Ucefinterfaces::_di_ICefBrowser browser, const double progress);
|
||||
virtual void __fastcall OnCursorChange(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefCursorHandle cursor_, Uceftypes::TCefCursorType CursorType, const Uceftypes::PCefCursorInfo customCursorInfo, bool &aResult);
|
||||
virtual void __fastcall OnMediaAccessChange(const Ucefinterfaces::_di_ICefBrowser browser, bool has_video_access, bool has_audio_access);
|
||||
virtual bool __fastcall OnContentsBoundsChange(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefRect new_bounds);
|
||||
virtual bool __fastcall GetRootWindowScreenRect(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::PCefRect rect_);
|
||||
virtual void __fastcall RemoveReferences();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCefDisplayHandlerOwn();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefDisplayHandlerOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefDisplayHandlerOwn() { }
|
||||
|
||||
private:
|
||||
void *__ICefDisplayHandler; // Ucefinterfaces::ICefDisplayHandler
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {1EC7C76D-6969-41D1-B26D-079BCFF054C4}
|
||||
operator Ucefinterfaces::_di_ICefDisplayHandler()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefDisplayHandler intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefDisplayHandler*(void) { return (Ucefinterfaces::ICefDisplayHandler*)&__ICefDisplayHandler; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCustomDisplayHandler : public TCefDisplayHandlerOwn
|
||||
{
|
||||
typedef TCefDisplayHandlerOwn inherited;
|
||||
|
||||
protected:
|
||||
void *FEvents;
|
||||
virtual void __fastcall OnAddressChange(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Uceftypes::ustring url);
|
||||
virtual void __fastcall OnTitleChange(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring title);
|
||||
virtual void __fastcall OnFaviconUrlChange(const Ucefinterfaces::_di_ICefBrowser browser, System::Classes::TStrings* const iconUrls);
|
||||
virtual void __fastcall OnFullScreenModeChange(const Ucefinterfaces::_di_ICefBrowser browser, bool fullscreen);
|
||||
virtual bool __fastcall OnTooltip(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::ustring &text);
|
||||
virtual void __fastcall OnStatusMessage(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring value);
|
||||
virtual bool __fastcall OnConsoleMessage(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefLogSeverity level, const Uceftypes::ustring message_, const Uceftypes::ustring source, int line);
|
||||
virtual bool __fastcall OnAutoResize(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefSize new_size);
|
||||
virtual void __fastcall OnLoadingProgressChange(const Ucefinterfaces::_di_ICefBrowser browser, const double progress);
|
||||
virtual void __fastcall OnCursorChange(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefCursorHandle cursor_, Uceftypes::TCefCursorType CursorType, const Uceftypes::PCefCursorInfo customCursorInfo, bool &aResult);
|
||||
virtual void __fastcall OnMediaAccessChange(const Ucefinterfaces::_di_ICefBrowser browser, bool has_video_access, bool has_audio_access);
|
||||
virtual bool __fastcall OnContentsBoundsChange(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefRect new_bounds);
|
||||
virtual bool __fastcall GetRootWindowScreenRect(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::PCefRect rect_);
|
||||
virtual void __fastcall RemoveReferences();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCustomDisplayHandler(const Ucefinterfaces::_di_IChromiumEvents events);
|
||||
__fastcall virtual ~TCustomDisplayHandler();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomDisplayHandler(unsigned size, bool owned) : TCefDisplayHandlerOwn(size, owned) { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefdisplayhandler */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFDISPLAYHANDLER)
|
||||
using namespace Ucefdisplayhandler;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFDisplayHandlerHPP
|
||||
@@ -0,0 +1,87 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFDomDocument.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFDomDocumentHPP
|
||||
#define uCEFDomDocumentHPP
|
||||
|
||||
#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 Ucefdomdocument
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefDomDocumentRef;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefDomDocumentRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
|
||||
|
||||
protected:
|
||||
Uceftypes::TCefDomDocumentType __fastcall GetType();
|
||||
Ucefinterfaces::_di_ICefDomNode __fastcall GetDocument();
|
||||
Ucefinterfaces::_di_ICefDomNode __fastcall GetBody();
|
||||
Ucefinterfaces::_di_ICefDomNode __fastcall GetHead();
|
||||
Uceftypes::ustring __fastcall GetTitle();
|
||||
Ucefinterfaces::_di_ICefDomNode __fastcall GetElementById(const Uceftypes::ustring id);
|
||||
Ucefinterfaces::_di_ICefDomNode __fastcall GetFocusedNode();
|
||||
bool __fastcall HasSelection();
|
||||
int __fastcall GetSelectionStartOffset();
|
||||
int __fastcall GetSelectionEndOffset();
|
||||
Uceftypes::ustring __fastcall GetSelectionAsMarkup();
|
||||
Uceftypes::ustring __fastcall GetSelectionAsText();
|
||||
Uceftypes::ustring __fastcall GetBaseUrl();
|
||||
Uceftypes::ustring __fastcall GetCompleteUrl(const Uceftypes::ustring partialURL);
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefDomDocument __fastcall UnWrap(void * data);
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefDomDocumentRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefDomDocumentRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefDomDocument; // Ucefinterfaces::ICefDomDocument
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {08E74052-45AF-4F69-A578-98A5C3959426}
|
||||
operator Ucefinterfaces::_di_ICefDomDocument()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefDomDocument intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefDomDocument*(void) { return (Ucefinterfaces::ICefDomDocument*)&__ICefDomDocument; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefdomdocument */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFDOMDOCUMENT)
|
||||
using namespace Ucefdomdocument;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFDomDocumentHPP
|
||||
@@ -0,0 +1,103 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFDomNode.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFDomNodeHPP
|
||||
#define uCEFDomNodeHPP
|
||||
|
||||
#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 <System.SysUtils.hpp>
|
||||
#include <uCEFBaseRefCounted.hpp>
|
||||
#include <uCEFInterfaces.hpp>
|
||||
#include <uCEFTypes.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefdomnode
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefDomNodeRef;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefDomNodeRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
|
||||
|
||||
protected:
|
||||
Uceftypes::TCefDomNodeType __fastcall GetType();
|
||||
bool __fastcall IsText();
|
||||
bool __fastcall IsElement();
|
||||
bool __fastcall IsEditable();
|
||||
bool __fastcall IsFormControlElement();
|
||||
Uceftypes::TCefDomFormControlType __fastcall GetFormControlElementType();
|
||||
bool __fastcall IsSame(const Ucefinterfaces::_di_ICefDomNode that);
|
||||
Uceftypes::ustring __fastcall GetName();
|
||||
Uceftypes::ustring __fastcall GetValue();
|
||||
bool __fastcall SetValue(const Uceftypes::ustring value);
|
||||
Uceftypes::ustring __fastcall GetAsMarkup();
|
||||
Ucefinterfaces::_di_ICefDomDocument __fastcall GetDocument();
|
||||
Ucefinterfaces::_di_ICefDomNode __fastcall GetParent();
|
||||
Ucefinterfaces::_di_ICefDomNode __fastcall GetPreviousSibling();
|
||||
Ucefinterfaces::_di_ICefDomNode __fastcall GetNextSibling();
|
||||
bool __fastcall HasChildren();
|
||||
Ucefinterfaces::_di_ICefDomNode __fastcall GetFirstChild();
|
||||
Ucefinterfaces::_di_ICefDomNode __fastcall GetLastChild();
|
||||
Uceftypes::ustring __fastcall GetElementTagName();
|
||||
bool __fastcall HasElementAttributes();
|
||||
bool __fastcall HasElementAttribute(const Uceftypes::ustring attrName);
|
||||
Uceftypes::ustring __fastcall GetElementAttribute(const Uceftypes::ustring attrName);
|
||||
void __fastcall GetElementAttributes(const Ucefinterfaces::_di_ICefStringMap attrMap)/* overload */;
|
||||
void __fastcall GetElementAttributes(System::Classes::TStrings* &attrList)/* overload */;
|
||||
bool __fastcall SetElementAttribute(const Uceftypes::ustring attrName, const Uceftypes::ustring value);
|
||||
Uceftypes::ustring __fastcall GetElementInnerText();
|
||||
Uceftypes::TCefRect __fastcall GetElementBounds();
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefDomNode __fastcall UnWrap(void * data);
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefDomNodeRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefDomNodeRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefDomNode; // Ucefinterfaces::ICefDomNode
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {96C03C9E-9C98-491A-8DAD-1947332232D6}
|
||||
operator Ucefinterfaces::_di_ICefDomNode()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefDomNode intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefDomNode*(void) { return (Ucefinterfaces::ICefDomNode*)&__ICefDomNode; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefdomnode */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFDOMNODE)
|
||||
using namespace Ucefdomnode;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFDomNodeHPP
|
||||
@@ -0,0 +1,139 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFDomVisitor.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFDomVisitorHPP
|
||||
#define uCEFDomVisitorHPP
|
||||
|
||||
#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 Ucefdomvisitor
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefDomVisitorOwn;
|
||||
class DELPHICLASS TCefFastDomVisitor;
|
||||
class DELPHICLASS TCefFastDomVisitor2;
|
||||
class DELPHICLASS TCefFastDomVisitor3;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefDomVisitorOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
||||
|
||||
protected:
|
||||
virtual void __fastcall visit(const Ucefinterfaces::_di_ICefDomDocument document);
|
||||
|
||||
public:
|
||||
__fastcall virtual TCefDomVisitorOwn();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefDomVisitorOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefDomVisitorOwn() { }
|
||||
|
||||
private:
|
||||
void *__ICefDomVisitor; // Ucefinterfaces::ICefDomVisitor
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {30398428-3196-4531-B968-2DDBED36F6B0}
|
||||
operator Ucefinterfaces::_di_ICefDomVisitor()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefDomVisitor intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefDomVisitor*(void) { return (Ucefinterfaces::ICefDomVisitor*)&__ICefDomVisitor; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefFastDomVisitor : public TCefDomVisitorOwn
|
||||
{
|
||||
typedef TCefDomVisitorOwn inherited;
|
||||
|
||||
protected:
|
||||
Ucefinterfaces::_di_TCefDomVisitorProc FProc;
|
||||
virtual void __fastcall visit(const Ucefinterfaces::_di_ICefDomDocument document);
|
||||
|
||||
public:
|
||||
__fastcall virtual TCefFastDomVisitor(const Ucefinterfaces::_di_TCefDomVisitorProc proc);
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefFastDomVisitor(unsigned size, bool owned) : TCefDomVisitorOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefFastDomVisitor() { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefFastDomVisitor2 : public TCefDomVisitorOwn
|
||||
{
|
||||
typedef TCefDomVisitorOwn inherited;
|
||||
|
||||
protected:
|
||||
Ucefinterfaces::_di_TCefDomVisitorProc2 FProc;
|
||||
Ucefinterfaces::_di_ICefBrowser FBrowser;
|
||||
Ucefinterfaces::_di_ICefFrame FFrame;
|
||||
virtual void __fastcall visit(const Ucefinterfaces::_di_ICefDomDocument document);
|
||||
|
||||
public:
|
||||
__fastcall virtual TCefFastDomVisitor2(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_TCefDomVisitorProc2 proc);
|
||||
__fastcall virtual ~TCefFastDomVisitor2();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefFastDomVisitor2(unsigned size, bool owned) : TCefDomVisitorOwn(size, owned) { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefFastDomVisitor3 : public TCefDomVisitorOwn
|
||||
{
|
||||
typedef TCefDomVisitorOwn inherited;
|
||||
|
||||
protected:
|
||||
Ucefinterfaces::_di_TCefDomVisitorProc3 FProc;
|
||||
Ucefinterfaces::_di_ICefBrowser FBrowser;
|
||||
Ucefinterfaces::_di_ICefFrame FFrame;
|
||||
Uceftypes::ustring FValue;
|
||||
virtual void __fastcall visit(const Ucefinterfaces::_di_ICefDomDocument document);
|
||||
|
||||
public:
|
||||
__fastcall virtual TCefFastDomVisitor3(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_TCefDomVisitorProc3 proc, const Uceftypes::ustring aValue);
|
||||
__fastcall virtual ~TCefFastDomVisitor3();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefFastDomVisitor3(unsigned size, bool owned) : TCefDomVisitorOwn(size, owned) { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefdomvisitor */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFDOMVISITOR)
|
||||
using namespace Ucefdomvisitor;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFDomVisitorHPP
|
||||
@@ -0,0 +1,92 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFDownloadItem.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFDownloadItemHPP
|
||||
#define uCEFDownloadItemHPP
|
||||
|
||||
#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 Ucefdownloaditem
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefDownloadItemRef;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefDownloadItemRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
|
||||
|
||||
protected:
|
||||
bool __fastcall IsValid();
|
||||
bool __fastcall IsInProgress();
|
||||
bool __fastcall IsComplete();
|
||||
bool __fastcall IsCanceled();
|
||||
bool __fastcall IsInterrupted();
|
||||
Uceftypes::TCefDownloadInterruptReason __fastcall GetInterruptReason();
|
||||
__int64 __fastcall GetCurrentSpeed();
|
||||
int __fastcall GetPercentComplete();
|
||||
__int64 __fastcall GetTotalBytes();
|
||||
__int64 __fastcall GetReceivedBytes();
|
||||
System::TDateTime __fastcall GetStartTime();
|
||||
System::TDateTime __fastcall GetEndTime();
|
||||
Uceftypes::ustring __fastcall GetFullPath();
|
||||
unsigned __fastcall GetId();
|
||||
Uceftypes::ustring __fastcall GetUrl();
|
||||
Uceftypes::ustring __fastcall GetOriginalUrl();
|
||||
Uceftypes::ustring __fastcall GetSuggestedFileName();
|
||||
Uceftypes::ustring __fastcall GetContentDisposition();
|
||||
Uceftypes::ustring __fastcall GetMimeType();
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefDownloadItem __fastcall UnWrap(void * data);
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefDownloadItemRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefDownloadItemRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefDownloadItem; // Ucefinterfaces::ICefDownloadItem
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {B34BD320-A82E-4185-8E84-B98E5EEC803F}
|
||||
operator Ucefinterfaces::_di_ICefDownloadItem()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefDownloadItem intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefDownloadItem*(void) { return (Ucefinterfaces::ICefDownloadItem*)&__ICefDownloadItem; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefdownloaditem */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFDOWNLOADITEM)
|
||||
using namespace Ucefdownloaditem;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFDownloadItemHPP
|
||||
@@ -0,0 +1,100 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFDownloadHandler.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFDownloadHandlerHPP
|
||||
#define uCEFDownloadHandlerHPP
|
||||
|
||||
#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 Ucefdownloadhandler
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefDownloadHandlerOwn;
|
||||
class DELPHICLASS TCustomDownloadHandler;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefDownloadHandlerOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
||||
|
||||
protected:
|
||||
virtual bool __fastcall CanDownload(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring url, const Uceftypes::ustring request_method);
|
||||
virtual bool __fastcall OnBeforeDownload(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefDownloadItem downloadItem, const Uceftypes::ustring suggestedName, const Ucefinterfaces::_di_ICefBeforeDownloadCallback callback);
|
||||
virtual void __fastcall OnDownloadUpdated(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefDownloadItem downloadItem, const Ucefinterfaces::_di_ICefDownloadItemCallback callback);
|
||||
virtual void __fastcall RemoveReferences();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCefDownloadHandlerOwn();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefDownloadHandlerOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefDownloadHandlerOwn() { }
|
||||
|
||||
private:
|
||||
void *__ICefDownloadHandler; // Ucefinterfaces::ICefDownloadHandler
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {3137F90A-5DC5-43C1-858D-A269F28EF4F1}
|
||||
operator Ucefinterfaces::_di_ICefDownloadHandler()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefDownloadHandler intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefDownloadHandler*(void) { return (Ucefinterfaces::ICefDownloadHandler*)&__ICefDownloadHandler; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCustomDownloadHandler : public TCefDownloadHandlerOwn
|
||||
{
|
||||
typedef TCefDownloadHandlerOwn inherited;
|
||||
|
||||
protected:
|
||||
void *FEvents;
|
||||
virtual bool __fastcall CanDownload(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring url, const Uceftypes::ustring request_method);
|
||||
virtual bool __fastcall OnBeforeDownload(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefDownloadItem downloadItem, const Uceftypes::ustring suggestedName, const Ucefinterfaces::_di_ICefBeforeDownloadCallback callback);
|
||||
virtual void __fastcall OnDownloadUpdated(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefDownloadItem downloadItem, const Ucefinterfaces::_di_ICefDownloadItemCallback callback);
|
||||
virtual void __fastcall RemoveReferences();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCustomDownloadHandler(const Ucefinterfaces::_di_IChromiumEvents events);
|
||||
__fastcall virtual ~TCustomDownloadHandler();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomDownloadHandler(unsigned size, bool owned) : TCefDownloadHandlerOwn(size, owned) { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefdownloadhandler */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFDOWNLOADHANDLER)
|
||||
using namespace Ucefdownloadhandler;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFDownloadHandlerHPP
|
||||
@@ -0,0 +1,114 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFDownloadImageCallBack.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFDownloadImageCallBackHPP
|
||||
#define uCEFDownloadImageCallBackHPP
|
||||
|
||||
#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 Ucefdownloadimagecallback
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefDownloadImageCallbackOwn;
|
||||
class DELPHICLASS TCefFastDownloadImageCallback;
|
||||
class DELPHICLASS TCefCustomDownloadImageCallback;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefDownloadImageCallbackOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
||||
|
||||
protected:
|
||||
virtual void __fastcall OnDownloadImageFinished(const Uceftypes::ustring imageUrl, int httpStatusCode, const Ucefinterfaces::_di_ICefImage image) = 0 ;
|
||||
|
||||
public:
|
||||
__fastcall virtual TCefDownloadImageCallbackOwn();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefDownloadImageCallbackOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefDownloadImageCallbackOwn() { }
|
||||
|
||||
private:
|
||||
void *__ICefDownloadImageCallback; // Ucefinterfaces::ICefDownloadImageCallback
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {0C6E9032-27DF-4584-95C6-DC3C7CB63727}
|
||||
operator Ucefinterfaces::_di_ICefDownloadImageCallback()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefDownloadImageCallback intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefDownloadImageCallback*(void) { return (Ucefinterfaces::ICefDownloadImageCallback*)&__ICefDownloadImageCallback; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefFastDownloadImageCallback : public TCefDownloadImageCallbackOwn
|
||||
{
|
||||
typedef TCefDownloadImageCallbackOwn inherited;
|
||||
|
||||
protected:
|
||||
Ucefinterfaces::_di_TOnDownloadImageFinishedProc FProc;
|
||||
virtual void __fastcall OnDownloadImageFinished(const Uceftypes::ustring imageUrl, int httpStatusCode, const Ucefinterfaces::_di_ICefImage image);
|
||||
|
||||
public:
|
||||
__fastcall TCefFastDownloadImageCallback(const Ucefinterfaces::_di_TOnDownloadImageFinishedProc proc);
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefFastDownloadImageCallback(unsigned size, bool owned) : TCefDownloadImageCallbackOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefFastDownloadImageCallback() { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefCustomDownloadImageCallback : public TCefDownloadImageCallbackOwn
|
||||
{
|
||||
typedef TCefDownloadImageCallbackOwn inherited;
|
||||
|
||||
protected:
|
||||
void *FEvents;
|
||||
virtual void __fastcall OnDownloadImageFinished(const Uceftypes::ustring imageUrl, int httpStatusCode, const Ucefinterfaces::_di_ICefImage image);
|
||||
|
||||
public:
|
||||
__fastcall TCefCustomDownloadImageCallback(const Ucefinterfaces::_di_IChromiumEvents aEvents);
|
||||
__fastcall virtual ~TCefCustomDownloadImageCallback();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefCustomDownloadImageCallback(unsigned size, bool owned) : TCefDownloadImageCallbackOwn(size, owned) { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefdownloadimagecallback */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFDOWNLOADIMAGECALLBACK)
|
||||
using namespace Ucefdownloadimagecallback;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFDownloadImageCallBackHPP
|
||||
@@ -0,0 +1,76 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFDownloadItemCallback.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFDownloadItemCallbackHPP
|
||||
#define uCEFDownloadItemCallbackHPP
|
||||
|
||||
#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 Ucefdownloaditemcallback
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefDownloadItemCallbackRef;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefDownloadItemCallbackRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
|
||||
|
||||
protected:
|
||||
void __fastcall Cancel();
|
||||
void __fastcall Pause();
|
||||
void __fastcall Resume();
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefDownloadItemCallback __fastcall UnWrap(void * data);
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefDownloadItemCallbackRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefDownloadItemCallbackRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefDownloadItemCallback; // Ucefinterfaces::ICefDownloadItemCallback
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {498F103F-BE64-4D5F-86B7-B37EC69E1735}
|
||||
operator Ucefinterfaces::_di_ICefDownloadItemCallback()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefDownloadItemCallback intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefDownloadItemCallback*(void) { return (Ucefinterfaces::ICefDownloadItemCallback*)&__ICefDownloadItemCallback; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefdownloaditemcallback */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFDOWNLOADITEMCALLBACK)
|
||||
using namespace Ucefdownloaditemcallback;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFDownloadItemCallbackHPP
|
||||
@@ -0,0 +1,105 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFDragAndDropMgr.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFDragAndDropMgrHPP
|
||||
#define uCEFDragAndDropMgrHPP
|
||||
|
||||
#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 <Winapi.ActiveX.hpp>
|
||||
#include <Winapi.ShlObj.hpp>
|
||||
#include <Winapi.ShellAPI.hpp>
|
||||
#include <System.Classes.hpp>
|
||||
#include <System.SysUtils.hpp>
|
||||
#include <System.Math.hpp>
|
||||
#include <System.StrUtils.hpp>
|
||||
#include <System.AnsiStrings.hpp>
|
||||
#include <uCEFDragData.hpp>
|
||||
#include <uCEFInterfaces.hpp>
|
||||
#include <uCEFTypes.hpp>
|
||||
#include <uCEFOLEDragAndDrop.hpp>
|
||||
#include <System.Types.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefdraganddropmgr
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCEFDragAndDropMgr;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
typedef void __fastcall (__closure *TDragEnterEvent)(System::TObject* Sender, const Ucefinterfaces::_di_ICefDragData aDragData, System::LongInt grfKeyState, const Winapi::Windows::TPoint &pt, System::LongInt &dwEffect);
|
||||
|
||||
typedef void __fastcall (__closure *TDragOverEvent)(System::TObject* Sender, System::LongInt grfKeyState, const Winapi::Windows::TPoint &pt, System::LongInt &dwEffect);
|
||||
|
||||
typedef void __fastcall (__closure *TDropEvent)(System::TObject* Sender, System::LongInt grfKeyState, const Winapi::Windows::TPoint &pt, System::LongInt &dwEffect);
|
||||
|
||||
class PASCALIMPLEMENTATION TCEFDragAndDropMgr : public Ucefoledraganddrop::TOLEDragAndDropMgr
|
||||
{
|
||||
typedef Ucefoledraganddrop::TOLEDragAndDropMgr inherited;
|
||||
|
||||
protected:
|
||||
Ucefinterfaces::_di_ICefDragData FCurrentDragData;
|
||||
int FOLEEffect;
|
||||
unsigned FMozURLFormat;
|
||||
unsigned FHTMLFormat;
|
||||
unsigned FFileDescFormat;
|
||||
unsigned FFileContentsFormat;
|
||||
TDragEnterEvent FOnDragEnter;
|
||||
TDragOverEvent FOnDragOver;
|
||||
System::Classes::TNotifyEvent FOnDragLeave;
|
||||
TDropEvent FOnDrop;
|
||||
bool __fastcall DragDataToDataObject_Unicode(const Ucefinterfaces::_di_ICefDragData aDragData, Winapi::Activex::TFormatEtc &aFormat, Winapi::Activex::TStgMedium &aMedium);
|
||||
bool __fastcall DragDataToDataObject_Text(const Ucefinterfaces::_di_ICefDragData aDragData, Winapi::Activex::TFormatEtc &aFormat, Winapi::Activex::TStgMedium &aMedium);
|
||||
bool __fastcall DragDataToDataObject_HTML(const Ucefinterfaces::_di_ICefDragData aDragData, Winapi::Activex::TFormatEtc &aFormat, Winapi::Activex::TStgMedium &aMedium);
|
||||
bool __fastcall DragDataToDataObject_URL(const Ucefinterfaces::_di_ICefDragData aDragData, Winapi::Activex::TFormatEtc &aFormat, Winapi::Activex::TStgMedium &aMedium);
|
||||
bool __fastcall DragDataToDataObject_FileDesc(const Ucefinterfaces::_di_ICefDragData aDragData, Winapi::Activex::TFormatEtc &aFormat, Winapi::Activex::TStgMedium &aMedium);
|
||||
bool __fastcall DragDataToDataObject_FileContents(const Ucefinterfaces::_di_ICefDragData aDragData, Winapi::Activex::TFormatEtc &aFormat, Winapi::Activex::TStgMedium &aMedium);
|
||||
void __fastcall DataObjectToDragData(const _di_IDataObject aDataObject, Ucefinterfaces::_di_ICefDragData &aDragData);
|
||||
bool __fastcall DataObjectToDragData_Unicode(Winapi::Activex::TStgMedium &aMedium, Ucefinterfaces::_di_ICefDragData &aDragData);
|
||||
bool __fastcall DataObjectToDragData_Text(Winapi::Activex::TStgMedium &aMedium, Ucefinterfaces::_di_ICefDragData &aDragData);
|
||||
bool __fastcall DataObjectToDragData_URL(Winapi::Activex::TStgMedium &aMedium, Ucefinterfaces::_di_ICefDragData &aDragData);
|
||||
bool __fastcall DataObjectToDragData_HTML(Winapi::Activex::TStgMedium &aMedium, Ucefinterfaces::_di_ICefDragData &aDragData);
|
||||
bool __fastcall DataObjectToDragData_FileDrop(Winapi::Activex::TStgMedium &aMedium, Ucefinterfaces::_di_ICefDragData &aDragData);
|
||||
System::AnsiString __fastcall HtmlToCFHtml(Uceftypes::ustring &aHTML, Uceftypes::ustring &aBaseURL);
|
||||
void __fastcall CFHtmlToHtml(const System::AnsiString cf_html, System::UnicodeString &html, System::UnicodeString &base_url);
|
||||
System::AnsiString __fastcall ZeroFiller(int aNumber, int aLength);
|
||||
System::UnicodeString __fastcall FindStringField(const System::AnsiString aString, const System::AnsiString aFieldName, int &aPos);
|
||||
|
||||
public:
|
||||
__fastcall TCEFDragAndDropMgr();
|
||||
__fastcall virtual ~TCEFDragAndDropMgr();
|
||||
Uceftypes::TCefDragOperation __fastcall StartDragging();
|
||||
bool __fastcall CloneDragData(const Ucefinterfaces::_di_ICefDragData aDragData, Uceftypes::TCefDragOperations aAllowedOps);
|
||||
virtual HRESULT __fastcall DragEnter(const _di_IDataObject DataObj, System::LongInt grfKeyState, const Winapi::Windows::TPoint &pt, System::LongInt &dwEffect);
|
||||
virtual HRESULT __fastcall DragOver(System::LongInt grfKeyState, const Winapi::Windows::TPoint &pt, System::LongInt &dwEffect);
|
||||
virtual HRESULT __fastcall DragLeave();
|
||||
virtual HRESULT __fastcall Drop(const _di_IDataObject dataObj, System::LongInt grfKeyState, const Winapi::Windows::TPoint &pt, System::LongInt &dwEffect);
|
||||
__property TDragEnterEvent OnDragEnter = {read=FOnDragEnter, write=FOnDragEnter};
|
||||
__property TDragOverEvent OnDragOver = {read=FOnDragOver, write=FOnDragOver};
|
||||
__property System::Classes::TNotifyEvent OnDragLeave = {read=FOnDragLeave, write=FOnDragLeave};
|
||||
__property TDropEvent OnDrop = {read=FOnDrop, write=FOnDrop};
|
||||
};
|
||||
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefdraganddropmgr */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFDRAGANDDROPMGR)
|
||||
using namespace Ucefdraganddropmgr;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFDragAndDropMgrHPP
|
||||
@@ -0,0 +1,103 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFDragData.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFDragDataHPP
|
||||
#define uCEFDragDataHPP
|
||||
|
||||
#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 Ucefdragdata
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefDragDataRef;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefDragDataRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
|
||||
|
||||
protected:
|
||||
Ucefinterfaces::_di_ICefDragData __fastcall Clone();
|
||||
bool __fastcall IsReadOnly();
|
||||
bool __fastcall IsLink();
|
||||
bool __fastcall IsFragment();
|
||||
bool __fastcall IsFile();
|
||||
Uceftypes::ustring __fastcall GetLinkUrl();
|
||||
Uceftypes::ustring __fastcall GetLinkTitle();
|
||||
Uceftypes::ustring __fastcall GetLinkMetadata();
|
||||
Uceftypes::ustring __fastcall GetFragmentText();
|
||||
Uceftypes::ustring __fastcall GetFragmentHtml();
|
||||
Uceftypes::ustring __fastcall GetFragmentBaseUrl();
|
||||
Uceftypes::ustring __fastcall GetFileName();
|
||||
System::NativeUInt __fastcall GetFileContents(const Ucefinterfaces::_di_ICefStreamWriter writer);
|
||||
int __fastcall GetFileNames(System::Classes::TStrings* &names);
|
||||
int __fastcall GetFilePaths(System::Classes::TStrings* &paths);
|
||||
void __fastcall SetLinkUrl(const Uceftypes::ustring url);
|
||||
void __fastcall SetLinkTitle(const Uceftypes::ustring title);
|
||||
void __fastcall SetLinkMetadata(const Uceftypes::ustring data);
|
||||
void __fastcall SetFragmentText(const Uceftypes::ustring text);
|
||||
void __fastcall SetFragmentHtml(const Uceftypes::ustring html);
|
||||
void __fastcall SetFragmentBaseUrl(const Uceftypes::ustring baseUrl);
|
||||
void __fastcall ResetFileContents();
|
||||
void __fastcall AddFile(const Uceftypes::ustring path, const Uceftypes::ustring displayName);
|
||||
void __fastcall ClearFilenames();
|
||||
Ucefinterfaces::_di_ICefImage __fastcall GetImage();
|
||||
Uceftypes::TCefPoint __fastcall GetImageHotspot();
|
||||
bool __fastcall HasImage();
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefDragData __fastcall UnWrap(void * data);
|
||||
__classmethod Ucefinterfaces::_di_ICefDragData __fastcall New();
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefDragDataRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefDragDataRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefDragData; // Ucefinterfaces::ICefDragData
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {FBB6A487-F633-4055-AB3E-6619EDE75683}
|
||||
operator Ucefinterfaces::_di_ICefDragData()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefDragData intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefDragData*(void) { return (Ucefinterfaces::ICefDragData*)&__ICefDragData; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefdragdata */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFDRAGDATA)
|
||||
using namespace Ucefdragdata;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFDragDataHPP
|
||||
@@ -0,0 +1,98 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFDragHandler.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFDragHandlerHPP
|
||||
#define uCEFDragHandlerHPP
|
||||
|
||||
#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 Ucefdraghandler
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefDragHandlerOwn;
|
||||
class DELPHICLASS TCustomDragHandler;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefDragHandlerOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
||||
|
||||
protected:
|
||||
virtual bool __fastcall OnDragEnter(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefDragData dragData, Uceftypes::TCefDragOperations mask);
|
||||
virtual void __fastcall OnDraggableRegionsChanged(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, System::NativeUInt regionsCount, const Uceftypes::PCefDraggableRegionArray regions);
|
||||
virtual void __fastcall RemoveReferences();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCefDragHandlerOwn();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefDragHandlerOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefDragHandlerOwn() { }
|
||||
|
||||
private:
|
||||
void *__ICefDragHandler; // Ucefinterfaces::ICefDragHandler
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {59A89579-5B18-489F-A25C-5CC25FF831FC}
|
||||
operator Ucefinterfaces::_di_ICefDragHandler()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefDragHandler intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefDragHandler*(void) { return (Ucefinterfaces::ICefDragHandler*)&__ICefDragHandler; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCustomDragHandler : public TCefDragHandlerOwn
|
||||
{
|
||||
typedef TCefDragHandlerOwn inherited;
|
||||
|
||||
protected:
|
||||
void *FEvents;
|
||||
virtual bool __fastcall OnDragEnter(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefDragData dragData, Uceftypes::TCefDragOperations mask);
|
||||
virtual void __fastcall OnDraggableRegionsChanged(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, System::NativeUInt regionsCount, const Uceftypes::PCefDraggableRegionArray regions);
|
||||
virtual void __fastcall RemoveReferences();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCustomDragHandler(const Ucefinterfaces::_di_IChromiumEvents events);
|
||||
__fastcall virtual ~TCustomDragHandler();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomDragHandler(unsigned size, bool owned) : TCefDragHandlerOwn(size, owned) { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefdraghandler */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFDRAGHANDLER)
|
||||
using namespace Ucefdraghandler;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFDragHandlerHPP
|
||||
@@ -0,0 +1,94 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFEndTracingCallback.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFEndTracingCallbackHPP
|
||||
#define uCEFEndTracingCallbackHPP
|
||||
|
||||
#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 Ucefendtracingcallback
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefEndTracingCallbackOwn;
|
||||
class DELPHICLASS TCefFastEndTracingCallback;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefEndTracingCallbackOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
||||
|
||||
protected:
|
||||
virtual void __fastcall OnEndTracingComplete(const Uceftypes::ustring tracingFile);
|
||||
|
||||
public:
|
||||
__fastcall virtual TCefEndTracingCallbackOwn();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefEndTracingCallbackOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefEndTracingCallbackOwn() { }
|
||||
|
||||
private:
|
||||
void *__ICefEndTracingCallback; // Ucefinterfaces::ICefEndTracingCallback
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {79020EBE-9D1D-49A6-9714-8778FE8929F2}
|
||||
operator Ucefinterfaces::_di_ICefEndTracingCallback()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefEndTracingCallback intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefEndTracingCallback*(void) { return (Ucefinterfaces::ICefEndTracingCallback*)&__ICefEndTracingCallback; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefFastEndTracingCallback : public TCefEndTracingCallbackOwn
|
||||
{
|
||||
typedef TCefEndTracingCallbackOwn inherited;
|
||||
|
||||
protected:
|
||||
Ucefinterfaces::_di_TCefEndTracingCallbackProc FCallback;
|
||||
virtual void __fastcall OnEndTracingComplete(const Uceftypes::ustring tracingFile);
|
||||
|
||||
public:
|
||||
__fastcall TCefFastEndTracingCallback(const Ucefinterfaces::_di_TCefEndTracingCallbackProc callback);
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefFastEndTracingCallback(unsigned size, bool owned) : TCefEndTracingCallbackOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefFastEndTracingCallback() { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefendtracingcallback */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFENDTRACINGCALLBACK)
|
||||
using namespace Ucefendtracingcallback;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFEndTracingCallbackHPP
|
||||
@@ -0,0 +1,77 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFFileDialogCallback.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFFileDialogCallbackHPP
|
||||
#define uCEFFileDialogCallbackHPP
|
||||
|
||||
#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 Uceffiledialogcallback
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefFileDialogCallbackRef;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefFileDialogCallbackRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
|
||||
|
||||
protected:
|
||||
void __fastcall Cont(System::Classes::TStrings* const filePaths);
|
||||
void __fastcall Cancel();
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefFileDialogCallback __fastcall UnWrap(void * data);
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefFileDialogCallbackRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefFileDialogCallbackRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefFileDialogCallback; // Ucefinterfaces::ICefFileDialogCallback
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {1AF659AB-4522-4E39-9C52-184000D8E3C7}
|
||||
operator Ucefinterfaces::_di_ICefFileDialogCallback()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefFileDialogCallback intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefFileDialogCallback*(void) { return (Ucefinterfaces::ICefFileDialogCallback*)&__ICefFileDialogCallback; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Uceffiledialogcallback */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFFILEDIALOGCALLBACK)
|
||||
using namespace Uceffiledialogcallback;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFFileDialogCallbackHPP
|
||||
@@ -0,0 +1,92 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFFileDialogInfo.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFFileDialogInfoHPP
|
||||
#define uCEFFileDialogInfoHPP
|
||||
|
||||
#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 <uCEFInterfaces.hpp>
|
||||
#include <uCEFTypes.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Uceffiledialoginfo
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCEFFileDialogInfo;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCEFFileDialogInfo : public System::TObject
|
||||
{
|
||||
typedef System::TObject inherited;
|
||||
|
||||
protected:
|
||||
unsigned FMode;
|
||||
Uceftypes::ustring FTitle;
|
||||
Uceftypes::ustring FDefaultFilePath;
|
||||
System::Classes::TStrings* FAcceptFilters;
|
||||
System::Classes::TStrings* FAcceptExtensions;
|
||||
System::Classes::TStrings* FAcceptDescriptions;
|
||||
Ucefinterfaces::_di_ICefFileDialogCallback FCallback;
|
||||
Uceftypes::ustring FDefaultAudioFileDesc;
|
||||
Uceftypes::ustring FDefaultVideoFileDesc;
|
||||
Uceftypes::ustring FDefaultTextFileDesc;
|
||||
Uceftypes::ustring FDefaultImageFileDesc;
|
||||
Uceftypes::ustring FDefaultAllFileDesc;
|
||||
Uceftypes::ustring FDefaultUnknownFileDesc;
|
||||
virtual Uceftypes::ustring __fastcall GetDialogFilter();
|
||||
Uceftypes::TCEFDialogType __fastcall GetDialogType();
|
||||
void __fastcall SetAcceptFilters(System::Classes::TStrings* const aAcceptFilters);
|
||||
void __fastcall SetAcceptExtensions(System::Classes::TStrings* const aAcceptExtensions);
|
||||
void __fastcall SetAcceptDescriptions(System::Classes::TStrings* const aAcceptDescriptions);
|
||||
Uceftypes::ustring __fastcall ConvertExtensions(Uceftypes::ustring aExtensions);
|
||||
virtual Uceftypes::ustring __fastcall CEFAcceptFilterToDialogFilter(const Uceftypes::ustring aAcceptFilter, const Uceftypes::ustring aExtension, const Uceftypes::ustring aDescription);
|
||||
virtual Uceftypes::ustring __fastcall GetDefaultMimeTypeDescription(const Uceftypes::ustring aMimeType);
|
||||
|
||||
public:
|
||||
__fastcall TCEFFileDialogInfo();
|
||||
__fastcall virtual ~TCEFFileDialogInfo();
|
||||
void __fastcall Clear();
|
||||
__property unsigned Mode = {read=FMode, write=FMode, nodefault};
|
||||
__property Uceftypes::ustring Title = {read=FTitle, write=FTitle};
|
||||
__property Uceftypes::ustring DefaultFilePath = {read=FDefaultFilePath, write=FDefaultFilePath};
|
||||
__property System::Classes::TStrings* AcceptFilters = {write=SetAcceptFilters};
|
||||
__property System::Classes::TStrings* AcceptExtensions = {write=SetAcceptExtensions};
|
||||
__property System::Classes::TStrings* AcceptDescriptions = {write=SetAcceptDescriptions};
|
||||
__property Ucefinterfaces::_di_ICefFileDialogCallback Callback = {read=FCallback, write=FCallback};
|
||||
__property Uceftypes::ustring DialogFilter = {read=GetDialogFilter};
|
||||
__property Uceftypes::TCEFDialogType DialogType = {read=GetDialogType, nodefault};
|
||||
__property Uceftypes::ustring DefaultAudioFileDesc = {read=FDefaultAudioFileDesc, write=FDefaultAudioFileDesc};
|
||||
__property Uceftypes::ustring DefaultVideoFileDesc = {read=FDefaultVideoFileDesc, write=FDefaultVideoFileDesc};
|
||||
__property Uceftypes::ustring DefaultTextFileDesc = {read=FDefaultTextFileDesc, write=FDefaultTextFileDesc};
|
||||
__property Uceftypes::ustring DefaultImageFileDesc = {read=FDefaultImageFileDesc, write=FDefaultImageFileDesc};
|
||||
__property Uceftypes::ustring DefaultAllFileDesc = {read=FDefaultAllFileDesc, write=FDefaultAllFileDesc};
|
||||
__property Uceftypes::ustring DefaultUnknownFileDesc = {read=FDefaultUnknownFileDesc, write=FDefaultUnknownFileDesc};
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Uceffiledialoginfo */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFFILEDIALOGINFO)
|
||||
using namespace Uceffiledialoginfo;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFFileDialogInfoHPP
|
||||
@@ -0,0 +1,74 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFFillLayout.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFFillLayoutHPP
|
||||
#define uCEFFillLayoutHPP
|
||||
|
||||
#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>
|
||||
#include <uCEFLayout.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Uceffilllayout
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefFillLayoutRef;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefFillLayoutRef : public Uceflayout::TCefLayoutRef
|
||||
{
|
||||
typedef Uceflayout::TCefLayoutRef inherited;
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefFillLayout __fastcall UnWrap(void * data);
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefFillLayoutRef(void * data) : Uceflayout::TCefLayoutRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefFillLayoutRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefFillLayout; // Ucefinterfaces::ICefFillLayout
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {3DB214F2-7F27-4306-82C9-8166160422B1}
|
||||
operator Ucefinterfaces::_di_ICefFillLayout()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefFillLayout intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefFillLayout*(void) { return (Ucefinterfaces::ICefFillLayout*)&__ICefFillLayout; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Uceffilllayout */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFFILLLAYOUT)
|
||||
using namespace Uceffilllayout;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFFillLayoutHPP
|
||||
@@ -0,0 +1,96 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFFindHandler.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFFindHandlerHPP
|
||||
#define uCEFFindHandlerHPP
|
||||
|
||||
#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 <uCEFTypes.hpp>
|
||||
#include <uCEFInterfaces.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Uceffindhandler
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefFindHandlerOwn;
|
||||
class DELPHICLASS TCustomFindHandler;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefFindHandlerOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
||||
|
||||
protected:
|
||||
virtual void __fastcall OnFindResult(const Ucefinterfaces::_di_ICefBrowser browser, int identifier, int count, const Uceftypes::PCefRect selectionRect, int activeMatchOrdinal, bool finalUpdate) = 0 ;
|
||||
virtual void __fastcall RemoveReferences();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCefFindHandlerOwn();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefFindHandlerOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefFindHandlerOwn() { }
|
||||
|
||||
private:
|
||||
void *__ICefFindHandler; // Ucefinterfaces::ICefFindHandler
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {F20DF234-BD43-42B3-A80B-D354A9E5B787}
|
||||
operator Ucefinterfaces::_di_ICefFindHandler()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefFindHandler intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefFindHandler*(void) { return (Ucefinterfaces::ICefFindHandler*)&__ICefFindHandler; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCustomFindHandler : public TCefFindHandlerOwn
|
||||
{
|
||||
typedef TCefFindHandlerOwn inherited;
|
||||
|
||||
protected:
|
||||
void *FEvents;
|
||||
virtual void __fastcall OnFindResult(const Ucefinterfaces::_di_ICefBrowser browser, int identifier, int count, const Uceftypes::PCefRect selectionRect, int activeMatchOrdinal, bool finalUpdate);
|
||||
virtual void __fastcall RemoveReferences();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCustomFindHandler(const Ucefinterfaces::_di_IChromiumEvents events);
|
||||
__fastcall virtual ~TCustomFindHandler();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomFindHandler(unsigned size, bool owned) : TCefFindHandlerOwn(size, owned) { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Uceffindhandler */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFFINDHANDLER)
|
||||
using namespace Uceffindhandler;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFFindHandlerHPP
|
||||
@@ -0,0 +1,100 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFFocusHandler.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFFocusHandlerHPP
|
||||
#define uCEFFocusHandlerHPP
|
||||
|
||||
#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 Uceffocushandler
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefFocusHandlerOwn;
|
||||
class DELPHICLASS TCustomFocusHandler;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefFocusHandlerOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
||||
|
||||
protected:
|
||||
virtual void __fastcall OnTakeFocus(const Ucefinterfaces::_di_ICefBrowser browser, bool next);
|
||||
virtual bool __fastcall OnSetFocus(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefFocusSource source);
|
||||
virtual void __fastcall OnGotFocus(const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
virtual void __fastcall RemoveReferences();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCefFocusHandlerOwn();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefFocusHandlerOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefFocusHandlerOwn() { }
|
||||
|
||||
private:
|
||||
void *__ICefFocusHandler; // Ucefinterfaces::ICefFocusHandler
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {BB7FA3FA-7B1A-4ADC-8E50-12A24018DD90}
|
||||
operator Ucefinterfaces::_di_ICefFocusHandler()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefFocusHandler intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefFocusHandler*(void) { return (Ucefinterfaces::ICefFocusHandler*)&__ICefFocusHandler; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCustomFocusHandler : public TCefFocusHandlerOwn
|
||||
{
|
||||
typedef TCefFocusHandlerOwn inherited;
|
||||
|
||||
protected:
|
||||
void *FEvents;
|
||||
virtual void __fastcall OnTakeFocus(const Ucefinterfaces::_di_ICefBrowser browser, bool next);
|
||||
virtual bool __fastcall OnSetFocus(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefFocusSource source);
|
||||
virtual void __fastcall OnGotFocus(const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
virtual void __fastcall RemoveReferences();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCustomFocusHandler(const Ucefinterfaces::_di_IChromiumEvents events);
|
||||
__fastcall virtual ~TCustomFocusHandler();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomFocusHandler(unsigned size, bool owned) : TCefFocusHandlerOwn(size, owned) { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Uceffocushandler */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFFOCUSHANDLER)
|
||||
using namespace Uceffocushandler;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFFocusHandlerHPP
|
||||
@@ -0,0 +1,100 @@
|
||||
// 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
|
||||
@@ -0,0 +1,104 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFFrameHandler.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFFrameHandlerHPP
|
||||
#define uCEFFrameHandlerHPP
|
||||
|
||||
#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 Ucefframehandler
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefFrameHandlerOwn;
|
||||
class DELPHICLASS TCustomFrameHandler;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefFrameHandlerOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
||||
|
||||
protected:
|
||||
virtual void __fastcall OnFrameCreated(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame);
|
||||
virtual void __fastcall OnFrameDestroyed(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame);
|
||||
virtual void __fastcall OnFrameAttached(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, bool reattached);
|
||||
virtual void __fastcall OnFrameDetached(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame);
|
||||
virtual void __fastcall OnMainFrameChanged(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame old_frame, const Ucefinterfaces::_di_ICefFrame new_frame);
|
||||
virtual void __fastcall RemoveReferences();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCefFrameHandlerOwn();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefFrameHandlerOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefFrameHandlerOwn() { }
|
||||
|
||||
private:
|
||||
void *__ICefFrameHandler; // Ucefinterfaces::ICefFrameHandler
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {B437128C-F7CB-4F75-83CF-A257B98C0B6E}
|
||||
operator Ucefinterfaces::_di_ICefFrameHandler()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefFrameHandler intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefFrameHandler*(void) { return (Ucefinterfaces::ICefFrameHandler*)&__ICefFrameHandler; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCustomFrameHandler : public TCefFrameHandlerOwn
|
||||
{
|
||||
typedef TCefFrameHandlerOwn inherited;
|
||||
|
||||
protected:
|
||||
void *FEvents;
|
||||
virtual void __fastcall OnFrameCreated(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame);
|
||||
virtual void __fastcall OnFrameDestroyed(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame);
|
||||
virtual void __fastcall OnFrameAttached(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, bool reattached);
|
||||
virtual void __fastcall OnFrameDetached(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame);
|
||||
virtual void __fastcall OnMainFrameChanged(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame old_frame, const Ucefinterfaces::_di_ICefFrame new_frame);
|
||||
virtual void __fastcall RemoveReferences();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCustomFrameHandler(const Ucefinterfaces::_di_IChromiumEvents events);
|
||||
__fastcall virtual ~TCustomFrameHandler();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomFrameHandler(unsigned size, bool owned) : TCefFrameHandlerOwn(size, owned) { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefframehandler */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFFRAMEHANDLER)
|
||||
using namespace Ucefframehandler;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFFrameHandlerHPP
|
||||
@@ -0,0 +1,88 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFImage.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFImageHPP
|
||||
#define uCEFImageHPP
|
||||
|
||||
#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 <uCEFBaseRefCounted.hpp>
|
||||
#include <uCEFInterfaces.hpp>
|
||||
#include <uCEFTypes.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefimage
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefImageRef;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefImageRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
|
||||
|
||||
protected:
|
||||
bool __fastcall IsEmpty();
|
||||
bool __fastcall IsSame(const Ucefinterfaces::_di_ICefImage that);
|
||||
bool __fastcall AddBitmap(float scaleFactor, int pixelWidth, int pixelHeight, Uceftypes::TCefColorType colorType, Uceftypes::TCefAlphaType alphaType, const void * pixelData, System::NativeUInt pixelDataSize);
|
||||
bool __fastcall AddPng(float scaleFactor, const void * pngData, System::NativeUInt pngDataSize);
|
||||
bool __fastcall AddJpeg(float scaleFactor, const void * jpegData, System::NativeUInt jpegDataSize);
|
||||
System::NativeUInt __fastcall GetWidth();
|
||||
System::NativeUInt __fastcall GetHeight();
|
||||
bool __fastcall HasRepresentation(float scaleFactor);
|
||||
bool __fastcall RemoveRepresentation(float scaleFactor);
|
||||
bool __fastcall GetRepresentationInfo(float scaleFactor, float &actualScaleFactor, int &pixelWidth, int &pixelHeight);
|
||||
Ucefinterfaces::_di_ICefBinaryValue __fastcall GetAsBitmap(float scaleFactor, Uceftypes::TCefColorType colorType, Uceftypes::TCefAlphaType alphaType, int &pixelWidth, int &pixelHeight);
|
||||
Ucefinterfaces::_di_ICefBinaryValue __fastcall GetAsPng(float scaleFactor, bool withTransparency, int &pixelWidth, int &pixelHeight);
|
||||
Ucefinterfaces::_di_ICefBinaryValue __fastcall GetAsJpeg(float scaleFactor, int quality, int &pixelWidth, int &pixelHeight);
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefImage __fastcall UnWrap(void * data);
|
||||
__classmethod Ucefinterfaces::_di_ICefImage __fastcall New();
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefImageRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefImageRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefImage; // Ucefinterfaces::ICefImage
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {E2C2F424-26A2-4498-BB45-DA23219831BE}
|
||||
operator Ucefinterfaces::_di_ICefImage()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefImage intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefImage*(void) { return (Ucefinterfaces::ICefImage*)&__ICefImage; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefimage */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFIMAGE)
|
||||
using namespace Ucefimage;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFImageHPP
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,74 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFJsDialogCallback.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFJsDialogCallbackHPP
|
||||
#define uCEFJsDialogCallbackHPP
|
||||
|
||||
#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 Ucefjsdialogcallback
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefJsDialogCallbackRef;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefJsDialogCallbackRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
|
||||
|
||||
protected:
|
||||
void __fastcall Cont(bool success, const Uceftypes::ustring userInput);
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefJsDialogCallback __fastcall UnWrap(void * data);
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefJsDialogCallbackRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefJsDialogCallbackRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefJsDialogCallback; // Ucefinterfaces::ICefJsDialogCallback
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {187B2156-9947-4108-87AB-32E559E1B026}
|
||||
operator Ucefinterfaces::_di_ICefJsDialogCallback()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefJsDialogCallback intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefJsDialogCallback*(void) { return (Ucefinterfaces::ICefJsDialogCallback*)&__ICefJsDialogCallback; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefjsdialogcallback */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFJSDIALOGCALLBACK)
|
||||
using namespace Ucefjsdialogcallback;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFJsDialogCallbackHPP
|
||||
@@ -0,0 +1,102 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFJsDialogHandler.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFJsDialogHandlerHPP
|
||||
#define uCEFJsDialogHandlerHPP
|
||||
|
||||
#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 Ucefjsdialoghandler
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefJsDialogHandlerOwn;
|
||||
class DELPHICLASS TCustomJsDialogHandler;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefJsDialogHandlerOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
||||
|
||||
protected:
|
||||
virtual bool __fastcall OnJsdialog(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring originUrl, Uceftypes::TCefJsDialogType dialogType, const Uceftypes::ustring messageText, const Uceftypes::ustring defaultPromptText, const Ucefinterfaces::_di_ICefJsDialogCallback callback, /* out */ bool &suppressMessage);
|
||||
virtual bool __fastcall OnBeforeUnloadDialog(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring messageText, bool isReload, const Ucefinterfaces::_di_ICefJsDialogCallback callback);
|
||||
virtual void __fastcall OnResetDialogState(const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
virtual void __fastcall OnDialogClosed(const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
virtual void __fastcall RemoveReferences();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCefJsDialogHandlerOwn();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefJsDialogHandlerOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefJsDialogHandlerOwn() { }
|
||||
|
||||
private:
|
||||
void *__ICefJsDialogHandler; // Ucefinterfaces::ICefJsDialogHandler
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {64E18F86-DAC5-4ED1-8589-44DE45B9DB56}
|
||||
operator Ucefinterfaces::_di_ICefJsDialogHandler()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefJsDialogHandler intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefJsDialogHandler*(void) { return (Ucefinterfaces::ICefJsDialogHandler*)&__ICefJsDialogHandler; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCustomJsDialogHandler : public TCefJsDialogHandlerOwn
|
||||
{
|
||||
typedef TCefJsDialogHandlerOwn inherited;
|
||||
|
||||
protected:
|
||||
void *FEvents;
|
||||
virtual bool __fastcall OnJsdialog(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring originUrl, Uceftypes::TCefJsDialogType dialogType, const Uceftypes::ustring messageText, const Uceftypes::ustring defaultPromptText, const Ucefinterfaces::_di_ICefJsDialogCallback callback, /* out */ bool &suppressMessage);
|
||||
virtual bool __fastcall OnBeforeUnloadDialog(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring messageText, bool isReload, const Ucefinterfaces::_di_ICefJsDialogCallback callback);
|
||||
virtual void __fastcall OnResetDialogState(const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
virtual void __fastcall OnDialogClosed(const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
virtual void __fastcall RemoveReferences();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCustomJsDialogHandler(const Ucefinterfaces::_di_IChromiumEvents events);
|
||||
__fastcall virtual ~TCustomJsDialogHandler();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomJsDialogHandler(unsigned size, bool owned) : TCefJsDialogHandlerOwn(size, owned) { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefjsdialoghandler */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFJSDIALOGHANDLER)
|
||||
using namespace Ucefjsdialoghandler;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFJsDialogHandlerHPP
|
||||
@@ -0,0 +1,74 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFJson.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFJsonHPP
|
||||
#define uCEFJsonHPP
|
||||
|
||||
#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 <uCEFInterfaces.hpp>
|
||||
#include <uCEFTypes.hpp>
|
||||
#include <uCEFConstants.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefjson
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCEFJson;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCEFJson : public System::TObject
|
||||
{
|
||||
typedef System::TObject inherited;
|
||||
|
||||
public:
|
||||
__classmethod bool __fastcall ReadValue(const Ucefinterfaces::_di_ICefDictionaryValue aDictionary, const System::UnicodeString aKey, Ucefinterfaces::_di_ICefValue &aValue);
|
||||
__classmethod bool __fastcall ReadBoolean(const Ucefinterfaces::_di_ICefDictionaryValue aDictionary, const System::UnicodeString aKey, bool &aValue);
|
||||
__classmethod bool __fastcall ReadInteger(const Ucefinterfaces::_di_ICefDictionaryValue aDictionary, const System::UnicodeString aKey, int &aValue);
|
||||
__classmethod bool __fastcall ReadDouble(const Ucefinterfaces::_di_ICefDictionaryValue aDictionary, const System::UnicodeString aKey, double &aValue);
|
||||
__classmethod bool __fastcall ReadString(const Ucefinterfaces::_di_ICefDictionaryValue aDictionary, const System::UnicodeString aKey, Uceftypes::ustring &aValue);
|
||||
__classmethod bool __fastcall ReadBinary(const Ucefinterfaces::_di_ICefDictionaryValue aDictionary, const System::UnicodeString aKey, Ucefinterfaces::_di_ICefBinaryValue &aValue);
|
||||
__classmethod bool __fastcall ReadDictionary(const Ucefinterfaces::_di_ICefDictionaryValue aDictionary, const System::UnicodeString aKey, Ucefinterfaces::_di_ICefDictionaryValue &aValue);
|
||||
__classmethod bool __fastcall ReadList(const Ucefinterfaces::_di_ICefDictionaryValue aDictionary, const System::UnicodeString aKey, Ucefinterfaces::_di_ICefListValue &aValue);
|
||||
__classmethod Ucefinterfaces::_di_ICefValue __fastcall Parse(const Uceftypes::ustring jsonString, Uceftypes::TCefJsonParserOptions options = (Uceftypes::TCefJsonParserOptions)(0x0))/* overload */;
|
||||
__classmethod Ucefinterfaces::_di_ICefValue __fastcall Parse(const void * json, System::NativeUInt json_size, Uceftypes::TCefJsonParserOptions options = (Uceftypes::TCefJsonParserOptions)(0x0))/* overload */;
|
||||
__classmethod Ucefinterfaces::_di_ICefValue __fastcall ParseAndReturnError(const Uceftypes::ustring jsonString, Uceftypes::TCefJsonParserOptions options, /* out */ Uceftypes::ustring &errorMsgOut);
|
||||
__classmethod Uceftypes::ustring __fastcall Write(const Ucefinterfaces::_di_ICefValue node, Uceftypes::TCefJsonWriterOptions options = (Uceftypes::TCefJsonWriterOptions)(0x0))/* overload */;
|
||||
__classmethod Uceftypes::ustring __fastcall Write(const Ucefinterfaces::_di_ICefDictionaryValue node, Uceftypes::TCefJsonWriterOptions options = (Uceftypes::TCefJsonWriterOptions)(0x0))/* overload */;
|
||||
__classmethod bool __fastcall Write(const Ucefinterfaces::_di_ICefValue node, System::Classes::TStringList* &aRsltStrings)/* overload */;
|
||||
__classmethod bool __fastcall Write(const Ucefinterfaces::_di_ICefDictionaryValue node, System::Classes::TStringList* &aRsltStrings)/* overload */;
|
||||
__classmethod bool __fastcall SaveToFile(const Ucefinterfaces::_di_ICefValue node, const Uceftypes::ustring aFileName)/* overload */;
|
||||
__classmethod bool __fastcall SaveToFile(const Ucefinterfaces::_di_ICefDictionaryValue node, const Uceftypes::ustring aFileName)/* overload */;
|
||||
__classmethod bool __fastcall LoadFromFile(const Uceftypes::ustring aFileName, Ucefinterfaces::_di_ICefValue &aRsltNode, System::Sysutils::TEncoding* encoding = (System::Sysutils::TEncoding*)(0x0), Uceftypes::TCefJsonParserOptions options = (Uceftypes::TCefJsonParserOptions)(0x0));
|
||||
public:
|
||||
/* TObject.Create */ inline __fastcall TCEFJson() : System::TObject() { }
|
||||
/* TObject.Destroy */ inline __fastcall virtual ~TCEFJson() { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefjson */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFJSON)
|
||||
using namespace Ucefjson;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFJsonHPP
|
||||
@@ -0,0 +1,98 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFKeyboardHandler.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFKeyboardHandlerHPP
|
||||
#define uCEFKeyboardHandlerHPP
|
||||
|
||||
#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 Ucefkeyboardhandler
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefKeyboardHandlerOwn;
|
||||
class DELPHICLASS TCustomKeyboardHandler;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefKeyboardHandlerOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
||||
|
||||
protected:
|
||||
virtual bool __fastcall OnPreKeyEvent(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefKeyEvent event, Uceftypes::TCefEventHandle osEvent, /* out */ bool &isKeyboardShortcut);
|
||||
virtual bool __fastcall OnKeyEvent(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefKeyEvent event, Uceftypes::TCefEventHandle osEvent);
|
||||
virtual void __fastcall RemoveReferences();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCefKeyboardHandlerOwn();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefKeyboardHandlerOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefKeyboardHandlerOwn() { }
|
||||
|
||||
private:
|
||||
void *__ICefKeyboardHandler; // Ucefinterfaces::ICefKeyboardHandler
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {0512F4EC-ED88-44C9-90D3-5C6D03D3B146}
|
||||
operator Ucefinterfaces::_di_ICefKeyboardHandler()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefKeyboardHandler intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefKeyboardHandler*(void) { return (Ucefinterfaces::ICefKeyboardHandler*)&__ICefKeyboardHandler; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCustomKeyboardHandler : public TCefKeyboardHandlerOwn
|
||||
{
|
||||
typedef TCefKeyboardHandlerOwn inherited;
|
||||
|
||||
protected:
|
||||
void *FEvents;
|
||||
virtual bool __fastcall OnPreKeyEvent(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefKeyEvent event, Uceftypes::TCefEventHandle osEvent, /* out */ bool &isKeyboardShortcut);
|
||||
virtual bool __fastcall OnKeyEvent(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefKeyEvent event, Uceftypes::TCefEventHandle osEvent);
|
||||
virtual void __fastcall RemoveReferences();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCustomKeyboardHandler(const Ucefinterfaces::_di_IChromiumEvents events);
|
||||
__fastcall virtual ~TCustomKeyboardHandler();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomKeyboardHandler(unsigned size, bool owned) : TCefKeyboardHandlerOwn(size, owned) { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefkeyboardhandler */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFKEYBOARDHANDLER)
|
||||
using namespace Ucefkeyboardhandler;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFKeyboardHandlerHPP
|
||||
@@ -0,0 +1,89 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFLabelButton.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFLabelButtonHPP
|
||||
#define uCEFLabelButtonHPP
|
||||
|
||||
#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>
|
||||
#include <uCEFButton.hpp>
|
||||
#include <uCEFView.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Uceflabelbutton
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefLabelButtonRef;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefLabelButtonRef : public Ucefbutton::TCefButtonRef
|
||||
{
|
||||
typedef Ucefbutton::TCefButtonRef inherited;
|
||||
|
||||
protected:
|
||||
Ucefinterfaces::_di_ICefMenuButton __fastcall AsMenuButton();
|
||||
void __fastcall SetText(const Uceftypes::ustring text_);
|
||||
Uceftypes::ustring __fastcall GetText();
|
||||
void __fastcall SetImage(Uceftypes::TCefButtonState button_state, const Ucefinterfaces::_di_ICefImage image);
|
||||
Ucefinterfaces::_di_ICefImage __fastcall GetImage(Uceftypes::TCefButtonState button_state);
|
||||
void __fastcall SetTextColor(Uceftypes::TCefButtonState for_state, Uceftypes::TCefColor color);
|
||||
void __fastcall SetEnabledTextColors(Uceftypes::TCefColor color);
|
||||
void __fastcall SetFontList(const Uceftypes::ustring font_list);
|
||||
void __fastcall SetHorizontalAlignment(Uceftypes::TCefHorizontalAlignment alignment);
|
||||
void __fastcall SetMinimumSize(const Uceftypes::TCefSize &size_);
|
||||
void __fastcall SetMaximumSize(const Uceftypes::TCefSize &size_);
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefLabelButton __fastcall UnWrap(void * data);
|
||||
__classmethod Ucefinterfaces::_di_ICefLabelButton __fastcall CreateLabelButton(const Ucefinterfaces::_di_ICefButtonDelegate delegate, const Uceftypes::ustring text);
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefLabelButtonRef(void * data) : Ucefbutton::TCefButtonRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefLabelButtonRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefLabelButton; // Ucefinterfaces::ICefLabelButton
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {A99FD4F3-7EE6-4796-8BF6-EC367D51EED8}
|
||||
operator Ucefinterfaces::_di_ICefLabelButton()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefLabelButton intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefLabelButton*(void) { return (Ucefinterfaces::ICefLabelButton*)&__ICefLabelButton; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Uceflabelbutton */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFLABELBUTTON)
|
||||
using namespace Uceflabelbutton;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFLabelButtonHPP
|
||||
@@ -0,0 +1,85 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFLabelButtonComponent.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFLabelButtonComponentHPP
|
||||
#define uCEFLabelButtonComponentHPP
|
||||
|
||||
#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 <uCEFButtonComponent.hpp>
|
||||
#include <uCEFViewComponent.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Uceflabelbuttoncomponent
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCEFLabelButtonComponent;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
class PASCALIMPLEMENTATION TCEFLabelButtonComponent : public Ucefbuttoncomponent::TCEFButtonComponent
|
||||
{
|
||||
typedef Ucefbuttoncomponent::TCEFButtonComponent inherited;
|
||||
|
||||
protected:
|
||||
Ucefinterfaces::_di_ICefLabelButton FLabelButton;
|
||||
Uceftypes::ustring FText;
|
||||
virtual void __fastcall DestroyView();
|
||||
virtual void __fastcall Initialize();
|
||||
virtual bool __fastcall GetInitialized();
|
||||
virtual Ucefinterfaces::_di_ICefView __fastcall GetAsView();
|
||||
virtual Ucefinterfaces::_di_ICefButton __fastcall GetAsButton();
|
||||
virtual Ucefinterfaces::_di_ICefLabelButton __fastcall GetAsLabelButton();
|
||||
virtual Ucefinterfaces::_di_ICefMenuButton __fastcall GetAsMenuButton();
|
||||
Uceftypes::ustring __fastcall GetText();
|
||||
Ucefinterfaces::_di_ICefImage __fastcall GetImage(Uceftypes::TCefButtonState button_state);
|
||||
void __fastcall SetText(const Uceftypes::ustring text_);
|
||||
void __fastcall SetImage(Uceftypes::TCefButtonState button_state, const Ucefinterfaces::_di_ICefImage image);
|
||||
virtual void __fastcall doCreateCustomView();
|
||||
|
||||
public:
|
||||
void __fastcall CreateLabelButton(const Uceftypes::ustring aText);
|
||||
void __fastcall SetTextColor(Uceftypes::TCefButtonState for_state, Uceftypes::TCefColor color);
|
||||
void __fastcall SetEnabledTextColors(Uceftypes::TCefColor color);
|
||||
void __fastcall SetFontList(const Uceftypes::ustring font_list);
|
||||
void __fastcall SetHorizontalAlignment(Uceftypes::TCefHorizontalAlignment alignment);
|
||||
void __fastcall SetMinimumSize(const Uceftypes::TCefSize &size_);
|
||||
void __fastcall SetMaximumSize(const Uceftypes::TCefSize &size_);
|
||||
__property Uceftypes::ustring Text = {read=GetText, write=SetText};
|
||||
__property Ucefinterfaces::_di_ICefImage Image[Uceftypes::TCefButtonState button_state] = {read=GetImage, write=SetImage};
|
||||
__property Ucefinterfaces::_di_ICefMenuButton AsMenuButton = {read=GetAsMenuButton};
|
||||
public:
|
||||
/* TCEFViewComponent.Create */ inline __fastcall virtual TCEFLabelButtonComponent(System::Classes::TComponent* AOwner) : Ucefbuttoncomponent::TCEFButtonComponent(AOwner) { }
|
||||
|
||||
public:
|
||||
/* TComponent.Destroy */ inline __fastcall virtual ~TCEFLabelButtonComponent() { }
|
||||
|
||||
};
|
||||
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Uceflabelbuttoncomponent */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFLABELBUTTONCOMPONENT)
|
||||
using namespace Uceflabelbuttoncomponent;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFLabelButtonComponentHPP
|
||||
@@ -0,0 +1,78 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFLayout.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFLayoutHPP
|
||||
#define uCEFLayoutHPP
|
||||
|
||||
#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 Uceflayout
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefLayoutRef;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefLayoutRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
|
||||
|
||||
protected:
|
||||
Ucefinterfaces::_di_ICefBoxLayout __fastcall AsBoxLayout();
|
||||
Ucefinterfaces::_di_ICefFillLayout __fastcall AsFillLayout();
|
||||
bool __fastcall IsValid();
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefLayout __fastcall UnWrap(void * data);
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefLayoutRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefLayoutRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefLayout; // Ucefinterfaces::ICefLayout
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {0EC7AE4B-1672-4D0B-B617-0BDA72F3C7F4}
|
||||
operator Ucefinterfaces::_di_ICefLayout()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefLayout intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefLayout*(void) { return (Ucefinterfaces::ICefLayout*)&__ICefLayout; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Uceflayout */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFLAYOUT)
|
||||
using namespace Uceflayout;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFLayoutHPP
|
||||
@@ -0,0 +1,245 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFLibFunctions.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFLibFunctionsHPP
|
||||
#define uCEFLibFunctionsHPP
|
||||
|
||||
#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.Math.hpp>
|
||||
#include <uCEFTypes.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Uceflibfunctions
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
//-- type declarations -------------------------------------------------------
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
extern DELPHI_PACKAGE char * __cdecl (*cef_api_hash)(int version, int entry);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_api_version)(void);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_version_info)(int entry);
|
||||
extern DELPHI_PACKAGE void __cdecl (*cef_version_info_all)(Uceftypes::PCefVersionInfoEx info);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_id_for_pack_resource_name)(const char * name);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_id_for_pack_string_name)(const char * name);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_id_for_command_id_name)(const char * name);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_initialize)(const Uceftypes::PCefMainArgs args, const Uceftypes::PCefSettings settings, Uceftypes::PCefApp application, void * windows_sandbox_info);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_get_exit_code)(void);
|
||||
extern DELPHI_PACKAGE void __cdecl (*cef_shutdown)(void);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_execute_process)(const Uceftypes::PCefMainArgs args, Uceftypes::PCefApp application, void * windows_sandbox_info);
|
||||
extern DELPHI_PACKAGE void __cdecl (*cef_do_message_loop_work)(void);
|
||||
extern DELPHI_PACKAGE void __cdecl (*cef_run_message_loop)(void);
|
||||
extern DELPHI_PACKAGE void __cdecl (*cef_quit_message_loop)(void);
|
||||
extern DELPHI_PACKAGE void __cdecl (*cef_set_nestable_tasks_allowed)(int allowed);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_browser_host_create_browser)(const Uceftypes::PCefWindowInfo windowInfo, Uceftypes::PCefClient client, const Uceftypes::PCefString url, const Uceftypes::PCefBrowserSettings settings, Uceftypes::PCefDictionaryValue extra_info, Uceftypes::PCefRequestContext request_context);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefBrowser __cdecl (*cef_browser_host_create_browser_sync)(const Uceftypes::PCefWindowInfo windowInfo, Uceftypes::PCefClient client, const Uceftypes::PCefString url, const Uceftypes::PCefBrowserSettings settings, Uceftypes::PCefDictionaryValue extra_info, Uceftypes::PCefRequestContext request_context);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefBrowser __cdecl (*cef_browser_host_get_browser_by_identifier)(int browser_id);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefCommandLine __cdecl (*cef_command_line_create)(void);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefCommandLine __cdecl (*cef_command_line_get_global)(void);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefCookieManager __cdecl (*cef_cookie_manager_get_global_manager)(Uceftypes::PCefCompletionCallback callback);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_crash_reporting_enabled)(void);
|
||||
extern DELPHI_PACKAGE void __cdecl (*cef_set_crash_key_value)(const Uceftypes::PCefString key, const Uceftypes::PCefString value);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefDragData __cdecl (*cef_drag_data_create)(void);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_create_directory)(const Uceftypes::PCefString full_path);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_get_temp_directory)(Uceftypes::PCefString temp_dir);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_create_new_temp_directory)(const Uceftypes::PCefString prefix, Uceftypes::PCefString new_temp_path);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_create_temp_directory_in_directory)(const Uceftypes::PCefString base_dir, const Uceftypes::PCefString prefix, Uceftypes::PCefString new_dir);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_directory_exists)(const Uceftypes::PCefString path);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_delete_file)(const Uceftypes::PCefString path, int recursive);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_zip_directory)(const Uceftypes::PCefString src_dir, const Uceftypes::PCefString dest_file, int include_hidden_files);
|
||||
extern DELPHI_PACKAGE void __cdecl (*cef_load_crlsets_file)(const Uceftypes::PCefString path);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_is_rtl)(void);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefImage __cdecl (*cef_image_create)(void);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefMediaRouter __cdecl (*cef_media_router_get_global)(Uceftypes::PCefCompletionCallback callback);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefMenuModel __cdecl (*cef_menu_model_create)(Uceftypes::PCefMenuModelDelegate delegate);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_add_cross_origin_whitelist_entry)(const Uceftypes::PCefString source_origin, const Uceftypes::PCefString target_protocol, const Uceftypes::PCefString target_domain, int allow_target_subdomains);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_remove_cross_origin_whitelist_entry)(const Uceftypes::PCefString source_origin, const Uceftypes::PCefString target_protocol, const Uceftypes::PCefString target_domain, int allow_target_subdomains);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_clear_cross_origin_whitelist)(void);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_resolve_url)(const Uceftypes::PCefString base_url, const Uceftypes::PCefString relative_url, Uceftypes::PCefString resolved_url);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_parse_url)(const Uceftypes::PCefString url, Uceftypes::TCefUrlParts &parts);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_create_url)(const Uceftypes::PCefUrlParts parts, Uceftypes::PCefString url);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefStringUserFreeUtf16 __cdecl (*cef_format_url_for_security_display)(const Uceftypes::PCefString origin_url);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefStringUserFreeUtf16 __cdecl (*cef_get_mime_type)(const Uceftypes::PCefString extension);
|
||||
extern DELPHI_PACKAGE void __cdecl (*cef_get_extensions_for_mime_type)(const Uceftypes::PCefString mime_type, Uceftypes::TCefStringList extensions);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefStringUserFreeUtf16 __cdecl (*cef_base64_encode)(const void * data, System::NativeUInt data_size);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefBinaryValue __cdecl (*cef_base64_decode)(const Uceftypes::PCefString data);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefStringUserFreeUtf16 __cdecl (*cef_uriencode)(const Uceftypes::PCefString text, int use_plus);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefStringUserFreeUtf16 __cdecl (*cef_uridecode)(const Uceftypes::PCefString text, int convert_to_utf8, Uceftypes::TCefUriUnescapeRule unescape_rule);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefValue __cdecl (*cef_parse_json)(const Uceftypes::PCefString json_string, Uceftypes::TCefJsonParserOptions options);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefValue __cdecl (*cef_parse_json_buffer)(const void * json, System::NativeUInt json_size, Uceftypes::TCefJsonParserOptions options);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefValue __cdecl (*cef_parse_jsonand_return_error)(const Uceftypes::PCefString json_string, Uceftypes::TCefJsonParserOptions options, Uceftypes::PCefString error_msg_out);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefStringUserFreeUtf16 __cdecl (*cef_write_json)(Uceftypes::PCefValue node, Uceftypes::TCefJsonWriterOptions options);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_get_path)(Uceftypes::TCefPathKey key, Uceftypes::PCefString path);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefPreferenceManager __cdecl (*cef_preference_manager_get_global)(void);
|
||||
extern DELPHI_PACKAGE void __cdecl (*cef_preference_manager_get_chrome_variations_as_switches)(Uceftypes::TCefStringList switches);
|
||||
extern DELPHI_PACKAGE void __cdecl (*cef_preference_manager_get_chrome_variations_as_strings)(Uceftypes::TCefStringList strings);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefPrintSettings __cdecl (*cef_print_settings_create)(void);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefProcessMessage __cdecl (*cef_process_message_create)(const Uceftypes::PCefString name);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_launch_process)(Uceftypes::PCefCommandLine command_line);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefRequest __cdecl (*cef_request_create)(void);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefPostData __cdecl (*cef_post_data_create)(void);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefPostDataElement __cdecl (*cef_post_data_element_create)(void);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefRequestContext __cdecl (*cef_request_context_get_global_context)(void);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefRequestContext __cdecl (*cef_request_context_create_context)(const Uceftypes::PCefRequestContextSettings settings, Uceftypes::PCefRequestContextHandler handler);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefRequestContext __cdecl (*cef_request_context_cef_create_context_shared)(Uceftypes::PCefRequestContext other, Uceftypes::PCefRequestContextHandler handler);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefResourceBundle __cdecl (*cef_resource_bundle_get_global)(void);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefResponse __cdecl (*cef_response_create)(void);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_register_scheme_handler_factory)(const Uceftypes::PCefString scheme_name, const Uceftypes::PCefString domain_name, Uceftypes::PCefSchemeHandlerFactory factory);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_clear_scheme_handler_factories)(void);
|
||||
extern DELPHI_PACKAGE void __cdecl (*cef_server_create)(const Uceftypes::PCefString address, System::UInt16 port, int backlog, Uceftypes::PCefServerHandler handler);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefSharedProcessMessageBuilder __cdecl (*cef_shared_process_message_builder_create)(const Uceftypes::PCefString name, System::NativeUInt byte_size);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_is_cert_status_error)(Uceftypes::TCefCertStatus status);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefStreamReader __cdecl (*cef_stream_reader_create_for_file)(const Uceftypes::PCefString fileName);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefStreamReader __cdecl (*cef_stream_reader_create_for_data)(void * data, System::NativeUInt size);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefStreamReader __cdecl (*cef_stream_reader_create_for_handler)(Uceftypes::PCefReadHandler handler);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefStreamWriter __cdecl (*cef_stream_writer_create_for_file)(const Uceftypes::PCefString fileName);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefStreamWriter __cdecl (*cef_stream_writer_create_for_handler)(Uceftypes::PCefWriteHandler handler);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefTaskRunner __cdecl (*cef_task_runner_get_for_current_thread)(void);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefTaskRunner __cdecl (*cef_task_runner_get_for_thread)(Uceftypes::TCefThreadId threadId);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_currently_on)(Uceftypes::TCefThreadId threadId);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_post_task)(Uceftypes::TCefThreadId threadId, Uceftypes::PCefTask task);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_post_delayed_task)(Uceftypes::TCefThreadId threadId, Uceftypes::PCefTask task, __int64 delay_ms);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefTaskManager __fastcall (*cef_task_manager_get)(void);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefThread __cdecl (*cef_thread_create)(const Uceftypes::PCefString display_name, Uceftypes::TCefThreadPriority priority, Uceftypes::TCefMessageLoopType message_loop_type, int stoppable, Uceftypes::TCefCOMInitMode com_init_mode);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_begin_tracing)(const Uceftypes::PCefString categories, Uceftypes::PCefCompletionCallback callback);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_end_tracing)(const Uceftypes::PCefString tracing_file, Uceftypes::PCefEndTracingCallback callback);
|
||||
extern DELPHI_PACKAGE __int64 __cdecl (*cef_now_from_system_trace_time)(void);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefUrlRequest __cdecl (*cef_urlrequest_create)(Uceftypes::PCefRequest request, Uceftypes::PCefUrlRequestClient client, Uceftypes::PCefRequestContext request_context);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefv8Context __cdecl (*cef_v8_context_get_current_context)(void);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefv8Context __cdecl (*cef_v8_context_get_entered_context)(void);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_v8_context_in_context)(void);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefv8Value __cdecl (*cef_v8_value_create_undefined)(void);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefv8Value __cdecl (*cef_v8_value_create_null)(void);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefv8Value __cdecl (*cef_v8_value_create_bool)(int value);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefv8Value __cdecl (*cef_v8_value_create_int)(int value);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefv8Value __cdecl (*cef_v8_value_create_uint)(unsigned value);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefv8Value __cdecl (*cef_v8_value_create_double)(double value);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefv8Value __cdecl (*cef_v8_value_create_date)(Uceftypes::TCefBaseTime value);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefv8Value __cdecl (*cef_v8_value_create_string)(const Uceftypes::PCefString value);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefv8Value __cdecl (*cef_v8_value_create_object)(Uceftypes::PCefV8Accessor accessor, Uceftypes::PCefV8Interceptor interceptor);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefv8Value __cdecl (*cef_v8_value_create_array)(int length);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefv8Value __cdecl (*cef_v8_value_create_array_buffer)(void * buffer, System::NativeUInt length, Uceftypes::PCefv8ArrayBufferReleaseCallback release_callback);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefv8Value __cdecl (*cef_v8_value_create_array_buffer_with_copy)(void * buffer, System::NativeUInt length);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefv8Value __cdecl (*cef_v8_value_create_function)(const Uceftypes::PCefString name, Uceftypes::PCefv8Handler handler);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefv8Value __cdecl (*cef_v8_value_create_promise)(void);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefV8StackTrace __cdecl (*cef_v8_stack_trace_get_current)(int frame_limit);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_register_extension)(const Uceftypes::PCefString extension_name, const Uceftypes::PCefString javascript_code, Uceftypes::PCefv8Handler handler);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefValue __cdecl (*cef_value_create)(void);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefBinaryValue __cdecl (*cef_binary_value_create)(const void * data, System::NativeUInt data_size);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefDictionaryValue __cdecl (*cef_dictionary_value_create)(void);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefListValue __cdecl (*cef_list_value_create)(void);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefWaitableEvent __cdecl (*cef_waitable_event_create)(int automatic_reset, int initially_signaled);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefXmlReader __cdecl (*cef_xml_reader_create)(Uceftypes::PCefStreamReader stream, Uceftypes::TCefXmlEncodingType encodingType, const Uceftypes::PCefString URI);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefZipReader __cdecl (*cef_zip_reader_create)(Uceftypes::PCefStreamReader stream);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefBrowserView __cdecl (*cef_browser_view_create)(Uceftypes::PCefClient client, const Uceftypes::PCefString url, const Uceftypes::PCefBrowserSettings settings, Uceftypes::PCefDictionaryValue extra_info, Uceftypes::PCefRequestContext request_context, Uceftypes::PCefBrowserViewDelegate delegate);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefBrowserView __cdecl (*cef_browser_view_get_for_browser)(Uceftypes::PCefBrowser browser);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefDisplay __cdecl (*cef_display_get_primary)(void);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefDisplay __cdecl (*cef_display_get_nearest_point)(const Uceftypes::PCefPoint point, int input_pixel_coords);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefDisplay __cdecl (*cef_display_get_matching_bounds)(const Uceftypes::PCefRect bounds, int input_pixel_coords);
|
||||
extern DELPHI_PACKAGE unsigned __cdecl (*cef_display_get_count)(void);
|
||||
extern DELPHI_PACKAGE void __cdecl (*cef_display_get_alls)(System::PNativeUInt displaysCount, Uceftypes::PPCefDisplay displays);
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefPoint __cdecl (*cef_display_convert_screen_point_to_pixels)(const Uceftypes::PCefPoint point);
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefPoint __cdecl (*cef_display_convert_screen_point_from_pixels)(const Uceftypes::PCefPoint point);
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefRect __cdecl (*cef_display_convert_screen_rect_to_pixels)(const Uceftypes::PCefRect rect);
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefRect __cdecl (*cef_display_convert_screen_rect_from_pixels)(const Uceftypes::PCefRect rect);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefLabelButton __cdecl (*cef_label_button_create)(Uceftypes::PCefButtonDelegate delegate, const Uceftypes::PCefString text);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefMenuButton __cdecl (*cef_menu_button_create)(Uceftypes::PCefMenuButtonDelegate delegate, const Uceftypes::PCefString text);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefPanel __cdecl (*cef_panel_create)(Uceftypes::PCefPanelDelegate delegate);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefScrollView __cdecl (*cef_scroll_view_create)(Uceftypes::PCefViewDelegate delegate);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefTextfield __cdecl (*cef_textfield_create)(Uceftypes::PCefTextfieldDelegate delegate);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefWindow __cdecl (*cef_window_create_top_level)(Uceftypes::PCefWindowDelegate delegate);
|
||||
extern DELPHI_PACKAGE void __cdecl (*cef_set_osmodal_loop)(int osModalLoop);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_dump_without_crashing)(__int64 mseconds_between_dumps, const char * function_name, const char * file_name, int line_number);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_get_min_log_level)(void);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_get_vlog_level)(const char * file_start, System::NativeUInt N);
|
||||
extern DELPHI_PACKAGE void __cdecl (*cef_log)(const char * file_, int line, int severity, const char * message_);
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefStringList __cdecl (*cef_string_list_alloc)(void);
|
||||
extern DELPHI_PACKAGE unsigned __cdecl (*cef_string_list_size)(Uceftypes::TCefStringList list);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_string_list_value)(Uceftypes::TCefStringList list, System::NativeUInt index, Uceftypes::PCefString value);
|
||||
extern DELPHI_PACKAGE void __cdecl (*cef_string_list_append)(Uceftypes::TCefStringList list, const Uceftypes::PCefString value);
|
||||
extern DELPHI_PACKAGE void __cdecl (*cef_string_list_clear)(Uceftypes::TCefStringList list);
|
||||
extern DELPHI_PACKAGE void __cdecl (*cef_string_list_free)(Uceftypes::TCefStringList list);
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefStringList __cdecl (*cef_string_list_copy)(Uceftypes::TCefStringList list);
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefStringMap __cdecl (*cef_string_map_alloc)(void);
|
||||
extern DELPHI_PACKAGE unsigned __cdecl (*cef_string_map_size)(Uceftypes::TCefStringMap map);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_string_map_find)(Uceftypes::TCefStringMap map, const Uceftypes::PCefString key, Uceftypes::PCefString value);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_string_map_key)(Uceftypes::TCefStringMap map, System::NativeUInt index, Uceftypes::PCefString key);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_string_map_value)(Uceftypes::TCefStringMap map, System::NativeUInt index, Uceftypes::PCefString value);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_string_map_append)(Uceftypes::TCefStringMap map, const Uceftypes::PCefString key, const Uceftypes::PCefString value);
|
||||
extern DELPHI_PACKAGE void __cdecl (*cef_string_map_clear)(Uceftypes::TCefStringMap map);
|
||||
extern DELPHI_PACKAGE void __cdecl (*cef_string_map_free)(Uceftypes::TCefStringMap map);
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefStringMultimap __cdecl (*cef_string_multimap_alloc)(void);
|
||||
extern DELPHI_PACKAGE unsigned __cdecl (*cef_string_multimap_size)(Uceftypes::TCefStringMultimap map);
|
||||
extern DELPHI_PACKAGE unsigned __cdecl (*cef_string_multimap_find_count)(Uceftypes::TCefStringMultimap map, const Uceftypes::PCefString key);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_string_multimap_enumerate)(Uceftypes::TCefStringMultimap map, const Uceftypes::PCefString key, System::NativeUInt value_index, Uceftypes::PCefString value);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_string_multimap_key)(Uceftypes::TCefStringMultimap map, System::NativeUInt index, Uceftypes::PCefString key);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_string_multimap_value)(Uceftypes::TCefStringMultimap map, System::NativeUInt index, Uceftypes::PCefString value);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_string_multimap_append)(Uceftypes::TCefStringMultimap map, const Uceftypes::PCefString key, const Uceftypes::PCefString value);
|
||||
extern DELPHI_PACKAGE void __cdecl (*cef_string_multimap_clear)(Uceftypes::TCefStringMultimap map);
|
||||
extern DELPHI_PACKAGE void __cdecl (*cef_string_multimap_free)(Uceftypes::TCefStringMultimap map);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_string_wide_set)(const System::WideChar * src, System::NativeUInt src_len, Uceftypes::PCefStringWide output, int copy);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_string_utf8_set)(const char * src, System::NativeUInt src_len, Uceftypes::PCefStringUtf8 output, int copy);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_string_utf16_set)(const Uceftypes::PChar16 src, System::NativeUInt src_len, Uceftypes::PCefStringUtf16 output, int copy);
|
||||
extern DELPHI_PACKAGE void __cdecl (*cef_string_wide_clear)(Uceftypes::PCefStringWide str);
|
||||
extern DELPHI_PACKAGE void __cdecl (*cef_string_utf8_clear)(Uceftypes::PCefStringUtf8 str);
|
||||
extern DELPHI_PACKAGE void __cdecl (*cef_string_utf16_clear)(Uceftypes::PCefStringUtf16 str);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_string_wide_cmp)(const Uceftypes::PCefStringWide str1, const Uceftypes::PCefStringWide str2);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_string_utf8_cmp)(const Uceftypes::PCefStringUtf8 str1, const Uceftypes::PCefStringUtf8 str2);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_string_utf16_cmp)(const Uceftypes::PCefStringUtf16 str1, const Uceftypes::PCefStringUtf16 str2);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_string_wide_to_utf8)(const System::WideChar * src, System::NativeUInt src_len, Uceftypes::PCefStringUtf8 output);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_string_utf8_to_wide)(const char * src, System::NativeUInt src_len, Uceftypes::PCefStringWide output);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_string_wide_to_utf16)(const System::WideChar * src, System::NativeUInt src_len, Uceftypes::PCefStringUtf16 output);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_string_utf16_to_wide)(const Uceftypes::PChar16 src, System::NativeUInt src_len, Uceftypes::PCefStringWide output);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_string_utf8_to_utf16)(const char * src, System::NativeUInt src_len, Uceftypes::PCefStringUtf16 output);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_string_utf16_to_utf8)(const Uceftypes::PChar16 src, System::NativeUInt src_len, Uceftypes::PCefStringUtf8 output);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_string_ascii_to_wide)(const char * src, System::NativeUInt src_len, Uceftypes::PCefStringWide output);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_string_ascii_to_utf16)(const char * src, System::NativeUInt src_len, Uceftypes::PCefStringUtf16 output);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefStringUserFreeWide __cdecl (*cef_string_userfree_wide_alloc)(void);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefStringUserFreeUtf8 __cdecl (*cef_string_userfree_utf8_alloc)(void);
|
||||
extern DELPHI_PACKAGE Uceftypes::PCefStringUserFreeUtf16 __cdecl (*cef_string_userfree_utf16_alloc)(void);
|
||||
extern DELPHI_PACKAGE void __cdecl (*cef_string_userfree_wide_free)(Uceftypes::PCefStringUserFreeWide str);
|
||||
extern DELPHI_PACKAGE void __cdecl (*cef_string_userfree_utf8_free)(Uceftypes::PCefStringUserFreeUtf8 str);
|
||||
extern DELPHI_PACKAGE void __cdecl (*cef_string_userfree_utf16_free)(Uceftypes::PCefStringUserFreeUtf16 str);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_string_utf16_to_lower)(const Uceftypes::PChar16 src, System::NativeUInt src_len, Uceftypes::PCefStringUtf16 output);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_string_utf16_to_upper)(const Uceftypes::PChar16 src, System::NativeUInt src_len, Uceftypes::PCefStringUtf16 output);
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefPlatformThreadId __cdecl (*cef_get_current_platform_thread_id)(void);
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefPlatformThreadHandle __cdecl (*cef_get_current_platform_thread_handle)(void);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_time_to_timet)(const Uceftypes::PCefTime cef_time, /* out */ __int64 &time_);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_time_from_timet)(__int64 time_, /* out */ Uceftypes::TCefTime &cef_time);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_time_to_doublet)(const Uceftypes::PCefTime cef_time, /* out */ double &time_);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_time_from_doublet)(double time, /* out */ Uceftypes::TCefTime &cef_time);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_time_now)(/* out */ Uceftypes::TCefTime &cef_time);
|
||||
extern DELPHI_PACKAGE Uceftypes::TCefBaseTime __cdecl (*cef_basetime_now)(void);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_time_delta)(const Uceftypes::PCefTime cef_time1, const Uceftypes::PCefTime cef_time2, /* out */ __int64 &delta);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_time_to_basetime)(const Uceftypes::PCefTime from, Uceftypes::PCefBaseTime to_);
|
||||
extern DELPHI_PACKAGE int __cdecl (*cef_time_from_basetime)(const Uceftypes::TCefBaseTime from, Uceftypes::PCefTime to_);
|
||||
extern DELPHI_PACKAGE void __cdecl (*cef_trace_event_instant)(const char * category, const char * name, const char * arg1_name, unsigned __int64 arg1_val, const char * arg2_name, unsigned __int64 arg2_val);
|
||||
extern DELPHI_PACKAGE void __cdecl (*cef_trace_event_begin)(const char * category, const char * name, const char * arg1_name, unsigned __int64 arg1_val, const char * arg2_name, unsigned __int64 arg2_val);
|
||||
extern DELPHI_PACKAGE void __cdecl (*cef_trace_event_end)(const char * category, const char * name, const char * arg1_name, unsigned __int64 arg1_val, const char * arg2_name, unsigned __int64 arg2_val);
|
||||
extern DELPHI_PACKAGE void __cdecl (*cef_trace_counter)(const char * category, const char * name, const char * value1_name, unsigned __int64 value1_val, const char * value2_name, unsigned __int64 value2_val);
|
||||
extern DELPHI_PACKAGE void __cdecl (*cef_trace_counter_id)(const char * category, const char * name, unsigned __int64 id, const char * value1_name, unsigned __int64 value1_val, const char * value2_name, unsigned __int64 value2_val);
|
||||
extern DELPHI_PACKAGE void __cdecl (*cef_trace_event_async_begin)(const char * category, const char * name, unsigned __int64 id, const char * arg1_name, unsigned __int64 arg1_val, const char * arg2_name, unsigned __int64 arg2_val);
|
||||
extern DELPHI_PACKAGE void __cdecl (*cef_trace_event_async_step_into)(const char * category, const char * name, unsigned __int64 id, unsigned __int64 step, const char * arg1_name, unsigned __int64 arg1_val);
|
||||
extern DELPHI_PACKAGE void __cdecl (*cef_trace_event_async_step_past)(const char * category, const char * name, unsigned __int64 id, unsigned __int64 step, const char * arg1_name, unsigned __int64 arg1_val);
|
||||
extern DELPHI_PACKAGE void __cdecl (*cef_trace_event_async_end)(const char * category, const char * name, unsigned __int64 id, const char * arg1_name, unsigned __int64 arg1_val, const char * arg2_name, unsigned __int64 arg2_val);
|
||||
} /* namespace Uceflibfunctions */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFLIBFUNCTIONS)
|
||||
using namespace Uceflibfunctions;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFLibFunctionsHPP
|
||||
@@ -0,0 +1,106 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFLifeSpanHandler.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFLifeSpanHandlerHPP
|
||||
#define uCEFLifeSpanHandlerHPP
|
||||
|
||||
#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 Uceflifespanhandler
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefLifeSpanHandlerOwn;
|
||||
class DELPHICLASS TCustomLifeSpanHandler;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefLifeSpanHandlerOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
||||
|
||||
protected:
|
||||
virtual bool __fastcall OnBeforePopup(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, int popup_id, const Uceftypes::ustring targetUrl, const Uceftypes::ustring targetFrameName, Uceftypes::TCefWindowOpenDisposition targetDisposition, bool userGesture, const Uceftypes::TCefPopupFeatures &popupFeatures, Uceftypes::TCefWindowInfo &windowInfo, Ucefinterfaces::_di_ICefClient &client, Uceftypes::TCefBrowserSettings &settings, Ucefinterfaces::_di_ICefDictionaryValue &extra_info, bool &noJavascriptAccess);
|
||||
virtual void __fastcall OnBeforePopupAborted(const Ucefinterfaces::_di_ICefBrowser browser, int popup_id);
|
||||
virtual void __fastcall OnBeforeDevToolsPopup(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefWindowInfo &windowInfo, Ucefinterfaces::_di_ICefClient &client, Uceftypes::TCefBrowserSettings &settings, Ucefinterfaces::_di_ICefDictionaryValue &extra_info, bool &use_default_window);
|
||||
virtual void __fastcall OnAfterCreated(const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
virtual bool __fastcall DoClose(const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
virtual void __fastcall OnBeforeClose(const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
virtual void __fastcall RemoveReferences();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCefLifeSpanHandlerOwn();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefLifeSpanHandlerOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefLifeSpanHandlerOwn() { }
|
||||
|
||||
private:
|
||||
void *__ICefLifeSpanHandler; // Ucefinterfaces::ICefLifeSpanHandler
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {0A3EB782-A319-4C35-9B46-09B2834D7169}
|
||||
operator Ucefinterfaces::_di_ICefLifeSpanHandler()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefLifeSpanHandler intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefLifeSpanHandler*(void) { return (Ucefinterfaces::ICefLifeSpanHandler*)&__ICefLifeSpanHandler; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCustomLifeSpanHandler : public TCefLifeSpanHandlerOwn
|
||||
{
|
||||
typedef TCefLifeSpanHandlerOwn inherited;
|
||||
|
||||
protected:
|
||||
void *FEvents;
|
||||
virtual bool __fastcall OnBeforePopup(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, int popup_id, const Uceftypes::ustring targetUrl, const Uceftypes::ustring targetFrameName, Uceftypes::TCefWindowOpenDisposition targetDisposition, bool userGesture, const Uceftypes::TCefPopupFeatures &popupFeatures, Uceftypes::TCefWindowInfo &windowInfo, Ucefinterfaces::_di_ICefClient &client, Uceftypes::TCefBrowserSettings &settings, Ucefinterfaces::_di_ICefDictionaryValue &extra_info, bool &noJavascriptAccess);
|
||||
virtual void __fastcall OnBeforePopupAborted(const Ucefinterfaces::_di_ICefBrowser browser, int popup_id);
|
||||
virtual void __fastcall OnBeforeDevToolsPopup(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefWindowInfo &windowInfo, Ucefinterfaces::_di_ICefClient &client, Uceftypes::TCefBrowserSettings &settings, Ucefinterfaces::_di_ICefDictionaryValue &extra_info, bool &use_default_window);
|
||||
virtual void __fastcall OnAfterCreated(const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
virtual bool __fastcall DoClose(const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
virtual void __fastcall OnBeforeClose(const Ucefinterfaces::_di_ICefBrowser browser);
|
||||
virtual void __fastcall RemoveReferences();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCustomLifeSpanHandler(const Ucefinterfaces::_di_IChromiumEvents events);
|
||||
__fastcall virtual ~TCustomLifeSpanHandler();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomLifeSpanHandler(unsigned size, bool owned) : TCefLifeSpanHandlerOwn(size, owned) { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Uceflifespanhandler */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFLIFESPANHANDLER)
|
||||
using namespace Uceflifespanhandler;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFLifeSpanHandlerHPP
|
||||
@@ -0,0 +1,72 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFLinkedWinControlBase.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFLinkedWinControlBaseHPP
|
||||
#define uCEFLinkedWinControlBaseHPP
|
||||
|
||||
#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 <Winapi.Messages.hpp>
|
||||
#include <System.Classes.hpp>
|
||||
#include <Vcl.Controls.hpp>
|
||||
#include <Vcl.Graphics.hpp>
|
||||
#include <uCEFTypes.hpp>
|
||||
#include <uCEFInterfaces.hpp>
|
||||
#include <uCEFWinControl.hpp>
|
||||
#include <uCEFChromium.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Uceflinkedwincontrolbase
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCEFLinkedWinControlBase;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
class PASCALIMPLEMENTATION TCEFLinkedWinControlBase : public Ucefwincontrol::TCEFWinControl
|
||||
{
|
||||
typedef Ucefwincontrol::TCEFWinControl inherited;
|
||||
|
||||
protected:
|
||||
bool FUseSetFocus;
|
||||
virtual Ucefchromium::TChromium* __fastcall GetChromium() = 0 ;
|
||||
virtual bool __fastcall GetUseSetFocus();
|
||||
virtual void __fastcall SetUseSetFocus(bool aValue);
|
||||
virtual Winapi::Windows::THandle __fastcall GetChildWindowHandle();
|
||||
virtual void __fastcall WndProc(Winapi::Messages::TMessage &aMessage);
|
||||
__property Ucefchromium::TChromium* Chromium = {read=GetChromium};
|
||||
|
||||
public:
|
||||
__fastcall virtual TCEFLinkedWinControlBase(System::Classes::TComponent* AOwner);
|
||||
virtual void __fastcall UpdateSize();
|
||||
|
||||
__published:
|
||||
__property bool UseSetFocus = {read=GetUseSetFocus, write=SetUseSetFocus, default=1};
|
||||
public:
|
||||
/* TWinControl.CreateParented */ inline __fastcall TCEFLinkedWinControlBase(HWND ParentWindow) : Ucefwincontrol::TCEFWinControl(ParentWindow) { }
|
||||
/* TWinControl.Destroy */ inline __fastcall virtual ~TCEFLinkedWinControlBase() { }
|
||||
|
||||
};
|
||||
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Uceflinkedwincontrolbase */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFLINKEDWINCONTROLBASE)
|
||||
using namespace Uceflinkedwincontrolbase;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFLinkedWinControlBaseHPP
|
||||
@@ -0,0 +1,68 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFLinkedWindowParent.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFLinkedWindowParentHPP
|
||||
#define uCEFLinkedWindowParentHPP
|
||||
|
||||
#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 <uCEFWinControl.hpp>
|
||||
#include <uCEFTypes.hpp>
|
||||
#include <uCEFInterfaces.hpp>
|
||||
#include <uCEFChromium.hpp>
|
||||
#include <uCEFConstants.hpp>
|
||||
#include <uCEFLinkedWinControlBase.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Uceflinkedwindowparent
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCEFLinkedWindowParent;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
class PASCALIMPLEMENTATION TCEFLinkedWindowParent : public Uceflinkedwincontrolbase::TCEFLinkedWinControlBase
|
||||
{
|
||||
typedef Uceflinkedwincontrolbase::TCEFLinkedWinControlBase inherited;
|
||||
|
||||
protected:
|
||||
Ucefchromium::TChromium* FChromium;
|
||||
virtual Ucefchromium::TChromium* __fastcall GetChromium();
|
||||
void __fastcall SetChromium(Ucefchromium::TChromium* aValue);
|
||||
virtual void __fastcall Notification(System::Classes::TComponent* AComponent, System::Classes::TOperation Operation);
|
||||
|
||||
public:
|
||||
__fastcall virtual TCEFLinkedWindowParent(System::Classes::TComponent* AOwner);
|
||||
|
||||
__published:
|
||||
__property Ucefchromium::TChromium* Chromium = {read=FChromium, write=SetChromium};
|
||||
public:
|
||||
/* TWinControl.CreateParented */ inline __fastcall TCEFLinkedWindowParent(HWND ParentWindow) : Uceflinkedwincontrolbase::TCEFLinkedWinControlBase(ParentWindow) { }
|
||||
/* TWinControl.Destroy */ inline __fastcall virtual ~TCEFLinkedWindowParent() { }
|
||||
|
||||
};
|
||||
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Uceflinkedwindowparent */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFLINKEDWINDOWPARENT)
|
||||
using namespace Uceflinkedwindowparent;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFLinkedWindowParentHPP
|
||||
@@ -0,0 +1,102 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFListValue.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFListValueHPP
|
||||
#define uCEFListValueHPP
|
||||
|
||||
#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 Uceflistvalue
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefListValueRef;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefListValueRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
|
||||
|
||||
protected:
|
||||
bool __fastcall IsValid();
|
||||
bool __fastcall IsOwned();
|
||||
bool __fastcall IsReadOnly();
|
||||
bool __fastcall IsSame(const Ucefinterfaces::_di_ICefListValue that);
|
||||
bool __fastcall IsEqual(const Ucefinterfaces::_di_ICefListValue that);
|
||||
Ucefinterfaces::_di_ICefListValue __fastcall Copy();
|
||||
bool __fastcall SetSize(System::NativeUInt size);
|
||||
System::NativeUInt __fastcall GetSize();
|
||||
bool __fastcall Clear();
|
||||
bool __fastcall Remove(System::NativeUInt index);
|
||||
Uceftypes::TCefValueType __fastcall GetType(System::NativeUInt index);
|
||||
Ucefinterfaces::_di_ICefValue __fastcall GetValue(System::NativeUInt index);
|
||||
bool __fastcall GetBool(System::NativeUInt index);
|
||||
int __fastcall GetInt(System::NativeUInt index);
|
||||
double __fastcall GetDouble(System::NativeUInt index);
|
||||
Uceftypes::ustring __fastcall GetString(System::NativeUInt index);
|
||||
Ucefinterfaces::_di_ICefBinaryValue __fastcall GetBinary(System::NativeUInt index);
|
||||
Ucefinterfaces::_di_ICefDictionaryValue __fastcall GetDictionary(System::NativeUInt index);
|
||||
Ucefinterfaces::_di_ICefListValue __fastcall GetList(System::NativeUInt index);
|
||||
bool __fastcall SetValue(System::NativeUInt index, const Ucefinterfaces::_di_ICefValue value);
|
||||
bool __fastcall SetNull(System::NativeUInt index);
|
||||
bool __fastcall SetBool(System::NativeUInt index, bool value);
|
||||
bool __fastcall SetInt(System::NativeUInt index, int value);
|
||||
bool __fastcall SetDouble(System::NativeUInt index, double value);
|
||||
bool __fastcall SetString(System::NativeUInt index, const Uceftypes::ustring value);
|
||||
bool __fastcall SetBinary(System::NativeUInt index, const Ucefinterfaces::_di_ICefBinaryValue value);
|
||||
bool __fastcall SetDictionary(System::NativeUInt index, const Ucefinterfaces::_di_ICefDictionaryValue value);
|
||||
bool __fastcall SetList(System::NativeUInt index, const Ucefinterfaces::_di_ICefListValue value);
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefListValue __fastcall UnWrap(void * data);
|
||||
__classmethod Ucefinterfaces::_di_ICefListValue __fastcall New();
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefListValueRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefListValueRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefListValue; // Ucefinterfaces::ICefListValue
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {09174B9D-0CC6-4360-BBB0-3CC0117F70F6}
|
||||
operator Ucefinterfaces::_di_ICefListValue()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefListValue intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefListValue*(void) { return (Ucefinterfaces::ICefListValue*)&__ICefListValue; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Uceflistvalue */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFLISTVALUE)
|
||||
using namespace Uceflistvalue;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFListValueHPP
|
||||
@@ -0,0 +1,127 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFLoadHandler.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFLoadHandlerHPP
|
||||
#define uCEFLoadHandlerHPP
|
||||
|
||||
#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>
|
||||
#include <uCEFApplicationCore.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefloadhandler
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefLoadHandlerOwn;
|
||||
class DELPHICLASS TCustomLoadHandler;
|
||||
class DELPHICLASS TCustomRenderLoadHandler;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefLoadHandlerOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
||||
|
||||
protected:
|
||||
virtual void __fastcall OnLoadingStateChange(const Ucefinterfaces::_di_ICefBrowser browser, bool isLoading, bool canGoBack, bool canGoForward);
|
||||
virtual void __fastcall OnLoadStart(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, Uceftypes::TCefTransitionType transitionType);
|
||||
virtual void __fastcall OnLoadEnd(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, int httpStatusCode);
|
||||
virtual void __fastcall OnLoadError(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, Uceftypes::TCefErrorCode errorCode, const Uceftypes::ustring errorText, const Uceftypes::ustring failedUrl);
|
||||
virtual void __fastcall RemoveReferences();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCefLoadHandlerOwn();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefLoadHandlerOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefLoadHandlerOwn() { }
|
||||
|
||||
private:
|
||||
void *__ICefLoadHandler; // Ucefinterfaces::ICefLoadHandler
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {2C63FB82-345D-4A5B-9858-5AE7A85C9F49}
|
||||
operator Ucefinterfaces::_di_ICefLoadHandler()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefLoadHandler intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefLoadHandler*(void) { return (Ucefinterfaces::ICefLoadHandler*)&__ICefLoadHandler; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCustomLoadHandler : public TCefLoadHandlerOwn
|
||||
{
|
||||
typedef TCefLoadHandlerOwn inherited;
|
||||
|
||||
protected:
|
||||
void *FEvents;
|
||||
virtual void __fastcall OnLoadingStateChange(const Ucefinterfaces::_di_ICefBrowser browser, bool isLoading, bool canGoBack, bool canGoForward);
|
||||
virtual void __fastcall OnLoadStart(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, Uceftypes::TCefTransitionType transitionType);
|
||||
virtual void __fastcall OnLoadEnd(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, int httpStatusCode);
|
||||
virtual void __fastcall OnLoadError(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, Uceftypes::TCefErrorCode errorCode, const Uceftypes::ustring errorText, const Uceftypes::ustring failedUrl);
|
||||
virtual void __fastcall RemoveReferences();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCustomLoadHandler(const Ucefinterfaces::_di_IChromiumEvents events);
|
||||
__fastcall virtual ~TCustomLoadHandler();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomLoadHandler(unsigned size, bool owned) : TCefLoadHandlerOwn(size, owned) { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCustomRenderLoadHandler : public TCefLoadHandlerOwn
|
||||
{
|
||||
typedef TCefLoadHandlerOwn inherited;
|
||||
|
||||
protected:
|
||||
Ucefapplicationcore::TCefApplicationCore* FCefApp;
|
||||
virtual void __fastcall OnLoadingStateChange(const Ucefinterfaces::_di_ICefBrowser browser, bool isLoading, bool canGoBack, bool canGoForward);
|
||||
virtual void __fastcall OnLoadStart(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, Uceftypes::TCefTransitionType transitionType);
|
||||
virtual void __fastcall OnLoadEnd(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, int httpStatusCode);
|
||||
virtual void __fastcall OnLoadError(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, Uceftypes::TCefErrorCode errorCode, const Uceftypes::ustring errorText, const Uceftypes::ustring failedUrl);
|
||||
virtual void __fastcall RemoveReferences();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCustomRenderLoadHandler(Ucefapplicationcore::TCefApplicationCore* const aCefApp);
|
||||
__fastcall virtual ~TCustomRenderLoadHandler();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomRenderLoadHandler(unsigned size, bool owned) : TCefLoadHandlerOwn(size, owned) { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefloadhandler */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFLOADHANDLER)
|
||||
using namespace Ucefloadhandler;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFLoadHandlerHPP
|
||||
@@ -0,0 +1,75 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFMediaAccessCallback.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFMediaAccessCallbackHPP
|
||||
#define uCEFMediaAccessCallbackHPP
|
||||
|
||||
#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 Ucefmediaaccesscallback
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefMediaAccessCallbackRef;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefMediaAccessCallbackRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
|
||||
|
||||
protected:
|
||||
void __fastcall cont(Uceftypes::TCefMediaAccessPermissionTypes allowed_permissions);
|
||||
void __fastcall cancel();
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefMediaAccessCallback __fastcall UnWrap(void * data);
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefMediaAccessCallbackRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefMediaAccessCallbackRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefMediaAccessCallback; // Ucefinterfaces::ICefMediaAccessCallback
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {66F6F5F4-8489-408B-B9ED-6B705C2E2010}
|
||||
operator Ucefinterfaces::_di_ICefMediaAccessCallback()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefMediaAccessCallback intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefMediaAccessCallback*(void) { return (Ucefinterfaces::ICefMediaAccessCallback*)&__ICefMediaAccessCallback; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefmediaaccesscallback */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFMEDIAACCESSCALLBACK)
|
||||
using namespace Ucefmediaaccesscallback;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFMediaAccessCallbackHPP
|
||||
@@ -0,0 +1,100 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFMediaObserver.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFMediaObserverHPP
|
||||
#define uCEFMediaObserverHPP
|
||||
|
||||
#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 Ucefmediaobserver
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefMediaObserverOwn;
|
||||
class DELPHICLASS TCustomMediaObserver;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefMediaObserverOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
||||
|
||||
protected:
|
||||
virtual void __fastcall OnSinks(const Ucefinterfaces::TCefMediaSinkArray sinks);
|
||||
virtual void __fastcall OnRoutes(const Ucefinterfaces::TCefMediaRouteArray routes);
|
||||
virtual void __fastcall OnRouteStateChanged(const Ucefinterfaces::_di_ICefMediaRoute route, Uceftypes::TCefMediaRouteConnectionState state);
|
||||
virtual void __fastcall OnRouteMessageReceived(const Ucefinterfaces::_di_ICefMediaRoute route, const Uceftypes::ustring message_);
|
||||
|
||||
public:
|
||||
__fastcall virtual TCefMediaObserverOwn();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefMediaObserverOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefMediaObserverOwn() { }
|
||||
|
||||
private:
|
||||
void *__ICefMediaObserver; // Ucefinterfaces::ICefMediaObserver
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {0B27C8D1-63E3-4F69-939F-DCAD518654A3}
|
||||
operator Ucefinterfaces::_di_ICefMediaObserver()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefMediaObserver intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefMediaObserver*(void) { return (Ucefinterfaces::ICefMediaObserver*)&__ICefMediaObserver; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCustomMediaObserver : public TCefMediaObserverOwn
|
||||
{
|
||||
typedef TCefMediaObserverOwn inherited;
|
||||
|
||||
protected:
|
||||
void *FEvents;
|
||||
virtual void __fastcall OnSinks(const Ucefinterfaces::TCefMediaSinkArray sinks);
|
||||
virtual void __fastcall OnRoutes(const Ucefinterfaces::TCefMediaRouteArray routes);
|
||||
virtual void __fastcall OnRouteStateChanged(const Ucefinterfaces::_di_ICefMediaRoute route, Uceftypes::TCefMediaRouteConnectionState state);
|
||||
virtual void __fastcall OnRouteMessageReceived(const Ucefinterfaces::_di_ICefMediaRoute route, const Uceftypes::ustring message_);
|
||||
|
||||
public:
|
||||
__fastcall TCustomMediaObserver(const Ucefinterfaces::_di_IChromiumEvents events);
|
||||
__fastcall virtual ~TCustomMediaObserver();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomMediaObserver(unsigned size, bool owned) : TCefMediaObserverOwn(size, owned) { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefmediaobserver */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFMEDIAOBSERVER)
|
||||
using namespace Ucefmediaobserver;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFMediaObserverHPP
|
||||
@@ -0,0 +1,78 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFMediaRoute.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFMediaRouteHPP
|
||||
#define uCEFMediaRouteHPP
|
||||
|
||||
#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 Ucefmediaroute
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefMediaRouteRef;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefMediaRouteRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
|
||||
|
||||
protected:
|
||||
Uceftypes::ustring __fastcall GetId();
|
||||
Ucefinterfaces::_di_ICefMediaSource __fastcall GetSource();
|
||||
Ucefinterfaces::_di_ICefMediaSink __fastcall GetSink();
|
||||
void __fastcall SendRouteMessage(const Uceftypes::ustring message_);
|
||||
void __fastcall Terminate();
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefMediaRoute __fastcall UnWrap(void * data);
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefMediaRouteRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefMediaRouteRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefMediaRoute; // Ucefinterfaces::ICefMediaRoute
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {D8959122-DD19-4933-B4D9-DF829062A0D3}
|
||||
operator Ucefinterfaces::_di_ICefMediaRoute()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefMediaRoute intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefMediaRoute*(void) { return (Ucefinterfaces::ICefMediaRoute*)&__ICefMediaRoute; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefmediaroute */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFMEDIAROUTE)
|
||||
using namespace Ucefmediaroute;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFMediaRouteHPP
|
||||
@@ -0,0 +1,114 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFMediaRouteCreateCallback.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFMediaRouteCreateCallbackHPP
|
||||
#define uCEFMediaRouteCreateCallbackHPP
|
||||
|
||||
#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 Ucefmediaroutecreatecallback
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefMediaRouteCreateCallbackOwn;
|
||||
class DELPHICLASS TCefFastMediaRouteCreateCallback;
|
||||
class DELPHICLASS TCefCustomMediaRouteCreateCallback;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefMediaRouteCreateCallbackOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
||||
|
||||
protected:
|
||||
virtual void __fastcall OnMediaRouteCreateFinished(Uceftypes::TCefMediaRouterCreateResult result, const Uceftypes::ustring error, const Ucefinterfaces::_di_ICefMediaRoute route) = 0 ;
|
||||
|
||||
public:
|
||||
__fastcall virtual TCefMediaRouteCreateCallbackOwn();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefMediaRouteCreateCallbackOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefMediaRouteCreateCallbackOwn() { }
|
||||
|
||||
private:
|
||||
void *__ICefMediaRouteCreateCallback; // Ucefinterfaces::ICefMediaRouteCreateCallback
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {8848CBFE-36AC-4AC8-BC10-386B69FB27BE}
|
||||
operator Ucefinterfaces::_di_ICefMediaRouteCreateCallback()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefMediaRouteCreateCallback intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefMediaRouteCreateCallback*(void) { return (Ucefinterfaces::ICefMediaRouteCreateCallback*)&__ICefMediaRouteCreateCallback; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefFastMediaRouteCreateCallback : public TCefMediaRouteCreateCallbackOwn
|
||||
{
|
||||
typedef TCefMediaRouteCreateCallbackOwn inherited;
|
||||
|
||||
protected:
|
||||
Ucefinterfaces::_di_TCefMediaRouteCreateCallbackProc FCallback;
|
||||
virtual void __fastcall OnMediaRouteCreateFinished(Uceftypes::TCefMediaRouterCreateResult result, const Uceftypes::ustring error, const Ucefinterfaces::_di_ICefMediaRoute route);
|
||||
|
||||
public:
|
||||
__fastcall TCefFastMediaRouteCreateCallback(const Ucefinterfaces::_di_TCefMediaRouteCreateCallbackProc callback);
|
||||
__fastcall virtual ~TCefFastMediaRouteCreateCallback();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefFastMediaRouteCreateCallback(unsigned size, bool owned) : TCefMediaRouteCreateCallbackOwn(size, owned) { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefCustomMediaRouteCreateCallback : public TCefMediaRouteCreateCallbackOwn
|
||||
{
|
||||
typedef TCefMediaRouteCreateCallbackOwn inherited;
|
||||
|
||||
protected:
|
||||
void *FEvents;
|
||||
virtual void __fastcall OnMediaRouteCreateFinished(Uceftypes::TCefMediaRouterCreateResult result, const Uceftypes::ustring error, const Ucefinterfaces::_di_ICefMediaRoute route);
|
||||
|
||||
public:
|
||||
__fastcall TCefCustomMediaRouteCreateCallback(const Ucefinterfaces::_di_IChromiumEvents aEvents);
|
||||
__fastcall virtual ~TCefCustomMediaRouteCreateCallback();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefCustomMediaRouteCreateCallback(unsigned size, bool owned) : TCefMediaRouteCreateCallbackOwn(size, owned) { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefmediaroutecreatecallback */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFMEDIAROUTECREATECALLBACK)
|
||||
using namespace Ucefmediaroutecreatecallback;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFMediaRouteCreateCallbackHPP
|
||||
@@ -0,0 +1,79 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFMediaRouter.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFMediaRouterHPP
|
||||
#define uCEFMediaRouterHPP
|
||||
|
||||
#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 Ucefmediarouter
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefMediaRouterRef;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefMediaRouterRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
|
||||
|
||||
protected:
|
||||
Ucefinterfaces::_di_ICefRegistration __fastcall AddObserver(const Ucefinterfaces::_di_ICefMediaObserver observer);
|
||||
Ucefinterfaces::_di_ICefMediaSource __fastcall GetSource(const Uceftypes::ustring urn);
|
||||
void __fastcall NotifyCurrentSinks();
|
||||
void __fastcall CreateRoute(const Ucefinterfaces::_di_ICefMediaSource source, const Ucefinterfaces::_di_ICefMediaSink sink, const Ucefinterfaces::_di_ICefMediaRouteCreateCallback callback);
|
||||
void __fastcall NotifyCurrentRoutes();
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefMediaRouter __fastcall UnWrap(void * data);
|
||||
__classmethod Ucefinterfaces::_di_ICefMediaRouter __fastcall Global();
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefMediaRouterRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefMediaRouterRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefMediaRouter; // Ucefinterfaces::ICefMediaRouter
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {F18C3880-CB8D-48F9-9D74-DCFF4B9E88DF}
|
||||
operator Ucefinterfaces::_di_ICefMediaRouter()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefMediaRouter intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefMediaRouter*(void) { return (Ucefinterfaces::ICefMediaRouter*)&__ICefMediaRouter; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefmediarouter */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFMEDIAROUTER)
|
||||
using namespace Ucefmediarouter;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFMediaRouterHPP
|
||||
@@ -0,0 +1,80 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFMediaSink.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFMediaSinkHPP
|
||||
#define uCEFMediaSinkHPP
|
||||
|
||||
#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 Ucefmediasink
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefMediaSinkRef;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefMediaSinkRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
|
||||
|
||||
protected:
|
||||
Uceftypes::ustring __fastcall GetId();
|
||||
Uceftypes::ustring __fastcall GetName();
|
||||
Uceftypes::TCefMediaSinkIconType __fastcall GetIconType();
|
||||
void __fastcall GetDeviceInfo(const Ucefinterfaces::_di_ICefMediaSinkDeviceInfoCallback callback);
|
||||
bool __fastcall IsCastSink();
|
||||
bool __fastcall IsDialSink();
|
||||
bool __fastcall IsCompatibleWith(const Ucefinterfaces::_di_ICefMediaSource source);
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefMediaSink __fastcall UnWrap(void * data);
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefMediaSinkRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefMediaSinkRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefMediaSink; // Ucefinterfaces::ICefMediaSink
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {EDA1A4B2-2A4C-42DD-A7DF-901BF93D908D}
|
||||
operator Ucefinterfaces::_di_ICefMediaSink()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefMediaSink intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefMediaSink*(void) { return (Ucefinterfaces::ICefMediaSink*)&__ICefMediaSink; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefmediasink */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFMEDIASINK)
|
||||
using namespace Ucefmediasink;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFMediaSinkHPP
|
||||
@@ -0,0 +1,114 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFMediaSinkDeviceInfoCallback.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFMediaSinkDeviceInfoCallbackHPP
|
||||
#define uCEFMediaSinkDeviceInfoCallbackHPP
|
||||
|
||||
#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 Ucefmediasinkdeviceinfocallback
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefMediaSinkDeviceInfoCallbackOwn;
|
||||
class DELPHICLASS TCefFastMediaSinkDeviceInfoCallback;
|
||||
class DELPHICLASS TCefCustomMediaSinkDeviceInfoCallback;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefMediaSinkDeviceInfoCallbackOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
||||
|
||||
protected:
|
||||
virtual void __fastcall OnMediaSinkDeviceInfo(const Uceftypes::ustring ip_address, int port, const Uceftypes::ustring model_name) = 0 ;
|
||||
|
||||
public:
|
||||
__fastcall virtual TCefMediaSinkDeviceInfoCallbackOwn();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefMediaSinkDeviceInfoCallbackOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefMediaSinkDeviceInfoCallbackOwn() { }
|
||||
|
||||
private:
|
||||
void *__ICefMediaSinkDeviceInfoCallback; // Ucefinterfaces::ICefMediaSinkDeviceInfoCallback
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {633898DD-4169-45D0-ADDD-6E68B3686E0D}
|
||||
operator Ucefinterfaces::_di_ICefMediaSinkDeviceInfoCallback()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefMediaSinkDeviceInfoCallback intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefMediaSinkDeviceInfoCallback*(void) { return (Ucefinterfaces::ICefMediaSinkDeviceInfoCallback*)&__ICefMediaSinkDeviceInfoCallback; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefFastMediaSinkDeviceInfoCallback : public TCefMediaSinkDeviceInfoCallbackOwn
|
||||
{
|
||||
typedef TCefMediaSinkDeviceInfoCallbackOwn inherited;
|
||||
|
||||
protected:
|
||||
Ucefinterfaces::_di_TCefMediaSinkDeviceInfoCallbackProc FCallback;
|
||||
virtual void __fastcall OnMediaSinkDeviceInfo(const Uceftypes::ustring ip_address, int port, const Uceftypes::ustring model_name);
|
||||
|
||||
public:
|
||||
__fastcall TCefFastMediaSinkDeviceInfoCallback(const Ucefinterfaces::_di_TCefMediaSinkDeviceInfoCallbackProc callback);
|
||||
__fastcall virtual ~TCefFastMediaSinkDeviceInfoCallback();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefFastMediaSinkDeviceInfoCallback(unsigned size, bool owned) : TCefMediaSinkDeviceInfoCallbackOwn(size, owned) { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefCustomMediaSinkDeviceInfoCallback : public TCefMediaSinkDeviceInfoCallbackOwn
|
||||
{
|
||||
typedef TCefMediaSinkDeviceInfoCallbackOwn inherited;
|
||||
|
||||
protected:
|
||||
void *FEvents;
|
||||
virtual void __fastcall OnMediaSinkDeviceInfo(const Uceftypes::ustring ip_address, int port, const Uceftypes::ustring model_name);
|
||||
|
||||
public:
|
||||
__fastcall TCefCustomMediaSinkDeviceInfoCallback(const Ucefinterfaces::_di_IChromiumEvents aEvents);
|
||||
__fastcall virtual ~TCefCustomMediaSinkDeviceInfoCallback();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefCustomMediaSinkDeviceInfoCallback(unsigned size, bool owned) : TCefMediaSinkDeviceInfoCallbackOwn(size, owned) { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefmediasinkdeviceinfocallback */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFMEDIASINKDEVICEINFOCALLBACK)
|
||||
using namespace Ucefmediasinkdeviceinfocallback;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFMediaSinkDeviceInfoCallbackHPP
|
||||
@@ -0,0 +1,76 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFMediaSource.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFMediaSourceHPP
|
||||
#define uCEFMediaSourceHPP
|
||||
|
||||
#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 Ucefmediasource
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefMediaSourceRef;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefMediaSourceRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
|
||||
{
|
||||
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
|
||||
|
||||
protected:
|
||||
Uceftypes::ustring __fastcall GetId();
|
||||
bool __fastcall IsCastSource();
|
||||
bool __fastcall IsDialSource();
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefMediaSource __fastcall UnWrap(void * data);
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefMediaSourceRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefMediaSourceRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefMediaSource; // Ucefinterfaces::ICefMediaSource
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {734ED6E4-6498-43ED-AAA4-6B993EDC30BE}
|
||||
operator Ucefinterfaces::_di_ICefMediaSource()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefMediaSource intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefMediaSource*(void) { return (Ucefinterfaces::ICefMediaSource*)&__ICefMediaSource; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefmediasource */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFMEDIASOURCE)
|
||||
using namespace Ucefmediasource;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFMediaSourceHPP
|
||||
@@ -0,0 +1,81 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFMenuButton.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFMenuButtonHPP
|
||||
#define uCEFMenuButtonHPP
|
||||
|
||||
#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>
|
||||
#include <uCEFLabelButton.hpp>
|
||||
#include <uCEFButton.hpp>
|
||||
#include <uCEFView.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefmenubutton
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefMenuButtonRef;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefMenuButtonRef : public Uceflabelbutton::TCefLabelButtonRef
|
||||
{
|
||||
typedef Uceflabelbutton::TCefLabelButtonRef inherited;
|
||||
|
||||
protected:
|
||||
void __fastcall ShowMenu(const Ucefinterfaces::_di_ICefMenuModel menu_model, const Uceftypes::TCefPoint &screen_point, Uceftypes::TCefMenuAnchorPosition anchor_position);
|
||||
void __fastcall TriggerMenu();
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefMenuButton __fastcall UnWrap(void * data);
|
||||
__classmethod Ucefinterfaces::_di_ICefMenuButton __fastcall CreateMenuButton(const Ucefinterfaces::_di_ICefMenuButtonDelegate delegate, const Uceftypes::ustring text);
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefMenuButtonRef(void * data) : Uceflabelbutton::TCefLabelButtonRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefMenuButtonRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefMenuButton; // Ucefinterfaces::ICefMenuButton
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {62BFE81A-7810-400B-83C6-76D1DF133710}
|
||||
operator Ucefinterfaces::_di_ICefMenuButton()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefMenuButton intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefMenuButton*(void) { return (Ucefinterfaces::ICefMenuButton*)&__ICefMenuButton; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefmenubutton */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFMENUBUTTON)
|
||||
using namespace Ucefmenubutton;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFMenuButtonHPP
|
||||
@@ -0,0 +1,95 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFMenuButtonComponent.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFMenuButtonComponentHPP
|
||||
#define uCEFMenuButtonComponentHPP
|
||||
|
||||
#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 <uCEFLabelButtonComponent.hpp>
|
||||
#include <uCEFButtonComponent.hpp>
|
||||
#include <uCEFViewComponent.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefmenubuttoncomponent
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCEFMenuButtonComponent;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
class PASCALIMPLEMENTATION TCEFMenuButtonComponent : public Uceflabelbuttoncomponent::TCEFLabelButtonComponent
|
||||
{
|
||||
typedef Uceflabelbuttoncomponent::TCEFLabelButtonComponent inherited;
|
||||
|
||||
protected:
|
||||
Ucefinterfaces::_di_ICefMenuButton FMenuButton;
|
||||
Ucefviewsframeworkevents::TOnMenuButtonPressedEvent FOnMenuButtonPressed;
|
||||
virtual void __fastcall DestroyView();
|
||||
virtual void __fastcall Initialize();
|
||||
virtual bool __fastcall GetInitialized();
|
||||
virtual Ucefinterfaces::_di_ICefView __fastcall GetAsView();
|
||||
virtual Ucefinterfaces::_di_ICefButton __fastcall GetAsButton();
|
||||
virtual Ucefinterfaces::_di_ICefLabelButton __fastcall GetAsLabelButton();
|
||||
virtual Ucefinterfaces::_di_ICefMenuButton __fastcall GetAsMenuButton();
|
||||
void __fastcall doOnMenuButtonPressed(const Ucefinterfaces::_di_ICefMenuButton menu_button, const Uceftypes::TCefPoint &screen_point, const Ucefinterfaces::_di_ICefMenuButtonPressedLock button_pressed_lock);
|
||||
virtual void __fastcall doCreateCustomView();
|
||||
|
||||
public:
|
||||
void __fastcall CreateMenuButton(const Uceftypes::ustring aText);
|
||||
void __fastcall ShowMenu(const Ucefinterfaces::_di_ICefMenuModel menu_model, const Uceftypes::TCefPoint &screen_point, Uceftypes::TCefMenuAnchorPosition anchor_position);
|
||||
void __fastcall TriggerMenu();
|
||||
|
||||
__published:
|
||||
__property Ucefviewsframeworkevents::TOnMenuButtonPressedEvent OnMenuButtonPressed = {read=FOnMenuButtonPressed, write=FOnMenuButtonPressed};
|
||||
public:
|
||||
/* TCEFViewComponent.Create */ inline __fastcall virtual TCEFMenuButtonComponent(System::Classes::TComponent* AOwner) : Uceflabelbuttoncomponent::TCEFLabelButtonComponent(AOwner) { }
|
||||
|
||||
public:
|
||||
/* TComponent.Destroy */ inline __fastcall virtual ~TCEFMenuButtonComponent() { }
|
||||
|
||||
private:
|
||||
void *__ICefMenuButtonDelegateEvents; // Ucefinterfaces::ICefMenuButtonDelegateEvents
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {DA36DD60-7609-4576-BB8E-6A55FD48C680}
|
||||
operator Ucefinterfaces::_di_ICefMenuButtonDelegateEvents()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefMenuButtonDelegateEvents intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefMenuButtonDelegateEvents*(void) { return (Ucefinterfaces::ICefMenuButtonDelegateEvents*)&__ICefMenuButtonDelegateEvents; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefmenubuttoncomponent */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFMENUBUTTONCOMPONENT)
|
||||
using namespace Ucefmenubuttoncomponent;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFMenuButtonComponentHPP
|
||||
@@ -0,0 +1,147 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFMenuButtonDelegate.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFMenuButtonDelegateHPP
|
||||
#define uCEFMenuButtonDelegateHPP
|
||||
|
||||
#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>
|
||||
#include <uCEFButtonDelegate.hpp>
|
||||
#include <uCEFViewDelegate.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefmenubuttondelegate
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefMenuButtonDelegateRef;
|
||||
class DELPHICLASS TCefMenuButtonDelegateOwn;
|
||||
class DELPHICLASS TCustomMenuButtonDelegate;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefMenuButtonDelegateRef : public Ucefbuttondelegate::TCefButtonDelegateRef
|
||||
{
|
||||
typedef Ucefbuttondelegate::TCefButtonDelegateRef inherited;
|
||||
|
||||
protected:
|
||||
void __fastcall OnMenuButtonPressed(const Ucefinterfaces::_di_ICefMenuButton menu_button, const Uceftypes::TCefPoint &screen_point, const Ucefinterfaces::_di_ICefMenuButtonPressedLock button_pressed_lock);
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefMenuButtonDelegate __fastcall UnWrap(void * data);
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefMenuButtonDelegateRef(void * data) : Ucefbuttondelegate::TCefButtonDelegateRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefMenuButtonDelegateRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefMenuButtonDelegate; // Ucefinterfaces::ICefMenuButtonDelegate
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {D0E89A75-463A-4766-8701-BD8D24B11E9F}
|
||||
operator Ucefinterfaces::_di_ICefMenuButtonDelegate()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefMenuButtonDelegate intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefMenuButtonDelegate*(void) { return (Ucefinterfaces::ICefMenuButtonDelegate*)&__ICefMenuButtonDelegate; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefMenuButtonDelegateOwn : public Ucefbuttondelegate::TCefButtonDelegateOwn
|
||||
{
|
||||
typedef Ucefbuttondelegate::TCefButtonDelegateOwn inherited;
|
||||
|
||||
protected:
|
||||
virtual void __fastcall OnMenuButtonPressed(const Ucefinterfaces::_di_ICefMenuButton menu_button, const Uceftypes::TCefPoint &screen_point, const Ucefinterfaces::_di_ICefMenuButtonPressedLock button_pressed_lock);
|
||||
virtual void __fastcall InitializeCEFMethods();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCefMenuButtonDelegateOwn();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefMenuButtonDelegateOwn(unsigned size, bool owned) : Ucefbuttondelegate::TCefButtonDelegateOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefMenuButtonDelegateOwn() { }
|
||||
|
||||
private:
|
||||
void *__ICefMenuButtonDelegate; // Ucefinterfaces::ICefMenuButtonDelegate
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {D0E89A75-463A-4766-8701-BD8D24B11E9F}
|
||||
operator Ucefinterfaces::_di_ICefMenuButtonDelegate()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefMenuButtonDelegate intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefMenuButtonDelegate*(void) { return (Ucefinterfaces::ICefMenuButtonDelegate*)&__ICefMenuButtonDelegate; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCustomMenuButtonDelegate : public TCefMenuButtonDelegateOwn
|
||||
{
|
||||
typedef TCefMenuButtonDelegateOwn inherited;
|
||||
|
||||
protected:
|
||||
void *FEvents;
|
||||
virtual void __fastcall OnGetPreferredSize(const Ucefinterfaces::_di_ICefView view, Uceftypes::TCefSize &aResult);
|
||||
virtual void __fastcall OnGetMinimumSize(const Ucefinterfaces::_di_ICefView view, Uceftypes::TCefSize &aResult);
|
||||
virtual void __fastcall OnGetMaximumSize(const Ucefinterfaces::_di_ICefView view, Uceftypes::TCefSize &aResult);
|
||||
virtual void __fastcall OnGetHeightForWidth(const Ucefinterfaces::_di_ICefView view, int width, int &aResult);
|
||||
virtual void __fastcall OnParentViewChanged(const Ucefinterfaces::_di_ICefView view, bool added, const Ucefinterfaces::_di_ICefView parent);
|
||||
virtual void __fastcall OnChildViewChanged(const Ucefinterfaces::_di_ICefView view, bool added, const Ucefinterfaces::_di_ICefView child);
|
||||
virtual void __fastcall OnWindowChanged(const Ucefinterfaces::_di_ICefView view, bool added);
|
||||
virtual void __fastcall OnLayoutChanged(const Ucefinterfaces::_di_ICefView view, const Uceftypes::TCefRect &new_bounds);
|
||||
virtual void __fastcall OnFocus(const Ucefinterfaces::_di_ICefView view);
|
||||
virtual void __fastcall OnBlur(const Ucefinterfaces::_di_ICefView view);
|
||||
virtual void __fastcall OnThemeChanged(const Ucefinterfaces::_di_ICefView view);
|
||||
virtual void __fastcall OnButtonPressed(const Ucefinterfaces::_di_ICefButton button);
|
||||
virtual void __fastcall OnButtonStateChanged(const Ucefinterfaces::_di_ICefButton button);
|
||||
virtual void __fastcall OnMenuButtonPressed(const Ucefinterfaces::_di_ICefMenuButton menu_button, const Uceftypes::TCefPoint &screen_point, const Ucefinterfaces::_di_ICefMenuButtonPressedLock button_pressed_lock);
|
||||
|
||||
public:
|
||||
__fastcall TCustomMenuButtonDelegate(const Ucefinterfaces::_di_ICefMenuButtonDelegateEvents events);
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomMenuButtonDelegate(unsigned size, bool owned) : TCefMenuButtonDelegateOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCustomMenuButtonDelegate() { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefmenubuttondelegate */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFMENUBUTTONDELEGATE)
|
||||
using namespace Ucefmenubuttondelegate;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFMenuButtonDelegateHPP
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user