commit 424bde1b02a69c01f84cd2efed3aa23177b89016 Author: alex_q <914269@qq.com> Date: Fri Jun 12 23:18:12 2026 +0800 Initial commit diff --git a/CEF4Delphi/win32/hpps/CEF4DelphiVCLRTL.hpp b/CEF4Delphi/win32/hpps/CEF4DelphiVCLRTL.hpp new file mode 100644 index 0000000..eda5aa1 --- /dev/null +++ b/CEF4Delphi/win32/hpps/CEF4DelphiVCLRTL.hpp @@ -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 // (rtl) +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include // (rtl) +#include // (rtl) +#include // (rtl) +#include // (rtl) +#include // (rtl) +#include // (rtl) +#include // (rtl) +#include // (rtl) +#include // (rtl) +#include // (rtl) +#include // (rtl) +#include // (rtl) +#include // (rtl) +#include // (rtl) +#include // (rtl) +#include // (rtl) +#include // (rtl) +#include // (rtl) +#include // (rtl) +#include // (rtl) +#include // (rtl) +#include // (rtl) +#include // (vcl) +#include // (rtl) +#include // (vcl) +#include // (rtl) +#include // (rtl) +#include // (rtl) +#include // (vcl) +#include // (vcl) +#include // (vcl) +#include // (vcl) +#include // (vcl) +#include // (vcl) +#include // (rtl) +#include // (vcl) +#include // (vcl) +#include // (vcl) +#include // (vcl) +#include // (rtl) +#include // (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 diff --git a/CEF4Delphi/win32/hpps/__history/uCEFApplication.hpp.~1~ b/CEF4Delphi/win32/hpps/__history/uCEFApplication.hpp.~1~ new file mode 100644 index 0000000..4a67d35 --- /dev/null +++ b/CEF4Delphi/win32/hpps/__history/uCEFApplication.hpp.~1~ @@ -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 +#include +#include +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/__history/uCEFChromiumCore.hpp.~1~ b/CEF4Delphi/win32/hpps/__history/uCEFChromiumCore.hpp.~1~ new file mode 100644 index 0000000..f3b8ac0 --- /dev/null +++ b/CEF4Delphi/win32/hpps/__history/uCEFChromiumCore.hpp.~1~ @@ -0,0 +1,1094 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFChromiumCore.pas' rev: 37.00 (Windows) + +#ifndef uCEFChromiumCoreHPP +#define uCEFChromiumCoreHPP + +#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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefchromiumcore +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TChromiumCore; +class DELPHICLASS TBrowserInfo; +class DELPHICLASS TBrowserInfoList; +//-- type declarations ------------------------------------------------------- +class PASCALIMPLEMENTATION TChromiumCore : public System::Classes::TComponent +{ + typedef System::Classes::TComponent inherited; + +protected: + HWND FCompHandle; + Ucefinterfaces::_di_ICefClient FHandler; + System::Syncobjs::TCriticalSection* FBrowsersCS; + TBrowserInfoList* FBrowsers; + int FBrowserId; + bool FMultiBrowserMode; + Ucefinterfaces::_di_ICefRequestContextHandler FReqContextHandler; + Ucefinterfaces::_di_ICefResourceRequestHandler FResourceRequestHandler; + Ucefinterfaces::_di_ICefMediaObserver FMediaObserver; + Ucefinterfaces::_di_ICefRegistration FMediaObserverReg; + Ucefinterfaces::_di_ICefDevToolsMessageObserver FDevToolsMsgObserver; + Ucefinterfaces::_di_ICefRegistration FDevToolsMsgObserverReg; + Ucefinterfaces::_di_ICefSettingObserver FSettingObserver; + Ucefinterfaces::_di_ICefRegistration FSettingObserverReg; + Ucefpreferenceobserver::TPreferenceInfoList* FPreferenceInfoList; + System::Syncobjs::TCriticalSection* FPreferenceInfoCS; + Uceftypes::ustring FDefaultUrl; + Ucefchromiumoptions::TChromiumOptions* FOptions; + Ucefchromiumfontoptions::TChromiumFontOptions* FFontOptions; + Ucefpdfprintoptions::TPDFPrintOptions* FPDFPrintOptions; + Uceftypes::ustring FDefaultEncoding; + int FProxyType; + Uceftypes::TCefProxyScheme FProxyScheme; + Uceftypes::ustring FProxyServer; + int FProxyPort; + Uceftypes::ustring FProxyUsername; + Uceftypes::ustring FProxyPassword; + Uceftypes::ustring FProxyScriptURL; + Uceftypes::ustring FProxyByPassList; + int FMaxConnectionsPerProxy; + bool FUpdatePreferences; + Uceftypes::ustring FCustomHeaderName; + Uceftypes::ustring FCustomHeaderValue; + bool FAddCustomHeader; + bool FDoNotTrack; + bool FSendReferrer; + bool FHyperlinkAuditing; + bool FAllowOutdatedPlugins; + bool FAlwaysAuthorizePlugins; + bool FAlwaysOpenPDFExternally; + bool FSpellChecking; + Uceftypes::ustring FSpellCheckerDicts; + System::Byte FZoomStep; + System::Syncobjs::TCriticalSection* FZoomStepCS; + System::UnicodeString FPrefsFileName; + bool FIsOSR; + bool FSafeSearch; + bool FOffline; + int FYouTubeRestrict; + bool FPrintingEnabled; + Ucefwindowinfowrapper::TCEFWindowInfoWrapper* FWindowInfo; + Uceftypes::TCefBrowserSettings FBrowserSettings; + Ucefwindowinfowrapper::TCEFWindowInfoWrapper* FDevWindowInfo; + Uceftypes::TCefBrowserSettings FDevBrowserSettings; + Uceftypes::TCefDragOperations FDragOperations; + Ucefdraganddropmgr::TCEFDragAndDropMgr* FDragDropManager; + HWND FDropTargetWnd; + bool FDragAndDropInitialized; + Uceftypes::TCefWebRTCHandlingPolicy FWebRTCIPHandlingPolicy; + Uceftypes::TCefState FWebRTCMultipleRoutes; + Uceftypes::TCefState FWebRTCNonProxiedUDP; + Uceftypes::TCefCookiePref FAcceptCookies; + bool FBlock3rdPartyCookies; + bool FQuicAllowed; + bool FJavascriptEnabled; + bool FLoadImagesAutomatically; + Uceftypes::TCefBatterySaverModeState FBatterySaverModeState; + Uceftypes::TCefHighEfficiencyModeState FHighEfficiencyModeState; + bool FCanFocus; + unsigned FEnableFocusDelayMs; + int FComponentID; + Uceftypes::TCefState FDownloadBubble; + Uceftypes::TCefState FHTTPSUpgrade; + Uceftypes::ustring FHSTSPolicyBypassList; + Uceftypes::TCefState FCredentialsService; + Uceftypes::TCefState FAutofillCreditCard; + Uceftypes::TCefState FAutofillProfile; + Uceftypes::TCefState FAutofillSaveData; + Uceftypes::TCefState FCanMakePayment; + Uceftypes::TCefState FSearchSuggestEnabled; + Uceftypes::TCefState FURLDataCollection; + bool FTryingToCloseBrowser; + Uceftypes::TCefState FStorageNotificationService; + Winapi::Windows::TFNWndProc FOldBrowserCompWndPrc; + Winapi::Windows::TFNWndProc FOldRenderCompWndPrc; + void *FBrowserCompStub; + void *FRenderCompStub; + Winapi::Windows::THandle FBrowserCompHWND; + Winapi::Windows::THandle FRenderCompHWND; + Ucefchromiumevents::TOnProcessMessageReceived FOnProcessMessageReceived; + Ucefchromiumevents::TOnLoadStart FOnLoadStart; + Ucefchromiumevents::TOnLoadEnd FOnLoadEnd; + Ucefchromiumevents::TOnLoadError FOnLoadError; + Ucefchromiumevents::TOnLoadingStateChange FOnLoadingStateChange; + Ucefchromiumevents::TOnTakeFocus FOnTakeFocus; + Ucefchromiumevents::TOnSetFocus FOnSetFocus; + Ucefchromiumevents::TOnGotFocus FOnGotFocus; + Ucefchromiumevents::TOnBeforeContextMenu FOnBeforeContextMenu; + Ucefchromiumevents::TOnRunContextMenu FOnRunContextMenu; + Ucefchromiumevents::TOnContextMenuCommand FOnContextMenuCommand; + Ucefchromiumevents::TOnContextMenuDismissed FOnContextMenuDismissed; + Ucefchromiumevents::TOnRunQuickMenuEvent FOnRunQuickMenu; + Ucefchromiumevents::TOnQuickMenuCommandEvent FOnQuickMenuCommand; + Ucefchromiumevents::TOnQuickMenuDismissedEvent FOnQuickMenuDismissed; + Ucefchromiumevents::TOnPreKeyEvent FOnPreKeyEvent; + Ucefchromiumevents::TOnKeyEvent FOnKeyEvent; + Ucefchromiumevents::TOnAddressChange FOnAddressChange; + Ucefchromiumevents::TOnTitleChange FOnTitleChange; + Ucefchromiumevents::TOnFavIconUrlChange FOnFavIconUrlChange; + Ucefchromiumevents::TOnFullScreenModeChange FOnFullScreenModeChange; + Ucefchromiumevents::TOnTooltip FOnTooltip; + Ucefchromiumevents::TOnStatusMessage FOnStatusMessage; + Ucefchromiumevents::TOnConsoleMessage FOnConsoleMessage; + Ucefchromiumevents::TOnAutoResize FOnAutoResize; + Ucefchromiumevents::TOnLoadingProgressChange FOnLoadingProgressChange; + Ucefchromiumevents::TOnCursorChange FOnCursorChange; + Ucefchromiumevents::TOnMediaAccessChange FOnMediaAccessChange; + Ucefchromiumevents::TOnContentsBoundsChange FOnContentsBoundsChange; + Ucefchromiumevents::TOnGetRootWindowScreenRect FOnGetRootWindowScreenRect; + Ucefchromiumevents::TOnCanDownloadEvent FOnCanDownload; + Ucefchromiumevents::TOnBeforeDownload FOnBeforeDownload; + Ucefchromiumevents::TOnDownloadUpdated FOnDownloadUpdated; + Ucefchromiumevents::TOnJsdialog FOnJsdialog; + Ucefchromiumevents::TOnBeforeUnloadDialog FOnBeforeUnloadDialog; + Ucefchromiumevents::TOnResetDialogState FOnResetDialogState; + Ucefchromiumevents::TOnDialogClosed FOnDialogClosed; + Ucefchromiumevents::TOnBeforePopup FOnBeforePopup; + Ucefchromiumevents::TOnBeforePopupAborted FOnBeforePopupAborted; + Ucefchromiumevents::TOnBeforeDevToolsPopup FOnBeforeDevToolsPopup; + Ucefchromiumevents::TOnAfterCreated FOnAfterCreated; + Ucefchromiumevents::TOnBeforeClose FOnBeforeClose; + Ucefchromiumevents::TOnClose FOnClose; + Ucefchromiumevents::TOnBeforeBrowse FOnBeforeBrowse; + Ucefchromiumevents::TOnOpenUrlFromTab FOnOpenUrlFromTab; + Ucefchromiumevents::TOnGetAuthCredentials FOnGetAuthCredentials; + Ucefchromiumevents::TOnCertificateError FOnCertificateError; + Ucefchromiumevents::TOnSelectClientCertificate FOnSelectClientCertificate; + Ucefchromiumevents::TOnRenderViewReady FOnRenderViewReady; + Ucefchromiumevents::TOnRenderProcessUnresponsive FOnRenderProcessUnresponsive; + Ucefchromiumevents::TOnRenderProcessResponsive FOnRenderProcessResponsive; + Ucefchromiumevents::TOnRenderProcessTerminated FOnRenderProcessTerminated; + Ucefchromiumevents::TOnGetResourceRequestHandler FOnGetResourceRequestHandler_ReqHdlr; + Ucefchromiumevents::TOnDocumentAvailableInMainFrame FOnDocumentAvailableInMainFrame; + Ucefchromiumevents::TOnBeforeResourceLoad FOnBeforeResourceLoad; + Ucefchromiumevents::TOnGetResourceHandler FOnGetResourceHandler; + Ucefchromiumevents::TOnResourceRedirect FOnResourceRedirect; + Ucefchromiumevents::TOnResourceResponse FOnResourceResponse; + Ucefchromiumevents::TOnGetResourceResponseFilter FOnGetResourceResponseFilter; + Ucefchromiumevents::TOnResourceLoadComplete FOnResourceLoadComplete; + Ucefchromiumevents::TOnProtocolExecution FOnProtocolExecution; + Ucefchromiumevents::TOnCanSendCookie FOnCanSendCookie; + Ucefchromiumevents::TOnCanSaveCookie FOnCanSaveCookie; + Ucefchromiumevents::TOnFileDialog FOnFileDialog; + Ucefchromiumevents::TOnGetAccessibilityHandler FOnGetAccessibilityHandler; + Ucefchromiumevents::TOnGetRootScreenRect FOnGetRootScreenRect; + Ucefchromiumevents::TOnGetViewRect FOnGetViewRect; + Ucefchromiumevents::TOnGetScreenPoint FOnGetScreenPoint; + Ucefchromiumevents::TOnGetScreenInfo FOnGetScreenInfo; + Ucefchromiumevents::TOnPopupShow FOnPopupShow; + Ucefchromiumevents::TOnPopupSize FOnPopupSize; + Ucefchromiumevents::TOnPaint FOnPaint; + Ucefchromiumevents::TOnAcceleratedPaint FOnAcceleratedPaint; + Ucefchromiumevents::TOnGetTouchHandleSize FOnGetTouchHandleSize; + Ucefchromiumevents::TOnTouchHandleStateChanged FOnTouchHandleStateChanged; + Ucefchromiumevents::TOnStartDragging FOnStartDragging; + Ucefchromiumevents::TOnUpdateDragCursor FOnUpdateDragCursor; + Ucefchromiumevents::TOnScrollOffsetChanged FOnScrollOffsetChanged; + Ucefchromiumevents::TOnIMECompositionRangeChanged FOnIMECompositionRangeChanged; + Ucefchromiumevents::TOnTextSelectionChanged FOnTextSelectionChanged; + Ucefchromiumevents::TOnVirtualKeyboardRequested FOnVirtualKeyboardRequested; + Ucefchromiumevents::TOnDragEnter FOnDragEnter; + Ucefchromiumevents::TOnDraggableRegionsChanged FOnDraggableRegionsChanged; + Ucefchromiumevents::TOnFindResult FOnFindResult; + Ucefchromiumevents::TOnRequestContextInitialized FOnRequestContextInitialized; + Ucefchromiumevents::TOnGetResourceRequestHandler FOnGetResourceRequestHandler_ReqCtxHdlr; + Ucefchromiumevents::TOnSinksEvent FOnSinks; + Ucefchromiumevents::TOnRoutesEvent FOnRoutes; + Ucefchromiumevents::TOnRouteStateChangedEvent FOnRouteStateChanged; + Ucefchromiumevents::TOnRouteMessageReceivedEvent FOnRouteMessageReceived; + Ucefchromiumevents::TOnGetAudioParametersEvent FOnGetAudioParameters; + Ucefchromiumevents::TOnAudioStreamStartedEvent FOnAudioStreamStarted; + Ucefchromiumevents::TOnAudioStreamPacketEvent FOnAudioStreamPacket; + Ucefchromiumevents::TOnAudioStreamStoppedEvent FOnAudioStreamStopped; + Ucefchromiumevents::TOnAudioStreamErrorEvent FOnAudioStreamError; + Ucefchromiumevents::TOnDevToolsMessageEvent FOnDevToolsMessage; + Ucefchromiumevents::TOnDevToolsRawMessageEvent FOnDevToolsRawMessage; + Ucefchromiumevents::TOnDevToolsMethodResultEvent FOnDevToolsMethodResult; + Ucefchromiumevents::TOnDevToolsMethodRawResultEvent FOnDevToolsMethodRawResult; + Ucefchromiumevents::TOnDevToolsEventEvent FOnDevToolsEvent; + Ucefchromiumevents::TOnDevToolsEventRawEvent FOnDevToolsRawEvent; + Ucefchromiumevents::TOnDevToolsAgentAttachedEvent FOnDevToolsAgentAttached; + Ucefchromiumevents::TOnDevToolsAgentDetachedEvent FOnDevToolsAgentDetached; + Ucefchromiumevents::TOnPrintStartEvent FOnPrintStart; + Ucefchromiumevents::TOnPrintSettingsEvent FOnPrintSettings; + Ucefchromiumevents::TOnPrintDialogEvent FOnPrintDialog; + Ucefchromiumevents::TOnPrintJobEvent FOnPrintJob; + Ucefchromiumevents::TOnPrintResetEvent FOnPrintReset; + Ucefchromiumevents::TOnGetPDFPaperSizeEvent FOnGetPDFPaperSize; + Ucefchromiumevents::TOnFrameCreated FOnFrameCreated; + Ucefchromiumevents::TOnFrameDestroyed FOnFrameDestroyed; + Ucefchromiumevents::TOnFrameAttached FOnFrameAttached; + Ucefchromiumevents::TOnFrameDetached FOnFrameDetached; + Ucefchromiumevents::TOnMainFrameChanged FOnMainFrameChanged; + Ucefchromiumevents::TOnChromeCommandEvent FOnChromeCommand; + Ucefchromiumevents::TOnIsChromeAppMenuItemVisibleEvent FOnIsChromeAppMenuItemVisible; + Ucefchromiumevents::TOnIsChromeAppMenuItemEnabledEvent FOnIsChromeAppMenuItemEnabled; + Ucefchromiumevents::TOnIsChromePageActionIconVisibleEvent FOnIsChromePageActionIconVisible; + Ucefchromiumevents::TOnIsChromeToolbarButtonVisibleEvent FOnIsChromeToolbarButtonVisible; + Ucefchromiumevents::TOnRequestMediaAccessPermissionEvent FOnRequestMediaAccessPermission; + Ucefchromiumevents::TOnShowPermissionPromptEvent FOnShowPermissionPrompt; + Ucefchromiumevents::TOnDismissPermissionPromptEvent FOnDismissPermissionPrompt; + Ucefchromiumevents::TOnPreferenceChangedEvent FOnPreferenceChanged; + Ucefchromiumevents::TOnSettingChangedEvent FOnSettingChanged; + Ucefchromiumevents::TOnTextResultAvailableEvent FOnTextResultAvailable; + Ucefchromiumevents::TOnPdfPrintFinishedEvent FOnPdfPrintFinished; + Ucefchromiumevents::TOnPrefsAvailableEvent FOnPrefsAvailable; + System::Classes::TNotifyEvent FOnPrefsUpdated; + Ucefchromiumevents::TOnCookiesDeletedEvent FOnCookiesDeleted; + Ucefchromiumevents::TOnResolvedIPsAvailableEvent FOnResolvedHostAvailable; + Ucefchromiumevents::TOnNavigationVisitorResultAvailableEvent FOnNavigationVisitorResultAvailable; + Ucefchromiumevents::TOnDownloadImageFinishedEvent FOnDownloadImageFinished; + System::Classes::TNotifyEvent FOnCookiesFlushed; + System::Classes::TNotifyEvent FOnCertificateExceptionsCleared; + System::Classes::TNotifyEvent FOnHttpAuthCredentialsCleared; + System::Classes::TNotifyEvent FOnAllConnectionsClosed; + Ucefchromiumevents::TOnExecuteTaskOnCefThread FOnExecuteTaskOnCefThread; + Ucefchromiumevents::TOnCookiesVisited FOnCookiesVisited; + Ucefchromiumevents::TOnCookieVisitorDestroyed FOnCookieVisitorDestroyed; + Ucefchromiumevents::TOnCookieSet FOnCookieSet; + Ucefchromiumevents::TOnZoomPctAvailable FOnZoomPctAvailable; + Ucefchromiumevents::TOnMediaRouteCreateFinishedEvent FOnMediaRouteCreateFinished; + Ucefchromiumevents::TOnMediaSinkDeviceInfoEvent FOnMediaSinkDeviceInfo; + System::Classes::TNotifyEvent FOnCanFocus; + Ucefchromiumevents::TOnCompMsgEvent FOnBrowserCompMsg; + Ucefchromiumevents::TOnCompMsgEvent FOnRenderCompMsg; + bool __fastcall GetIsLoading(); + bool __fastcall GetMultithreadApp(); + bool __fastcall GetHasDocument(); + bool __fastcall GetHasView(); + bool __fastcall GetHasDevTools(); + bool __fastcall GetHasClientHandler(); + bool __fastcall GetHasBrowser(); + bool __fastcall GetCanGoBack(); + bool __fastcall GetCanGoForward(); + Uceftypes::ustring __fastcall GetDocumentURL(); + double __fastcall GetZoomLevel(); + double __fastcall GetZoomPct(); + System::Byte __fastcall GetZoomStep(); + double __fastcall GetDefaultZoomLevel(); + bool __fastcall GetCanIncZoom(); + bool __fastcall GetCanDecZoom(); + bool __fastcall GetCanResetZoom(); + bool __fastcall GetIsPopUp(); + Uceftypes::TCefWindowHandle __fastcall GetWindowHandle(); + Uceftypes::TCefWindowHandle __fastcall GetOpenerWindowHandle(); + int __fastcall GetOpenerIdentifier(); + int __fastcall GetWindowlessFrameRate(); + bool __fastcall GetFrameIsFocused(); + bool __fastcall GetInitialized(); + Ucefinterfaces::_di_ICefNavigationEntry __fastcall GetVisibleNavigationEntry(); + Uceftypes::TCefRuntimeStyle __fastcall GetRuntimeStyle(); + bool __fastcall GetHasValidMainFrame(); + System::NativeUInt __fastcall GetFrameCount(); + Uceftypes::ustring __fastcall GetRequestContextCache(); + bool __fastcall GetRequestContextIsGlobal(); + Uceftypes::TCefColorVariant __fastcall GetChromeColorSchemeMode(); + Uceftypes::TCefColor __fastcall GetChromeColorSchemeColor(); + Uceftypes::TCefColorVariant __fastcall GetChromeColorSchemeVariant(); + bool __fastcall GetAudioMuted(); + bool __fastcall GetFullscreen(); + bool __fastcall GetIsRenderProcessUnresponsive(); + virtual Uceftypes::TCefWindowHandle __fastcall GetParentFormHandle(); + Ucefinterfaces::_di_ICefRequestContext __fastcall GetRequestContext(); + Ucefinterfaces::_di_ICefMediaRouter __fastcall GetMediaRouter(); + Ucefinterfaces::_di_ICefBrowser __fastcall GetBrowser(); + int __fastcall GetBrowserId(); + Ucefinterfaces::_di_ICefBrowser __fastcall GetBrowserById(int aID); + int __fastcall GetBrowserCount(); + int __fastcall GetBrowserIdByIndex(int aIndex); + int __fastcall GetComponentID(); + Uceftypes::TCefWindowInfo __fastcall GetCefWindowInfo(); + unsigned __fastcall GetWindowInfoExStyle(); + void __fastcall SetDoNotTrack(bool aValue); + void __fastcall SetSendReferrer(bool aValue); + void __fastcall SetHyperlinkAuditing(bool aValue); + void __fastcall SetAllowOutdatedPlugins(bool aValue); + void __fastcall SetAlwaysAuthorizePlugins(bool aValue); + void __fastcall SetAlwaysOpenPDFExternally(bool aValue); + void __fastcall SetSpellChecking(bool aValue); + void __fastcall SetSpellCheckerDicts(const Uceftypes::ustring aValue); + void __fastcall SetWebRTCIPHandlingPolicy(Uceftypes::TCefWebRTCHandlingPolicy aValue); + void __fastcall SetWebRTCMultipleRoutes(Uceftypes::TCefState aValue); + void __fastcall SetWebRTCNonProxiedUDP(Uceftypes::TCefState aValue); + void __fastcall SetProxyType(int aValue); + void __fastcall SetProxyScheme(Uceftypes::TCefProxyScheme aValue); + void __fastcall SetProxyServer(const Uceftypes::ustring aValue); + void __fastcall SetProxyPort(int aValue); + void __fastcall SetProxyUsername(const Uceftypes::ustring aValue); + void __fastcall SetProxyPassword(const Uceftypes::ustring aValue); + void __fastcall SetProxyScriptURL(const Uceftypes::ustring aValue); + void __fastcall SetProxyByPassList(const Uceftypes::ustring aValue); + void __fastcall SetMaxConnectionsPerProxy(const int aValue); + void __fastcall SetCustomHeaderName(const Uceftypes::ustring aValue); + void __fastcall SetCustomHeaderValue(const Uceftypes::ustring aValue); + void __fastcall SetZoomLevel(const double aValue); + void __fastcall SetZoomPct(const double aValue); + void __fastcall SetZoomStep(System::Byte aValue); + void __fastcall SetWindowlessFrameRate(int aValue); + void __fastcall SetAudioMuted(bool aValue); + void __fastcall SetSafeSearch(bool aValue); + void __fastcall SetOffline(bool aValue); + void __fastcall SetYouTubeRestrict(int aValue); + void __fastcall SetPrintingEnabled(bool aValue); + void __fastcall SetAcceptCookies(const Uceftypes::TCefCookiePref aValue); + void __fastcall SetBlock3rdPartyCookies(const bool aValue); + void __fastcall SetMultiBrowserMode(bool aValue); + void __fastcall SetQuicAllowed(bool aValue); + void __fastcall SetJavascriptEnabled(bool aValue); + void __fastcall SetLoadImagesAutomatically(bool aValue); + void __fastcall SetBatterySaverModeState(Uceftypes::TCefBatterySaverModeState aValue); + void __fastcall SetHighEfficiencyModeState(Uceftypes::TCefHighEfficiencyModeState aValue); + void __fastcall SetDefaultUrl(const Uceftypes::ustring aValue); + void __fastcall SetRuntimeStyle(Uceftypes::TCefRuntimeStyle aValue); + void __fastcall SetWindowInfoExStyle(unsigned aValue); + bool __fastcall CreateBrowserHost(Uceftypes::PCefWindowInfo aWindowInfo, const Uceftypes::ustring aURL, const Uceftypes::PCefBrowserSettings aSettings, const Ucefinterfaces::_di_ICefDictionaryValue aExtraInfo, const Ucefinterfaces::_di_ICefRequestContext aContext); + bool __fastcall CreateBrowserHostSync(Uceftypes::PCefWindowInfo aWindowInfo, const Uceftypes::ustring aURL, const Uceftypes::PCefBrowserSettings aSettings, const Ucefinterfaces::_di_ICefDictionaryValue aExtraInfo, const Ucefinterfaces::_di_ICefRequestContext aContext); + void __fastcall DestroyAllBrowsers(); + void __fastcall DestroyClientHandler(); + void __fastcall DestroyReqContextHandler(); + void __fastcall DestroyResourceRequestHandler(); + void __fastcall DestroyMediaObserver(); + void __fastcall DestroyDevToolsMsgObserver(); + void __fastcall DestroySettingObserver(); + void __fastcall DestroyPreferenceObserver(); + void __fastcall DestroyAllHandlersAndObservers(); + virtual void __fastcall CreateResourceRequestHandler(); + virtual void __fastcall CreateMediaObserver(); + virtual void __fastcall CreateDevToolsMsgObserver(); + virtual void __fastcall CreateSettingObserver(); + virtual void __fastcall CreatePreferenceObserver(); + virtual void __fastcall CreateRequestContextHandler(); + virtual void __fastcall CreateOptionsClasses(); + virtual void __fastcall CreateSyncObjects(); + virtual void __fastcall CreateBrowserInfoList(); + virtual void __fastcall CreateWindowWithWndProc(); + void __fastcall InitializeEvents(); + void __fastcall InitializeSettings(Uceftypes::TCefBrowserSettings &aSettings); + bool __fastcall UpdateProxyPrefs(const Ucefinterfaces::_di_ICefBrowser aBrowser); + bool __fastcall UpdatePreference(const Ucefinterfaces::_di_ICefBrowser aBrowser, const Uceftypes::ustring aName, bool aValue)/* overload */; + bool __fastcall UpdatePreference(const Ucefinterfaces::_di_ICefBrowser aBrowser, const Uceftypes::ustring aName, int aValue)/* overload */; + bool __fastcall UpdatePreference(const Ucefinterfaces::_di_ICefBrowser aBrowser, const Uceftypes::ustring aName, const double aValue)/* overload */; + bool __fastcall UpdatePreference(const Ucefinterfaces::_di_ICefBrowser aBrowser, const Uceftypes::ustring aName, const Uceftypes::ustring aValue)/* overload */; + bool __fastcall UpdatePreference(const Ucefinterfaces::_di_ICefBrowser aBrowser, const Uceftypes::ustring aName, System::Classes::TStringList* const aValue)/* overload */; + bool __fastcall UpdateStringListPref(const Ucefinterfaces::_di_ICefBrowser aBrowser, const Uceftypes::ustring aName, const Uceftypes::ustring aValue); + bool __fastcall ExecuteUpdateZoomStepTask(bool aInc); + bool __fastcall ExecuteUpdateZoomPctTask(bool aInc); + bool __fastcall ExecuteReadZoomTask(); + bool __fastcall ExecuteSetZoomPctTask(const double aValue); + bool __fastcall ExecuteSetZoomLevelTask(const double aValue); + bool __fastcall ExecuteSetZoomStepTask(System::Byte aValue); + bool __fastcall ExecuteBrowserNavigationTask(Uceftypes::TCefBrowserNavigation aTask); + void __fastcall UpdateHostZoomLevel(const double aValue); + void __fastcall UpdateHostZoomPct(const double aValue); + void __fastcall DelayedDragging(); + virtual void __fastcall InitializeWindowInfo(Uceftypes::TCefWindowHandle aParentHandle, const System::Types::TRect &aParentRect, const Uceftypes::ustring aWindowName); + void __fastcall DefaultInitializeDevToolsWindowInfo(Uceftypes::TCefWindowHandle aDevToolsWnd, const System::Types::TRect &aClientRect, const Uceftypes::ustring aWindowName); + bool __fastcall AddBrowser(const Ucefinterfaces::_di_ICefBrowser aBrowser); + bool __fastcall RemoveBrowser(const Ucefinterfaces::_di_ICefBrowser aBrowser); + void __fastcall SetBrowserIsClosing(int aID); + void __fastcall PrefsAvailableMsg(bool aResultOK); + bool __fastcall SendCompMessage(unsigned aMsg, unsigned aWParam = (unsigned)(0x0), int aLParam = 0x0); + void __fastcall ToMouseEvent(System::LongInt grfKeyState, const System::Types::TPoint &pt, Uceftypes::TCefMouseEvent &aMouseEvent); + void __fastcall WndProc(Winapi::Messages::TMessage &aMessage); + void __fastcall CreateStub(const System::Classes::TWndMethod aMethod, void * &aStub); + void __fastcall FreeAndNilStub(void * &aStub); + Winapi::Windows::TFNWndProc __fastcall InstallCompWndProc(Winapi::Windows::THandle aWnd, void * aStub); + void __fastcall RestoreCompWndProc(Winapi::Windows::THandle &aOldWnd, Winapi::Windows::THandle aNewWnd, Winapi::Windows::TFNWndProc &aProc); + void __fastcall CallOldCompWndProc(Winapi::Windows::TFNWndProc aProc, Winapi::Windows::THandle aWnd, Winapi::Messages::TMessage &aMessage); + void __fastcall BrowserCompWndProc(Winapi::Messages::TMessage &aMessage); + void __fastcall RenderCompWndProc(Winapi::Messages::TMessage &aMessage); + void __fastcall RestoreOldCompWndProc(); + bool __fastcall CopyDCToBitmapStream(HDC aSrcDC, const System::Types::TRect &aSrcRect, System::Classes::TStream* const aStream); + void __fastcall DragDropManager_OnDragEnter(System::TObject* Sender, const Ucefinterfaces::_di_ICefDragData aDragData, System::LongInt grfKeyState, const System::Types::TPoint &pt, System::LongInt &dwEffect); + void __fastcall DragDropManager_OnDragOver(System::TObject* Sender, System::LongInt grfKeyState, const System::Types::TPoint &pt, System::LongInt &dwEffect); + void __fastcall DragDropManager_OnDragLeave(System::TObject* Sender); + void __fastcall DragDropManager_OnDrop(System::TObject* Sender, System::LongInt grfKeyState, const System::Types::TPoint &pt, System::LongInt &dwEffect); + virtual bool __fastcall doOnProcessMessageReceived(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, Uceftypes::TCefProcessId sourceProcess, const Ucefinterfaces::_di_ICefProcessMessage aMessage); + 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); + virtual void __fastcall doOnLoadingStateChange(const Ucefinterfaces::_di_ICefBrowser browser, bool isLoading, bool canGoBack, bool canGoForward); + virtual void __fastcall doOnTakeFocus(const Ucefinterfaces::_di_ICefBrowser browser, bool next); + virtual bool __fastcall doOnSetFocus(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefFocusSource source); + virtual void __fastcall doOnGotFocus(const Ucefinterfaces::_di_ICefBrowser browser); + virtual void __fastcall doOnBeforeContextMenu(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefContextMenuParams params, const Ucefinterfaces::_di_ICefMenuModel model); + virtual bool __fastcall doRunContextMenu(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 doOnContextMenuCommand(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefContextMenuParams params, int commandId, Uceftypes::TCefEventFlags eventFlags); + virtual void __fastcall doOnContextMenuDismissed(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame); + virtual bool __fastcall doRunQuickMenu(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 doOnQuickMenuCommand(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, int command_id, Uceftypes::TCefEventFlags event_flags); + virtual void __fastcall doOnQuickMenuDismissed(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame); + virtual bool __fastcall doOnPreKeyEvent(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefKeyEvent event, Uceftypes::TCefEventHandle osEvent, /* out */ bool &isKeyboardShortcut); + virtual bool __fastcall doOnKeyEvent(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefKeyEvent event, Uceftypes::TCefEventHandle osEvent); + virtual void __fastcall doOnAddressChange(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Uceftypes::ustring url); + virtual void __fastcall doOnTitleChange(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring title); + virtual void __fastcall doOnFaviconUrlChange(const Ucefinterfaces::_di_ICefBrowser browser, System::Classes::TStrings* const iconUrls); + virtual void __fastcall doOnFullScreenModeChange(const Ucefinterfaces::_di_ICefBrowser browser, bool fullscreen); + virtual bool __fastcall doOnTooltip(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::ustring &text); + virtual void __fastcall doOnStatusMessage(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring value); + virtual bool __fastcall doOnConsoleMessage(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefLogSeverity level, const Uceftypes::ustring aMessage, const Uceftypes::ustring source, int line); + virtual bool __fastcall doOnAutoResize(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefSize new_size); + virtual void __fastcall doOnLoadingProgressChange(const Ucefinterfaces::_di_ICefBrowser browser, const double progress); + virtual void __fastcall doOnCursorChange(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefCursorHandle cursor_, Uceftypes::TCefCursorType cursorType, const Uceftypes::PCefCursorInfo customCursorInfo, bool &aResult); + virtual void __fastcall doOnMediaAccessChange(const Ucefinterfaces::_di_ICefBrowser browser, bool has_video_access, bool has_audio_access); + virtual bool __fastcall doOnContentsBoundsChange(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefRect new_bounds); + virtual bool __fastcall doOnGetRootWindowScreenRect(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::PCefRect rect_); + bool __fastcall doOnCanDownload(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring url, const Uceftypes::ustring request_method); + virtual bool __fastcall doOnBeforeDownload(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefDownloadItem downloadItem, const Uceftypes::ustring suggestedName, const Ucefinterfaces::_di_ICefBeforeDownloadCallback callback); + virtual void __fastcall doOnDownloadUpdated(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefDownloadItem downloadItem, const Ucefinterfaces::_di_ICefDownloadItemCallback callback); + virtual bool __fastcall doOnJsdialog(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 doOnBeforeUnloadDialog(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring messageText, bool isReload, const Ucefinterfaces::_di_ICefJsDialogCallback callback); + virtual void __fastcall doOnResetDialogState(const Ucefinterfaces::_di_ICefBrowser browser); + virtual void __fastcall doOnDialogClosed(const Ucefinterfaces::_di_ICefBrowser browser); + virtual bool __fastcall doOnBeforePopup(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 doOnBeforePopupAborted(const Ucefinterfaces::_di_ICefBrowser browser, int popup_id); + virtual void __fastcall doOnBeforeDevToolsPopup(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 doOnAfterCreated(const Ucefinterfaces::_di_ICefBrowser browser); + virtual void __fastcall doOnBeforeClose(const Ucefinterfaces::_di_ICefBrowser browser); + virtual bool __fastcall doOnClose(const Ucefinterfaces::_di_ICefBrowser browser); + virtual bool __fastcall doOnBeforeBrowse(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, bool user_gesture, bool isRedirect); + virtual bool __fastcall doOnOpenUrlFromTab(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Uceftypes::ustring targetUrl, Uceftypes::TCefWindowOpenDisposition targetDisposition, bool userGesture); + virtual void __fastcall doGetResourceRequestHandler_ReqHdlr(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 &aResourceRequestHandler); + virtual bool __fastcall doOnGetAuthCredentials(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); + virtual bool __fastcall doOnCertificateError(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefErrorCode certError, const Uceftypes::ustring requestUrl, const Ucefinterfaces::_di_ICefSslInfo sslInfo, const Ucefinterfaces::_di_ICefCallback callback); + virtual bool __fastcall doOnSelectClientCertificate(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); + virtual void __fastcall doOnRenderViewReady(const Ucefinterfaces::_di_ICefBrowser browser); + virtual bool __fastcall doOnRenderProcessUnresponsive(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefUnresponsiveProcessCallback callback); + virtual void __fastcall doOnRenderProcessResponsive(const Ucefinterfaces::_di_ICefBrowser browser); + virtual void __fastcall doOnRenderProcessTerminated(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefTerminationStatus status, int error_code, const Uceftypes::ustring error_string); + virtual void __fastcall doOnDocumentAvailableInMainFrame(const Ucefinterfaces::_di_ICefBrowser browser); + virtual Uceftypes::TCefReturnValue __fastcall doOnBeforeResourceLoad(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefCallback callback); + virtual void __fastcall doOnGetResourceHandler(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, Ucefinterfaces::_di_ICefResourceHandler &aResourceHandler); + virtual void __fastcall doOnResourceRedirect(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefResponse response, Uceftypes::ustring &newUrl); + virtual bool __fastcall doOnResourceResponse(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefResponse response); + virtual void __fastcall doOnGetResourceResponseFilter(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefResponse response, Ucefinterfaces::_di_ICefResponseFilter &aResponseFilter); + virtual void __fastcall doOnResourceLoadComplete(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); + virtual void __fastcall doOnProtocolExecution(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, bool &allowOsExecution); + virtual bool __fastcall doCanSendCookie(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, const Uceftypes::PCefCookie cookie); + virtual bool __fastcall doCanSaveCookie(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 bool __fastcall doOnFileDialog(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 doOnGetAccessibilityHandler(Ucefinterfaces::_di_ICefAccessibilityHandler &aAccessibilityHandler); + virtual bool __fastcall doOnGetRootScreenRect(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefRect &rect); + virtual void __fastcall doOnGetViewRect(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefRect &rect); + virtual bool __fastcall doOnGetScreenPoint(const Ucefinterfaces::_di_ICefBrowser browser, int viewX, int viewY, int &screenX, int &screenY); + virtual bool __fastcall doOnGetScreenInfo(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefScreenInfo &screenInfo); + virtual void __fastcall doOnPopupShow(const Ucefinterfaces::_di_ICefBrowser browser, bool show); + virtual void __fastcall doOnPopupSize(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefRect rect); + virtual void __fastcall doOnPaint(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefPaintElementType type_, System::NativeUInt dirtyRectsCount, const Uceftypes::PCefRectArray dirtyRects, const void * buffer, int width, int height); + virtual void __fastcall doOnAcceleratedPaint(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefPaintElementType type_, System::NativeUInt dirtyRectsCount, const Uceftypes::PCefRectArray dirtyRects, const Uceftypes::PCefAcceleratedPaintInfo info); + virtual void __fastcall doGetTouchHandleSize(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefHorizontalAlignment orientation, Uceftypes::TCefSize &size); + virtual void __fastcall doOnTouchHandleStateChanged(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::TCefTouchHandleState &state); + virtual bool __fastcall doOnStartDragging(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefDragData dragData, Uceftypes::TCefDragOperations allowedOps, int x, int y); + virtual void __fastcall doOnUpdateDragCursor(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefDragOperation operation); + virtual void __fastcall doOnScrollOffsetChanged(const Ucefinterfaces::_di_ICefBrowser browser, double x, double y); + virtual void __fastcall doOnIMECompositionRangeChanged(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefRange selected_range, System::NativeUInt character_boundsCount, const Uceftypes::PCefRect character_bounds); + virtual void __fastcall doOnTextSelectionChanged(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring selected_text, const Uceftypes::PCefRange selected_range); + virtual void __fastcall doOnVirtualKeyboardRequested(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefTextInpuMode input_mode); + virtual bool __fastcall doOnDragEnter(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefDragData dragData, Uceftypes::TCefDragOperations mask); + virtual void __fastcall doOnDraggableRegionsChanged(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, System::NativeUInt regionsCount, const Uceftypes::PCefDraggableRegionArray regions); + virtual void __fastcall doOnFindResult(const Ucefinterfaces::_di_ICefBrowser browser, int identifier, int count, const Uceftypes::PCefRect selectionRect, int activeMatchOrdinal, bool finalUpdate); + virtual void __fastcall doOnRequestContextInitialized(const Ucefinterfaces::_di_ICefRequestContext request_context); + virtual void __fastcall doGetResourceRequestHandler_ReqCtxHdlr(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 &aResourceRequestHandler); + virtual void __fastcall doOnSinks(const Ucefinterfaces::TCefMediaSinkArray sinks); + virtual void __fastcall doOnRoutes(const Ucefinterfaces::TCefMediaRouteArray routes); + virtual void __fastcall doOnRouteStateChanged(const Ucefinterfaces::_di_ICefMediaRoute route, Uceftypes::TCefMediaRouteConnectionState state); + virtual void __fastcall doOnRouteMessageReceived(const Ucefinterfaces::_di_ICefMediaRoute route, const Uceftypes::ustring message_); + virtual void __fastcall doOnGetAudioParameters(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefAudioParameters ¶ms, bool &aResult); + virtual void __fastcall doOnAudioStreamStarted(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::TCefAudioParameters ¶ms, int channels); + virtual void __fastcall doOnAudioStreamPacket(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PPSingle data, int frames, __int64 pts); + virtual void __fastcall doOnAudioStreamStopped(const Ucefinterfaces::_di_ICefBrowser browser); + virtual void __fastcall doOnAudioStreamError(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring message_); + virtual void __fastcall doOnDevToolsMessage(const Ucefinterfaces::_di_ICefBrowser browser, const void * message_, System::NativeUInt message_size, bool &aHandled); + virtual void __fastcall doOnDevToolsMethodResult(const Ucefinterfaces::_di_ICefBrowser browser, int message_id, bool success, const void * result, System::NativeUInt result_size); + virtual void __fastcall doOnDevToolsEvent(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring method, const void * params, System::NativeUInt params_size); + virtual void __fastcall doOnDevToolsAgentAttached(const Ucefinterfaces::_di_ICefBrowser browser); + virtual void __fastcall doOnDevToolsAgentDetached(const Ucefinterfaces::_di_ICefBrowser browser); + void __fastcall doOnPrintStart(const Ucefinterfaces::_di_ICefBrowser browser); + void __fastcall doOnPrintSettings(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefPrintSettings settings, bool getDefaults); + void __fastcall doOnPrintDialog(const Ucefinterfaces::_di_ICefBrowser browser, bool hasSelection, const Ucefinterfaces::_di_ICefPrintDialogCallback callback, bool &aResult); + void __fastcall doOnPrintJob(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring documentName, const Uceftypes::ustring PDFFilePath, const Ucefinterfaces::_di_ICefPrintJobCallback callback, bool &aResult); + void __fastcall doOnPrintReset(const Ucefinterfaces::_di_ICefBrowser browser); + void __fastcall doOnGetPDFPaperSize(const Ucefinterfaces::_di_ICefBrowser browser, int deviceUnitsPerInch, Uceftypes::TCefSize &aResult); + void __fastcall doOnFrameCreated(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame); + void __fastcall doOnFrameDestroyed(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame); + void __fastcall doOnFrameAttached(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, bool reattached); + void __fastcall doOnFrameDetached(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame); + void __fastcall doOnMainFrameChanged(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame old_frame, const Ucefinterfaces::_di_ICefFrame new_frame); + bool __fastcall doOnChromeCommand(const Ucefinterfaces::_di_ICefBrowser browser, int command_id, Uceftypes::TCefWindowOpenDisposition disposition); + bool __fastcall doOnIsChromeAppMenuItemVisible(const Ucefinterfaces::_di_ICefBrowser browser, int command_id); + bool __fastcall doOnIsChromeAppMenuItemEnabled(const Ucefinterfaces::_di_ICefBrowser browser, int command_id); + bool __fastcall doOnIsChromePageActionIconVisible(Uceftypes::TCefChromePageActionIconType icon_type); + bool __fastcall doOnIsChromeToolbarButtonVisible(Uceftypes::TCefChromeToolbarButtonType button_type); + bool __fastcall doOnRequestMediaAccessPermission(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Uceftypes::ustring requesting_origin, unsigned requested_permissions, const Ucefinterfaces::_di_ICefMediaAccessCallback callback); + bool __fastcall doOnShowPermissionPrompt(const Ucefinterfaces::_di_ICefBrowser browser, unsigned __int64 prompt_id, const Uceftypes::ustring requesting_origin, unsigned requested_permissions, const Ucefinterfaces::_di_ICefPermissionPromptCallback callback); + void __fastcall doOnDismissPermissionPrompt(const Ucefinterfaces::_di_ICefBrowser browser, unsigned __int64 prompt_id, Uceftypes::TCefPermissionRequestResult result); + void __fastcall doOnPreferenceChanged(const Uceftypes::ustring name_); + void __fastcall doOnSettingChanged(const Uceftypes::ustring requesting_url, const Uceftypes::ustring top_level_url, Uceftypes::TCefContentSettingTypes content_type); + void __fastcall GetSettings(Uceftypes::TCefBrowserSettings &aSettings); + virtual void __fastcall doCookiesDeleted(int numDeleted); + virtual void __fastcall doPdfPrintFinished(bool aResultOK); + virtual void __fastcall doTextResultAvailable(const Uceftypes::ustring aText); + virtual void __fastcall doUpdatePreferences(const Ucefinterfaces::_di_ICefBrowser aBrowser); + virtual void __fastcall doUpdateOwnPreferences(); + virtual bool __fastcall doSavePreferences(); + virtual void __fastcall doResolvedHostAvailable(Uceftypes::TCefErrorCode result, System::Classes::TStrings* const resolvedIps); + virtual bool __fastcall doNavigationVisitorResultAvailable(const Ucefinterfaces::_di_ICefNavigationEntry entry, bool current, int index, int total); + virtual void __fastcall doDownloadImageFinished(const Uceftypes::ustring imageUrl, int httpStatusCode, const Ucefinterfaces::_di_ICefImage image); + virtual void __fastcall doOnCookiesStoreFlushed(); + virtual void __fastcall doCertificateExceptionsCleared(); + virtual void __fastcall doHttpAuthCredentialsCleared(); + virtual void __fastcall doAllConnectionsClosed(); + virtual void __fastcall doOnExecuteTaskOnCefThread(unsigned aTaskID); + virtual void __fastcall doOnCookiesVisited(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); + virtual void __fastcall doOnCookieVisitorDestroyed(int aID); + virtual void __fastcall doOnCookieSet(bool aSuccess, int aID); + virtual void __fastcall doUpdateZoomStep(bool aInc); + virtual void __fastcall doUpdateZoomPct(bool aInc); + virtual void __fastcall doReadZoom(); + virtual void __fastcall doSetZoomLevel(const double aValue); + virtual void __fastcall doSetZoomPct(const double aValue); + virtual void __fastcall doSetZoomStep(System::Byte aValue); + virtual void __fastcall doMediaRouteCreateFinished(Uceftypes::TCefMediaRouterCreateResult result, const Uceftypes::ustring error, const Ucefinterfaces::_di_ICefMediaRoute route); + virtual void __fastcall doOnMediaSinkDeviceInfo(const Uceftypes::ustring ip_address, int port, const Uceftypes::ustring model_name); + virtual void __fastcall doBrowserNavigation(Uceftypes::TCefBrowserNavigation aTask); + virtual void __fastcall doSetAudioMuted(bool aValue); + virtual void __fastcall doToggleAudioMuted(); + virtual void __fastcall doEnableFocus(); + virtual bool __fastcall doTryCloseBrowser(); + virtual void __fastcall doAddPreferenceObserver(const Uceftypes::ustring name_); + virtual bool __fastcall MustCreateAudioHandler(); + virtual bool __fastcall MustCreateCommandHandler(); + virtual bool __fastcall MustCreateDevToolsMessageObserver(); + virtual bool __fastcall MustCreateSettingObserver(); + virtual bool __fastcall MustCreateLoadHandler(); + virtual bool __fastcall MustCreateFocusHandler(); + virtual bool __fastcall MustCreateContextMenuHandler(); + virtual bool __fastcall MustCreateDialogHandler(); + virtual bool __fastcall MustCreateKeyboardHandler(); + virtual bool __fastcall MustCreateDisplayHandler(); + virtual bool __fastcall MustCreateDownloadHandler(); + virtual bool __fastcall MustCreateJsDialogHandler(); + virtual bool __fastcall MustCreateLifeSpanHandler(); + virtual bool __fastcall MustCreateRenderHandler(); + virtual bool __fastcall MustCreateRequestHandler(); + virtual bool __fastcall MustCreateDragHandler(); + virtual bool __fastcall MustCreateFindHandler(); + virtual bool __fastcall MustCreateResourceRequestHandler(); + virtual bool __fastcall MustCreateCookieAccessFilter(); + virtual bool __fastcall MustCreateMediaObserver(); + virtual bool __fastcall MustCreatePrintHandler(); + virtual bool __fastcall MustCreateFrameHandler(); + virtual bool __fastcall MustCreatePermissionHandler(); + __property Uceftypes::TCefWindowHandle ParentFormHandle = {read=GetParentFormHandle, nodefault}; + +public: + __fastcall virtual TChromiumCore(System::Classes::TComponent* AOwner); + __fastcall virtual ~TChromiumCore(); + virtual void __fastcall AfterConstruction(); + virtual void __fastcall BeforeDestruction(); + bool __fastcall CreateClientHandler(bool aIsOSR = true)/* overload */; + bool __fastcall CreateClientHandler(Ucefinterfaces::_di_ICefClient &aClient, bool aIsOSR = true)/* overload */; + void __fastcall CloseBrowser(bool aForceClose); + void __fastcall CloseAllBrowsers(); + bool __fastcall TryCloseBrowser(); + bool __fastcall IsReadyToBeClosed(); + bool __fastcall SelectBrowser(int aID); + int __fastcall IndexOfBrowserID(int aID); + bool __fastcall ShareRequestContext(Ucefinterfaces::_di_ICefRequestContext &aContext, const Ucefinterfaces::_di_ICefRequestContextHandler aHandler = Ucefinterfaces::_di_ICefRequestContextHandler()); + void __fastcall InitializeDragAndDrop(const HWND aDropTargetWnd); + void __fastcall ShutdownDragAndDrop(); + bool __fastcall SetNewBrowserParent(HWND aNewParentHwnd); + virtual 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)/* overload */; + virtual 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())/* overload */; + void __fastcall LoadURL(const Uceftypes::ustring aURL, const Uceftypes::ustring aFrameName = Uceftypes::ustring(), const Uceftypes::ustring aFrameIdentifier = Uceftypes::ustring())/* overload */; + void __fastcall LoadURL(const Uceftypes::ustring aURL, const Ucefinterfaces::_di_ICefFrame aFrame)/* overload */; + void __fastcall LoadString(const Uceftypes::ustring aHTML, const Uceftypes::ustring aFrameName = Uceftypes::ustring(), const Uceftypes::ustring aFrameIdentifier = Uceftypes::ustring())/* overload */; + void __fastcall LoadString(const Uceftypes::ustring aHTML, const Ucefinterfaces::_di_ICefFrame aFrame)/* overload */; + void __fastcall LoadResource(System::Classes::TCustomMemoryStream* const aStream, const System::UnicodeString aMimeType, const System::UnicodeString aCharset, const Uceftypes::ustring aFrameName = Uceftypes::ustring(), const Uceftypes::ustring aFrameIdentifier = Uceftypes::ustring())/* overload */; + void __fastcall LoadResource(System::Classes::TCustomMemoryStream* const aStream, const System::UnicodeString aMimeType, const System::UnicodeString aCharset, const Ucefinterfaces::_di_ICefFrame aFrame)/* overload */; + void __fastcall LoadRequest(const Ucefinterfaces::_di_ICefRequest aRequest); + void __fastcall GoBack(); + void __fastcall GoForward(); + void __fastcall Reload(); + void __fastcall ReloadIgnoreCache(); + void __fastcall StopLoad(); + void __fastcall StartDownload(const Uceftypes::ustring aURL); + void __fastcall DownloadImage(const Uceftypes::ustring imageUrl, bool isFavicon, unsigned maxImageSize, bool bypassCache); + void __fastcall SimulateMouseWheel(int aDeltaX, int aDeltaY); + void __fastcall SimulateKeyEvent(Uceftypes::TSimulatedCefKeyEventType type_, int modifiers = 0x0, float timestamp = 0.000000E+00f, const Uceftypes::ustring text = Uceftypes::ustring(), const Uceftypes::ustring unmodifiedtext = Uceftypes::ustring(), const Uceftypes::ustring keyIdentifier = Uceftypes::ustring(), const Uceftypes::ustring code = Uceftypes::ustring(), const Uceftypes::ustring key = Uceftypes::ustring(), int windowsVirtualKeyCode = 0x0, int nativeVirtualKeyCode = 0x0, bool autoRepeat = false, bool isKeypad = false, bool isSystemKey = false, Uceftypes::TCefKeyLocation location = (Uceftypes::TCefKeyLocation)(0x0), Uceftypes::TCefEditingCommand commands = (Uceftypes::TCefEditingCommand)(0x0)); + void __fastcall SimulateMouseEvent(Uceftypes::TCefSimulatedMouseEventType type_, float x, float y, int modifiers = 0x0, float timestamp = 0.000000E+00f, Uceftypes::TCefSimulatedMouseButton button = (Uceftypes::TCefSimulatedMouseButton)(0x0), int buttons = 0x0, int clickCount = 0x0, float force = 0.000000E+00f, float tangentialPressure = 0.000000E+00f, float tiltX = 0.000000E+00f, float tiltY = 0.000000E+00f, int twist = 0x0, float deltaX = 0.000000E+00f, float deltaY = 0.000000E+00f, Uceftypes::TCefSimulatedPointerType pointerType = (Uceftypes::TCefSimulatedPointerType)(0x0)); + void __fastcall SimulateTouchEvent(Uceftypes::TCefSimulatedTouchEventType type_, Uceftypes::TCefSimulatedTouchPointArray &touchPoints, int modifiers = 0x0, float timestamp = 0.000000E+00f); + void __fastcall SimulateEditingCommand(Uceftypes::TCefEditingCommand command); + bool __fastcall ClearCertificateExceptions(bool aClearImmediately = true); + bool __fastcall ClearHttpAuthCredentials(bool aClearImmediately = true); + bool __fastcall CloseAllConnections(bool aCloseImmediately = true); + void __fastcall RetrieveHTML(const Uceftypes::ustring aFrameName = Uceftypes::ustring(), const Uceftypes::ustring aFrameIdentifier = Uceftypes::ustring())/* overload */; + void __fastcall RetrieveHTML(const Ucefinterfaces::_di_ICefFrame aFrame)/* overload */; + void __fastcall RetrieveText(const Uceftypes::ustring aFrameName = Uceftypes::ustring(), const Uceftypes::ustring aFrameIdentifier = Uceftypes::ustring())/* overload */; + void __fastcall RetrieveText(const Ucefinterfaces::_di_ICefFrame aFrame)/* overload */; + void __fastcall GetNavigationEntries(bool currentOnly); + bool __fastcall GetFrameNames(System::Classes::TStrings* &aFrameNames); + bool __fastcall GetFrameIdentifiers(System::Classes::TStrings* &aFrameIdentifiers); + void __fastcall ExecuteJavaScript(const Uceftypes::ustring aCode, const Uceftypes::ustring aScriptURL, const Uceftypes::ustring aFrameName = Uceftypes::ustring(), const Uceftypes::ustring aFrameIdentifier = Uceftypes::ustring(), int aStartLine = 0x0)/* overload */; + void __fastcall ExecuteJavaScript(const Uceftypes::ustring aCode, const Uceftypes::ustring aScriptURL, const Ucefinterfaces::_di_ICefFrame aFrame, int aStartLine = 0x0)/* overload */; + void __fastcall UpdatePreferences(); + void __fastcall SavePreferences(const System::UnicodeString aFileName); + void __fastcall ResolveHost(const Uceftypes::ustring aURL); + bool __fastcall IsSameBrowser(const Ucefinterfaces::_di_ICefBrowser aBrowser); + bool __fastcall ExecuteTaskOnCefThread(Uceftypes::TCefThreadId aCefThreadId, unsigned aTaskID, __int64 aDelayMs = 0LL); + void __fastcall SetUserAgentOverride(const Uceftypes::ustring aUserAgent, const Uceftypes::ustring aAcceptLanguage = Uceftypes::ustring(), const Uceftypes::ustring aPlatform = Uceftypes::ustring()); + void __fastcall ClearDataForOrigin(const Uceftypes::ustring aOrigin, Uceftypes::TCefClearDataStorageTypes aStorageTypes = (Uceftypes::TCefClearDataStorageTypes)(0xb)); + void __fastcall ClearCache(); + void __fastcall ToggleAudioMuted(); + void __fastcall AddPreferenceObserver(const Uceftypes::ustring name_); + void __fastcall RemovePreferenceObserver(const Uceftypes::ustring name_); + bool __fastcall DeleteCookies(const Uceftypes::ustring url = Uceftypes::ustring(), const Uceftypes::ustring cookieName = Uceftypes::ustring(), bool aDeleteImmediately = false); + bool __fastcall VisitAllCookies(int aID = 0x0); + bool __fastcall VisitURLCookies(const Uceftypes::ustring url, bool includeHttpOnly = false, int aID = 0x0); + 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, bool aSetImmediately = true, int aID = 0x0); + bool __fastcall FlushCookieStore(bool aFlushImmediately = true); + void __fastcall ShowDevTools(const System::Types::TPoint &inspectElementAt, Uceftypes::PCefWindowInfo aWindowInfo); + void __fastcall CloseDevTools()/* overload */; + void __fastcall CloseDevTools(const Uceftypes::TCefWindowHandle aDevToolsWnd)/* overload */; + 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); + Ucefinterfaces::_di_ICefRegistration __fastcall AddSettingObserver(const Ucefinterfaces::_di_ICefSettingObserver observer); + void __fastcall Find(const Uceftypes::ustring aSearchText, bool aForward, bool aMatchCase, bool aFindNext); + void __fastcall StopFinding(bool aClearSelection); + void __fastcall Print(); + void __fastcall PrintToPDF(const Uceftypes::ustring aFilePath); + void __fastcall ClipboardCopy(); + void __fastcall ClipboardPaste(); + void __fastcall ClipboardPasteAndMatchStyle(); + void __fastcall ClipboardCut(); + void __fastcall ClipboardUndo(); + void __fastcall ClipboardRedo(); + void __fastcall ClipboardDel(); + void __fastcall SelectAll(); + void __fastcall IncZoomStep(); + void __fastcall DecZoomStep(); + void __fastcall IncZoomPct(); + void __fastcall DecZoomPct(); + void __fastcall ResetZoomStep(); + void __fastcall ResetZoomLevel(); + void __fastcall ResetZoomPct(); + void __fastcall ReadZoom(); + void __fastcall IncZoomCommand(); + void __fastcall DecZoomCommand(); + void __fastcall ResetZoomCommand(); + void __fastcall WasResized(); + void __fastcall WasHidden(bool hidden); + void __fastcall NotifyScreenInfoChanged(); + void __fastcall NotifyMoveOrResizeStarted(); + void __fastcall Invalidate(Uceftypes::TCefPaintElementType type_ = (Uceftypes::TCefPaintElementType)(0x0)); + void __fastcall ExitFullscreen(bool will_cause_resize); + bool __fastcall CanExecuteChromeCommand(int command_id); + void __fastcall ExecuteChromeCommand(int command_id, Uceftypes::TCefWindowOpenDisposition disposition); + 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 SendProcessMessage(Uceftypes::TCefProcessId targetProcess, const Ucefinterfaces::_di_ICefProcessMessage ProcMessage, const Uceftypes::ustring aFrameName = Uceftypes::ustring(), const Uceftypes::ustring aFrameIdentifier = Uceftypes::ustring())/* overload */; + void __fastcall SendProcessMessage(Uceftypes::TCefProcessId targetProcess, const Ucefinterfaces::_di_ICefProcessMessage ProcMessage, const Ucefinterfaces::_di_ICefFrame aFrame)/* overload */; + Ucefinterfaces::_di_ICefUrlRequest __fastcall CreateUrlRequest(const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefUrlrequestClient client, const Uceftypes::ustring aFrameName = Uceftypes::ustring(), const Uceftypes::ustring aFrameIdentifier = Uceftypes::ustring())/* overload */; + Ucefinterfaces::_di_ICefUrlRequest __fastcall CreateUrlRequest(const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefUrlrequestClient client, const Ucefinterfaces::_di_ICefFrame aFrame)/* overload */; + void __fastcall SetFocus(bool focus); + void __fastcall SetAccessibilityState(Uceftypes::TCefState accessibilityState); + 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(); + 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 ReplaceMisspelling(const Uceftypes::ustring aWord); + void __fastcall AddWordToDictionary(const Uceftypes::ustring aWord); + Ucefinterfaces::_di_ICefRegistration __fastcall AddObserver(const Ucefinterfaces::_di_ICefMediaObserver observer); + Ucefinterfaces::_di_ICefMediaSource __fastcall GetSource(const Uceftypes::ustring urn); + void __fastcall NotifyCurrentSinks(); + void __fastcall NotifyCurrentRoutes(); + void __fastcall CreateRoute(const Ucefinterfaces::_di_ICefMediaSource source, const Ucefinterfaces::_di_ICefMediaSink sink); + void __fastcall GetDeviceInfo(const Ucefinterfaces::_di_ICefMediaSink aMediaSink); + Ucefinterfaces::_di_ICefValue __fastcall GetWebsiteSetting(const Uceftypes::ustring requesting_url, const Uceftypes::ustring top_level_url, Uceftypes::TCefContentSettingTypes content_type); + void __fastcall SetWebsiteSetting(const Uceftypes::ustring requesting_url, const Uceftypes::ustring top_level_url, Uceftypes::TCefContentSettingTypes content_type, const Ucefinterfaces::_di_ICefValue value); + Uceftypes::TCefContentSettingValues __fastcall GetContentSetting(const Uceftypes::ustring requesting_url, const Uceftypes::ustring top_level_url, Uceftypes::TCefContentSettingTypes content_type); + void __fastcall SetContentSetting(const Uceftypes::ustring requesting_url, const Uceftypes::ustring top_level_url, Uceftypes::TCefContentSettingTypes content_type, Uceftypes::TCefContentSettingValues value); + void __fastcall SetChromeColorScheme(Uceftypes::TCefColorVariant variant, Uceftypes::TCefColor user_color); + __property Uceftypes::ustring DefaultUrl = {read=FDefaultUrl, write=SetDefaultUrl}; + __property Ucefchromiumoptions::TChromiumOptions* Options = {read=FOptions, write=FOptions}; + __property Ucefchromiumfontoptions::TChromiumFontOptions* FontOptions = {read=FFontOptions, write=FFontOptions}; + __property Ucefpdfprintoptions::TPDFPrintOptions* PDFPrintOptions = {read=FPDFPrintOptions, write=FPDFPrintOptions}; + __property Uceftypes::ustring DefaultEncoding = {read=FDefaultEncoding, write=FDefaultEncoding}; + __property int BrowserId = {read=GetBrowserId, nodefault}; + __property Ucefinterfaces::_di_ICefBrowser Browser = {read=GetBrowser}; + __property Ucefinterfaces::_di_ICefBrowser BrowserById[int id] = {read=GetBrowserById}; + __property int BrowserCount = {read=GetBrowserCount, nodefault}; + __property int BrowserIdByIndex[int i] = {read=GetBrowserIdByIndex}; + __property Ucefinterfaces::_di_ICefClient CefClient = {read=FHandler}; + __property Ucefinterfaces::_di_ICefRequestContextHandler ReqContextHandler = {read=FReqContextHandler}; + __property Ucefinterfaces::_di_ICefResourceRequestHandler ResourceRequestHandler = {read=FResourceRequestHandler}; + __property Uceftypes::TCefWindowInfo CefWindowInfo = {read=GetCefWindowInfo}; + __property Ucefinterfaces::_di_ICefNavigationEntry VisibleNavigationEntry = {read=GetVisibleNavigationEntry}; + __property Uceftypes::TCefRuntimeStyle RuntimeStyle = {read=GetRuntimeStyle, write=SetRuntimeStyle, nodefault}; + __property Ucefinterfaces::_di_ICefRequestContext RequestContext = {read=GetRequestContext}; + __property Ucefinterfaces::_di_ICefMediaRouter MediaRouter = {read=GetMediaRouter}; + __property Ucefinterfaces::_di_ICefMediaObserver MediaObserver = {read=FMediaObserver}; + __property Ucefinterfaces::_di_ICefRegistration MediaObserverReg = {read=FMediaObserverReg}; + __property Ucefinterfaces::_di_ICefDevToolsMessageObserver DevToolsMsgObserver = {read=FDevToolsMsgObserver}; + __property Ucefinterfaces::_di_ICefRegistration DevToolsMsgObserverReg = {read=FDevToolsMsgObserverReg}; + __property bool MultithreadApp = {read=GetMultithreadApp, nodefault}; + __property bool IsLoading = {read=GetIsLoading, nodefault}; + __property bool HasDocument = {read=GetHasDocument, nodefault}; + __property bool HasView = {read=GetHasView, nodefault}; + __property bool HasDevTools = {read=GetHasDevTools, nodefault}; + __property bool HasClientHandler = {read=GetHasClientHandler, nodefault}; + __property bool HasBrowser = {read=GetHasBrowser, nodefault}; + __property bool CanGoBack = {read=GetCanGoBack, nodefault}; + __property bool CanGoForward = {read=GetCanGoForward, nodefault}; + __property bool IsPopUp = {read=GetIsPopUp, nodefault}; + __property Uceftypes::TCefWindowHandle WindowHandle = {read=GetWindowHandle, nodefault}; + __property Uceftypes::TCefWindowHandle OpenerWindowHandle = {read=GetOpenerWindowHandle, nodefault}; + __property int OpenerIdentifier = {read=GetOpenerIdentifier, nodefault}; + __property Winapi::Windows::THandle BrowserHandle = {read=FBrowserCompHWND, nodefault}; + __property Winapi::Windows::THandle RenderHandle = {read=FRenderCompHWND, nodefault}; + __property bool FrameIsFocused = {read=GetFrameIsFocused, nodefault}; + __property bool Initialized = {read=GetInitialized, nodefault}; + __property Uceftypes::ustring RequestContextCache = {read=GetRequestContextCache}; + __property bool RequestContextIsGlobal = {read=GetRequestContextIsGlobal, nodefault}; + __property Uceftypes::TCefColorVariant ChromeColorSchemeMode = {read=GetChromeColorSchemeMode, nodefault}; + __property Uceftypes::TCefColor ChromeColorSchemeColor = {read=GetChromeColorSchemeColor, nodefault}; + __property Uceftypes::TCefColorVariant ChromeColorSchemeVariant = {read=GetChromeColorSchemeVariant, nodefault}; + __property Uceftypes::ustring DocumentURL = {read=GetDocumentURL}; + __property double ZoomLevel = {read=GetZoomLevel, write=SetZoomLevel}; + __property double DefaultZoomLevel = {read=GetDefaultZoomLevel}; + __property bool CanIncZoom = {read=GetCanIncZoom, nodefault}; + __property bool CanDecZoom = {read=GetCanDecZoom, nodefault}; + __property bool CanResetZoom = {read=GetCanResetZoom, nodefault}; + __property double ZoomPct = {read=GetZoomPct, write=SetZoomPct}; + __property System::Byte ZoomStep = {read=GetZoomStep, write=SetZoomStep, nodefault}; + __property int WindowlessFrameRate = {read=GetWindowlessFrameRate, write=SetWindowlessFrameRate, nodefault}; + __property Uceftypes::ustring CustomHeaderName = {read=FCustomHeaderName, write=SetCustomHeaderName}; + __property Uceftypes::ustring CustomHeaderValue = {read=FCustomHeaderValue, write=SetCustomHeaderValue}; + __property bool DoNotTrack = {read=FDoNotTrack, write=SetDoNotTrack, nodefault}; + __property bool SendReferrer = {read=FSendReferrer, write=SetSendReferrer, nodefault}; + __property bool HyperlinkAuditing = {read=FHyperlinkAuditing, write=SetHyperlinkAuditing, nodefault}; + __property bool AllowOutdatedPlugins = {read=FAllowOutdatedPlugins, write=SetAllowOutdatedPlugins, nodefault}; + __property bool AlwaysAuthorizePlugins = {read=FAlwaysAuthorizePlugins, write=SetAlwaysAuthorizePlugins, nodefault}; + __property bool AlwaysOpenPDFExternally = {read=FAlwaysOpenPDFExternally, write=SetAlwaysOpenPDFExternally, nodefault}; + __property bool SpellChecking = {read=FSpellChecking, write=SetSpellChecking, nodefault}; + __property Uceftypes::ustring SpellCheckerDicts = {read=FSpellCheckerDicts, write=SetSpellCheckerDicts}; + __property bool HasValidMainFrame = {read=GetHasValidMainFrame, nodefault}; + __property System::NativeUInt FrameCount = {read=GetFrameCount, nodefault}; + __property Uceftypes::TCefDragOperations DragOperations = {read=FDragOperations, write=FDragOperations, nodefault}; + __property bool AudioMuted = {read=GetAudioMuted, write=SetAudioMuted, nodefault}; + __property bool Fullscreen = {read=GetFullscreen, nodefault}; + __property bool IsRenderProcessUnresponsive = {read=GetIsRenderProcessUnresponsive, nodefault}; + __property bool SafeSearch = {read=FSafeSearch, write=SetSafeSearch, nodefault}; + __property int YouTubeRestrict = {read=FYouTubeRestrict, write=SetYouTubeRestrict, nodefault}; + __property bool PrintingEnabled = {read=FPrintingEnabled, write=SetPrintingEnabled, nodefault}; + __property Uceftypes::TCefCookiePref AcceptCookies = {read=FAcceptCookies, write=SetAcceptCookies, nodefault}; + __property bool Block3rdPartyCookies = {read=FBlock3rdPartyCookies, write=SetBlock3rdPartyCookies, nodefault}; + __property bool MultiBrowserMode = {read=FMultiBrowserMode, write=SetMultiBrowserMode, nodefault}; + __property unsigned DefaultWindowInfoExStyle = {read=GetWindowInfoExStyle, write=SetWindowInfoExStyle, nodefault}; + __property bool Offline = {read=FOffline, write=SetOffline, nodefault}; + __property bool QuicAllowed = {read=FQuicAllowed, write=SetQuicAllowed, nodefault}; + __property bool JavascriptEnabled = {read=FJavascriptEnabled, write=SetJavascriptEnabled, nodefault}; + __property bool LoadImagesAutomatically = {read=FLoadImagesAutomatically, write=SetLoadImagesAutomatically, nodefault}; + __property Uceftypes::TCefBatterySaverModeState BatterySaverModeState = {read=FBatterySaverModeState, write=SetBatterySaverModeState, nodefault}; + __property Uceftypes::TCefHighEfficiencyModeState HighEfficiencyModeState = {read=FHighEfficiencyModeState, write=SetHighEfficiencyModeState, nodefault}; + __property bool CanFocus = {read=FCanFocus, nodefault}; + __property unsigned EnableFocusDelayMs = {read=FEnableFocusDelayMs, write=FEnableFocusDelayMs, nodefault}; + __property Uceftypes::TCefWebRTCHandlingPolicy WebRTCIPHandlingPolicy = {read=FWebRTCIPHandlingPolicy, write=SetWebRTCIPHandlingPolicy, nodefault}; + __property Uceftypes::TCefState WebRTCMultipleRoutes = {read=FWebRTCMultipleRoutes, write=SetWebRTCMultipleRoutes, nodefault}; + __property Uceftypes::TCefState WebRTCNonproxiedUDP = {read=FWebRTCNonProxiedUDP, write=SetWebRTCNonProxiedUDP, nodefault}; + __property int ProxyType = {read=FProxyType, write=SetProxyType, nodefault}; + __property Uceftypes::TCefProxyScheme ProxyScheme = {read=FProxyScheme, write=SetProxyScheme, nodefault}; + __property Uceftypes::ustring ProxyServer = {read=FProxyServer, write=SetProxyServer}; + __property int ProxyPort = {read=FProxyPort, write=SetProxyPort, nodefault}; + __property Uceftypes::ustring ProxyUsername = {read=FProxyUsername, write=SetProxyUsername}; + __property Uceftypes::ustring ProxyPassword = {read=FProxyPassword, write=SetProxyPassword}; + __property Uceftypes::ustring ProxyScriptURL = {read=FProxyScriptURL, write=SetProxyScriptURL}; + __property Uceftypes::ustring ProxyByPassList = {read=FProxyByPassList, write=SetProxyByPassList}; + __property int MaxConnectionsPerProxy = {read=FMaxConnectionsPerProxy, write=SetMaxConnectionsPerProxy, nodefault}; + __property Uceftypes::TCefState DownloadBubble = {read=FDownloadBubble, write=FDownloadBubble, nodefault}; + __property Uceftypes::TCefState HTTPSUpgrade = {read=FHTTPSUpgrade, write=FHTTPSUpgrade, nodefault}; + __property Uceftypes::ustring HSTSPolicyBypassList = {read=FHSTSPolicyBypassList, write=FHSTSPolicyBypassList}; + __property Uceftypes::TCefState CredentialsService = {read=FCredentialsService, write=FCredentialsService, nodefault}; + __property Uceftypes::TCefState AutofillCreditCard = {read=FAutofillCreditCard, write=FAutofillCreditCard, nodefault}; + __property Uceftypes::TCefState AutofillProfile = {read=FAutofillProfile, write=FAutofillProfile, nodefault}; + __property Uceftypes::TCefState AutofillSaveData = {read=FAutofillSaveData, write=FAutofillSaveData, nodefault}; + __property Uceftypes::TCefState CanMakePayment = {read=FCanMakePayment, write=FCanMakePayment, nodefault}; + __property Uceftypes::TCefState SearchSuggestEnabled = {read=FSearchSuggestEnabled, write=FSearchSuggestEnabled, nodefault}; + __property Uceftypes::TCefState URLDataCollection = {read=FURLDataCollection, write=FURLDataCollection, nodefault}; + __property Uceftypes::TCefState StorageNotificationService = {read=FStorageNotificationService, write=FStorageNotificationService, nodefault}; + +__published: + __property Ucefchromiumevents::TOnTextResultAvailableEvent OnTextResultAvailable = {read=FOnTextResultAvailable, write=FOnTextResultAvailable}; + __property Ucefchromiumevents::TOnPdfPrintFinishedEvent OnPdfPrintFinished = {read=FOnPdfPrintFinished, write=FOnPdfPrintFinished}; + __property Ucefchromiumevents::TOnPrefsAvailableEvent OnPrefsAvailable = {read=FOnPrefsAvailable, write=FOnPrefsAvailable}; + __property System::Classes::TNotifyEvent OnPrefsUpdated = {read=FOnPrefsUpdated, write=FOnPrefsUpdated}; + __property Ucefchromiumevents::TOnCookiesDeletedEvent OnCookiesDeleted = {read=FOnCookiesDeleted, write=FOnCookiesDeleted}; + __property Ucefchromiumevents::TOnResolvedIPsAvailableEvent OnResolvedHostAvailable = {read=FOnResolvedHostAvailable, write=FOnResolvedHostAvailable}; + __property Ucefchromiumevents::TOnNavigationVisitorResultAvailableEvent OnNavigationVisitorResultAvailable = {read=FOnNavigationVisitorResultAvailable, write=FOnNavigationVisitorResultAvailable}; + __property Ucefchromiumevents::TOnDownloadImageFinishedEvent OnDownloadImageFinished = {read=FOnDownloadImageFinished, write=FOnDownloadImageFinished}; + __property System::Classes::TNotifyEvent OnCookiesFlushed = {read=FOnCookiesFlushed, write=FOnCookiesFlushed}; + __property System::Classes::TNotifyEvent OnCertificateExceptionsCleared = {read=FOnCertificateExceptionsCleared, write=FOnCertificateExceptionsCleared}; + __property System::Classes::TNotifyEvent OnHttpAuthCredentialsCleared = {read=FOnHttpAuthCredentialsCleared, write=FOnHttpAuthCredentialsCleared}; + __property System::Classes::TNotifyEvent OnAllConnectionsClosed = {read=FOnAllConnectionsClosed, write=FOnAllConnectionsClosed}; + __property Ucefchromiumevents::TOnExecuteTaskOnCefThread OnExecuteTaskOnCefThread = {read=FOnExecuteTaskOnCefThread, write=FOnExecuteTaskOnCefThread}; + __property Ucefchromiumevents::TOnCookiesVisited OnCookiesVisited = {read=FOnCookiesVisited, write=FOnCookiesVisited}; + __property Ucefchromiumevents::TOnCookieVisitorDestroyed OnCookieVisitorDestroyed = {read=FOnCookieVisitorDestroyed, write=FOnCookieVisitorDestroyed}; + __property Ucefchromiumevents::TOnCookieSet OnCookieSet = {read=FOnCookieSet, write=FOnCookieSet}; + __property Ucefchromiumevents::TOnZoomPctAvailable OnZoomPctAvailable = {read=FOnZoomPctAvailable, write=FOnZoomPctAvailable}; + __property Ucefchromiumevents::TOnMediaRouteCreateFinishedEvent OnMediaRouteCreateFinished = {read=FOnMediaRouteCreateFinished, write=FOnMediaRouteCreateFinished}; + __property Ucefchromiumevents::TOnMediaSinkDeviceInfoEvent OnMediaSinkDeviceInfo = {read=FOnMediaSinkDeviceInfo, write=FOnMediaSinkDeviceInfo}; + __property System::Classes::TNotifyEvent OnCanFocus = {read=FOnCanFocus, write=FOnCanFocus}; + __property Ucefchromiumevents::TOnCompMsgEvent OnBrowserCompMsg = {read=FOnBrowserCompMsg, write=FOnBrowserCompMsg}; + __property Ucefchromiumevents::TOnCompMsgEvent OnRenderCompMsg = {read=FOnRenderCompMsg, write=FOnRenderCompMsg}; + __property Ucefchromiumevents::TOnProcessMessageReceived OnProcessMessageReceived = {read=FOnProcessMessageReceived, write=FOnProcessMessageReceived}; + __property Ucefchromiumevents::TOnLoadStart OnLoadStart = {read=FOnLoadStart, write=FOnLoadStart}; + __property Ucefchromiumevents::TOnLoadEnd OnLoadEnd = {read=FOnLoadEnd, write=FOnLoadEnd}; + __property Ucefchromiumevents::TOnLoadError OnLoadError = {read=FOnLoadError, write=FOnLoadError}; + __property Ucefchromiumevents::TOnLoadingStateChange OnLoadingStateChange = {read=FOnLoadingStateChange, write=FOnLoadingStateChange}; + __property Ucefchromiumevents::TOnTakeFocus OnTakeFocus = {read=FOnTakeFocus, write=FOnTakeFocus}; + __property Ucefchromiumevents::TOnSetFocus OnSetFocus = {read=FOnSetFocus, write=FOnSetFocus}; + __property Ucefchromiumevents::TOnGotFocus OnGotFocus = {read=FOnGotFocus, write=FOnGotFocus}; + __property Ucefchromiumevents::TOnBeforeContextMenu OnBeforeContextMenu = {read=FOnBeforeContextMenu, write=FOnBeforeContextMenu}; + __property Ucefchromiumevents::TOnRunContextMenu OnRunContextMenu = {read=FOnRunContextMenu, write=FOnRunContextMenu}; + __property Ucefchromiumevents::TOnContextMenuCommand OnContextMenuCommand = {read=FOnContextMenuCommand, write=FOnContextMenuCommand}; + __property Ucefchromiumevents::TOnContextMenuDismissed OnContextMenuDismissed = {read=FOnContextMenuDismissed, write=FOnContextMenuDismissed}; + __property Ucefchromiumevents::TOnRunQuickMenuEvent OnRunQuickMenu = {read=FOnRunQuickMenu, write=FOnRunQuickMenu}; + __property Ucefchromiumevents::TOnQuickMenuCommandEvent OnQuickMenuCommand = {read=FOnQuickMenuCommand, write=FOnQuickMenuCommand}; + __property Ucefchromiumevents::TOnQuickMenuDismissedEvent OnQuickMenuDismissed = {read=FOnQuickMenuDismissed, write=FOnQuickMenuDismissed}; + __property Ucefchromiumevents::TOnPreKeyEvent OnPreKeyEvent = {read=FOnPreKeyEvent, write=FOnPreKeyEvent}; + __property Ucefchromiumevents::TOnKeyEvent OnKeyEvent = {read=FOnKeyEvent, write=FOnKeyEvent}; + __property Ucefchromiumevents::TOnAddressChange OnAddressChange = {read=FOnAddressChange, write=FOnAddressChange}; + __property Ucefchromiumevents::TOnTitleChange OnTitleChange = {read=FOnTitleChange, write=FOnTitleChange}; + __property Ucefchromiumevents::TOnFavIconUrlChange OnFavIconUrlChange = {read=FOnFavIconUrlChange, write=FOnFavIconUrlChange}; + __property Ucefchromiumevents::TOnFullScreenModeChange OnFullScreenModeChange = {read=FOnFullScreenModeChange, write=FOnFullScreenModeChange}; + __property Ucefchromiumevents::TOnTooltip OnTooltip = {read=FOnTooltip, write=FOnTooltip}; + __property Ucefchromiumevents::TOnStatusMessage OnStatusMessage = {read=FOnStatusMessage, write=FOnStatusMessage}; + __property Ucefchromiumevents::TOnConsoleMessage OnConsoleMessage = {read=FOnConsoleMessage, write=FOnConsoleMessage}; + __property Ucefchromiumevents::TOnAutoResize OnAutoResize = {read=FOnAutoResize, write=FOnAutoResize}; + __property Ucefchromiumevents::TOnLoadingProgressChange OnLoadingProgressChange = {read=FOnLoadingProgressChange, write=FOnLoadingProgressChange}; + __property Ucefchromiumevents::TOnCursorChange OnCursorChange = {read=FOnCursorChange, write=FOnCursorChange}; + __property Ucefchromiumevents::TOnMediaAccessChange OnMediaAccessChange = {read=FOnMediaAccessChange, write=FOnMediaAccessChange}; + __property Ucefchromiumevents::TOnContentsBoundsChange OnContentsBoundsChange = {read=FOnContentsBoundsChange, write=FOnContentsBoundsChange}; + __property Ucefchromiumevents::TOnGetRootWindowScreenRect OnGetRootWindowScreenRect = {read=FOnGetRootWindowScreenRect, write=FOnGetRootWindowScreenRect}; + __property Ucefchromiumevents::TOnCanDownloadEvent OnCanDownload = {read=FOnCanDownload, write=FOnCanDownload}; + __property Ucefchromiumevents::TOnBeforeDownload OnBeforeDownload = {read=FOnBeforeDownload, write=FOnBeforeDownload}; + __property Ucefchromiumevents::TOnDownloadUpdated OnDownloadUpdated = {read=FOnDownloadUpdated, write=FOnDownloadUpdated}; + __property Ucefchromiumevents::TOnJsdialog OnJsdialog = {read=FOnJsdialog, write=FOnJsdialog}; + __property Ucefchromiumevents::TOnBeforeUnloadDialog OnBeforeUnloadDialog = {read=FOnBeforeUnloadDialog, write=FOnBeforeUnloadDialog}; + __property Ucefchromiumevents::TOnResetDialogState OnResetDialogState = {read=FOnResetDialogState, write=FOnResetDialogState}; + __property Ucefchromiumevents::TOnDialogClosed OnDialogClosed = {read=FOnDialogClosed, write=FOnDialogClosed}; + __property Ucefchromiumevents::TOnBeforePopup OnBeforePopup = {read=FOnBeforePopup, write=FOnBeforePopup}; + __property Ucefchromiumevents::TOnBeforePopupAborted OnBeforePopupAborted = {read=FOnBeforePopupAborted, write=FOnBeforePopupAborted}; + __property Ucefchromiumevents::TOnBeforeDevToolsPopup OnBeforeDevToolsPopup = {read=FOnBeforeDevToolsPopup, write=FOnBeforeDevToolsPopup}; + __property Ucefchromiumevents::TOnAfterCreated OnAfterCreated = {read=FOnAfterCreated, write=FOnAfterCreated}; + __property Ucefchromiumevents::TOnBeforeClose OnBeforeClose = {read=FOnBeforeClose, write=FOnBeforeClose}; + __property Ucefchromiumevents::TOnClose OnClose = {read=FOnClose, write=FOnClose}; + __property Ucefchromiumevents::TOnBeforeBrowse OnBeforeBrowse = {read=FOnBeforeBrowse, write=FOnBeforeBrowse}; + __property Ucefchromiumevents::TOnOpenUrlFromTab OnOpenUrlFromTab = {read=FOnOpenUrlFromTab, write=FOnOpenUrlFromTab}; + __property Ucefchromiumevents::TOnGetAuthCredentials OnGetAuthCredentials = {read=FOnGetAuthCredentials, write=FOnGetAuthCredentials}; + __property Ucefchromiumevents::TOnCertificateError OnCertificateError = {read=FOnCertificateError, write=FOnCertificateError}; + __property Ucefchromiumevents::TOnSelectClientCertificate OnSelectClientCertificate = {read=FOnSelectClientCertificate, write=FOnSelectClientCertificate}; + __property Ucefchromiumevents::TOnRenderViewReady OnRenderViewReady = {read=FOnRenderViewReady, write=FOnRenderViewReady}; + __property Ucefchromiumevents::TOnRenderProcessUnresponsive OnRenderProcessUnresponsive = {read=FOnRenderProcessUnresponsive, write=FOnRenderProcessUnresponsive}; + __property Ucefchromiumevents::TOnRenderProcessResponsive OnRenderProcessResponsive = {read=FOnRenderProcessResponsive, write=FOnRenderProcessResponsive}; + __property Ucefchromiumevents::TOnRenderProcessTerminated OnRenderProcessTerminated = {read=FOnRenderProcessTerminated, write=FOnRenderProcessTerminated}; + __property Ucefchromiumevents::TOnGetResourceRequestHandler OnGetResourceRequestHandler_ReqHdlr = {read=FOnGetResourceRequestHandler_ReqHdlr, write=FOnGetResourceRequestHandler_ReqHdlr}; + __property Ucefchromiumevents::TOnDocumentAvailableInMainFrame OnDocumentAvailableInMainFrame = {read=FOnDocumentAvailableInMainFrame, write=FOnDocumentAvailableInMainFrame}; + __property Ucefchromiumevents::TOnBeforeResourceLoad OnBeforeResourceLoad = {read=FOnBeforeResourceLoad, write=FOnBeforeResourceLoad}; + __property Ucefchromiumevents::TOnGetResourceHandler OnGetResourceHandler = {read=FOnGetResourceHandler, write=FOnGetResourceHandler}; + __property Ucefchromiumevents::TOnResourceRedirect OnResourceRedirect = {read=FOnResourceRedirect, write=FOnResourceRedirect}; + __property Ucefchromiumevents::TOnResourceResponse OnResourceResponse = {read=FOnResourceResponse, write=FOnResourceResponse}; + __property Ucefchromiumevents::TOnGetResourceResponseFilter OnGetResourceResponseFilter = {read=FOnGetResourceResponseFilter, write=FOnGetResourceResponseFilter}; + __property Ucefchromiumevents::TOnResourceLoadComplete OnResourceLoadComplete = {read=FOnResourceLoadComplete, write=FOnResourceLoadComplete}; + __property Ucefchromiumevents::TOnProtocolExecution OnProtocolExecution = {read=FOnProtocolExecution, write=FOnProtocolExecution}; + __property Ucefchromiumevents::TOnCanSendCookie OnCanSendCookie = {read=FOnCanSendCookie, write=FOnCanSendCookie}; + __property Ucefchromiumevents::TOnCanSaveCookie OnCanSaveCookie = {read=FOnCanSaveCookie, write=FOnCanSaveCookie}; + __property Ucefchromiumevents::TOnFileDialog OnFileDialog = {read=FOnFileDialog, write=FOnFileDialog}; + __property Ucefchromiumevents::TOnGetAccessibilityHandler OnGetAccessibilityHandler = {read=FOnGetAccessibilityHandler, write=FOnGetAccessibilityHandler}; + __property Ucefchromiumevents::TOnGetRootScreenRect OnGetRootScreenRect = {read=FOnGetRootScreenRect, write=FOnGetRootScreenRect}; + __property Ucefchromiumevents::TOnGetViewRect OnGetViewRect = {read=FOnGetViewRect, write=FOnGetViewRect}; + __property Ucefchromiumevents::TOnGetScreenPoint OnGetScreenPoint = {read=FOnGetScreenPoint, write=FOnGetScreenPoint}; + __property Ucefchromiumevents::TOnGetScreenInfo OnGetScreenInfo = {read=FOnGetScreenInfo, write=FOnGetScreenInfo}; + __property Ucefchromiumevents::TOnPopupShow OnPopupShow = {read=FOnPopupShow, write=FOnPopupShow}; + __property Ucefchromiumevents::TOnPopupSize OnPopupSize = {read=FOnPopupSize, write=FOnPopupSize}; + __property Ucefchromiumevents::TOnPaint OnPaint = {read=FOnPaint, write=FOnPaint}; + __property Ucefchromiumevents::TOnAcceleratedPaint OnAcceleratedPaint = {read=FOnAcceleratedPaint, write=FOnAcceleratedPaint}; + __property Ucefchromiumevents::TOnGetTouchHandleSize OnGetTouchHandleSize = {read=FOnGetTouchHandleSize, write=FOnGetTouchHandleSize}; + __property Ucefchromiumevents::TOnTouchHandleStateChanged OnTouchHandleStateChanged = {read=FOnTouchHandleStateChanged, write=FOnTouchHandleStateChanged}; + __property Ucefchromiumevents::TOnStartDragging OnStartDragging = {read=FOnStartDragging, write=FOnStartDragging}; + __property Ucefchromiumevents::TOnUpdateDragCursor OnUpdateDragCursor = {read=FOnUpdateDragCursor, write=FOnUpdateDragCursor}; + __property Ucefchromiumevents::TOnScrollOffsetChanged OnScrollOffsetChanged = {read=FOnScrollOffsetChanged, write=FOnScrollOffsetChanged}; + __property Ucefchromiumevents::TOnIMECompositionRangeChanged OnIMECompositionRangeChanged = {read=FOnIMECompositionRangeChanged, write=FOnIMECompositionRangeChanged}; + __property Ucefchromiumevents::TOnTextSelectionChanged OnTextSelectionChanged = {read=FOnTextSelectionChanged, write=FOnTextSelectionChanged}; + __property Ucefchromiumevents::TOnVirtualKeyboardRequested OnVirtualKeyboardRequested = {read=FOnVirtualKeyboardRequested, write=FOnVirtualKeyboardRequested}; + __property Ucefchromiumevents::TOnDragEnter OnDragEnter = {read=FOnDragEnter, write=FOnDragEnter}; + __property Ucefchromiumevents::TOnDraggableRegionsChanged OnDraggableRegionsChanged = {read=FOnDraggableRegionsChanged, write=FOnDraggableRegionsChanged}; + __property Ucefchromiumevents::TOnFindResult OnFindResult = {read=FOnFindResult, write=FOnFindResult}; + __property Ucefchromiumevents::TOnRequestContextInitialized OnRequestContextInitialized = {read=FOnRequestContextInitialized, write=FOnRequestContextInitialized}; + __property Ucefchromiumevents::TOnGetResourceRequestHandler OnGetResourceRequestHandler_ReqCtxHdlr = {read=FOnGetResourceRequestHandler_ReqCtxHdlr, write=FOnGetResourceRequestHandler_ReqCtxHdlr}; + __property Ucefchromiumevents::TOnSinksEvent OnSinks = {read=FOnSinks, write=FOnSinks}; + __property Ucefchromiumevents::TOnRoutesEvent OnRoutes = {read=FOnRoutes, write=FOnRoutes}; + __property Ucefchromiumevents::TOnRouteStateChangedEvent OnRouteStateChanged = {read=FOnRouteStateChanged, write=FOnRouteStateChanged}; + __property Ucefchromiumevents::TOnRouteMessageReceivedEvent OnRouteMessageReceived = {read=FOnRouteMessageReceived, write=FOnRouteMessageReceived}; + __property Ucefchromiumevents::TOnGetAudioParametersEvent OnGetAudioParameters = {read=FOnGetAudioParameters, write=FOnGetAudioParameters}; + __property Ucefchromiumevents::TOnAudioStreamStartedEvent OnAudioStreamStarted = {read=FOnAudioStreamStarted, write=FOnAudioStreamStarted}; + __property Ucefchromiumevents::TOnAudioStreamPacketEvent OnAudioStreamPacket = {read=FOnAudioStreamPacket, write=FOnAudioStreamPacket}; + __property Ucefchromiumevents::TOnAudioStreamStoppedEvent OnAudioStreamStopped = {read=FOnAudioStreamStopped, write=FOnAudioStreamStopped}; + __property Ucefchromiumevents::TOnAudioStreamErrorEvent OnAudioStreamError = {read=FOnAudioStreamError, write=FOnAudioStreamError}; + __property Ucefchromiumevents::TOnDevToolsMessageEvent OnDevToolsMessage = {read=FOnDevToolsMessage, write=FOnDevToolsMessage}; + __property Ucefchromiumevents::TOnDevToolsRawMessageEvent OnDevToolsRawMessage = {read=FOnDevToolsRawMessage, write=FOnDevToolsRawMessage}; + __property Ucefchromiumevents::TOnDevToolsMethodResultEvent OnDevToolsMethodResult = {read=FOnDevToolsMethodResult, write=FOnDevToolsMethodResult}; + __property Ucefchromiumevents::TOnDevToolsMethodRawResultEvent OnDevToolsMethodRawResult = {read=FOnDevToolsMethodRawResult, write=FOnDevToolsMethodRawResult}; + __property Ucefchromiumevents::TOnDevToolsEventEvent OnDevToolsEvent = {read=FOnDevToolsEvent, write=FOnDevToolsEvent}; + __property Ucefchromiumevents::TOnDevToolsEventRawEvent OnDevToolsRawEvent = {read=FOnDevToolsRawEvent, write=FOnDevToolsRawEvent}; + __property Ucefchromiumevents::TOnDevToolsAgentAttachedEvent OnDevToolsAgentAttached = {read=FOnDevToolsAgentAttached, write=FOnDevToolsAgentAttached}; + __property Ucefchromiumevents::TOnDevToolsAgentDetachedEvent OnDevToolsAgentDetached = {read=FOnDevToolsAgentDetached, write=FOnDevToolsAgentDetached}; + __property Ucefchromiumevents::TOnFrameCreated OnFrameCreated = {read=FOnFrameCreated, write=FOnFrameCreated}; + __property Ucefchromiumevents::TOnFrameDestroyed OnFrameDestroyed = {read=FOnFrameDestroyed, write=FOnFrameDestroyed}; + __property Ucefchromiumevents::TOnFrameAttached OnFrameAttached = {read=FOnFrameAttached, write=FOnFrameAttached}; + __property Ucefchromiumevents::TOnFrameDetached OnFrameDetached = {read=FOnFrameDetached, write=FOnFrameDetached}; + __property Ucefchromiumevents::TOnMainFrameChanged OnMainFrameChanged = {read=FOnMainFrameChanged, write=FOnMainFrameChanged}; + __property Ucefchromiumevents::TOnChromeCommandEvent OnChromeCommand = {read=FOnChromeCommand, write=FOnChromeCommand}; + __property Ucefchromiumevents::TOnIsChromeAppMenuItemVisibleEvent OnIsChromeAppMenuItemVisible = {read=FOnIsChromeAppMenuItemVisible, write=FOnIsChromeAppMenuItemVisible}; + __property Ucefchromiumevents::TOnIsChromeAppMenuItemEnabledEvent OnIsChromeAppMenuItemEnabled = {read=FOnIsChromeAppMenuItemEnabled, write=FOnIsChromeAppMenuItemEnabled}; + __property Ucefchromiumevents::TOnIsChromePageActionIconVisibleEvent OnIsChromePageActionIconVisible = {read=FOnIsChromePageActionIconVisible, write=FOnIsChromePageActionIconVisible}; + __property Ucefchromiumevents::TOnIsChromeToolbarButtonVisibleEvent OnIsChromeToolbarButtonVisible = {read=FOnIsChromeToolbarButtonVisible, write=FOnIsChromeToolbarButtonVisible}; + __property Ucefchromiumevents::TOnRequestMediaAccessPermissionEvent OnRequestMediaAccessPermission = {read=FOnRequestMediaAccessPermission, write=FOnRequestMediaAccessPermission}; + __property Ucefchromiumevents::TOnShowPermissionPromptEvent OnShowPermissionPrompt = {read=FOnShowPermissionPrompt, write=FOnShowPermissionPrompt}; + __property Ucefchromiumevents::TOnDismissPermissionPromptEvent OnDismissPermissionPrompt = {read=FOnDismissPermissionPrompt, write=FOnDismissPermissionPrompt}; + __property Ucefchromiumevents::TOnPreferenceChangedEvent OnPreferenceChanged = {read=FOnPreferenceChanged, write=FOnPreferenceChanged}; + __property Ucefchromiumevents::TOnSettingChangedEvent OnSettingChanged = {read=FOnSettingChanged, write=FOnSettingChanged}; +private: + void *__IChromiumEvents; // Ucefinterfaces::IChromiumEvents + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {0C139DB1-0349-4D7F-8155-76FEA6A0126D} + operator Ucefinterfaces::_di_IChromiumEvents() + { + Ucefinterfaces::_di_IChromiumEvents intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::IChromiumEvents*(void) { return (Ucefinterfaces::IChromiumEvents*)&__IChromiumEvents; } + #endif + +}; + + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TBrowserInfo : public System::TObject +{ + typedef System::TObject inherited; + +protected: + Ucefinterfaces::_di_ICefBrowser FBrowser; + bool FIsClosing; + int FID; + bool __fastcall GetIsValid(); + +public: + __fastcall TBrowserInfo(const Ucefinterfaces::_di_ICefBrowser aBrowser); + __fastcall virtual ~TBrowserInfo(); + __property Ucefinterfaces::_di_ICefBrowser Browser = {read=FBrowser}; + __property int ID = {read=FID, nodefault}; + __property bool IsClosing = {read=FIsClosing, write=FIsClosing, nodefault}; + __property bool IsValid = {read=GetIsValid, nodefault}; +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TBrowserInfoList : public System::Classes::TList +{ + typedef System::Classes::TList inherited; + +protected: + void __fastcall SetBrowserIsClosing(int aID, bool aValue); + bool __fastcall GetBrowserIsClosing(int aID); + bool __fastcall GetBrowserIsValid(int aID); + Ucefinterfaces::_di_ICefBrowser __fastcall GetBrowser(int aID); + Ucefinterfaces::_di_ICefBrowser __fastcall GetFirstBrowser(); + int __fastcall GetFirstID(); + +public: + __fastcall virtual ~TBrowserInfoList(); + bool __fastcall AddBrowser(const Ucefinterfaces::_di_ICefBrowser aBrowser); + bool __fastcall RemoveBrowser(const Ucefinterfaces::_di_ICefBrowser aBrowser); + int __fastcall SearchBrowser(int aID); + void __fastcall FreeAndClearAllItems(); + void __fastcall CloseAllBrowsers(); + __property bool BrowserIsClosing[int aID] = {read=GetBrowserIsClosing, write=SetBrowserIsClosing}; + __property bool BrowserIsValid[int aID] = {read=GetBrowserIsValid}; + __property Ucefinterfaces::_di_ICefBrowser Browser[int aID] = {read=GetBrowser}; + __property Ucefinterfaces::_di_ICefBrowser FirstBrowser = {read=GetFirstBrowser}; + __property int FirstID = {read=GetFirstID, nodefault}; +public: + /* TObject.Create */ inline __fastcall TBrowserInfoList() : System::Classes::TList() { } + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefchromiumcore */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFCHROMIUMCORE) +using namespace Ucefchromiumcore; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFChromiumCoreHPP diff --git a/CEF4Delphi/win32/hpps/__history/uCEFConstants.hpp.~1~ b/CEF4Delphi/win32/hpps/__history/uCEFConstants.hpp.~1~ new file mode 100644 index 0000000..4cf170b --- /dev/null +++ b/CEF4Delphi/win32/hpps/__history/uCEFConstants.hpp.~1~ @@ -0,0 +1,1202 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFConstants.pas' rev: 37.00 (Windows) + +#ifndef uCEFConstantsHPP +#define uCEFConstantsHPP + +#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 +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefconstants +{ +//-- forward type declarations ----------------------------------------------- +//-- type declarations ------------------------------------------------------- +//-- var, const, procedure --------------------------------------------------- +static _DELPHI_CONST System::Int8 ERR_NONE = System::Int8(0x0); +static _DELPHI_CONST System::Int8 ERR_IO_PENDING = System::Int8(-1); +static _DELPHI_CONST System::Int8 ERR_FAILED = System::Int8(-2); +static _DELPHI_CONST System::Int8 ERR_ABORTED = System::Int8(-3); +static _DELPHI_CONST System::Int8 ERR_INVALID_ARGUMENT = System::Int8(-4); +static _DELPHI_CONST System::Int8 ERR_INVALID_HANDLE = System::Int8(-5); +static _DELPHI_CONST System::Int8 ERR_FILE_NOT_FOUND = System::Int8(-6); +static _DELPHI_CONST System::Int8 ERR_TIMED_OUT = System::Int8(-7); +static _DELPHI_CONST System::Int8 ERR_FILE_TOO_BIG = System::Int8(-8); +static _DELPHI_CONST System::Int8 ERR_UNEXPECTED = System::Int8(-9); +static _DELPHI_CONST System::Int8 ERR_ACCESS_DENIED = System::Int8(-10); +static _DELPHI_CONST System::Int8 ERR_NOT_IMPLEMENTED = System::Int8(-11); +static _DELPHI_CONST System::Int8 ERR_INSUFFICIENT_RESOURCES = System::Int8(-12); +static _DELPHI_CONST System::Int8 ERR_OUT_OF_MEMORY = System::Int8(-13); +static _DELPHI_CONST System::Int8 ERR_UPLOAD_FILE_CHANGED = System::Int8(-14); +static _DELPHI_CONST System::Int8 ERR_SOCKET_NOT_CONNECTED = System::Int8(-15); +static _DELPHI_CONST System::Int8 ERR_FILE_EXISTS = System::Int8(-16); +static _DELPHI_CONST System::Int8 ERR_FILE_PATH_TOO_LONG = System::Int8(-17); +static _DELPHI_CONST System::Int8 ERR_FILE_NO_SPACE = System::Int8(-18); +static _DELPHI_CONST System::Int8 ERR_FILE_VIRUS_INFECTED = System::Int8(-19); +static _DELPHI_CONST System::Int8 ERR_BLOCKED_BY_CLIENT = System::Int8(-20); +static _DELPHI_CONST System::Int8 ERR_NETWORK_CHANGED = System::Int8(-21); +static _DELPHI_CONST System::Int8 ERR_BLOCKED_BY_ADMINISTRATOR = System::Int8(-22); +static _DELPHI_CONST System::Int8 ERR_SOCKET_IS_CONNECTED = System::Int8(-23); +static _DELPHI_CONST System::Int8 ERR_UPLOAD_STREAM_REWIND_NOT_SUPPORTED = System::Int8(-25); +static _DELPHI_CONST System::Int8 ERR_CONTEXT_SHUT_DOWN = System::Int8(-26); +static _DELPHI_CONST System::Int8 ERR_BLOCKED_BY_RESPONSE = System::Int8(-27); +static _DELPHI_CONST System::Int8 ERR_CLEARTEXT_NOT_PERMITTED = System::Int8(-29); +static _DELPHI_CONST System::Int8 ERR_BLOCKED_BY_CSP = System::Int8(-30); +static _DELPHI_CONST System::Int8 ERR_BLOCKED_BY_ORB = System::Int8(-32); +static _DELPHI_CONST System::Int8 ERR_NETWORK_ACCESS_REVOKED = System::Int8(-33); +static _DELPHI_CONST System::Int8 ERR_BLOCKED_BY_FINGERPRINTING_PROTECTION = System::Int8(-34); +static _DELPHI_CONST System::Int8 ERR_CONNECTION_CLOSED = System::Int8(-100); +static _DELPHI_CONST System::Int8 ERR_CONNECTION_RESET = System::Int8(-101); +static _DELPHI_CONST System::Int8 ERR_CONNECTION_REFUSED = System::Int8(-102); +static _DELPHI_CONST System::Int8 ERR_CONNECTION_ABORTED = System::Int8(-103); +static _DELPHI_CONST System::Int8 ERR_CONNECTION_FAILED = System::Int8(-104); +static _DELPHI_CONST System::Int8 ERR_NAME_NOT_RESOLVED = System::Int8(-105); +static _DELPHI_CONST System::Int8 ERR_INTERNET_DISCONNECTED = System::Int8(-106); +static _DELPHI_CONST System::Int8 ERR_SSL_PROTOCOL_ERROR = System::Int8(-107); +static _DELPHI_CONST System::Int8 ERR_ADDRESS_INVALID = System::Int8(-108); +static _DELPHI_CONST System::Int8 ERR_ADDRESS_UNREACHABLE = System::Int8(-109); +static _DELPHI_CONST System::Int8 ERR_SSL_CLIENT_AUTH_CERT_NEEDED = System::Int8(-110); +static _DELPHI_CONST System::Int8 ERR_TUNNEL_CONNECTION_FAILED = System::Int8(-111); +static _DELPHI_CONST System::Int8 ERR_NO_SSL_VERSIONS_ENABLED = System::Int8(-112); +static _DELPHI_CONST System::Int8 ERR_SSL_VERSION_OR_CIPHER_MISMATCH = System::Int8(-113); +static _DELPHI_CONST System::Int8 ERR_SSL_RENEGOTIATION_REQUESTED = System::Int8(-114); +static _DELPHI_CONST System::Int8 ERR_PROXY_AUTH_UNSUPPORTED = System::Int8(-115); +static _DELPHI_CONST System::Int8 ERR_BAD_SSL_CLIENT_AUTH_CERT = System::Int8(-117); +static _DELPHI_CONST System::Int8 ERR_CONNECTION_TIMED_OUT = System::Int8(-118); +static _DELPHI_CONST System::Int8 ERR_HOST_RESOLVER_QUEUE_TOO_LARGE = System::Int8(-119); +static _DELPHI_CONST System::Int8 ERR_SOCKS_CONNECTION_FAILED = System::Int8(-120); +static _DELPHI_CONST System::Int8 ERR_SOCKS_CONNECTION_HOST_UNREACHABLE = System::Int8(-121); +static _DELPHI_CONST System::Int8 ERR_ALPN_NEGOTIATION_FAILED = System::Int8(-122); +static _DELPHI_CONST System::Int8 ERR_SSL_NO_RENEGOTIATION = System::Int8(-123); +static _DELPHI_CONST System::Int8 ERR_WINSOCK_UNEXPECTED_WRITTEN_BYTES = System::Int8(-124); +static _DELPHI_CONST System::Int8 ERR_SSL_DECOMPRESSION_FAILURE_ALERT = System::Int8(-125); +static _DELPHI_CONST System::Int8 ERR_SSL_BAD_RECORD_MAC_ALERT = System::Int8(-126); +static _DELPHI_CONST System::Int8 ERR_PROXY_AUTH_REQUESTED = System::Int8(-127); +static _DELPHI_CONST short ERR_PROXY_CONNECTION_FAILED = short(-130); +static _DELPHI_CONST short ERR_MANDATORY_PROXY_CONFIGURATION_FAILED = short(-131); +static _DELPHI_CONST short ERR_PRECONNECT_MAX_SOCKET_LIMIT = short(-133); +static _DELPHI_CONST short ERR_SSL_CLIENT_AUTH_PRIVATE_KEY_ACCESS_DENIED = short(-134); +static _DELPHI_CONST short ERR_SSL_CLIENT_AUTH_CERT_NO_PRIVATE_KEY = short(-135); +static _DELPHI_CONST short ERR_PROXY_CERTIFICATE_INVALID = short(-136); +static _DELPHI_CONST short ERR_NAME_RESOLUTION_FAILED = short(-137); +static _DELPHI_CONST short ERR_NETWORK_ACCESS_DENIED = short(-138); +static _DELPHI_CONST short ERR_TEMPORARILY_THROTTLED = short(-139); +static _DELPHI_CONST short ERR_HTTPS_PROXY_TUNNEL_RESPONSE_REDIRECT = short(-140); +static _DELPHI_CONST short ERR_SSL_CLIENT_AUTH_SIGNATURE_FAILED = short(-141); +static _DELPHI_CONST short ERR_MSG_TOO_BIG = short(-142); +static _DELPHI_CONST short ERR_WS_PROTOCOL_ERROR = short(-145); +static _DELPHI_CONST short ERR_ADDRESS_IN_USE = short(-147); +static _DELPHI_CONST short ERR_SSL_HANDSHAKE_NOT_COMPLETED = short(-148); +static _DELPHI_CONST short ERR_SSL_BAD_PEER_PUBLIC_KEY = short(-149); +static _DELPHI_CONST short ERR_SSL_PINNED_KEY_NOT_IN_CERT_CHAIN = short(-150); +static _DELPHI_CONST short ERR_CLIENT_AUTH_CERT_TYPE_UNSUPPORTED = short(-151); +static _DELPHI_CONST short ERR_SSL_DECRYPT_ERROR_ALERT = short(-153); +static _DELPHI_CONST short ERR_WS_THROTTLE_QUEUE_TOO_LARGE = short(-154); +static _DELPHI_CONST short ERR_SSL_SERVER_CERT_CHANGED = short(-156); +static _DELPHI_CONST short ERR_SSL_UNRECOGNIZED_NAME_ALERT = short(-159); +static _DELPHI_CONST short ERR_SOCKET_SET_RECEIVE_BUFFER_SIZE_ERROR = short(-160); +static _DELPHI_CONST short ERR_SOCKET_SET_SEND_BUFFER_SIZE_ERROR = short(-161); +static _DELPHI_CONST short ERR_SOCKET_RECEIVE_BUFFER_SIZE_UNCHANGEABLE = short(-162); +static _DELPHI_CONST short ERR_SOCKET_SEND_BUFFER_SIZE_UNCHANGEABLE = short(-163); +static _DELPHI_CONST short ERR_SSL_CLIENT_AUTH_CERT_BAD_FORMAT = short(-164); +static _DELPHI_CONST short ERR_ICANN_NAME_COLLISION = short(-166); +static _DELPHI_CONST short ERR_SSL_SERVER_CERT_BAD_FORMAT = short(-167); +static _DELPHI_CONST short ERR_CT_STH_PARSING_FAILED = short(-168); +static _DELPHI_CONST short ERR_CT_STH_INCOMPLETE = short(-169); +static _DELPHI_CONST short ERR_UNABLE_TO_REUSE_CONNECTION_FOR_PROXY_AUTH = short(-170); +static _DELPHI_CONST short ERR_CT_CONSISTENCY_PROOF_PARSING_FAILED = short(-171); +static _DELPHI_CONST short ERR_SSL_OBSOLETE_CIPHER = short(-172); +static _DELPHI_CONST short ERR_WS_UPGRADE = short(-173); +static _DELPHI_CONST short ERR_READ_IF_READY_NOT_IMPLEMENTED = short(-174); +static _DELPHI_CONST short ERR_NO_BUFFER_SPACE = short(-176); +static _DELPHI_CONST short ERR_SSL_CLIENT_AUTH_NO_COMMON_ALGORITHMS = short(-177); +static _DELPHI_CONST short ERR_EARLY_DATA_REJECTED = short(-178); +static _DELPHI_CONST short ERR_WRONG_VERSION_ON_EARLY_DATA = short(-179); +static _DELPHI_CONST short ERR_TLS13_DOWNGRADE_DETECTED = short(-180); +static _DELPHI_CONST short ERR_SSL_KEY_USAGE_INCOMPATIBLE = short(-181); +static _DELPHI_CONST short ERR_INVALID_ECH_CONFIG_LIST = short(-182); +static _DELPHI_CONST short ERR_ECH_NOT_NEGOTIATED = short(-183); +static _DELPHI_CONST short ERR_ECH_FALLBACK_CERTIFICATE_INVALID = short(-184); +static _DELPHI_CONST short ERR_PROXY_UNABLE_TO_CONNECT_TO_DESTINATION = short(-186); +static _DELPHI_CONST short ERR_CERT_COMMON_NAME_INVALID = short(-200); +static _DELPHI_CONST short ERR_CERT_DATE_INVALID = short(-201); +static _DELPHI_CONST short ERR_CERT_AUTHORITY_INVALID = short(-202); +static _DELPHI_CONST short ERR_CERT_CONTAINS_ERRORS = short(-203); +static _DELPHI_CONST short ERR_CERT_NO_REVOCATION_MECHANISM = short(-204); +static _DELPHI_CONST short ERR_CERT_UNABLE_TO_CHECK_REVOCATION = short(-205); +static _DELPHI_CONST short ERR_CERT_REVOKED = short(-206); +static _DELPHI_CONST short ERR_CERT_INVALID = short(-207); +static _DELPHI_CONST short ERR_CERT_WEAK_SIGNATURE_ALGORITHM = short(-208); +static _DELPHI_CONST short ERR_CERT_NON_UNIQUE_NAME = short(-210); +static _DELPHI_CONST short ERR_CERT_WEAK_KEY = short(-211); +static _DELPHI_CONST short ERR_CERT_NAME_CONSTRAINT_VIOLATION = short(-212); +static _DELPHI_CONST short ERR_CERT_VALIDITY_TOO_LONG = short(-213); +static _DELPHI_CONST short ERR_CERTIFICATE_TRANSPARENCY_REQUIRED = short(-214); +static _DELPHI_CONST short ERR_CERT_KNOWN_INTERCEPTION_BLOCKED = short(-217); +static _DELPHI_CONST short ERR_CERT_SELF_SIGNED_LOCAL_NETWORK = short(-219); +static _DELPHI_CONST short ERR_CERT_END = short(-220); +static _DELPHI_CONST short ERR_INVALID_URL = short(-300); +static _DELPHI_CONST short ERR_DISALLOWED_URL_SCHEME = short(-301); +static _DELPHI_CONST short ERR_UNKNOWN_URL_SCHEME = short(-302); +static _DELPHI_CONST short ERR_INVALID_REDIRECT = short(-303); +static _DELPHI_CONST short ERR_TOO_MANY_REDIRECTS = short(-310); +static _DELPHI_CONST short ERR_UNSAFE_REDIRECT = short(-311); +static _DELPHI_CONST short ERR_UNSAFE_PORT = short(-312); +static _DELPHI_CONST short ERR_INVALID_RESPONSE = short(-320); +static _DELPHI_CONST short ERR_INVALID_CHUNKED_ENCODING = short(-321); +static _DELPHI_CONST short ERR_METHOD_NOT_SUPPORTED = short(-322); +static _DELPHI_CONST short ERR_UNEXPECTED_PROXY_AUTH = short(-323); +static _DELPHI_CONST short ERR_EMPTY_RESPONSE = short(-324); +static _DELPHI_CONST short ERR_RESPONSE_HEADERS_TOO_BIG = short(-325); +static _DELPHI_CONST short ERR_PAC_SCRIPT_FAILED = short(-327); +static _DELPHI_CONST short ERR_REQUEST_RANGE_NOT_SATISFIABLE = short(-328); +static _DELPHI_CONST short ERR_MALFORMED_IDENTITY = short(-329); +static _DELPHI_CONST short ERR_CONTENT_DECODING_FAILED = short(-330); +static _DELPHI_CONST short ERR_NETWORK_IO_SUSPENDED = short(-331); +static _DELPHI_CONST short ERR_SYN_REPLY_NOT_RECEIVED = short(-332); +static _DELPHI_CONST short ERR_ENCODING_CONVERSION_FAILED = short(-333); +static _DELPHI_CONST short ERR_UNRECOGNIZED_FTP_DIRECTORY_LISTING_FORMAT = short(-334); +static _DELPHI_CONST short ERR_NO_SUPPORTED_PROXIES = short(-336); +static _DELPHI_CONST short ERR_SPDY_PROTOCOL_ERROR = short(-337); +static _DELPHI_CONST short ERR_INVALID_AUTH_CREDENTIALS = short(-338); +static _DELPHI_CONST short ERR_UNSUPPORTED_AUTH_SCHEME = short(-339); +static _DELPHI_CONST short ERR_ENCODING_DETECTION_FAILED = short(-340); +static _DELPHI_CONST short ERR_MISSING_AUTH_CREDENTIALS = short(-341); +static _DELPHI_CONST short ERR_UNEXPECTED_SECURITY_LIBRARY_STATUS = short(-342); +static _DELPHI_CONST short ERR_MISCONFIGURED_AUTH_ENVIRONMENT = short(-343); +static _DELPHI_CONST short ERR_UNDOCUMENTED_SECURITY_LIBRARY_STATUS = short(-344); +static _DELPHI_CONST short ERR_RESPONSE_BODY_TOO_BIG_TO_DRAIN = short(-345); +static _DELPHI_CONST short ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_LENGTH = short(-346); +static _DELPHI_CONST short ERR_INCOMPLETE_SPDY_HEADERS = short(-347); +static _DELPHI_CONST short ERR_PAC_NOT_IN_DHCP = short(-348); +static _DELPHI_CONST short ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION = short(-349); +static _DELPHI_CONST short ERR_RESPONSE_HEADERS_MULTIPLE_LOCATION = short(-350); +static _DELPHI_CONST short ERR_SPDY_SERVER_REFUSED_STREAM = short(-351); +static _DELPHI_CONST short ERR_SPDY_PING_FAILED = short(-352); +static _DELPHI_CONST short ERR_CONTENT_LENGTH_MISMATCH = short(-354); +static _DELPHI_CONST short ERR_INCOMPLETE_CHUNKED_ENCODING = short(-355); +static _DELPHI_CONST short ERR_QUIC_PROTOCOL_ERROR = short(-356); +static _DELPHI_CONST short ERR_RESPONSE_HEADERS_TRUNCATED = short(-357); +static _DELPHI_CONST short ERR_QUIC_HANDSHAKE_FAILED = short(-358); +static _DELPHI_CONST short ERR_SPDY_INADEQUATE_TRANSPORT_SECURITY = short(-360); +static _DELPHI_CONST short ERR_SPDY_FLOW_CONTROL_ERROR = short(-361); +static _DELPHI_CONST short ERR_SPDY_FRAME_SIZE_ERROR = short(-362); +static _DELPHI_CONST short ERR_SPDY_COMPRESSION_ERROR = short(-363); +static _DELPHI_CONST short ERR_PROXY_AUTH_REQUESTED_WITH_NO_CONNECTION = short(-364); +static _DELPHI_CONST short ERR_HTTP_1_1_REQUIRED = short(-365); +static _DELPHI_CONST short ERR_PROXY_HTTP_1_1_REQUIRED = short(-366); +static _DELPHI_CONST short ERR_PAC_SCRIPT_TERMINATED = short(-367); +static _DELPHI_CONST short ERR_PROXY_REQUIRED = short(-368); +static _DELPHI_CONST short ERR_INVALID_HTTP_RESPONSE = short(-370); +static _DELPHI_CONST short ERR_CONTENT_DECODING_INIT_FAILED = short(-371); +static _DELPHI_CONST short ERR_SPDY_RST_STREAM_NO_ERROR_RECEIVED = short(-372); +static _DELPHI_CONST short ERR_TOO_MANY_RETRIES = short(-375); +static _DELPHI_CONST short ERR_SPDY_STREAM_CLOSED = short(-376); +static _DELPHI_CONST short ERR_HTTP_RESPONSE_CODE_FAILURE = short(-379); +static _DELPHI_CONST short ERR_QUIC_CERT_ROOT_NOT_KNOWN = short(-380); +static _DELPHI_CONST short ERR_QUIC_GOAWAY_REQUEST_CAN_BE_RETRIED = short(-381); +static _DELPHI_CONST short ERR_TOO_MANY_ACCEPT_CH_RESTARTS = short(-382); +static _DELPHI_CONST short ERR_INCONSISTENT_IP_ADDRESS_SPACE = short(-383); +static _DELPHI_CONST short ERR_CACHED_IP_ADDRESS_SPACE_BLOCKED_BY_PRIVATE_NETWORK_ACCESS_POLICY = short(-384); +static _DELPHI_CONST short ERR_BLOCKED_BY_PRIVATE_NETWORK_ACCESS_CHECKS = short(-385); +static _DELPHI_CONST short ERR_ZSTD_WINDOW_SIZE_TOO_BIG = short(-386); +static _DELPHI_CONST short ERR_DICTIONARY_LOAD_FAILED = short(-387); +static _DELPHI_CONST short ERR_UNEXPECTED_CONTENT_DICTIONARY_HEADER = short(-388); +static _DELPHI_CONST short ERR_CACHE_MISS = short(-400); +static _DELPHI_CONST short ERR_CACHE_READ_FAILURE = short(-401); +static _DELPHI_CONST short ERR_CACHE_WRITE_FAILURE = short(-402); +static _DELPHI_CONST short ERR_CACHE_OPERATION_NOT_SUPPORTED = short(-403); +static _DELPHI_CONST short ERR_CACHE_OPEN_FAILURE = short(-404); +static _DELPHI_CONST short ERR_CACHE_CREATE_FAILURE = short(-405); +static _DELPHI_CONST short ERR_CACHE_RACE = short(-406); +static _DELPHI_CONST short ERR_CACHE_CHECKSUM_READ_FAILURE = short(-407); +static _DELPHI_CONST short ERR_CACHE_CHECKSUM_MISMATCH = short(-408); +static _DELPHI_CONST short ERR_CACHE_LOCK_TIMEOUT = short(-409); +static _DELPHI_CONST short ERR_CACHE_AUTH_FAILURE_AFTER_READ = short(-410); +static _DELPHI_CONST short ERR_CACHE_ENTRY_NOT_SUITABLE = short(-411); +static _DELPHI_CONST short ERR_CACHE_DOOM_FAILURE = short(-412); +static _DELPHI_CONST short ERR_CACHE_OPEN_OR_CREATE_FAILURE = short(-413); +static _DELPHI_CONST short ERR_INSECURE_RESPONSE = short(-501); +static _DELPHI_CONST short ERR_NO_PRIVATE_KEY_FOR_CERT = short(-502); +static _DELPHI_CONST short ERR_ADD_USER_CERT_FAILED = short(-503); +static _DELPHI_CONST short ERR_INVALID_SIGNED_EXCHANGE = short(-504); +static _DELPHI_CONST short ERR_INVALID_WEB_BUNDLE = short(-505); +static _DELPHI_CONST short ERR_TRUST_TOKEN_OPERATION_FAILED = short(-506); +static _DELPHI_CONST short ERR_TRUST_TOKEN_OPERATION_SUCCESS_WITHOUT_SENDING_REQUEST = short(-507); +static _DELPHI_CONST short ERR_PKCS12_IMPORT_BAD_PASSWORD = short(-701); +static _DELPHI_CONST short ERR_PKCS12_IMPORT_FAILED = short(-702); +static _DELPHI_CONST short ERR_IMPORT_CA_CERT_NOT_CA = short(-703); +static _DELPHI_CONST short ERR_IMPORT_CERT_ALREADY_EXISTS = short(-704); +static _DELPHI_CONST short ERR_IMPORT_CA_CERT_FAILED = short(-705); +static _DELPHI_CONST short ERR_IMPORT_SERVER_CERT_FAILED = short(-706); +static _DELPHI_CONST short ERR_PKCS12_IMPORT_INVALID_MAC = short(-707); +static _DELPHI_CONST short ERR_PKCS12_IMPORT_INVALID_FILE = short(-708); +static _DELPHI_CONST short ERR_PKCS12_IMPORT_UNSUPPORTED = short(-709); +static _DELPHI_CONST short ERR_KEY_GENERATION_FAILED = short(-710); +static _DELPHI_CONST short ERR_PRIVATE_KEY_EXPORT_FAILED = short(-712); +static _DELPHI_CONST short ERR_SELF_SIGNED_CERT_GENERATION_FAILED = short(-713); +static _DELPHI_CONST short ERR_CERT_DATABASE_CHANGED = short(-714); +static _DELPHI_CONST short ERR_CERT_VERIFIER_CHANGED = short(-716); +static _DELPHI_CONST short ERR_DNS_MALFORMED_RESPONSE = short(-800); +static _DELPHI_CONST short ERR_DNS_SERVER_REQUIRES_TCP = short(-801); +static _DELPHI_CONST short ERR_DNS_SERVER_FAILED = short(-802); +static _DELPHI_CONST short ERR_DNS_TIMED_OUT = short(-803); +static _DELPHI_CONST short ERR_NS_CACHE_MISS = short(-804); +static _DELPHI_CONST short ERR_DNS_SEARCH_EMPTY = short(-805); +static _DELPHI_CONST short ERR_DNS_SORT_ERROR = short(-806); +static _DELPHI_CONST short ERR_DNS_SECURE_RESOLVER_HOSTNAME_RESOLUTION_FAILED = short(-808); +static _DELPHI_CONST short ERR_DNS_NAME_HTTPS_ONLY = short(-809); +static _DELPHI_CONST short ERR_DNS_REQUEST_CANCELLED = short(-810); +static _DELPHI_CONST short ERR_DNS_NO_MATCHING_SUPPORTED_ALPN = short(-811); +static _DELPHI_CONST short ERR_DNS_SECURE_PROBE_RECORD_INVALID = short(-814); +static _DELPHI_CONST short ERR_BLOB_INVALID_CONSTRUCTION_ARGUMENTS = short(-900); +static _DELPHI_CONST short ERR_BLOB_OUT_OF_MEMORY = short(-901); +static _DELPHI_CONST short ERR_BLOB_FILE_WRITE_FAILED = short(-902); +static _DELPHI_CONST short ERR_BLOB_SOURCE_DIED_IN_TRANSIT = short(-903); +static _DELPHI_CONST short ERR_BLOB_DEREFERENCED_WHILE_BUILDING = short(-904); +static _DELPHI_CONST short ERR_BLOB_REFERENCED_BLOB_BROKEN = short(-905); +static _DELPHI_CONST short ERR_BLOB_REFERENCED_FILE_UNAVAILABLE = short(-906); +static _DELPHI_CONST System::Word COMMAND_ID_FIRST_UNBOUNDED = System::Word(0xe000); +static _DELPHI_CONST System::Word IDC_MinimumLabelValue = System::Word(0xfa0); +static _DELPHI_CONST System::Word IDC_BACK = System::Word(0x80e8); +static _DELPHI_CONST System::Word IDC_FORWARD = System::Word(0x80e9); +static _DELPHI_CONST System::Word IDC_RELOAD = System::Word(0x80ea); +static _DELPHI_CONST System::Word IDC_HOME = System::Word(0x80eb); +static _DELPHI_CONST System::Word IDC_OPEN_CURRENT_URL = System::Word(0x80ec); +static _DELPHI_CONST System::Word IDC_STOP = System::Word(0x80ee); +static _DELPHI_CONST System::Word IDC_RELOAD_BYPASSING_CACHE = System::Word(0x80ef); +static _DELPHI_CONST System::Word IDC_RELOAD_CLEARING_CACHE = System::Word(0x80f1); +static _DELPHI_CONST System::Word IDC_NEW_WINDOW = System::Word(0x84d0); +static _DELPHI_CONST System::Word IDC_NEW_INCOGNITO_WINDOW = System::Word(0x84d1); +static _DELPHI_CONST System::Word IDC_CLOSE_WINDOW = System::Word(0x84dc); +static _DELPHI_CONST System::Word IDC_ALWAYS_ON_TOP = System::Word(0x84dd); +static _DELPHI_CONST System::Word IDC_NEW_TAB = System::Word(0x84de); +static _DELPHI_CONST System::Word IDC_CLOSE_TAB = System::Word(0x84df); +static _DELPHI_CONST System::Word IDC_SELECT_NEXT_TAB = System::Word(0x84e0); +static _DELPHI_CONST System::Word IDC_SELECT_PREVIOUS_TAB = System::Word(0x84e1); +static _DELPHI_CONST System::Word IDC_SELECT_TAB_0 = System::Word(0x84e2); +static _DELPHI_CONST System::Word IDC_SELECT_TAB_1 = System::Word(0x84e3); +static _DELPHI_CONST System::Word IDC_SELECT_TAB_2 = System::Word(0x84e4); +static _DELPHI_CONST System::Word IDC_SELECT_TAB_3 = System::Word(0x84e5); +static _DELPHI_CONST System::Word IDC_SELECT_TAB_4 = System::Word(0x84e6); +static _DELPHI_CONST System::Word IDC_SELECT_TAB_5 = System::Word(0x84e7); +static _DELPHI_CONST System::Word IDC_SELECT_TAB_6 = System::Word(0x84e8); +static _DELPHI_CONST System::Word IDC_SELECT_TAB_7 = System::Word(0x84e9); +static _DELPHI_CONST System::Word IDC_SELECT_LAST_TAB = System::Word(0x84ea); +static _DELPHI_CONST System::Word IDC_DUPLICATE_TAB = System::Word(0x84eb); +static _DELPHI_CONST System::Word IDC_RESTORE_TAB = System::Word(0x84ec); +static _DELPHI_CONST System::Word IDC_SHOW_AS_TAB = System::Word(0x84ed); +static _DELPHI_CONST System::Word IDC_FULLSCREEN = System::Word(0x84ee); +static _DELPHI_CONST System::Word IDC_EXIT = System::Word(0x84ef); +static _DELPHI_CONST System::Word IDC_MOVE_TAB_NEXT = System::Word(0x84f0); +static _DELPHI_CONST System::Word IDC_MOVE_TAB_PREVIOUS = System::Word(0x84f1); +static _DELPHI_CONST System::Word IDC_SEARCH = System::Word(0x84f3); +static _DELPHI_CONST System::Word IDC_WINDOW_MENU = System::Word(0x84fd); +static _DELPHI_CONST System::Word IDC_MINIMIZE_WINDOW = System::Word(0x84fe); +static _DELPHI_CONST System::Word IDC_MAXIMIZE_WINDOW = System::Word(0x84ff); +static _DELPHI_CONST System::Word IDC_ALL_WINDOWS_FRONT = System::Word(0x8500); +static _DELPHI_CONST System::Word IDC_NAME_WINDOW = System::Word(0x8501); +static _DELPHI_CONST System::Word IDC_TOGGLE_MULTITASK_MENU = System::Word(0x8502); +static _DELPHI_CONST System::Word IDC_USE_SYSTEM_TITLE_BAR = System::Word(0x8503); +static _DELPHI_CONST System::Word IDC_RESTORE_WINDOW = System::Word(0x8504); +static _DELPHI_CONST System::Word IDC_OPEN_IN_PWA_WINDOW = System::Word(0x8505); +static _DELPHI_CONST System::Word IDC_MOVE_TAB_TO_NEW_WINDOW = System::Word(0x8506); +static _DELPHI_CONST System::Word IDC_NEW_SPLIT_TAB = System::Word(0x8507); +static _DELPHI_CONST System::Word IDC_TOGGLE_VERTICAL_TABS = System::Word(0x8508); +static _DELPHI_CONST System::Word IDC_COPY_URL = System::Word(0x850c); +static _DELPHI_CONST System::Word IDC_OPEN_IN_CHROME = System::Word(0x850d); +static _DELPHI_CONST System::Word IDC_WEB_APP_SETTINGS = System::Word(0x850e); +static _DELPHI_CONST System::Word IDC_WEB_APP_MENU_APP_INFO = System::Word(0x850f); +static _DELPHI_CONST System::Word IDC_WEB_APP_UPGRADE_DIALOG = System::Word(0x8510); +static _DELPHI_CONST System::Word IDC_VISIT_DESKTOP_OF_LRU_USER_2 = System::Word(0x8520); +static _DELPHI_CONST System::Word IDC_VISIT_DESKTOP_OF_LRU_USER_3 = System::Word(0x8521); +static _DELPHI_CONST System::Word IDC_VISIT_DESKTOP_OF_LRU_USER_4 = System::Word(0x8522); +static _DELPHI_CONST System::Word IDC_VISIT_DESKTOP_OF_LRU_USER_5 = System::Word(0x8523); +static _DELPHI_CONST System::Word IDC_ADD_NEW_TAB_TO_GROUP = System::Word(0x8534); +static _DELPHI_CONST System::Word IDC_CREATE_NEW_TAB_GROUP = System::Word(0x8535); +static _DELPHI_CONST System::Word IDC_FOCUS_NEXT_TAB_GROUP = System::Word(0x8536); +static _DELPHI_CONST System::Word IDC_FOCUS_PREV_TAB_GROUP = System::Word(0x8537); +static _DELPHI_CONST System::Word IDC_CLOSE_TAB_GROUP = System::Word(0x8538); +static _DELPHI_CONST System::Word IDC_GROUP_UNGROUPED_TABS = System::Word(0x8539); +static _DELPHI_CONST System::Word IDC_CREATE_NEW_TAB_GROUP_TOP_LEVEL = System::Word(0x853a); +static _DELPHI_CONST System::Word IDC_BOOKMARK_THIS_TAB = System::Word(0x88b8); +static _DELPHI_CONST System::Word IDC_BOOKMARK_ALL_TABS = System::Word(0x88b9); +static _DELPHI_CONST System::Word IDC_VIEW_SOURCE = System::Word(0x88ba); +static _DELPHI_CONST System::Word IDC_PRINT = System::Word(0x88bb); +static _DELPHI_CONST System::Word IDC_SAVE_PAGE = System::Word(0x88bc); +static _DELPHI_CONST System::Word IDC_EMAIL_PAGE_LOCATION = System::Word(0x88be); +static _DELPHI_CONST System::Word IDC_BASIC_PRINT = System::Word(0x88bf); +static _DELPHI_CONST System::Word IDC_SAVE_CREDIT_CARD_FOR_PAGE = System::Word(0x88c0); +static _DELPHI_CONST System::Word IDC_SHOW_TRANSLATE = System::Word(0x88c1); +static _DELPHI_CONST System::Word IDC_MANAGE_PASSWORDS_FOR_PAGE = System::Word(0x88c2); +static _DELPHI_CONST System::Word IDC_ROUTE_MEDIA = System::Word(0x88c3); +static _DELPHI_CONST System::Word IDC_WINDOW_MUTE_SITE = System::Word(0x88c4); +static _DELPHI_CONST System::Word IDC_WINDOW_PIN_TAB = System::Word(0x88c5); +static _DELPHI_CONST System::Word IDC_WINDOW_GROUP_TAB = System::Word(0x88c6); +static _DELPHI_CONST System::Word IDC_MIGRATE_LOCAL_CREDIT_CARD_FOR_PAGE = System::Word(0x88c7); +static _DELPHI_CONST System::Word IDC_SEND_TAB_TO_SELF = System::Word(0x88c8); +static _DELPHI_CONST System::Word IDC_FOCUS_THIS_TAB = System::Word(0x88c9); +static _DELPHI_CONST System::Word IDC_QRCODE_GENERATOR = System::Word(0x88cd); +static _DELPHI_CONST System::Word IDC_WINDOW_CLOSE_TABS_TO_RIGHT = System::Word(0x88ce); +static _DELPHI_CONST System::Word IDC_WINDOW_CLOSE_OTHER_TABS = System::Word(0x88cf); +static _DELPHI_CONST System::Word IDC_NEW_TAB_TO_RIGHT = System::Word(0x88d0); +static _DELPHI_CONST System::Word IDC_SAVE_AUTOFILL_ADDRESS = System::Word(0x88d1); +static _DELPHI_CONST System::Word IDC_OFFERS_AND_REWARDS_FOR_PAGE = System::Word(0x88d2); +static _DELPHI_CONST System::Word IDC_WEBAUTHN = System::Word(0x88d3); +static _DELPHI_CONST System::Word IDC_SHARING_HUB = System::Word(0x88d4); +static _DELPHI_CONST System::Word IDC_SHARING_HUB_MENU = System::Word(0x88d5); +static _DELPHI_CONST System::Word IDC_FILLED_CARD_INFORMATION = System::Word(0x88d6); +static _DELPHI_CONST System::Word IDC_SHARING_HUB_SCREENSHOT = System::Word(0x88d7); +static _DELPHI_CONST System::Word IDC_VIRTUAL_CARD_ENROLL = System::Word(0x88d8); +static _DELPHI_CONST System::Word IDC_SAVE_IBAN_FOR_PAGE = System::Word(0x88db); +static _DELPHI_CONST System::Word IDC_AUTOFILL_MANDATORY_REAUTH = System::Word(0x88dc); +static _DELPHI_CONST System::Word IDC_PROFILE_MENU_IN_APP_MENU = System::Word(0x88df); +static _DELPHI_CONST System::Word IDC_PASSWORDS_AND_AUTOFILL_MENU = System::Word(0x88e0); +static _DELPHI_CONST System::Word IDC_SHOW_PASSWORD_MANAGER = System::Word(0x88e1); +static _DELPHI_CONST System::Word IDC_SHOW_PAYMENT_METHODS = System::Word(0x88e2); +static _DELPHI_CONST System::Word IDC_SHOW_ADDRESSES = System::Word(0x88e3); +static _DELPHI_CONST System::Word IDC_ORGANIZE_TABS = System::Word(0x88e4); +static _DELPHI_CONST System::Word IDC_DECLUTTER_TABS = System::Word(0x88e5); +static _DELPHI_CONST System::Word IDC_SEND_SHARED_TAB_GROUP_FEEDBACK = System::Word(0x88e6); +static _DELPHI_CONST System::Word IDC_MUTE_TARGET_SITE = System::Word(0x88ea); +static _DELPHI_CONST System::Word IDC_PIN_TARGET_TAB = System::Word(0x88eb); +static _DELPHI_CONST System::Word IDC_GROUP_TARGET_TAB = System::Word(0x88ec); +static _DELPHI_CONST System::Word IDC_DUPLICATE_TARGET_TAB = System::Word(0x88ed); +static _DELPHI_CONST System::Word IDC_CUT = System::Word(0x8ca0); +static _DELPHI_CONST System::Word IDC_COPY = System::Word(0x8ca1); +static _DELPHI_CONST System::Word IDC_PASTE = System::Word(0x8ca3); +static _DELPHI_CONST System::Word IDC_EDIT_MENU = System::Word(0x8ca4); +static _DELPHI_CONST System::Word IDC_FIND = System::Word(0x9088); +static _DELPHI_CONST System::Word IDC_FIND_NEXT = System::Word(0x9089); +static _DELPHI_CONST System::Word IDC_FIND_PREVIOUS = System::Word(0x908a); +static _DELPHI_CONST System::Word IDC_CLOSE_FIND_OR_STOP = System::Word(0x908b); +static _DELPHI_CONST System::Word IDC_FIND_MENU = System::Word(0x90ec); +static _DELPHI_CONST System::Word IDC_FIND_AND_EDIT_MENU = System::Word(0x9150); +static _DELPHI_CONST System::Word IDC_SAVE_AND_SHARE_MENU = System::Word(0x91b4); +static _DELPHI_CONST System::Word IDC_CUSTOMIZE_CHROME = System::Word(0x91e6); +static _DELPHI_CONST System::Word IDC_CLOSE_PROFILE = System::Word(0x8a17); +static _DELPHI_CONST System::Word IDC_MANAGE_GOOGLE_ACCOUNT = System::Word(0x8a18); +static _DELPHI_CONST System::Word IDC_SHOW_SYNC_SETTINGS = System::Word(0x8a19); +static _DELPHI_CONST System::Word IDC_TURN_ON_SYNC = System::Word(0x8a1a); +static _DELPHI_CONST System::Word IDC_SHOW_SIGNIN_WHEN_PAUSED = System::Word(0x8a1b); +static _DELPHI_CONST System::Word IDC_OPEN_GUEST_PROFILE = System::Word(0x8a1c); +static _DELPHI_CONST System::Word IDC_ADD_NEW_PROFILE = System::Word(0x8a1d); +static _DELPHI_CONST System::Word IDC_MANAGE_CHROME_PROFILES = System::Word(0x8a1e); +static _DELPHI_CONST System::Word IDC_SHOW_SIGNIN = System::Word(0x8a1f); +static _DELPHI_CONST System::Word IDC_ZOOM_MENU = System::Word(0x9470); +static _DELPHI_CONST System::Word IDC_ZOOM_PLUS = System::Word(0x9471); +static _DELPHI_CONST System::Word IDC_ZOOM_NORMAL = System::Word(0x9472); +static _DELPHI_CONST System::Word IDC_ZOOM_MINUS = System::Word(0x9473); +static _DELPHI_CONST System::Word IDC_FOCUS_TOOLBAR = System::Word(0x9858); +static _DELPHI_CONST System::Word IDC_FOCUS_LOCATION = System::Word(0x9859); +static _DELPHI_CONST System::Word IDC_FOCUS_SEARCH = System::Word(0x985a); +static _DELPHI_CONST System::Word IDC_FOCUS_MENU_BAR = System::Word(0x985b); +static _DELPHI_CONST System::Word IDC_FOCUS_NEXT_PANE = System::Word(0x985c); +static _DELPHI_CONST System::Word IDC_FOCUS_PREVIOUS_PANE = System::Word(0x985d); +static _DELPHI_CONST System::Word IDC_FOCUS_BOOKMARKS = System::Word(0x985e); +static _DELPHI_CONST System::Word IDC_FOCUS_INACTIVE_POPUP_FOR_ACCESSIBILITY = System::Word(0x985f); +static _DELPHI_CONST System::Word IDC_FOCUS_WEB_CONTENTS_PANE = System::Word(0x9861); +static _DELPHI_CONST System::Word IDC_OPEN_FILE = System::Word(0x9c40); +static _DELPHI_CONST System::Word IDC_CREATE_SHORTCUT = System::Word(0x9c42); +static _DELPHI_CONST System::Word IDC_DEVELOPER_MENU = System::Word(0x9c43); +static _DELPHI_CONST System::Word IDC_DEV_TOOLS = System::Word(0x9c44); +static _DELPHI_CONST System::Word IDC_DEV_TOOLS_CONSOLE = System::Word(0x9c45); +static _DELPHI_CONST System::Word IDC_TASK_MANAGER = System::Word(0x9c46); +static _DELPHI_CONST System::Word IDC_DEV_TOOLS_DEVICES = System::Word(0x9c47); +static _DELPHI_CONST System::Word IDC_FEEDBACK = System::Word(0x9c48); +static _DELPHI_CONST System::Word IDC_SHOW_BOOKMARK_BAR = System::Word(0x9c49); +static _DELPHI_CONST System::Word IDC_SHOW_HISTORY = System::Word(0x9c4a); +static _DELPHI_CONST System::Word IDC_SHOW_BOOKMARK_MANAGER = System::Word(0x9c4b); +static _DELPHI_CONST System::Word IDC_SHOW_DOWNLOADS = System::Word(0x9c4c); +static _DELPHI_CONST System::Word IDC_CLEAR_BROWSING_DATA = System::Word(0x9c4d); +static _DELPHI_CONST System::Word IDC_IMPORT_SETTINGS = System::Word(0x9c4e); +static _DELPHI_CONST System::Word IDC_OPTIONS = System::Word(0x9c4f); +static _DELPHI_CONST System::Word IDC_EDIT_SEARCH_ENGINES = System::Word(0x9c50); +static _DELPHI_CONST System::Word IDC_VIEW_PASSWORDS = System::Word(0x9c51); +static _DELPHI_CONST System::Word IDC_ABOUT = System::Word(0x9c52); +static _DELPHI_CONST System::Word IDC_HELP_PAGE_VIA_KEYBOARD = System::Word(0x9c53); +static _DELPHI_CONST System::Word IDC_HELP_PAGE_VIA_MENU = System::Word(0x9c54); +static _DELPHI_CONST System::Word IDC_SHOW_APP_MENU = System::Word(0x9c55); +static _DELPHI_CONST System::Word IDC_MANAGE_EXTENSIONS = System::Word(0x9c56); +static _DELPHI_CONST System::Word IDC_DEV_TOOLS_INSPECT = System::Word(0x9c57); +static _DELPHI_CONST System::Word IDC_UPGRADE_DIALOG = System::Word(0x9c58); +static _DELPHI_CONST System::Word IDC_SHOW_HISTORY_CLUSTERS_SIDE_PANEL = System::Word(0x9c59); +static _DELPHI_CONST System::Word IDC_PROFILING_ENABLED = System::Word(0x9c5c); +static _DELPHI_CONST System::Word IDC_BOOKMARKS_MENU = System::Word(0x9c5d); +static _DELPHI_CONST System::Word IDC_SAVED_TAB_GROUPS_MENU = System::Word(0x9c5e); +static _DELPHI_CONST System::Word IDC_EXTENSION_ERRORS = System::Word(0x9c5f); +static _DELPHI_CONST System::Word IDC_SHOW_SETTINGS_CHANGE_FIRST = System::Word(0x9c61); +static _DELPHI_CONST System::Word IDC_SHOW_SETTINGS_CHANGE_LAST = System::Word(0x9cc5); +static _DELPHI_CONST System::Word IDC_SHOW_AVATAR_MENU = System::Word(0x9cc6); +static _DELPHI_CONST System::Word IDC_EXTENSION_INSTALL_ERROR_FIRST = System::Word(0x9cc7); +static _DELPHI_CONST System::Word IDC_EXTENSION_INSTALL_ERROR_LAST = System::Word(0x9d2b); +static _DELPHI_CONST System::Word IDC_TOGGLE_REQUEST_TABLET_SITE = System::Word(0x9d2c); +static _DELPHI_CONST System::Word IDC_DEV_TOOLS_TOGGLE = System::Word(0x9d2d); +static _DELPHI_CONST System::Word IDC_RECENT_TABS_MENU = System::Word(0x9d2f); +static _DELPHI_CONST System::Word IDC_RECENT_TABS_NO_DEVICE_TABS = System::Word(0x9d30); +static _DELPHI_CONST System::Word IDC_SHOW_SETTINGS_RESET_BUBBLE = System::Word(0x9d31); +static _DELPHI_CONST System::Word IDC_DISTILL_PAGE = System::Word(0x9d33); +static _DELPHI_CONST System::Word IDC_HELP_MENU = System::Word(0x9d34); +static _DELPHI_CONST System::Word IDC_SHOW_SRT_BUBBLE = System::Word(0x9d36); +static _DELPHI_CONST System::Word IDC_ELEVATED_RECOVERY_DIALOG = System::Word(0x9d37); +static _DELPHI_CONST System::Word IDC_TAKE_SCREENSHOT = System::Word(0x9d38); +static _DELPHI_CONST System::Word IDC_MORE_TOOLS_MENU = System::Word(0x9d39); +static _DELPHI_CONST System::Word IDC_TOGGLE_FULLSCREEN_TOOLBAR = System::Word(0x9d3a); +static _DELPHI_CONST System::Word IDC_CUSTOMIZE_TOUCH_BAR = System::Word(0x9d3b); +static _DELPHI_CONST System::Word IDC_SHOW_BETA_FORUM = System::Word(0x9d3c); +static _DELPHI_CONST System::Word IDC_TOGGLE_JAVASCRIPT_APPLE_EVENTS = System::Word(0x9d3d); +static _DELPHI_CONST System::Word IDC_INSTALL_PWA = System::Word(0x9d3e); +static _DELPHI_CONST System::Word IDC_SHOW_MANAGEMENT_PAGE = System::Word(0x9d3f); +static _DELPHI_CONST System::Word IDC_PASTE_AND_GO = System::Word(0x9d40); +static _DELPHI_CONST System::Word IDC_SHOW_SAVE_LOCAL_CARD_SIGN_IN_PROMO_IF_APPLICABLE = System::Word(0x9d41); +static _DELPHI_CONST System::Word IDC_CLOSE_SIGN_IN_PROMO = System::Word(0x9d42); +static _DELPHI_CONST System::Word IDC_SHOW_FULL_URLS = System::Word(0x9d43); +static _DELPHI_CONST System::Word IDC_CARET_BROWSING_TOGGLE = System::Word(0x9d44); +static _DELPHI_CONST System::Word IDC_CHROME_TIPS = System::Word(0x9d47); +static _DELPHI_CONST System::Word IDC_CHROME_WHATS_NEW = System::Word(0x9d48); +static _DELPHI_CONST System::Word IDC_PERFORMANCE = System::Word(0x9d4a); +static _DELPHI_CONST System::Word IDC_EXTENSIONS_SUBMENU = System::Word(0x9d4b); +static _DELPHI_CONST System::Word IDC_EXTENSIONS_SUBMENU_MANAGE_EXTENSIONS = System::Word(0x9d4c); +static _DELPHI_CONST System::Word IDC_EXTENSIONS_SUBMENU_VISIT_CHROME_WEB_STORE = System::Word(0x9d4d); +static _DELPHI_CONST System::Word IDC_READING_LIST_MENU = System::Word(0x9d4e); +static _DELPHI_CONST System::Word IDC_READING_LIST_MENU_ADD_TAB = System::Word(0x9d4f); +static _DELPHI_CONST System::Word IDC_READING_LIST_MENU_SHOW_UI = System::Word(0x9d50); +static _DELPHI_CONST System::Word IDC_SHOW_READING_MODE_SIDE_PANEL = System::Word(0x9d51); +static _DELPHI_CONST System::Word IDC_SHOW_BOOKMARK_SIDE_PANEL = System::Word(0x9d52); +static _DELPHI_CONST System::Word IDC_SHOW_CHROME_LABS = System::Word(0x9d54); +static _DELPHI_CONST System::Word IDC_RECENT_TABS_LOGIN_FOR_DEVICE_TABS = System::Word(0x9d55); +static _DELPHI_CONST System::Word IDC_OPEN_RECENT_TAB = System::Word(0x9d56); +static _DELPHI_CONST System::Word IDC_OPEN_SAFETY_HUB = System::Word(0x9d57); +static _DELPHI_CONST System::Word IDC_SAFETY_HUB_SHOW_PASSWORD_CHECKUP = System::Word(0x9d58); +static _DELPHI_CONST System::Word IDC_SAFETY_HUB_MANAGE_EXTENSIONS = System::Word(0x9d59); +static _DELPHI_CONST System::Word IDC_SHOW_GOOGLE_LENS_SHORTCUT = System::Word(0x9d5a); +static _DELPHI_CONST System::Word IDC_SHOW_CUSTOMIZE_CHROME_SIDE_PANEL = System::Word(0x9d5b); +static _DELPHI_CONST System::Word IDC_SHOW_CUSTOMIZE_CHROME_TOOLBAR = System::Word(0x9d5c); +static _DELPHI_CONST System::Word IDC_TASK_MANAGER_APP_MENU = System::Word(0x9d5d); +static _DELPHI_CONST System::Word IDC_TASK_MANAGER_SHORTCUT = System::Word(0x9d5e); +static _DELPHI_CONST System::Word IDC_TASK_MANAGER_CONTEXT_MENU = System::Word(0x9d5f); +static _DELPHI_CONST System::Word IDC_TASK_MANAGER_MAIN_MENU = System::Word(0x9d60); +static _DELPHI_CONST System::Word IDC_COMPARE_MENU = System::Word(0x9d61); +static _DELPHI_CONST System::Word IDC_SHOW_ALL_COMPARISON_TABLES = System::Word(0x9d62); +static _DELPHI_CONST System::Word IDC_ADD_TO_COMPARISON_TABLE_MENU = System::Word(0x9d63); +static _DELPHI_CONST System::Word IDC_CREATE_NEW_COMPARISON_TABLE_WITH_TAB = System::Word(0x9d64); +static _DELPHI_CONST System::Word IDC_SHOW_HISTORY_SIDE_PANEL = System::Word(0x9d65); +static _DELPHI_CONST System::Word IDC_OPEN_GLIC = System::Word(0x9d66); +static _DELPHI_CONST System::Word IDC_FIND_EXTENSIONS = System::Word(0x9d67); +static _DELPHI_CONST System::Word IDC_SHOW_SEARCH_TOOLS = System::Word(0x9d68); +static _DELPHI_CONST System::Word IDC_SHOW_COMMENTS_SIDE_PANEL = System::Word(0x9d69); +static _DELPHI_CONST System::Word IDC_RECENT_TABS_SEE_DEVICE_TABS = System::Word(0x9d6a); +static _DELPHI_CONST System::Word IDC_SPELLCHECK_SUGGESTION_0 = System::Word(0xa028); +static _DELPHI_CONST System::Word IDC_SPELLCHECK_SUGGESTION_1 = System::Word(0xa029); +static _DELPHI_CONST System::Word IDC_SPELLCHECK_SUGGESTION_2 = System::Word(0xa02a); +static _DELPHI_CONST System::Word IDC_SPELLCHECK_SUGGESTION_3 = System::Word(0xa02b); +static _DELPHI_CONST System::Word IDC_SPELLCHECK_SUGGESTION_4 = System::Word(0xa02c); +static _DELPHI_CONST System::Word IDC_SPELLCHECK_MENU = System::Word(0xa02d); +static _DELPHI_CONST System::Word IDC_SPELLCHECK_LANGUAGES_FIRST = System::Word(0xa02e); +static _DELPHI_CONST System::Word IDC_SPELLCHECK_LANGUAGES_LAST = System::Word(0xa092); +static _DELPHI_CONST System::Word IDC_CHECK_SPELLING_WHILE_TYPING = System::Word(0xa093); +static _DELPHI_CONST System::Word IDC_SPELLPANEL_TOGGLE = System::Word(0xa095); +static _DELPHI_CONST System::Word IDC_SPELLCHECK_ADD_TO_DICTIONARY = System::Word(0xa096); +static _DELPHI_CONST System::Word IDC_SPELLCHECK_MULTI_LINGUAL = System::Word(0xa097); +static _DELPHI_CONST System::Word IDC_WRITING_DIRECTION_MENU = System::Word(0xa0a0); +static _DELPHI_CONST System::Word IDC_WRITING_DIRECTION_DEFAULT = System::Word(0xa0a1); +static _DELPHI_CONST System::Word IDC_WRITING_DIRECTION_LTR = System::Word(0xa0a2); +static _DELPHI_CONST System::Word IDC_WRITING_DIRECTION_RTL = System::Word(0xa0a3); +static _DELPHI_CONST System::Word IDC_TRANSLATE_ORIGINAL_LANGUAGE_BASE = System::Word(0xa474); +static _DELPHI_CONST System::Word IDC_TRANSLATE_TARGET_LANGUAGE_BASE = System::Word(0xa5a0); +static _DELPHI_CONST System::Word IDC_VIEW_MENU = System::Word(0xabe0); +static _DELPHI_CONST System::Word IDC_FILE_MENU = System::Word(0xabe1); +static _DELPHI_CONST System::Word IDC_CHROME_MENU = System::Word(0xabe2); +static _DELPHI_CONST System::Word IDC_HIDE_APP = System::Word(0xabe3); +static _DELPHI_CONST System::Word IDC_HISTORY_MENU = System::Word(0xb3b0); +static _DELPHI_CONST System::Word IDC_TAB_MENU = System::Word(0xb3b1); +static _DELPHI_CONST System::Word IDC_PROFILE_MAIN_MENU = System::Word(0xb414); +static _DELPHI_CONST System::Word IDC_INPUT_METHODS_MENU = System::Word(0xb4dc); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_CUSTOM_FIRST = System::Word(0xb798); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_CUSTOM_LAST = System::Word(0xbb80); +static _DELPHI_CONST System::Word IDC_EXTENSIONS_CONTEXT_CUSTOM_FIRST = System::Word(0xbf68); +static _DELPHI_CONST System::Word IDC_EXTENSIONS_CONTEXT_CUSTOM_LAST = System::Word(0xc350); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPENLINKNEWTAB = System::Word(0xc3b4); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPENLINKNEWWINDOW = System::Word(0xc3b5); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPENLINKOFFTHERECORD = System::Word(0xc3b6); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SAVELINKAS = System::Word(0xc3b7); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_COPYLINKLOCATION = System::Word(0xc3b8); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_COPYEMAILADDRESS = System::Word(0xc3b9); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPENLINKWITH = System::Word(0xc3ba); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_COPYLINKTEXT = System::Word(0xc3bb); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPENLINKINPROFILE = System::Word(0xc3bc); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPENLINKBOOKMARKAPP = System::Word(0xc3bd); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPENLINKPREVIEW = System::Word(0xc3be); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPENLINKSPLITVIEW = System::Word(0xc3bf); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SAVEIMAGEAS = System::Word(0xc3c8); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_COPYIMAGELOCATION = System::Word(0xc3c9); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_COPYIMAGE = System::Word(0xc3ca); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPENIMAGENEWTAB = System::Word(0xc3cb); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SEARCHWEBFORIMAGE = System::Word(0xc3cc); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPEN_ORIGINAL_IMAGE_NEW_TAB = System::Word(0xc3cd); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_LOAD_IMAGE = System::Word(0xc3ce); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SEARCHLENSFORIMAGE = System::Word(0xc3cf); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_GLICSHAREIMAGE = System::Word(0xc3d0); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SAVEVIDEOFRAMEAS = System::Word(0xc3d2); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SAVEAVAS = System::Word(0xc3d3); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_COPYAVLOCATION = System::Word(0xc3d4); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_COPYVIDEOFRAME = System::Word(0xc3d5); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SEARCHLENSFORVIDEOFRAME = System::Word(0xc3d6); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SEARCHWEBFORVIDEOFRAME = System::Word(0xc3d7); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPENAVNEWTAB = System::Word(0xc3d8); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_PICTUREINPICTURE = System::Word(0xc3d9); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_LOOP = System::Word(0xc3dc); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_CONTROLS = System::Word(0xc3dd); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_ROTATECW = System::Word(0xc3de); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_ROTATECCW = System::Word(0xc3df); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_COPY = System::Word(0xc3e6); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_CUT = System::Word(0xc3e7); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_PASTE = System::Word(0xc3e8); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_DELETE = System::Word(0xc3e9); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_UNDO = System::Word(0xc3ea); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_REDO = System::Word(0xc3eb); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SELECTALL = System::Word(0xc3ec); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_PASTE_AND_MATCH_STYLE = System::Word(0xc3ed); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_COPYLINKTOTEXT = System::Word(0xc3ee); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_RESHARELINKTOTEXT = System::Word(0xc3ef); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_REMOVELINKTOTEXT = System::Word(0xc3f0); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_TRANSLATE = System::Word(0xc3f1); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_INSPECTELEMENT = System::Word(0xc3f2); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_VIEWPAGEINFO = System::Word(0xc3f3); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_LANGUAGE_SETTINGS = System::Word(0xc3f4); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_LOOK_UP = System::Word(0xc3f5); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_NO_SPELLING_SUGGESTIONS = System::Word(0xc3f6); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SPELLING_SUGGESTION = System::Word(0xc3f7); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SPELLING_TOGGLE = System::Word(0xc3f8); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPEN_IN_READING_MODE = System::Word(0xc3f9); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SAVEPLUGINAS = System::Word(0xc3fa); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_INSPECTBACKGROUNDPAGE = System::Word(0xc3fb); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_RELOAD_PACKAGED_APP = System::Word(0xc3fc); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_RESTART_PACKAGED_APP = System::Word(0xc3fd); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_LENS_REGION_SEARCH = System::Word(0xc3fe); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_WEB_REGION_SEARCH = System::Word(0xc3ff); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_GENERATEPASSWORD = System::Word(0xc400); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_EXIT_FULLSCREEN = System::Word(0xc401); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SHOWALLSAVEDPASSWORDS = System::Word(0xc402); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_PARTIAL_TRANSLATE = System::Word(0xc403); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_RELOADFRAME = System::Word(0xc404); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_VIEWFRAMESOURCE = System::Word(0xc405); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_VIEWFRAMEINFO = System::Word(0xc406); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_ADD_A_NOTE = System::Word(0xc409); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_GOTOURL = System::Word(0xc40e); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SEARCHWEBFOR = System::Word(0xc40f); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SEARCHWEBFORNEWTAB = System::Word(0xc410); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_LENS_OVERLAY = System::Word(0xc411); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_USE_PASSKEY_FROM_ANOTHER_DEVICE = System::Word(0xc412); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPEN_WITH1 = System::Word(0xc418); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPEN_WITH2 = System::Word(0xc419); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPEN_WITH3 = System::Word(0xc41a); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPEN_WITH4 = System::Word(0xc41b); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPEN_WITH5 = System::Word(0xc41c); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPEN_WITH6 = System::Word(0xc41d); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPEN_WITH7 = System::Word(0xc41e); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPEN_WITH8 = System::Word(0xc41f); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPEN_WITH9 = System::Word(0xc420); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPEN_WITH10 = System::Word(0xc421); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPEN_WITH11 = System::Word(0xc422); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPEN_WITH12 = System::Word(0xc423); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPEN_WITH13 = System::Word(0xc424); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPEN_WITH14 = System::Word(0xc425); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_EMOJI = System::Word(0xc42c); +static _DELPHI_CONST System::Word IDC_CONTEXT_COMPOSE = System::Word(0xc436); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_CLOSE_GLIC = System::Word(0xc437); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_RELOAD_GLIC = System::Word(0xc438); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_OPEN_ALL = System::Word(0xc738); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_OPEN_ALL_NEW_WINDOW = System::Word(0xc739); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_OPEN_ALL_INCOGNITO = System::Word(0xc73a); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_OPEN_INCOGNITO = System::Word(0xc73b); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_OPEN_ALL_NEW_TAB_GROUP = System::Word(0xc73c); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_RENAME_FOLDER = System::Word(0xc73d); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_EDIT = System::Word(0xc73e); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_REMOVE = System::Word(0xc73f); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_UNDO = System::Word(0xc740); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_REDO = System::Word(0xc741); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_ADD_NEW_BOOKMARK = System::Word(0xc742); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_NEW_FOLDER = System::Word(0xc743); +static _DELPHI_CONST System::Word IDC_BOOKMARK_MANAGER = System::Word(0xc744); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_ALWAYS_SHOW = System::Word(0xc745); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_SHOW_APPS_SHORTCUT = System::Word(0xc746); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_SHOW_READING_LIST = System::Word(0xc747); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_SHOW_MANAGED_BOOKMARKS = System::Word(0xc748); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_TRACK_PRICE_FOR_SHOPPING_BOOKMARK = System::Word(0xc749); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_UNTRACK_PRICE_FOR_SHOPPING_BOOKMARK = System::Word(0xc74a); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_ADD_TO_BOOKMARKS_BAR = System::Word(0xc74b); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_REMOVE_FROM_BOOKMARKS_BAR = System::Word(0xc74c); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_TOGGLE_SHOW_TAB_GROUPS = System::Word(0xc74d); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_MOVE = System::Word(0xc74e); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_OPEN_SPLIT_VIEW = System::Word(0xc74f); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SHARING_CLICK_TO_CALL_SINGLE_DEVICE = System::Word(0xc756); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SHARING_CLICK_TO_CALL_MULTIPLE_DEVICES = System::Word(0xc757); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SHARING_SHARED_CLIPBOARD_SINGLE_DEVICE = System::Word(0xc758); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SHARING_SHARED_CLIPBOARD_MULTIPLE_DEVICES = System::Word(0xc759); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_GENERATE_QR_CODE = System::Word(0xc75a); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SHARING_SUBMENU = System::Word(0xc75b); +static _DELPHI_CONST System::Word IDC_CONTENT_PASTE_FROM_CLIPBOARD = System::Word(0xc75d); +static _DELPHI_CONST System::Word IDC_STATUS_TRAY_KEEP_CHROME_RUNNING_IN_BACKGROUND = System::Word(0xc79c); +static _DELPHI_CONST System::Word IDC_STATUS_TRAY_KEEP_CHROME_RUNNING_IN_BACKGROUND_SETTING = System::Word(0xc79d); +static _DELPHI_CONST System::Word IDC_MEDIA_ROUTER_ABOUT = System::Word(0xc800); +static _DELPHI_CONST System::Word IDC_MEDIA_ROUTER_HELP = System::Word(0xc801); +static _DELPHI_CONST System::Word IDC_MEDIA_ROUTER_LEARN_MORE = System::Word(0xc802); +static _DELPHI_CONST System::Word IDC_MEDIA_ROUTER_ALWAYS_SHOW_TOOLBAR_ACTION = System::Word(0xc804); +static _DELPHI_CONST System::Word IDC_MEDIA_ROUTER_SHOWN_BY_POLICY = System::Word(0xc806); +static _DELPHI_CONST System::Word IDC_MEDIA_ROUTER_SHOW_IN_TOOLBAR = System::Word(0xc807); +static _DELPHI_CONST System::Word IDC_MEDIA_ROUTER_TOGGLE_MEDIA_REMOTING = System::Word(0xc808); +static _DELPHI_CONST System::Word IDC_MEDIA_TOOLBAR_CONTEXT_REPORT_CAST_ISSUE = System::Word(0xc809); +static _DELPHI_CONST System::Word IDC_MEDIA_TOOLBAR_CONTEXT_SHOW_OTHER_SESSIONS = System::Word(0xc80a); +static _DELPHI_CONST System::Word IDC_UPDATE_SIDE_PANEL_PIN_STATE = System::Word(0xc80b); +static _DELPHI_CONST System::Word IDC_MEDIA_STREAM_DEVICE_STATUS_TRAY = System::Word(0xc864); +static _DELPHI_CONST System::Word IDC_MEDIA_CONTEXT_MEDIA_STREAM_CAPTURE_LIST_FIRST = System::Word(0xc865); +static _DELPHI_CONST System::Word IDC_MEDIA_CONTEXT_MEDIA_STREAM_CAPTURE_LIST_LAST = System::Word(0xc8c7); +static _DELPHI_CONST System::Word IDC_MEDIA_STREAM_DEVICE_ALWAYS_ALLOW = System::Word(0xc8c8); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_PROTOCOL_HANDLER_FIRST = System::Word(0xcb20); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_PROTOCOL_HANDLER_LAST = System::Word(0xcbe7); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_PROTOCOL_HANDLER_SETTINGS = System::Word(0xcbe8); +static _DELPHI_CONST System::Word IDC_OPEN_LINK_IN_PROFILE_FIRST = System::Word(0xcc4c); +static _DELPHI_CONST System::Word IDC_OPEN_LINK_IN_PROFILE_LAST = System::Word(0xccaf); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_START_SMART_SELECTION_ACTION1 = System::Word(0xccb0); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_START_SMART_SELECTION_ACTION2 = System::Word(0xccb1); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_START_SMART_SELECTION_ACTION3 = System::Word(0xccb2); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_START_SMART_SELECTION_ACTION4 = System::Word(0xccb3); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_START_SMART_SELECTION_ACTION5 = System::Word(0xccb4); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_ACCESSIBILITY_LABELS_TOGGLE = System::Word(0xccba); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_ACCESSIBILITY_LABELS = System::Word(0xccbb); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_ACCESSIBILITY_LABELS_TOGGLE_ONCE = System::Word(0xccbc); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_QUICK_ANSWERS_INLINE_ANSWER = System::Word(0xccbd); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_QUICK_ANSWERS_INLINE_QUERY = System::Word(0xccbe); +static _DELPHI_CONST System::Word IDC_TAB_SEARCH = System::Word(0xcd14); +static _DELPHI_CONST System::Word IDC_TAB_SEARCH_CLOSE = System::Word(0xcd15); +static _DELPHI_CONST System::Word IDC_DEBUG_TOGGLE_TABLET_MODE = System::Word(0xcd1e); +static _DELPHI_CONST System::Word IDC_DEBUG_PRINT_VIEW_TREE = System::Word(0xcd1f); +static _DELPHI_CONST System::Word IDC_DEBUG_PRINT_VIEW_TREE_DETAILS = System::Word(0xcd20); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_AUTOFILL_FEEDBACK = System::Word(0xcefe); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_AUTOFILL_FALLBACK_PLUS_ADDRESS = System::Word(0xcf02); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_AUTOFILL_FALLBACK_PASSWORDS_SELECT_PASSWORD = System::Word(0xcf06); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_AUTOFILL_FALLBACK_PASSWORDS_IMPORT_PASSWORDS = System::Word(0xcf07); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_AUTOFILL_FALLBACK_PASSWORDS_SUGGEST_PASSWORD = System::Word(0xcf08); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_AUTOFILL_FALLBACK_PASSWORDS_USE_PASSKEY_FROM_ANOTHER_DEVICE = System::Word(0xcf0a); +static _DELPHI_CONST System::Word IDC_LIVE_CAPTION = System::Word(0xd003); +static _DELPHI_CONST System::Word IDC_DEVICE_SYSTEM_TRAY_ICON_FIRST = System::Word(0xd00c); +static _DELPHI_CONST System::Word IDC_DEVICE_SYSTEM_TRAY_ICON_LAST = System::Word(0xd033); +static _DELPHI_CONST System::Word IDC_SET_BROWSER_AS_DEFAULT = System::Word(0xd034); +static _DELPHI_CONST System::Word IDC_GLIC_STATUS_ICON_MENU_SHOW = System::Word(0xd03e); +static _DELPHI_CONST System::Word IDC_GLIC_STATUS_ICON_MENU_CUSTOMIZE_KEYBOARD_SHORTCUT = System::Word(0xd03f); +static _DELPHI_CONST System::Word IDC_GLIC_STATUS_ICON_MENU_REMOVE_ICON = System::Word(0xd040); +static _DELPHI_CONST System::Word IDC_GLIC_STATUS_ICON_MENU_SETTINGS = System::Word(0xd041); +static _DELPHI_CONST System::Word IDC_GLIC_STATUS_ICON_MENU_EXIT = System::Word(0xd042); +static _DELPHI_CONST System::Word IDC_GLIC_STATUS_ICON_MENU_CLOSE = System::Word(0xd043); +static _DELPHI_CONST System::Word IDC_GLIC_TOGGLE_PIN = System::Word(0xd048); +static _DELPHI_CONST System::Int8 CERT_STATUS_NONE = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CERT_STATUS_COMMON_NAME_INVALID = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CERT_STATUS_DATE_INVALID = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CERT_STATUS_AUTHORITY_INVALID = System::Int8(0x4); +static _DELPHI_CONST System::Int8 CERT_STATUS_NO_REVOCATION_MECHANISM = System::Int8(0x10); +static _DELPHI_CONST System::Int8 CERT_STATUS_UNABLE_TO_CHECK_REVOCATION = System::Int8(0x20); +static _DELPHI_CONST System::Int8 CERT_STATUS_REVOKED = System::Int8(0x40); +static _DELPHI_CONST System::Byte CERT_STATUS_INVALID = System::Byte(0x80); +static _DELPHI_CONST System::Word CERT_STATUS_WEAK_SIGNATURE_ALGORITHM = System::Word(0x100); +static _DELPHI_CONST System::Word CERT_STATUS_NON_UNIQUE_NAME = System::Word(0x400); +static _DELPHI_CONST System::Word CERT_STATUS_WEAK_KEY = System::Word(0x800); +static _DELPHI_CONST System::Word CERT_STATUS_PINNED_KEY_MISSING = System::Word(0x2000); +static _DELPHI_CONST System::Word CERT_STATUS_NAME_CONSTRAINT_VIOLATION = System::Word(0x4000); +static _DELPHI_CONST System::Word CERT_STATUS_VALIDITY_TOO_LONG = System::Word(0x8000); +static _DELPHI_CONST int CERT_STATUS_IS_EV = int(0x10000); +static _DELPHI_CONST int CERT_STATUS_REV_CHECKING_ENABLED = int(0x20000); +static _DELPHI_CONST int CERT_STATUS_SHA1_SIGNATURE_PRESENT = int(0x80000); +static _DELPHI_CONST int CERT_STATUS_CT_COMPLIANCE_FAILED = int(0x100000); +static _DELPHI_CONST System::Int8 CERT_STATUS_FIRST_ERROR = System::Int8(0x1); +static _DELPHI_CONST System::Word CERT_STATUS_LAST_ERROR = System::Word(0x8000); +static _DELPHI_CONST System::Int8 V8_PROPERTY_ATTRIBUTE_NONE = System::Int8(0x0); +static _DELPHI_CONST System::Int8 V8_PROPERTY_ATTRIBUTE_READONLY = System::Int8(0x1); +static _DELPHI_CONST System::Int8 V8_PROPERTY_ATTRIBUTE_DONTENUM = System::Int8(0x2); +static _DELPHI_CONST System::Int8 V8_PROPERTY_ATTRIBUTE_DONTDELETE = System::Int8(0x4); +static _DELPHI_CONST System::Int8 TT_LINK = System::Int8(0x0); +static _DELPHI_CONST System::Int8 TT_EXPLICIT = System::Int8(0x1); +static _DELPHI_CONST System::Int8 TT_AUTO_BOOKMARK = System::Int8(0x2); +static _DELPHI_CONST System::Int8 TT_AUTO_SUBFRAME = System::Int8(0x3); +static _DELPHI_CONST System::Int8 TT_MANUAL_SUBFRAME = System::Int8(0x4); +static _DELPHI_CONST System::Int8 TT_GENERATED = System::Int8(0x5); +static _DELPHI_CONST System::Int8 TT_AUTO_TOPLEVEL = System::Int8(0x6); +static _DELPHI_CONST System::Int8 TT_FORM_SUBMIT = System::Int8(0x7); +static _DELPHI_CONST System::Int8 TT_RELOAD = System::Int8(0x8); +static _DELPHI_CONST System::Int8 TT_KEYWORD = System::Int8(0x9); +static _DELPHI_CONST System::Int8 TT_KEYWORD_GENERATED = System::Int8(0xa); +static _DELPHI_CONST System::Int8 TT_NUM_VALUES = System::Int8(0xb); +static _DELPHI_CONST System::Byte TT_SOURCE_MASK = System::Byte(0xff); +static _DELPHI_CONST int TT_BLOCKED_FLAG = int(0x800000); +static _DELPHI_CONST int TT_FORWARD_BACK_FLAG = int(0x1000000); +static _DELPHI_CONST int TT_DIRECT_LOAD_FLAG = int(0x2000000); +static _DELPHI_CONST int TT_HOME_PAGE_FLAG = int(0x4000000); +static _DELPHI_CONST int TT_FROM_API_FLAG = int(0x8000000); +static _DELPHI_CONST int TT_CHAIN_START_FLAG = int(0x10000000); +static _DELPHI_CONST int TT_CHAIN_END_FLAG = int(0x20000000); +static _DELPHI_CONST int TT_CLIENT_REDIRECT_FLAG = int(0x40000000); +static _DELPHI_CONST unsigned TT_SERVER_REDIRECT_FLAG = unsigned(0x80000000); +static _DELPHI_CONST unsigned TT_IS_REDIRECT_MASK = unsigned(0xc0000000); +static _DELPHI_CONST unsigned TT_QUALIFIER_MASK = unsigned(0xffffff00); +static _DELPHI_CONST System::Int8 UR_FLAG_NONE = System::Int8(0x0); +static _DELPHI_CONST System::Int8 UR_FLAG_SKIP_CACHE = System::Int8(0x1); +static _DELPHI_CONST System::Int8 UR_FLAG_ONLY_FROM_CACHE = System::Int8(0x2); +static _DELPHI_CONST System::Int8 UR_FLAG_DISABLE_CACHE = System::Int8(0x4); +static _DELPHI_CONST System::Int8 UR_FLAG_ALLOW_STORED_CREDENTIALS = System::Int8(0x8); +static _DELPHI_CONST System::Int8 UR_FLAG_REPORT_UPLOAD_PROGRESS = System::Int8(0x10); +static _DELPHI_CONST System::Int8 UR_FLAG_NO_DOWNLOAD_DATA = System::Int8(0x20); +static _DELPHI_CONST System::Int8 UR_FLAG_NO_RETRY_ON_5XX = System::Int8(0x40); +static _DELPHI_CONST System::Byte UR_FLAG_STOP_ON_REDIRECT = System::Byte(0x80); +static _DELPHI_CONST System::Int8 CEF_SCHEME_OPTION_NONE = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_SCHEME_OPTION_STANDARD = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_SCHEME_OPTION_LOCAL = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CEF_SCHEME_OPTION_DISPLAY_ISOLATED = System::Int8(0x4); +static _DELPHI_CONST System::Int8 CEF_SCHEME_OPTION_SECURE = System::Int8(0x8); +static _DELPHI_CONST System::Int8 CEF_SCHEME_OPTION_CORS_ENABLED = System::Int8(0x10); +static _DELPHI_CONST System::Int8 CEF_SCHEME_OPTION_CSP_BYPASSING = System::Int8(0x20); +static _DELPHI_CONST System::Int8 CEF_SCHEME_OPTION_FETCH_ENABLED = System::Int8(0x40); +static _DELPHI_CONST System::Int8 DOM_EVENT_CATEGORY_UNKNOWN = System::Int8(0x0); +static _DELPHI_CONST System::Int8 DOM_EVENT_CATEGORY_UI = System::Int8(0x1); +static _DELPHI_CONST System::Int8 DOM_EVENT_CATEGORY_MOUSE = System::Int8(0x2); +static _DELPHI_CONST System::Int8 DOM_EVENT_CATEGORY_MUTATION = System::Int8(0x4); +static _DELPHI_CONST System::Int8 DOM_EVENT_CATEGORY_KEYBOARD = System::Int8(0x8); +static _DELPHI_CONST System::Int8 DOM_EVENT_CATEGORY_TEXT = System::Int8(0x10); +static _DELPHI_CONST System::Int8 DOM_EVENT_CATEGORY_COMPOSITION = System::Int8(0x20); +static _DELPHI_CONST System::Int8 DOM_EVENT_CATEGORY_DRAG = System::Int8(0x40); +static _DELPHI_CONST System::Byte DOM_EVENT_CATEGORY_CLIPBOARD = System::Byte(0x80); +static _DELPHI_CONST System::Word DOM_EVENT_CATEGORY_MESSAGE = System::Word(0x100); +static _DELPHI_CONST System::Word DOM_EVENT_CATEGORY_WHEEL = System::Word(0x200); +static _DELPHI_CONST System::Word DOM_EVENT_CATEGORY_BEFORE_TEXT_INSERTED = System::Word(0x400); +static _DELPHI_CONST System::Word DOM_EVENT_CATEGORY_OVERFLOW = System::Word(0x800); +static _DELPHI_CONST System::Word DOM_EVENT_CATEGORY_PAGE_TRANSITION = System::Word(0x1000); +static _DELPHI_CONST System::Word DOM_EVENT_CATEGORY_POPSTATE = System::Word(0x2000); +static _DELPHI_CONST System::Word DOM_EVENT_CATEGORY_PROGRESS = System::Word(0x4000); +static _DELPHI_CONST System::Word DOM_EVENT_CATEGORY_XMLHTTPREQUEST_PROGRESS = System::Word(0x8000); +static _DELPHI_CONST System::Int8 EVENTFLAG_NONE = System::Int8(0x0); +static _DELPHI_CONST System::Int8 EVENTFLAG_CAPS_LOCK_ON = System::Int8(0x1); +static _DELPHI_CONST System::Int8 EVENTFLAG_SHIFT_DOWN = System::Int8(0x2); +static _DELPHI_CONST System::Int8 EVENTFLAG_CONTROL_DOWN = System::Int8(0x4); +static _DELPHI_CONST System::Int8 EVENTFLAG_ALT_DOWN = System::Int8(0x8); +static _DELPHI_CONST System::Int8 EVENTFLAG_LEFT_MOUSE_BUTTON = System::Int8(0x10); +static _DELPHI_CONST System::Int8 EVENTFLAG_MIDDLE_MOUSE_BUTTON = System::Int8(0x20); +static _DELPHI_CONST System::Int8 EVENTFLAG_RIGHT_MOUSE_BUTTON = System::Int8(0x40); +static _DELPHI_CONST System::Byte EVENTFLAG_COMMAND_DOWN = System::Byte(0x80); +static _DELPHI_CONST System::Word EVENTFLAG_NUM_LOCK_ON = System::Word(0x100); +static _DELPHI_CONST System::Word EVENTFLAG_IS_KEY_PAD = System::Word(0x200); +static _DELPHI_CONST System::Word EVENTFLAG_IS_LEFT = System::Word(0x400); +static _DELPHI_CONST System::Word EVENTFLAG_IS_RIGHT = System::Word(0x800); +static _DELPHI_CONST System::Word EVENTFLAG_ALTGR_DOWN = System::Word(0x1000); +static _DELPHI_CONST System::Word EVENTFLAG_IS_REPEAT = System::Word(0x2000); +static _DELPHI_CONST System::Word EVENTFLAG_PRECISION_SCROLLING_DELTA = System::Word(0x4000); +static _DELPHI_CONST System::Word EVENTFLAG_SCROLL_BY_PAGE = System::Word(0x8000); +static _DELPHI_CONST System::Int8 DRAG_OPERATION_NONE = System::Int8(0x0); +static _DELPHI_CONST System::Int8 DRAG_OPERATION_COPY = System::Int8(0x1); +static _DELPHI_CONST System::Int8 DRAG_OPERATION_LINK = System::Int8(0x2); +static _DELPHI_CONST System::Int8 DRAG_OPERATION_GENERIC = System::Int8(0x4); +static _DELPHI_CONST System::Int8 DRAG_OPERATION_PRIVATE = System::Int8(0x8); +static _DELPHI_CONST System::Int8 DRAG_OPERATION_MOVE = System::Int8(0x10); +static _DELPHI_CONST System::Int8 DRAG_OPERATION_DELETE = System::Int8(0x20); +static _DELPHI_CONST unsigned DRAG_OPERATION_EVERY = unsigned(0xffffffff); +static _DELPHI_CONST System::Int8 FILE_DIALOG_OPEN = System::Int8(0x0); +static _DELPHI_CONST System::Int8 FILE_DIALOG_OPEN_MULTIPLE = System::Int8(0x1); +static _DELPHI_CONST System::Int8 FILE_DIALOG_OPEN_FOLDER = System::Int8(0x2); +static _DELPHI_CONST System::Int8 FILE_DIALOG_SAVE = System::Int8(0x3); +static _DELPHI_CONST System::Int8 FILE_DIALOG_NUM_VALUES = System::Int8(0x4); +static _DELPHI_CONST System::Int8 UU_NONE = System::Int8(0x0); +static _DELPHI_CONST System::Int8 UU_NORMAL = System::Int8(0x1); +static _DELPHI_CONST System::Int8 UU_SPACES = System::Int8(0x2); +static _DELPHI_CONST System::Int8 UU_PATH_SEPARATORS = System::Int8(0x4); +static _DELPHI_CONST System::Int8 UU_URL_SPECIAL_CHARS_EXCEPT_PATH_SEPARATORS = System::Int8(0x8); +static _DELPHI_CONST System::Int8 UU_REPLACE_PLUS_WITH_SPACE = System::Int8(0x10); +static _DELPHI_CONST System::Int8 MENU_ID_BACK = System::Int8(0x64); +static _DELPHI_CONST System::Int8 MENU_ID_FORWARD = System::Int8(0x65); +static _DELPHI_CONST System::Int8 MENU_ID_RELOAD = System::Int8(0x66); +static _DELPHI_CONST System::Int8 MENU_ID_RELOAD_NOCACHE = System::Int8(0x67); +static _DELPHI_CONST System::Int8 MENU_ID_STOPLOAD = System::Int8(0x68); +static _DELPHI_CONST System::Int8 MENU_ID_UNDO = System::Int8(0x6e); +static _DELPHI_CONST System::Int8 MENU_ID_REDO = System::Int8(0x6f); +static _DELPHI_CONST System::Int8 MENU_ID_CUT = System::Int8(0x70); +static _DELPHI_CONST System::Int8 MENU_ID_COPY = System::Int8(0x71); +static _DELPHI_CONST System::Int8 MENU_ID_PASTE = System::Int8(0x72); +static _DELPHI_CONST System::Int8 MENU_ID_PASTE_MATCH_STYLE = System::Int8(0x73); +static _DELPHI_CONST System::Int8 MENU_ID_DELETE = System::Int8(0x74); +static _DELPHI_CONST System::Int8 MENU_ID_SELECT_ALL = System::Int8(0x75); +static _DELPHI_CONST System::Byte MENU_ID_FIND = System::Byte(0x82); +static _DELPHI_CONST System::Byte MENU_ID_PRINT = System::Byte(0x83); +static _DELPHI_CONST System::Byte MENU_ID_VIEW_SOURCE = System::Byte(0x84); +static _DELPHI_CONST System::Byte MENU_ID_SPELLCHECK_SUGGESTION_0 = System::Byte(0xc8); +static _DELPHI_CONST System::Byte MENU_ID_SPELLCHECK_SUGGESTION_1 = System::Byte(0xc9); +static _DELPHI_CONST System::Byte MENU_ID_SPELLCHECK_SUGGESTION_2 = System::Byte(0xca); +static _DELPHI_CONST System::Byte MENU_ID_SPELLCHECK_SUGGESTION_3 = System::Byte(0xcb); +static _DELPHI_CONST System::Byte MENU_ID_SPELLCHECK_SUGGESTION_4 = System::Byte(0xcc); +static _DELPHI_CONST System::Byte MENU_ID_SPELLCHECK_SUGGESTION_LAST = System::Byte(0xcc); +static _DELPHI_CONST System::Byte MENU_ID_NO_SPELLING_SUGGESTIONS = System::Byte(0xcd); +static _DELPHI_CONST System::Byte MENU_ID_ADD_TO_DICTIONARY = System::Byte(0xce); +static _DELPHI_CONST System::Byte MENU_ID_CUSTOM_FIRST = System::Byte(0xdc); +static _DELPHI_CONST System::Byte MENU_ID_CUSTOM_LAST = System::Byte(0xfa); +static _DELPHI_CONST System::Word MENU_ID_USER_FIRST = System::Word(0x6784); +static _DELPHI_CONST System::Word MENU_ID_USER_LAST = System::Word(0x6f54); +static _DELPHI_CONST System::Int8 CM_TYPEFLAG_NONE = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CM_TYPEFLAG_PAGE = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CM_TYPEFLAG_FRAME = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CM_TYPEFLAG_LINK = System::Int8(0x4); +static _DELPHI_CONST System::Int8 CM_TYPEFLAG_MEDIA = System::Int8(0x8); +static _DELPHI_CONST System::Int8 CM_TYPEFLAG_SELECTION = System::Int8(0x10); +static _DELPHI_CONST System::Int8 CM_TYPEFLAG_EDITABLE = System::Int8(0x20); +static _DELPHI_CONST System::Int8 CM_MEDIAFLAG_NONE = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CM_MEDIAFLAG_IN_ERROR = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CM_MEDIAFLAG_PAUSED = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CM_MEDIAFLAG_MUTED = System::Int8(0x4); +static _DELPHI_CONST System::Int8 CM_MEDIAFLAG_LOOP = System::Int8(0x8); +static _DELPHI_CONST System::Int8 CM_MEDIAFLAG_CAN_SAVE = System::Int8(0x10); +static _DELPHI_CONST System::Int8 CM_MEDIAFLAG_HAS_AUDIO = System::Int8(0x20); +static _DELPHI_CONST System::Int8 CM_MEDIAFLAG_CAN_TOGGLE_CONTROLS = System::Int8(0x40); +static _DELPHI_CONST System::Byte CM_MEDIAFLAG_CONTROLS = System::Byte(0x80); +static _DELPHI_CONST System::Word CM_MEDIAFLAG_CAN_PRINT = System::Word(0x100); +static _DELPHI_CONST System::Word CM_MEDIAFLAG_CAN_ROTATE = System::Word(0x200); +static _DELPHI_CONST System::Word CM_MEDIAFLAG_CAN_PICTURE_IN_PICTURE = System::Word(0x400); +static _DELPHI_CONST System::Word CM_MEDIAFLAG_PICTURE_IN_PICTURE = System::Word(0x800); +static _DELPHI_CONST System::Word CM_MEDIAFLAG_CAN_LOOP = System::Word(0x1000); +static _DELPHI_CONST System::Int8 CM_EDITFLAG_NONE = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CM_EDITFLAG_CAN_UNDO = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CM_EDITFLAG_CAN_REDO = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CM_EDITFLAG_CAN_CUT = System::Int8(0x4); +static _DELPHI_CONST System::Int8 CM_EDITFLAG_CAN_COPY = System::Int8(0x8); +static _DELPHI_CONST System::Int8 CM_EDITFLAG_CAN_PASTE = System::Int8(0x10); +static _DELPHI_CONST System::Int8 CM_EDITFLAG_CAN_DELETE = System::Int8(0x20); +static _DELPHI_CONST System::Int8 CM_EDITFLAG_CAN_SELECT_ALL = System::Int8(0x40); +static _DELPHI_CONST System::Byte CM_EDITFLAG_CAN_TRANSLATE = System::Byte(0x80); +static _DELPHI_CONST System::Word CM_EDITFLAG_CAN_EDIT_RICHLY = System::Word(0x100); +static _DELPHI_CONST System::Int8 SSL_CONNECTION_VERSION_UNKNOWN = System::Int8(0x0); +static _DELPHI_CONST System::Int8 SSL_CONNECTION_VERSION_SSL2 = System::Int8(0x1); +static _DELPHI_CONST System::Int8 SSL_CONNECTION_VERSION_SSL3 = System::Int8(0x2); +static _DELPHI_CONST System::Int8 SSL_CONNECTION_VERSION_TLS1 = System::Int8(0x3); +static _DELPHI_CONST System::Int8 SSL_CONNECTION_VERSION_TLS1_1 = System::Int8(0x4); +static _DELPHI_CONST System::Int8 SSL_CONNECTION_VERSION_TLS1_2 = System::Int8(0x5); +static _DELPHI_CONST System::Int8 SSL_CONNECTION_VERSION_TLS1_3 = System::Int8(0x6); +static _DELPHI_CONST System::Int8 SSL_CONNECTION_VERSION_QUIC = System::Int8(0x7); +static _DELPHI_CONST System::Int8 SSL_CONNECTION_VERSION_NUM_VALUES = System::Int8(0x8); +static _DELPHI_CONST System::Int8 SSL_CONTENT_NORMAL_CONTENT = System::Int8(0x0); +static _DELPHI_CONST System::Int8 SSL_CONTENT_DISPLAYED_INSECURE_CONTENT = System::Int8(0x1); +static _DELPHI_CONST System::Int8 SSL_CONTENT_RAN_INSECURE_CONTENT = System::Int8(0x2); +static _DELPHI_CONST System::Int8 JSON_WRITER_DEFAULT = System::Int8(0x0); +static _DELPHI_CONST System::Int8 JSON_WRITER_OMIT_BINARY_VALUES = System::Int8(0x1); +static _DELPHI_CONST System::Int8 JSON_WRITER_OMIT_DOUBLE_TYPE_PRESERVATION = System::Int8(0x2); +static _DELPHI_CONST System::Int8 JSON_WRITER_PRETTY_PRINT = System::Int8(0x4); +static _DELPHI_CONST System::Int8 LOGSEVERITY_DEFAULT = System::Int8(0x0); +static _DELPHI_CONST System::Int8 LOGSEVERITY_VERBOSE = System::Int8(0x1); +static _DELPHI_CONST System::Int8 LOGSEVERITY_DEBUG = System::Int8(0x1); +static _DELPHI_CONST System::Int8 LOGSEVERITY_INFO = System::Int8(0x2); +static _DELPHI_CONST System::Int8 LOGSEVERITY_WARNING = System::Int8(0x3); +static _DELPHI_CONST System::Int8 LOGSEVERITY_ERROR = System::Int8(0x4); +static _DELPHI_CONST System::Int8 LOGSEVERITY_FATAL = System::Int8(0x5); +static _DELPHI_CONST System::Int8 LOGSEVERITY_DISABLE = System::Int8(0x63); +static _DELPHI_CONST System::Int8 DUPLEX_MODE_UNKNOWN = System::Int8(-1); +static _DELPHI_CONST System::Int8 DUPLEX_MODE_SIMPLEX = System::Int8(0x0); +static _DELPHI_CONST System::Int8 DUPLEX_MODE_LONG_EDGE = System::Int8(0x1); +static _DELPHI_CONST System::Int8 DUPLEX_MODE_SHORT_EDGE = System::Int8(0x2); +static _DELPHI_CONST System::Int8 DUPLEX_MODE_NUM_VALUES = System::Int8(0x3); +static _DELPHI_CONST System::Int8 CEF_MRCR_UNKNOWN_ERROR = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_MRCR_OK = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_MRCR_TIMED_OUT = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CEF_MRCR_ROUTE_NOT_FOUND = System::Int8(0x3); +static _DELPHI_CONST System::Int8 CEF_MRCR_SINK_NOT_FOUND = System::Int8(0x4); +static _DELPHI_CONST System::Int8 CEF_MRCR_INVALID_ORIGIN = System::Int8(0x5); +static _DELPHI_CONST System::Int8 CEF_MRCR_OFF_THE_RECORD_MISMATCH_DEPRECATED = System::Int8(0x6); +static _DELPHI_CONST System::Int8 CEF_MRCR_NO_SUPPORTED_PROVIDER = System::Int8(0x7); +static _DELPHI_CONST System::Int8 CEF_MRCR_CANCELLED = System::Int8(0x8); +static _DELPHI_CONST System::Int8 CEF_MRCR_ROUTE_ALREADY_EXISTS = System::Int8(0x9); +static _DELPHI_CONST System::Int8 CEF_MRCR_DESKTOP_PICKER_FAILED = System::Int8(0xa); +static _DELPHI_CONST System::Int8 CEF_MRCR_ROUTE_ALREADY_TERMINATED = System::Int8(0xb); +static _DELPHI_CONST System::Int8 CEF_MRCR_REDUNDANT_REQUEST = System::Int8(0xc); +static _DELPHI_CONST System::Int8 CEF_MRCR_USER_NOT_ALLOWED = System::Int8(0xd); +static _DELPHI_CONST System::Int8 CEF_MRCR_NOTIFICATION_DISABLED = System::Int8(0xe); +static _DELPHI_CONST System::Int8 CEF_MRCR_NUM_VALUES = System::Int8(0xf); +static _DELPHI_CONST System::Int8 CEF_MRCS_UNKNOWN = System::Int8(-1); +static _DELPHI_CONST System::Int8 CEF_MRCS_CONNECTING = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_MRCS_CONNECTED = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_MRCS_CLOSED = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CEF_MRCS_TERMINATED = System::Int8(0x3); +static _DELPHI_CONST System::Int8 CEF_MRCS_NUM_VALUES = System::Int8(0x4); +static _DELPHI_CONST System::Int8 CEF_COOKIE_PRIORITY_LOW = System::Int8(-1); +static _DELPHI_CONST System::Int8 CEF_COOKIE_PRIORITY_MEDIUM = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_COOKIE_PRIORITY_HIGH = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_TFC_UNKNOWN = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_TFC_CUT = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_TFC_COPY = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CEF_TFC_PASTE = System::Int8(0x3); +static _DELPHI_CONST System::Int8 CEF_TFC_SELECT_ALL = System::Int8(0x4); +static _DELPHI_CONST System::Int8 CEF_TFC_SELECT_WORD = System::Int8(0x5); +static _DELPHI_CONST System::Int8 CEF_TFC_UNDO = System::Int8(0x6); +static _DELPHI_CONST System::Int8 CEF_TFC_DELETE = System::Int8(0x7); +static _DELPHI_CONST System::Int8 CEF_TFC_NUM_VALUES = System::Int8(0x8); +static _DELPHI_CONST System::Int8 CEF_CTT_UNKNOWN = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_CTT_NONE = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_CTT_NORMAL = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CEF_CTT_LOCATION = System::Int8(0x3); +static _DELPHI_CONST System::Int8 CEF_CTT_NUM_VALUES = System::Int8(0x4); +static _DELPHI_CONST System::Int8 CEF_DOCKING_MODE_TOP_LEFT = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_DOCKING_MODE_TOP_RIGHT = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_DOCKING_MODE_BOTTOM_LEFT = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CEF_DOCKING_MODE_BOTTOM_RIGHT = System::Int8(0x3); +static _DELPHI_CONST System::Int8 CEF_DOCKING_MODE_CUSTOM = System::Int8(0x4); +static _DELPHI_CONST System::Int8 CEF_DOCKING_MODE_NUM_VALUES = System::Int8(0x5); +static _DELPHI_CONST System::Int8 CEF_SHOW_STATE_NORMAL = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_SHOW_STATE_MINIMIZED = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_SHOW_STATE_MAXIMIZED = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CEF_SHOW_STATE_FULLSCREEN = System::Int8(0x3); +static _DELPHI_CONST System::Int8 CEF_SHOW_STATE_HIDDEN = System::Int8(0x4); +static _DELPHI_CONST System::Int8 CEF_SHOW_STATE_NUM_VALUES = System::Int8(0x5); +static _DELPHI_CONST System::Int8 QM_EDITFLAG_NONE = System::Int8(0x0); +static _DELPHI_CONST System::Int8 QM_EDITFLAG_CAN_ELLIPSIS = System::Int8(0x1); +static _DELPHI_CONST System::Int8 QM_EDITFLAG_CAN_CUT = System::Int8(0x2); +static _DELPHI_CONST System::Int8 QM_EDITFLAG_CAN_COPY = System::Int8(0x4); +static _DELPHI_CONST System::Int8 QM_EDITFLAG_CAN_PASTE = System::Int8(0x8); +static _DELPHI_CONST System::Int8 CEF_THS_FLAG_NONE = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_THS_FLAG_ENABLED = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_THS_FLAG_ORIENTATION = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CEF_THS_FLAG_ORIGIN = System::Int8(0x4); +static _DELPHI_CONST System::Int8 CEF_THS_FLAG_ALPHA = System::Int8(0x8); +static _DELPHI_CONST System::Int8 CEF_MEDIA_PERMISSION_NONE = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_MEDIA_PERMISSION_DEVICE_AUDIO_CAPTURE = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_MEDIA_PERMISSION_DEVICE_VIDEO_CAPTURE = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CEF_MEDIA_PERMISSION_DESKTOP_AUDIO_CAPTURE = System::Int8(0x4); +static _DELPHI_CONST System::Int8 CEF_MEDIA_PERMISSION_DESKTOP_VIDEO_CAPTURE = System::Int8(0x8); +static _DELPHI_CONST System::Int8 CEF_PERMISSION_TYPE_NONE = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_PERMISSION_TYPE_AR_SESSION = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_PERMISSION_TYPE_CAMERA_PAN_TILT_ZOOM = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CEF_PERMISSION_TYPE_CAMERA_STREAM = System::Int8(0x4); +static _DELPHI_CONST System::Int8 CEF_PERMISSION_TYPE_CAPTURED_SURFACE_CONTROL = System::Int8(0x8); +static _DELPHI_CONST System::Int8 CEF_PERMISSION_TYPE_CLIPBOARD = System::Int8(0x10); +static _DELPHI_CONST System::Int8 CEF_PERMISSION_TYPE_TOP_LEVEL_STORAGE_ACCESS = System::Int8(0x20); +static _DELPHI_CONST System::Int8 CEF_PERMISSION_TYPE_DISK_QUOTA = System::Int8(0x40); +static _DELPHI_CONST System::Byte CEF_PERMISSION_TYPE_LOCAL_FONTS = System::Byte(0x80); +static _DELPHI_CONST System::Word CEF_PERMISSION_TYPE_GEOLOCATION = System::Word(0x100); +static _DELPHI_CONST System::Word CEF_PERMISSION_TYPE_HAND_TRACKING = System::Word(0x200); +static _DELPHI_CONST System::Word CEF_PERMISSION_TYPE_IDENTITY_PROVIDER = System::Word(0x400); +static _DELPHI_CONST System::Word CEF_PERMISSION_TYPE_IDLE_DETECTION = System::Word(0x800); +static _DELPHI_CONST System::Word CEF_PERMISSION_TYPE_MIC_STREAM = System::Word(0x1000); +static _DELPHI_CONST System::Word CEF_PERMISSION_TYPE_MIDI_SYSEX = System::Word(0x2000); +static _DELPHI_CONST System::Word CEF_PERMISSION_TYPE_MULTIPLE_DOWNLOADS = System::Word(0x4000); +static _DELPHI_CONST System::Word CEF_PERMISSION_TYPE_NOTIFICATIONS = System::Word(0x8000); +static _DELPHI_CONST int CEF_PERMISSION_TYPE_KEYBOARD_LOCK = int(0x10000); +static _DELPHI_CONST int CEF_PERMISSION_TYPE_POINTER_LOCK = int(0x20000); +static _DELPHI_CONST int CEF_PERMISSION_TYPE_PROTECTED_MEDIA_IDENTIFIER = int(0x40000); +static _DELPHI_CONST int CEF_PERMISSION_TYPE_REGISTER_PROTOCOL_HANDLER = int(0x80000); +static _DELPHI_CONST int CEF_PERMISSION_TYPE_STORAGE_ACCESS = int(0x100000); +static _DELPHI_CONST int CEF_PERMISSION_TYPE_VR_SESSION = int(0x200000); +static _DELPHI_CONST int CEF_PERMISSION_TYPE_WEB_APP_INSTALLATION = int(0x400000); +static _DELPHI_CONST int CEF_PERMISSION_TYPE_WINDOW_MANAGEMENT = int(0x800000); +static _DELPHI_CONST int CEF_PERMISSION_TYPE_FILE_SYSTEM_ACCESS = int(0x1000000); +static _DELPHI_CONST int CEF_PERMISSION_TYPE_LOCAL_NETWORK_ACCESS = int(0x2000000); +static _DELPHI_CONST System::Int8 CEF_API_HASH_PLATFORM = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_API_HASH_UNIVERSAL = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_COMMIT_HASH = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_NONE = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_FILE_FAILED = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_FILE_ACCESS_DENIED = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_FILE_NO_SPACE = System::Int8(0x3); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_FILE_NAME_TOO_LONG = System::Int8(0x5); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_FILE_TOO_LARGE = System::Int8(0x6); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_FILE_VIRUS_INFECTED = System::Int8(0x7); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_FILE_TRANSIENT_ERROR = System::Int8(0xa); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_FILE_BLOCKED = System::Int8(0xb); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_FILE_SECURITY_CHECK_FAILED = System::Int8(0xc); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_FILE_TOO_SHORT = System::Int8(0xd); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_FILE_HASH_MISMATCH = System::Int8(0xe); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_FILE_SAME_AS_SOURCE = System::Int8(0xf); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_NETWORK_FAILED = System::Int8(0x14); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_NETWORK_TIMEOUT = System::Int8(0x15); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_NETWORK_DISCONNECTED = System::Int8(0x16); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_NETWORK_SERVER_DOWN = System::Int8(0x17); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_NETWORK_INVALID_REQUEST = System::Int8(0x18); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_SERVER_FAILED = System::Int8(0x1e); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_SERVER_NO_RANGE = System::Int8(0x1f); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_SERVER_BAD_CONTENT = System::Int8(0x21); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_SERVER_UNAUTHORIZED = System::Int8(0x22); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_SERVER_CERT_PROBLEM = System::Int8(0x23); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_SERVER_FORBIDDEN = System::Int8(0x24); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_SERVER_UNREACHABLE = System::Int8(0x25); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_SERVER_CONTENT_LENGTH_MISMATCH = System::Int8(0x26); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_SERVER_CROSS_ORIGIN_REDIRECT = System::Int8(0x27); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_USER_CANCELED = System::Int8(0x28); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_USER_SHUTDOWN = System::Int8(0x29); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_CRASH = System::Int8(0x32); +static _DELPHI_CONST System::Int8 LOG_ITEMS_DEFAULT = System::Int8(0x0); +static _DELPHI_CONST System::Int8 LOG_ITEMS_NONE = System::Int8(0x1); +static _DELPHI_CONST System::Int8 LOG_ITEMS_FLAG_PROCESS_ID = System::Int8(0x2); +static _DELPHI_CONST System::Int8 LOG_ITEMS_FLAG_THREAD_ID = System::Int8(0x4); +static _DELPHI_CONST System::Int8 LOG_ITEMS_FLAG_TIME_STAMP = System::Int8(0x8); +static _DELPHI_CONST System::Int8 LOG_ITEMS_FLAG_TICK_COUNT = System::Int8(0x10); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_NORMAL_EXIT = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_KILLED = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_HUNG = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_KILLED_BAD_MESSAGE = System::Int8(0x3); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_GPU_DEAD_ON_ARRIVAL = System::Int8(0x4); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_CHROME_FIRST = System::Int8(0x5); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_INVALID_CMDLINE_URL = System::Int8(0x5); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_BAD_PROCESS_TYPE = System::Int8(0x6); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_MISSING_DATA = System::Int8(0x7); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_SHELL_INTEGRATION_FAILED = System::Int8(0x8); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_MACHINE_LEVEL_INSTALL_EXISTS = System::Int8(0x9); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_UNINSTALL_CHROME_ALIVE = System::Int8(0xa); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_UNINSTALL_USER_CANCEL = System::Int8(0xb); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_UNINSTALL_DELETE_PROFILE = System::Int8(0xc); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_UNSUPPORTED_PARAM = System::Int8(0xd); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_IMPORTER_HUNG = System::Int8(0xe); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_RESPAWN_FAILED = System::Int8(0xf); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_NORMAL_EXIT_EXP1 = System::Int8(0x10); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_NORMAL_EXIT_EXP2 = System::Int8(0x11); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_NORMAL_EXIT_EXP3 = System::Int8(0x12); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_NORMAL_EXIT_EXP4 = System::Int8(0x13); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_NORMAL_EXIT_CANCEL = System::Int8(0x14); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_PROFILE_IN_USE = System::Int8(0x15); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_PACK_EXTENSION_ERROR = System::Int8(0x16); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_UNINSTALL_EXTENSION_ERROR = System::Int8(0x17); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_NORMAL_EXIT_PROCESS_NOTIFIED = System::Int8(0x18); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_NOTUSED_1 = System::Int8(0x19); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_INSTALL_FROM_WEBSTORE_ERROR_2 = System::Int8(0x1a); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_NOTUSED_2 = System::Int8(0x1b); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_EULA_REFUSED = System::Int8(0x1c); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_SXS_MIGRATION_FAILED_NOT_USED = System::Int8(0x1d); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_ACTION_DISALLOWED_BY_POLICY = System::Int8(0x1e); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_INVALID_SANDBOX_STATE = System::Int8(0x1f); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_CLOUD_POLICY_ENROLLMENT_FAILED = System::Int8(0x20); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_DOWNGRADE_AND_RELAUNCH = System::Int8(0x21); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_GPU_EXIT_ON_CONTEXT_LOST = System::Int8(0x22); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_NORMAL_EXIT_UPGRADE_RELAUNCHED = System::Int8(0x23); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_NORMAL_EXIT_PACK_EXTENSION_SUCCESS = System::Int8(0x24); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_SYSTEM_RESOURCE_EXHAUSTED = System::Int8(0x25); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_NORMAL_EXIT_AUTO_DE_ELEVATED = System::Int8(0x26); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_TERMINATED_BY_OTHER_PROCESS_ON_COMMIT_FAILURE = System::Int8(0x27); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_CHROME_LAST = System::Int8(0x28); +static _DELPHI_CONST System::Word CEF_RESULT_CODE_SANDBOX_FATAL_FIRST = System::Word(0x1b5e); +static _DELPHI_CONST System::Word CEF_RESULT_CODE_SANDBOX_FATAL_INTEGRITY = System::Word(0x1b5e); +static _DELPHI_CONST System::Word CEF_RESULT_CODE_SANDBOX_FATAL_DROPTOKEN = System::Word(0x1b5f); +static _DELPHI_CONST System::Word CEF_RESULT_CODE_SANDBOX_FATAL_FLUSHANDLES = System::Word(0x1b60); +static _DELPHI_CONST System::Word CEF_RESULT_CODE_SANDBOX_FATAL_CACHEDISABLE = System::Word(0x1b61); +static _DELPHI_CONST System::Word CEF_RESULT_CODE_SANDBOX_FATAL_CLOSEHANDLES = System::Word(0x1b62); +static _DELPHI_CONST System::Word CEF_RESULT_CODE_SANDBOX_FATAL_MITIGATION = System::Word(0x1b63); +static _DELPHI_CONST System::Word CEF_RESULT_CODE_SANDBOX_FATAL_MEMORY_EXCEEDED = System::Word(0x1b64); +static _DELPHI_CONST System::Word CEF_RESULT_CODE_SANDBOX_FATAL_WARMUP = System::Word(0x1b65); +static _DELPHI_CONST System::Word CEF_RESULT_CODE_SANDBOX_FATAL_BROKER_SHUTDOWN_HUNG = System::Word(0x1b66); +static _DELPHI_CONST System::Word CEF_RESULT_CODE_SANDBOX_FATAL_LAST = System::Word(0x1b67); +static _DELPHI_CONST System::Word CEF_RESULT_CODE_NUM_VALUES = System::Word(0x1b68); +#define ABOUTBLANK_URI L"about:blank" +#define DEVTOOLS_WINDOWNAME L"DevTools" +static _DELPHI_CONST System::Int8 CEF_PROXYTYPE_DIRECT = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_PROXYTYPE_AUTODETECT = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_PROXYTYPE_SYSTEM = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CEF_PROXYTYPE_FIXED_SERVERS = System::Int8(0x3); +static _DELPHI_CONST System::Int8 CEF_PROXYTYPE_PAC_SCRIPT = System::Int8(0x4); +static _DELPHI_CONST System::Int8 CEF_LOG_SEVERITY_VERBOSE = System::Int8(-1); +static _DELPHI_CONST System::Int8 CEF_LOG_SEVERITY_INFO = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_LOG_SEVERITY_WARNING = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_LOG_SEVERITY_ERROR = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CEF_LOG_SEVERITY_FATAL = System::Int8(0x3); +static _DELPHI_CONST System::Int8 CEF_MAX_CONNECTIONS_PER_PROXY_DEFAULT_VALUE = System::Int8(0x20); +static _DELPHI_CONST System::Int8 CEF_MAX_CONNECTIONS_PER_PROXY_MIN_VALUE = System::Int8(0x7); +static _DELPHI_CONST System::Int8 CEF_MAX_CONNECTIONS_PER_PROXY_MAX_VALUE = System::Int8(0x63); +static _DELPHI_CONST System::Int8 CEF_COOKIE_PREF_DEFAULT = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_COOKIE_PREF_ALLOW = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_COOKIE_PREF_BLOCK = System::Int8(0x2); +static _DELPHI_CONST System::Word CEF_DEFAULT_ENABLEFOCUSDELAY = System::Word(0x1f4); +static _DELPHI_CONST System::Int8 YOUTUBE_RESTRICT_OFF = System::Int8(0x0); +static _DELPHI_CONST System::Int8 YOUTUBE_RESTRICT_MODERATE = System::Int8(0x1); +static _DELPHI_CONST System::Int8 YOUTUBE_RESTRICT_STRICT = System::Int8(0x2); +static _DELPHI_CONST System::Int8 ZOOM_STEP_25 = System::Int8(0x0); +static _DELPHI_CONST System::Int8 ZOOM_STEP_33 = System::Int8(0x1); +static _DELPHI_CONST System::Int8 ZOOM_STEP_50 = System::Int8(0x2); +static _DELPHI_CONST System::Int8 ZOOM_STEP_67 = System::Int8(0x3); +static _DELPHI_CONST System::Int8 ZOOM_STEP_75 = System::Int8(0x4); +static _DELPHI_CONST System::Int8 ZOOM_STEP_90 = System::Int8(0x5); +static _DELPHI_CONST System::Int8 ZOOM_STEP_100 = System::Int8(0x6); +static _DELPHI_CONST System::Int8 ZOOM_STEP_110 = System::Int8(0x7); +static _DELPHI_CONST System::Int8 ZOOM_STEP_125 = System::Int8(0x8); +static _DELPHI_CONST System::Int8 ZOOM_STEP_150 = System::Int8(0x9); +static _DELPHI_CONST System::Int8 ZOOM_STEP_175 = System::Int8(0xa); +static _DELPHI_CONST System::Int8 ZOOM_STEP_200 = System::Int8(0xb); +static _DELPHI_CONST System::Int8 ZOOM_STEP_250 = System::Int8(0xc); +static _DELPHI_CONST System::Int8 ZOOM_STEP_300 = System::Int8(0xd); +static _DELPHI_CONST System::Int8 ZOOM_STEP_400 = System::Int8(0xe); +static _DELPHI_CONST System::Int8 ZOOM_STEP_500 = System::Int8(0xf); +static _DELPHI_CONST System::Int8 ZOOM_STEP_UNK = System::Int8(0x10); +static _DELPHI_CONST System::Int8 ZOOM_STEP_MIN = System::Int8(0x0); +static _DELPHI_CONST System::Int8 ZOOM_STEP_MAX = System::Int8(0xf); +static _DELPHI_CONST System::Int8 ZOOM_STEP_DEF = System::Int8(0x6); +static _DELPHI_CONST System::Int8 ZOOM_PCT_DELTA = System::Int8(0x5); +extern DELPHI_PACKAGE System::StaticArray ZoomStepValues; +static _DELPHI_CONST System::Word CEF_PREFERENCES_SAVED = System::Word(0x8a00); +static _DELPHI_CONST System::Word CEF_DOONCLOSE = System::Word(0x8a01); +static _DELPHI_CONST System::Word CEF_STARTDRAGGING = System::Word(0x8a02); +static _DELPHI_CONST System::Word CEF_AFTERCREATED = System::Word(0x8a03); +static _DELPHI_CONST System::Word CEF_PENDINGRESIZE = System::Word(0x8a04); +static _DELPHI_CONST System::Word CEF_PUMPHAVEWORK = System::Word(0x8a05); +static _DELPHI_CONST System::Word CEF_DESTROY = System::Word(0x8a06); +static _DELPHI_CONST System::Word CEF_DOONBEFORECLOSE = System::Word(0x8a07); +static _DELPHI_CONST System::Word CEF_PENDINGINVALIDATE = System::Word(0x8a08); +static _DELPHI_CONST System::Word CEF_IMERANGECHANGED = System::Word(0x8a09); +static _DELPHI_CONST System::Word CEF_SENTINEL_START = System::Word(0x8a0a); +static _DELPHI_CONST System::Word CEF_SENTINEL_DOCLOSE = System::Word(0x8a0b); +static _DELPHI_CONST System::Word CEF_BEFORECLOSE = System::Word(0x8a0c); +static _DELPHI_CONST System::Word CEF_INVALIDATE = System::Word(0x8a0d); +static _DELPHI_CONST System::Word CEF_FOCUSENABLED = System::Word(0x8a0e); +static _DELPHI_CONST System::Int8 CEF_OSR_FRAMERATE_DEFAULT = System::Int8(0x1e); +static _DELPHI_CONST System::Int8 CEF_OSR_SHARED_TEXTURES_FRAMERATE_DEFAULT = System::Int8(0x3c); +static _DELPHI_CONST System::Int8 CEF_TIMER_MINIMUM = System::Int8(0xa); +static _DELPHI_CONST int CEF_TIMER_MAXIMUM = int(0x7fffffff); +static _DELPHI_CONST System::Int8 CEF_TIMER_MAXDELAY = System::Int8(0x21); +static _DELPHI_CONST System::Int8 CEF_TIMER_DEPLETEWORK_CYCLES = System::Int8(0xa); +static _DELPHI_CONST System::Int8 CEF_TIMER_DEPLETEWORK_DELAY = System::Int8(0x32); +#define CEF4DELPHI_URL L"https://github.com/salvadordf/CEF4Delphi" +#define CRLF L"\r\n" +#define CEF_URLS_URL L"chrome://chrome-urls" +#define CEF_VERSION_URL L"chrome://version" +#define CEF_FLAGS_URL L"chrome://flags" +#define CEF_SETTINGS_URL L"chrome://settings" +#define CEF_DOWNLOADS_URL L"chrome://downloads" +#define CEF_EXTENSIONS_URL L"chrome://extensions" +#define CEF_INSPECT_URL L"chrome://inspect" +#define CEF_GPU_URL L"chrome://gpu" +#define CEF_PREFS_URL L"chrome://prefs-internals" +#define CEF_CERTMANAGER_URL L"chrome://certificate-manager" +#define CEF_MEMORY_URL L"chrome://memory-internals" +static _DELPHI_CONST System::Word CEF_IMAGE_FILE_MACHINE_I386 = System::Word(0x14c); +static _DELPHI_CONST System::Word CEF_IMAGE_FILE_MACHINE_AMD64 = System::Word(0x8664); +static _DELPHI_CONST System::Int8 USER_DEFAULT_SCREEN_DPI = System::Int8(0x60); +static _DELPHI_CONST System::Int8 CEF_MOUSETOUCH_EVENT_MODIFIERS_NONE = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_MOUSETOUCH_EVENT_MODIFIERS_ALT = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_MOUSETOUCH_EVENT_MODIFIERS_CTRL = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CEF_MOUSETOUCH_EVENT_MODIFIERS_METACMD = System::Int8(0x4); +static _DELPHI_CONST System::Int8 CEF_MOUSETOUCH_EVENT_MODIFIERS_SHIFT = System::Int8(0x8); +static _DELPHI_CONST System::Int8 CEF_PRESSED_MOUSE_BUTTONS_NONE = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_PRESSED_MOUSE_BUTTONS_LEFT = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_PRESSED_MOUSE_BUTTONS_RIGHT = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CEF_PRESSED_MOUSE_BUTTONS_MIDDLE = System::Int8(0x4); +static _DELPHI_CONST System::Int8 CEF_PRESSED_MOUSE_BUTTONS_BACK = System::Int8(0x8); +static _DELPHI_CONST System::Int8 CEF_PRESSED_MOUSE_BUTTONS_FORWARD = System::Int8(0x10); +static _DELPHI_CONST System::Word CHROMIUM_NONBROWSERSHUTDOWNPRIORITY = System::Word(0x280); +static _DELPHI_CONST int CEF_ONEDAYINMILLISECONDS = int(0x5265c00); +} /* namespace Ucefconstants */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFCONSTANTS) +using namespace Ucefconstants; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFConstantsHPP diff --git a/CEF4Delphi/win32/hpps/__history/uCEFMiscFunctions.hpp.~1~ b/CEF4Delphi/win32/hpps/__history/uCEFMiscFunctions.hpp.~1~ new file mode 100644 index 0000000..2c3bab0 --- /dev/null +++ b/CEF4Delphi/win32/hpps/__history/uCEFMiscFunctions.hpp.~1~ @@ -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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/__history/uCEFMiscFunctions.hpp.~2~ b/CEF4Delphi/win32/hpps/__history/uCEFMiscFunctions.hpp.~2~ new file mode 100644 index 0000000..b5b6776 --- /dev/null +++ b/CEF4Delphi/win32/hpps/__history/uCEFMiscFunctions.hpp.~2~ @@ -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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/__history/uCEFTypes.hpp.~1~ b/CEF4Delphi/win32/hpps/__history/uCEFTypes.hpp.~1~ new file mode 100644 index 0000000..d7bcfaa --- /dev/null +++ b/CEF4Delphi/win32/hpps/__history/uCEFTypes.hpp.~1~ @@ -0,0 +1,3932 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFTypes.pas' rev: 37.00 (Windows) + +#ifndef uCEFTypesHPP +#define uCEFTypesHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Uceftypes +{ +//-- forward type declarations ----------------------------------------------- +struct TCefSize; +struct TCefRect; +struct TCefAcceleratedPaintInfoCommon; +struct TCefAcceleratedPaintInfo; +struct TCefVersionInfoEx; +struct TMyMemoryStatusEx; +struct TOSVersionInfoEx; +struct TDigitizerStatus; +struct TCefStringWide; +struct TCefStringUtf8; +struct TCefStringUtf16; +struct TCefStringUserFreeWide; +struct TCefStringUserFreeUtf8; +struct TCefStringUserFreeUtf16; +struct TFileVersionInfo; +struct TCefVersionInfo; +struct TChromiumVersionInfo; +struct TCefMainArgs; +struct TCefPoint; +struct TCefRange; +struct TCefCursorInfo; +struct TCefLinuxWindowProperties; +struct TLinuxWindowProperties; +struct TCefUrlParts; +struct TUrlParts; +struct TCefInsets; +struct TCefTaskInfo; +struct TCustomTaskInfo; +struct TCefTouchHandleState; +struct TCefCompositionUnderline; +struct TCefTime; +struct TCefBoxLayoutSettings; +struct TCefSettings; +struct TCefWindowInfo; +struct TCefDraggableRegion; +struct TCefKeyEvent; +struct TCefPopupFeatures; +struct TCefBrowserSettings; +struct TCefScreenInfo; +struct TCefRequestContextSettings; +struct TCefCookie; +struct TCookie; +struct TCefPdfPrintSettings; +struct TCefMouseEvent; +struct TCefTouchEvent; +struct TCefSimulatedTouchPoint; +struct TCefAudioParameters; +struct TCefMediaSinkDeviceInfo; +struct TCefBaseRefCounted; +struct TCefBaseScoped; +struct TCefStreamWriter; +struct TCefX509CertPrincipal; +struct TCefX509Certificate; +struct TCefSslInfo; +struct TCefSSLStatus; +struct TCefSelectClientCertificateCallback; +struct TCefRunContextMenuCallback; +struct TCefFileDialogCallback; +struct TCefUnresponsiveProcessCallback; +struct TCefDialogHandler; +struct TCefDisplayHandler; +struct TCefDownloadHandler; +struct TCefDragHandler; +struct TCefFindHandler; +struct TCefFocusHandler; +struct TCefJsDialogHandler; +struct TCefJsDialogCallback; +struct TCefKeyboardHandler; +struct TCefLifeSpanHandler; +struct TCefRegistration; +struct TCefDevToolsMessageObserver; +struct TCefMediaRouter; +struct TCefMediaObserver; +struct TCefMediaRoute; +struct TCefMediaRouteCreateCallback; +struct TCefMediaSink; +struct TCefMediaSinkDeviceInfoCallback; +struct TCefMediaSource; +struct TCefAudioHandler; +struct TCefLoadHandler; +struct TCefRenderHandler; +struct TCefPreferenceRegistrar; +struct TCefPreferenceObserver; +struct TCefPreferenceManager; +struct TCefV8StackTrace; +struct TCefV8StackFrame; +struct TCefStreamReader; +struct TCefReadHandler; +struct TCefWriteHandler; +struct TCefXmlReader; +struct TCefZipReader; +struct TCefUrlrequestClient; +struct TCefUrlRequest; +struct TCefThread; +struct TCefWaitableEvent; +struct TCefTaskRunner; +struct TCefEndTracingCallback; +struct TCefResourceBundle; +struct TCefMenuModelDelegate; +struct TCefProcessMessage; +struct TCefRenderProcessHandler; +struct TCefRequestHandler; +struct TCefMediaAccessCallback; +struct TCefPermissionPromptCallback; +struct TCefPermissionHandler; +struct TCefSharedMemoryRegion; +struct TCefSharedProcessMessageBuilder; +struct TCefResourceSkipCallback; +struct TCefResourceReadCallback; +struct TCefResourceHandler; +struct TCefResourceRequestHandler; +struct TCefCookieAccessFilter; +struct TCefResponse; +struct TCefResponseFilter; +struct TCefAuthCallback; +struct TCefCallback; +struct TCefSettingObserver; +struct TCefRequestContext; +struct TCefRequestContextHandler; +struct TCefCompletionCallback; +struct TCefCookieManager; +struct TCefSchemeHandlerFactory; +struct TCefResolveCallback; +struct TCefCookieVisitor; +struct TCefSetCookieCallback; +struct TCefDeleteCookiesCallback; +struct TCefRunFileDialogCallback; +struct TCefDownloadImageCallback; +struct TCefImage; +struct TCefPdfPrintCallback; +struct TCefNavigationEntryVisitor; +struct TCefNavigationEntry; +struct TCefPrintSettings; +struct TCefPrintDialogCallback; +struct TCefPrintJobCallback; +struct TCefPrintHandler; +struct TCefDragData; +struct TCefCommandLine; +struct TCefCommandHandler; +struct TCefSchemeRegistrar; +struct TCefBinaryValue; +struct TCefValue; +struct TCefDictionaryValue; +struct TCefListValue; +struct TCefStringVisitor; +struct TCefPostDataElement; +struct TCefPostData; +struct TCefRequest; +struct TCefTask; +struct TCefTaskManager; +struct TCefDomVisitor; +struct TCefMenuModel; +struct TCefContextMenuParams; +struct TCefDownloadItem; +struct TCefBeforeDownloadCallback; +struct TCefDownloadItemCallback; +struct TCefDomNode; +struct TCefDomDocument; +struct TCefv8Handler; +struct TCefV8Exception; +struct TCefv8ArrayBufferReleaseCallback; +struct TCefv8Value; +struct TCefV8Context; +struct TCefV8Interceptor; +struct TCefV8Accessor; +struct TCefFrame; +struct TCefFrameHandler; +struct TCefAccessibilityHandler; +struct TCefContextMenuHandler; +struct TCefRunQuickMenuCallback; +struct TCefClient; +struct TCefBrowserHost; +struct TCefBrowser; +struct TCefResourceBundleHandler; +struct TCefBrowserProcessHandler; +struct TCefApp; +struct TCefServer; +struct TCefServerHandler; +struct TCefDisplay; +struct TCefLayout; +struct TCefBoxLayout; +struct TCefFillLayout; +struct TCefOverlayController; +struct TCefView; +struct TCefViewDelegate; +struct TCefTextfield; +struct TCefTextfieldDelegate; +struct TCefScrollView; +struct TCefPanel; +struct TCefPanelDelegate; +struct TCefBrowserView; +struct TCefBrowserViewDelegate; +struct TCefButton; +struct TCefButtonDelegate; +struct TCefLabelButton; +struct TCefMenuButton; +struct TCefMenuButtonPressedLock; +struct TCefMenuButtonDelegate; +struct TCefWindow; +struct TCefWindowDelegate; +//-- type declarations ------------------------------------------------------- +typedef TCefStringWide *PCefStringWide; + +typedef TCefDictionaryValue *PCefDictionaryValue; + +typedef TCefListValue *PCefListValue; + +typedef TCefBrowser *PCefBrowser; + +typedef TCefValue *PCefValue; + +typedef TCefBinaryValue *PCefBinaryValue; + +typedef TCefSchemeRegistrar *PCefSchemeRegistrar; + +typedef TCefPreferenceRegistrar *PCefPreferenceRegistrar; + +typedef TCefPreferenceObserver *PCefPreferenceObserver; + +typedef TCefPreferenceManager *PCefPreferenceManager; + +typedef TCefCommandLine *PCefCommandLine; + +typedef TCefCommandHandler *PCefCommandHandler; + +typedef TCefBaseRefCounted *PCefBaseRefCounted; + +typedef TCefBaseScoped *PCefBaseScoped; + +typedef TCefWindowInfo *PCefWindowInfo; + +typedef TCefSettings *PCefSettings; + +typedef TCefStringUtf8 *PCefStringUtf8; + +typedef TCefStringUtf16 *PCefStringUtf16; + +typedef TCefStringUserFreeWide *PCefStringUserFreeWide; + +typedef TCefStringUserFreeUtf8 *PCefStringUserFreeUtf8; + +typedef TCefStringUserFreeUtf16 *PCefStringUserFreeUtf16; + +typedef TCefMainArgs *PCefMainArgs; + +typedef unsigned TCefColor; + +typedef TCefColor *PCefColor; + +typedef TCefBrowserHost *PCefBrowserHost; + +typedef TCefClient *PCefClient; + +typedef TCefPrintHandler *PCefPrintHandler; + +typedef TCefResourceBundleHandler *PCefResourceBundleHandler; + +typedef TCefBrowserProcessHandler *PCefBrowserProcessHandler; + +typedef TCefContextMenuHandler *PCefContextMenuHandler; + +typedef TCefRunQuickMenuCallback *PCefRunQuickMenuCallback; + +typedef TCefAccessibilityHandler *PCefAccessibilityHandler; + +typedef TCefFrame *PCefFrame; + +typedef TCefFrameHandler *PCefFrameHandler; + +typedef TCefApp *PCefApp; + +typedef TCefServer *PCefServer; + +typedef TCefServerHandler *PCefServerHandler; + +typedef TCefStringVisitor *PCefStringVisitor; + +typedef TCefRequest *PCefRequest; + +typedef TCefPostData *PCefPostData; + +typedef TCefPostDataElement *PCefPostDataElement; + +typedef PCefPostDataElement *PPCefPostDataElement; + +typedef TCefV8Context *PCefv8Context; + +typedef TCefV8Interceptor *PCefV8Interceptor; + +typedef TCefTask *PCefTask; + +typedef TCefTaskManager *PCefTaskManager; + +typedef TCefv8Value *PCefv8Value; + +typedef __int64 TCefBaseTime; + +typedef TCefBaseTime *PCefBaseTime; + +typedef TCefTime *PCefTime; + +typedef TCefV8Exception *PCefV8Exception; + +typedef TCefv8ArrayBufferReleaseCallback *PCefv8ArrayBufferReleaseCallback; + +typedef TCefv8Handler *PCefv8Handler; + +typedef System::StaticArray PCefV8ValueArray; + +typedef PCefV8ValueArray *PPCefV8Value; + +typedef TCefDomVisitor *PCefDomVisitor; + +typedef TCefDomDocument *PCefDomDocument; + +typedef TCefDomNode *PCefDomNode; + +typedef TCefContextMenuParams *PCefContextMenuParams; + +typedef TCefMenuModel *PCefMenuModel; + +typedef TCefRunContextMenuCallback *PCefRunContextMenuCallback; + +typedef TCefDialogHandler *PCefDialogHandler; + +typedef TCefFileDialogCallback *PCefFileDialogCallback; + +typedef TCefUnresponsiveProcessCallback *PCefUnresponsiveProcessCallback; + +typedef TCefDisplayHandler *PCefDisplayHandler; + +typedef TCefDownloadHandler *PCefDownloadHandler; + +typedef TCefDownloadItem *PCefDownloadItem; + +typedef TCefBeforeDownloadCallback *PCefBeforeDownloadCallback; + +typedef TCefDownloadItemCallback *PCefDownloadItemCallback; + +typedef TCefDragHandler *PCefDragHandler; + +typedef TCefDragData *PCefDragData; + +typedef System::StaticArray TCefDraggableRegionArray; + +typedef TCefDraggableRegionArray *PCefDraggableRegionArray; + +typedef TCefDraggableRegion *PCefDraggableRegion; + +typedef TCefRect *PCefRect; + +typedef TCefPoint *PCefPoint; + +typedef TCefSize *PCefSize; + +typedef System::StaticArray TCefRectArray; + +typedef TCefRectArray *PCefRectArray; + +typedef TCefRange *PCefRange; + +typedef TCefStreamWriter *PCefStreamWriter; + +typedef TCefFindHandler *PCefFindHandler; + +typedef TCefFocusHandler *PCefFocusHandler; + +typedef TCefJsDialogHandler *PCefJsDialogHandler; + +typedef TCefJsDialogCallback *PCefJsDialogCallback; + +typedef TCefKeyboardHandler *PCefKeyboardHandler; + +typedef TCefKeyEvent *PCefKeyEvent; + +typedef TCefLifeSpanHandler *PCefLifeSpanHandler; + +typedef TCefAudioHandler *PCefAudioHandler; + +typedef TCefAudioParameters *PCefAudioParameters; + +typedef TCefPopupFeatures *PCefPopupFeatures; + +typedef TCefBrowserSettings *PCefBrowserSettings; + +typedef TCefLoadHandler *PCefLoadHandler; + +typedef TCefRenderHandler *PCefRenderHandler; + +typedef TCefScreenInfo *PCefScreenInfo; + +typedef TCefRenderProcessHandler *PCefRenderProcessHandler; + +typedef TCefCursorInfo *PCefCursorInfo; + +typedef TCefThread *PCefThread; + +typedef TCefWaitableEvent *PCefWaitableEvent; + +typedef TCefV8StackTrace *PCefV8StackTrace; + +typedef TCefV8StackFrame *PCefV8StackFrame; + +typedef TCefProcessMessage *PCefProcessMessage; + +typedef TCefRequestHandler *PCefRequestHandler; + +typedef TCefMediaAccessCallback *PCefMediaAccessCallback; + +typedef TCefPermissionHandler *PCefPermissionHandler; + +typedef TCefSharedMemoryRegion *PCefSharedMemoryRegion; + +typedef TCefSharedProcessMessageBuilder *PCefSharedProcessMessageBuilder; + +typedef TCefPermissionPromptCallback *PCefPermissionPromptCallback; + +typedef TCefResourceSkipCallback *PCefResourceSkipCallback; + +typedef TCefResourceReadCallback *PCefResourceReadCallback; + +typedef TCefResourceHandler *PCefResourceHandler; + +typedef TCefResourceRequestHandler *PCefResourceRequestHandler; + +typedef TCefCookieAccessFilter *PCefCookieAccessFilter; + +typedef TCefResponse *PCefResponse; + +typedef TCefResponseFilter *PCefResponseFilter; + +typedef TCefAuthCallback *PCefAuthCallback; + +typedef TCefSslInfo *PCefSslInfo; + +typedef TCefSSLStatus *PCefSSLStatus; + +typedef TCefSelectClientCertificateCallback *PCefSelectClientCertificateCallback; + +typedef TCefCallback *PCefCallback; + +typedef TCefSettingObserver *PCefSettingObserver; + +typedef TCefCookie *PCefCookie; + +typedef TCefRequestContext *PCefRequestContext; + +typedef TCefRequestContextHandler *PCefRequestContextHandler; + +typedef TCefCompletionCallback *PCefCompletionCallback; + +typedef TCefCookieManager *PCefCookieManager; + +typedef TCefSchemeHandlerFactory *PCefSchemeHandlerFactory; + +typedef TCefResolveCallback *PCefResolveCallback; + +typedef TCefCookieVisitor *PCefCookieVisitor; + +typedef TCefSetCookieCallback *PCefSetCookieCallback; + +typedef TCefDeleteCookiesCallback *PCefDeleteCookiesCallback; + +typedef TCefRunFileDialogCallback *PCefRunFileDialogCallback; + +typedef TCefDownloadImageCallback *PCefDownloadImageCallback; + +typedef TCefImage *PCefImage; + +typedef TCefPdfPrintSettings *PCefPdfPrintSettings; + +typedef TCefPdfPrintCallback *PCefPdfPrintCallback; + +typedef TCefNavigationEntryVisitor *PCefNavigationEntryVisitor; + +typedef TCefNavigationEntry *PCefNavigationEntry; + +typedef TCefMouseEvent *PCefMouseEvent; + +typedef TCefTouchEvent *PCefTouchEvent; + +typedef TCefTouchHandleState *PCefTouchHandleState; + +typedef TCefPrintSettings *PCefPrintSettings; + +typedef TCefPrintDialogCallback *PCefPrintDialogCallback; + +typedef TCefPrintJobCallback *PCefPrintJobCallback; + +typedef TCefUrlParts *PCefUrlParts; + +typedef TCefStreamReader *PCefStreamReader; + +typedef TCefReadHandler *PCefReadHandler; + +typedef TCefWriteHandler *PCefWriteHandler; + +typedef TCefV8Accessor *PCefV8Accessor; + +typedef TCefXmlReader *PCefXmlReader; + +typedef TCefZipReader *PCefZipReader; + +typedef TCefUrlrequestClient *PCefUrlRequestClient; + +typedef TCefUrlRequest *PCefUrlRequest; + +typedef TCefTaskRunner *PCefTaskRunner; + +typedef TCefEndTracingCallback *PCefEndTracingCallback; + +typedef TCefRequestContextSettings *PCefRequestContextSettings; + +typedef TCefResourceBundle *PCefResourceBundle; + +typedef TCefMenuModelDelegate *PCefMenuModelDelegate; + +typedef TCefInsets *PCefInsets; + +typedef TCefCompositionUnderline *PCefCompositionUnderline; + +typedef TCefX509CertPrincipal *PCefX509CertPrincipal; + +typedef TCefX509Certificate *PCefX509Certificate; + +typedef PCefX509Certificate *PPCefX509Certificate; + +typedef TCefDisplay *PCefDisplay; + +typedef PCefDisplay *PPCefDisplay; + +typedef TCefLayout *PCefLayout; + +typedef TCefBoxLayout *PCefBoxLayout; + +typedef TCefFillLayout *PCefFillLayout; + +typedef TCefOverlayController *PCefOverlayController; + +typedef TCefView *PCefView; + +typedef TCefViewDelegate *PCefViewDelegate; + +typedef TCefTextfield *PCefTextfield; + +typedef TCefTextfieldDelegate *PCefTextfieldDelegate; + +typedef TCefScrollView *PCefScrollView; + +typedef TCefPanel *PCefPanel; + +typedef TCefPanelDelegate *PCefPanelDelegate; + +typedef TCefBrowserView *PCefBrowserView; + +typedef TCefBrowserViewDelegate *PCefBrowserViewDelegate; + +typedef TCefButton *PCefButton; + +typedef TCefButtonDelegate *PCefButtonDelegate; + +typedef TCefLabelButton *PCefLabelButton; + +typedef TCefMenuButton *PCefMenuButton; + +typedef TCefMenuButtonPressedLock *PCefMenuButtonPressedLock; + +typedef TCefMenuButtonDelegate *PCefMenuButtonDelegate; + +typedef TCefWindow *PCefWindow; + +typedef TCefWindowDelegate *PCefWindowDelegate; + +typedef TCefBoxLayoutSettings *PCefBoxLayoutSettings; + +typedef TCefRegistration *PCefRegistration; + +typedef TCefDevToolsMessageObserver *PCefDevToolsMessageObserver; + +typedef TCefMediaRouter *PCefMediaRouter; + +typedef TCefMediaRoute *PCefMediaRoute; + +typedef PCefMediaRoute *PPCefMediaRoute; + +typedef TCefMediaRouteCreateCallback *PCefMediaRouteCreateCallback; + +typedef TCefMediaObserver *PCefMediaObserver; + +typedef TCefMediaSink *PCefMediaSink; + +typedef PCefMediaSink *PPCefMediaSink; + +typedef TCefMediaSinkDeviceInfoCallback *PCefMediaSinkDeviceInfoCallback; + +typedef TCefMediaSource *PCefMediaSource; + +typedef TCefMediaSinkDeviceInfo *PCefMediaSinkDeviceInfo; + +typedef TCefAcceleratedPaintInfo *PCefAcceleratedPaintInfo; + +typedef TCefLinuxWindowProperties *PCefLinuxWindowProperties; + +typedef TCefTaskInfo *PCefTaskInfo; + +typedef TCefVersionInfoEx *PCefVersionInfoEx; + +typedef System::UnicodeString ustring; + +typedef System::RawByteString rbstring; + +typedef HWND TCefWindowHandle; + +typedef HICON TCefCursorHandle; + +typedef tagMSG *TCefEventHandle; + +typedef unsigned HANDLE; + +typedef HANDLE TCefSharedTextureHandle; + +enum DECLSPEC_DENUM TCefColorType : unsigned int { CEF_COLOR_TYPE_RGBA_8888, CEF_COLOR_TYPE_BGRA_8888, CEF_COLOR_TYPE_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefGLImplementation : unsigned int { glimDefault, glimEGL, glimANGLE, glimMock, glimStub, glimDisabled }; + +enum DECLSPEC_DENUM TCefAngleImplementation : unsigned int { animDefault, animD3D9, animD3D11, animD3D11on12, animD3D11Warp, animD3D11WarpForWebGL, animOpenGL, animOpenGLEGL, animOpenGLES, animOpenGLESEGL, animNull, animVulkan, animSwiftShader, animSwiftShaderForWebGL, animMetal }; + +struct DECLSPEC_DRECORD TCefSize +{ +public: + int width; + int height; +}; + + +struct DECLSPEC_DRECORD TCefRect +{ +public: + int x; + int y; + int width; + int height; +}; + + +typedef System::DynamicArray TCefRectDynArray; + +struct DECLSPEC_DRECORD TCefAcceleratedPaintInfoCommon +{ +public: + System::NativeUInt size; + unsigned __int64 timestamp; + TCefSize coded_size; + TCefRect visible_rect; + TCefRect content_rect; + TCefSize source_size; + TCefRect capture_update_rect; + TCefRect region_capture_rect; + unsigned __int64 capture_counter; + System::Byte has_capture_update_rect; + System::Byte has_region_capture_rect; + System::Byte has_source_size; + System::Byte has_capture_counter; +}; + + +struct DECLSPEC_DRECORD TCefAcceleratedPaintInfo +{ +public: + System::NativeUInt size; + TCefSharedTextureHandle shared_texture_handle; + TCefColorType format; + TCefAcceleratedPaintInfoCommon extra; +}; + + +typedef unsigned TCefPlatformThreadId; + +typedef unsigned TCefPlatformThreadHandle; + +typedef unsigned TCefTransitionType; + +typedef int TCefErrorCode; + +typedef int TCefCertStatus; + +typedef int TCefSSLVersion; + +typedef void *TCefStringList; + +typedef void *TCefStringMap; + +typedef void *TCefStringMultimap; + +typedef int TCefUriUnescapeRule; + +typedef int TCefDomEventCategory; + +typedef unsigned TCefEventFlags; + +typedef unsigned TCefDragOperations; + +typedef unsigned TCefDragOperation; + +typedef unsigned TCefV8PropertyAttributes; + +typedef unsigned TCefUrlRequestFlags; + +typedef unsigned TCefContextMenuTypeFlags; + +typedef unsigned TCefContextMenuMediaStateFlags; + +typedef unsigned TCefContextMenuEditStateFlags; + +typedef unsigned TCefJsonWriterOptions; + +typedef unsigned TCefSSLContentStatus; + +typedef unsigned TCefLogSeverity; + +typedef unsigned TCefFileDialogMode; + +typedef int TCefDuplexMode; + +typedef int TCefSchemeOptions; + +typedef int TCefMediaRouterCreateResult; + +typedef int TCefMediaRouteConnectionState; + +typedef int TCefCookiePriority; + +typedef int TCefTextFieldCommands; + +typedef int TCefChromeToolbarType; + +typedef int TCefDockingMode; + +typedef int TCefShowState; + +typedef int TCefQuickMenuEditStateFlags; + +typedef int TCefTouchHandleStateFlags; + +typedef unsigned TCefMediaAccessPermissionTypes; + +typedef int TCefPermissionRequestTypes; + +typedef int TCefDownloadInterruptReason; + +typedef int TCefMenuId; + +typedef unsigned TCefLogItems; + +typedef int TCefResultCode; + +typedef System::DynamicArray TCefCustomByteArray; + +typedef System::DynamicArray<__int64> TCefCustomInt64Array; + +struct DECLSPEC_DRECORD TCefVersionInfoEx +{ +public: + System::NativeUInt size; + int cef_version_major; + int cef_version_minor; + int cef_version_patch; + int cef_commit_number; + int chrome_version_major; + int chrome_version_minor; + int chrome_version_build; + int chrome_version_patch; +}; + + +struct DECLSPEC_DRECORD TMyMemoryStatusEx +{ +public: + unsigned dwLength; + unsigned dwMemoryLoad; + unsigned __int64 ullTotalPhys; + unsigned __int64 ullAvailPhys; + unsigned __int64 ullTotalPageFile; + unsigned __int64 ullAvailPageFile; + unsigned __int64 ullTotalVirtual; + unsigned __int64 ullAvailVirtual; + unsigned __int64 ullAvailExtendedVirtual; +}; + + +typedef TMyMemoryStatusEx *LPMEMORYSTATUSEX; + +struct DECLSPEC_DRECORD TOSVersionInfoEx +{ +public: + unsigned dwOSVersionInfoSize; + unsigned dwMajorVersion; + unsigned dwMinorVersion; + unsigned dwBuildNumber; + unsigned dwPlatformId; + System::StaticArray szCSDVersion; + System::Word wServicePackMajor; + System::Word wServicePackMinor; + System::Word wSuiteMask; + System::Byte wProductType; + System::Byte wReserved; +}; + + +struct DECLSPEC_DRECORD TDigitizerStatus +{ +public: + bool IntegratedTouch; + bool ExternalTouch; + bool IntegratedPen; + bool ExternalPen; + bool MultiInput; + bool Ready; +}; + + +typedef Winapi::Windows::PSingle *PPSingle; + +typedef System::WideChar Char16; + +typedef System::WideChar * PChar16; + +struct DECLSPEC_DRECORD TCefStringWide +{ +public: + System::WideChar *str; + System::NativeUInt length; + void __stdcall (*dtor)(System::WideChar * str); +}; + + +struct DECLSPEC_DRECORD TCefStringUtf8 +{ +public: + char *str; + System::NativeUInt length; + void __stdcall (*dtor)(char * str); +}; + + +struct DECLSPEC_DRECORD TCefStringUtf16 +{ +public: + PChar16 str; + System::NativeUInt length; + void __stdcall (*dtor)(PChar16 str); +}; + + +typedef TCefStringUtf16 TCefString; + +typedef PCefStringUtf16 PCefString; + +struct DECLSPEC_DRECORD TCefStringUserFreeWide +{ +public: + System::WideChar *str; + System::NativeUInt length; + void __stdcall (*dtor)(System::WideChar * str); +}; + + +struct DECLSPEC_DRECORD TCefStringUserFreeUtf8 +{ +public: + char *str; + System::NativeUInt length; + void __stdcall (*dtor)(char * str); +}; + + +struct DECLSPEC_DRECORD TCefStringUserFreeUtf16 +{ +public: + PChar16 str; + System::NativeUInt length; + void __stdcall (*dtor)(PChar16 str); +}; + + +typedef Char16 TCefChar; + +typedef PChar16 PCefChar; + +typedef TCefStringUserFreeUtf16 TCefStringUserFree; + +typedef PCefStringUserFreeUtf16 PCefStringUserFree; + +struct DECLSPEC_DRECORD TFileVersionInfo +{ +public: + System::UInt16 MajorVer; + System::UInt16 MinorVer; + System::UInt16 Release; + System::UInt16 Build; +}; + + +struct DECLSPEC_DRECORD TCefVersionInfo +{ +public: + int VersionMajor; + int VersionMinor; + int VersionPatch; + int CommitNumber; +}; + + +struct DECLSPEC_DRECORD TChromiumVersionInfo +{ +public: + int VersionMajor; + int VersionMinor; + int VersionBuild; + int VersionPatch; +}; + + +enum DECLSPEC_DENUM TCefCloseBrowserAction : unsigned int { cbaClose, cbaDelay, cbaCancel }; + +enum DECLSPEC_DENUM TCefProcessType : unsigned int { ptBrowser, ptRenderer, ptZygote, ptGPU, ptUtility, ptBroker, ptCrashpad, ptOther }; + +enum DECLSPEC_DENUM TCefCookiePref : unsigned int { cpDefault, cpAllow, cpBlock }; + +enum DECLSPEC_DENUM TCefBrowserNavigation : unsigned int { bnBack, bnForward, bnReload, bnReloadIgnoreCache, bnStopLoad }; + +enum DECLSPEC_DENUM TCefAplicationStatus : unsigned int { asLoading, asLoaded, asInitialized, asShuttingDown, asUnloaded, asErrorMissingFiles, asErrorDLLVersion, asErrorWindowsVersion, asErrorLoadingLibrary, asErrorInitializingLibrary, asErrorExecutingProcess }; + +enum DECLSPEC_DENUM TCefUIColorMode : unsigned int { uicmSystemDefault, uicmForceLight, uicmForceDark }; + +enum DECLSPEC_DENUM TCefProxyScheme : unsigned int { psHTTP, psSOCKS4, psSOCKS5 }; + +enum DECLSPEC_DENUM TSimulatedCefKeyEventType : unsigned int { ketKeyDown, ketKeyUp, ketRawKeyDown, ketChar }; + +enum DECLSPEC_DENUM TCefClearDataStorageTypes : unsigned int { cdstCookies, cdstFileSystems, cdstIndexeddb, cdstLocalStorage, cdstShaderCache, cdstWebsql, cdstServiceWorkers, cdstCacheStorage, cdstInterestGroups, cdstSharedStorage, cdstStorageBuckets, cdstAll, cdstOther }; + +enum DECLSPEC_DENUM TCefAutoplayPolicy : unsigned int { appDefault, appDocumentUserActivationRequired, appNoUserGestureRequired, appUserGestureRequired }; + +enum DECLSPEC_DENUM TCefWebRTCHandlingPolicy : unsigned int { hpDefault, hpDefaultPublicAndPrivateInterfaces, hpDefaultPublicInterfaceOnly, hpDisableNonProxiedUDP }; + +enum DECLSPEC_DENUM TCefNetLogCaptureMode : unsigned int { nlcmDefault, nlcmIncludeSensitive, nlcmEverything }; + +enum DECLSPEC_DENUM TCefBatterySaverModeState : unsigned int { bsmsDisabled, bsmsEnabledBelowThreshold, bsmsEnabledOnBattery, bsmsEnabled, bsmsDefault }; + +enum DECLSPEC_DENUM TCefHighEfficiencyModeState : unsigned int { kDisabled, kEnabled, kEnabledOnTimer, kDefault }; + +enum DECLSPEC_DENUM TCefLinuxDisplayServer : unsigned int { ldsX11, ldsWayland, ldsTTY, ldsUnknown }; + +enum DECLSPEC_DENUM TCEFDialogType : unsigned int { dtOpen, dtOpenMultiple, dtOpenFolder, dtSave }; + +enum DECLSPEC_DENUM TCefMediaType : unsigned int { mtCast, mtDial, mtUnknown }; + +struct DECLSPEC_DRECORD TCefMainArgs +{ +public: + Winapi::Windows::HINST instance; +}; + + +struct DECLSPEC_DRECORD TCefPoint +{ +public: + int x; + int y; +}; + + +struct DECLSPEC_DRECORD TCefRange +{ +public: + unsigned from; + unsigned to_; +}; + + +typedef System::DynamicArray TCefRangeArray; + +struct DECLSPEC_DRECORD TCefCursorInfo +{ +public: + TCefPoint hotspot; + float image_scale_factor; + void *buffer; + TCefSize size; +}; + + +struct DECLSPEC_DRECORD TCefLinuxWindowProperties +{ +public: + System::NativeUInt size; + TCefString wayland_app_id; + TCefString wm_class_class; + TCefString wm_class_name; + TCefString wm_role_name; +}; + + +struct DECLSPEC_DRECORD TLinuxWindowProperties +{ +public: + ustring wayland_app_id; + ustring wm_class_class; + ustring wm_class_name; + ustring wm_role_name; +}; + + +struct DECLSPEC_DRECORD TCefUrlParts +{ +public: + System::NativeUInt size; + TCefString spec; + TCefString scheme; + TCefString username; + TCefString password; + TCefString host; + TCefString port; + TCefString origin; + TCefString path; + TCefString query; + TCefString fragment; +}; + + +struct DECLSPEC_DRECORD TUrlParts +{ +public: + ustring spec; + ustring scheme; + ustring username; + ustring password; + ustring host; + ustring port; + ustring origin; + ustring path; + ustring query; + ustring fragment; +}; + + +struct DECLSPEC_DRECORD TCefInsets +{ +public: + int top; + int left; + int bottom; + int right; +}; + + +enum DECLSPEC_DENUM TCefState : unsigned int { STATE_DEFAULT, STATE_ENABLED, STATE_DISABLED }; + +enum DECLSPEC_DENUM TCefScaleFactor : unsigned int { SCALE_FACTOR_NONE, SCALE_FACTOR_100P, SCALE_FACTOR_125P, SCALE_FACTOR_133P, SCALE_FACTOR_140P, SCALE_FACTOR_150P, SCALE_FACTOR_180P, SCALE_FACTOR_200P, SCALE_FACTOR_250P, SCALE_FACTOR_300P, SCALE_FACTOR_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefValueType : unsigned int { VTYPE_INVALID, VTYPE_NULL, VTYPE_BOOL, VTYPE_INT, VTYPE_DOUBLE, VTYPE_STRING, VTYPE_BINARY, VTYPE_DICTIONARY, VTYPE_LIST, VTYPE_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefMediaSinkIconType : unsigned int { CEF_MSIT_CAST, CEF_MSIT_CAST_AUDIO_GROUP, CEF_MSIT_CAST_AUDIO, CEF_MSIT_MEETING, CEF_MSIT_HANGOUT, CEF_MSIT_EDUCATION, CEF_MSIT_WIRED_DISPLAY, CEF_MSIT_GENERIC, CEF_MSIT_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefReferrerPolicy : unsigned int { REFERRER_POLICY_CLEAR_REFERRER_ON_TRANSITION_FROM_SECURE_TO_INSECURE, REFERRER_POLICY_REDUCE_REFERRER_GRANULARITY_ON_TRANSITION_CROSS_ORIGIN, REFERRER_POLICY_ORIGIN_ONLY_ON_TRANSITION_CROSS_ORIGIN, REFERRER_POLICY_NEVER_CLEAR_REFERRER, REFERRER_POLICY_ORIGIN, REFERRER_POLICY_CLEAR_REFERRER_ON_TRANSITION_CROSS_ORIGIN, REFERRER_POLICY_ORIGIN_CLEAR_ON_TRANSITION_FROM_SECURE_TO_INSECURE, REFERRER_POLICY_NO_REFERRER, REFERRER_POLICY_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefPostDataElementType : unsigned int { PDE_TYPE_EMPTY, PDE_TYPE_BYTES, PDE_TYPE_FILE, PDE_TYPE_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefResourceType : unsigned int { RT_MAIN_FRAME, RT_SUB_FRAME, RT_STYLESHEET, RT_SCRIPT, RT_IMAGE, RT_FONT_RESOURCE, RT_SUB_RESOURCE, RT_OBJECT, RT_MEDIA, RT_WORKER, RT_SHARED_WORKER, RT_PREFETCH, RT_FAVICON, RT_XHR, RT_PING, RT_SERVICE_WORKER, RT_CSP_REPORT, RT_PLUGIN_RESOURCE, RT_EMPTY_FILLER_TYPE_DO_NOT_USE, RT_NAVIGATION_PRELOAD_MAIN_FRAME, RT_NAVIGATION_PRELOAD_SUB_FRAME, RT_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefDomDocumentType : unsigned int { DOM_DOCUMENT_TYPE_UNKNOWN, DOM_DOCUMENT_TYPE_HTML, DOM_DOCUMENT_TYPE_XHTML, DOM_DOCUMENT_TYPE_PLUGIN, DOM_DOCUMENT_TYPE_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefDomNodeType : unsigned int { DOM_NODE_TYPE_UNSUPPORTED, DOM_NODE_TYPE_ELEMENT, DOM_NODE_TYPE_ATTRIBUTE, DOM_NODE_TYPE_TEXT, DOM_NODE_TYPE_CDATA_SECTION, DOM_NODE_TYPE_PROCESSING_INSTRUCTIONS, DOM_NODE_TYPE_COMMENT, DOM_NODE_TYPE_DOCUMENT, DOM_NODE_TYPE_DOCUMENT_TYPE, DOM_NODE_TYPE_DOCUMENT_FRAGMENT, DOM_NODE_TYPE_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefDomFormControlType : unsigned int { DOM_FORM_CONTROL_TYPE_UNSUPPORTED, DOM_FORM_CONTROL_TYPE_BUTTON_BUTTON, DOM_FORM_CONTROL_TYPE_BUTTON_SUBMIT, DOM_FORM_CONTROL_TYPE_BUTTON_RESET, DOM_FORM_CONTROL_TYPE_BUTTON_POPOVER, DOM_FORM_CONTROL_TYPE_FIELDSET, DOM_FORM_CONTROL_TYPE_INPUT_BUTTON, DOM_FORM_CONTROL_TYPE_INPUT_CHECKBOX, DOM_FORM_CONTROL_TYPE_INPUT_COLOR, DOM_FORM_CONTROL_TYPE_INPUT_DATE, DOM_FORM_CONTROL_TYPE_INPUT_DATETIME_LOCAL, DOM_FORM_CONTROL_TYPE_INPUT_EMAIL, DOM_FORM_CONTROL_TYPE_INPUT_FILE, DOM_FORM_CONTROL_TYPE_INPUT_HIDDEN, DOM_FORM_CONTROL_TYPE_INPUT_IMAGE, DOM_FORM_CONTROL_TYPE_INPUT_MONTH, DOM_FORM_CONTROL_TYPE_INPUT_NUMBER, DOM_FORM_CONTROL_TYPE_INPUT_PASSWORD, DOM_FORM_CONTROL_TYPE_INPUT_RADIO, + DOM_FORM_CONTROL_TYPE_INPUT_RANGE, DOM_FORM_CONTROL_TYPE_INPUT_RESET, DOM_FORM_CONTROL_TYPE_INPUT_SEARCH, DOM_FORM_CONTROL_TYPE_INPUT_SUBMIT, DOM_FORM_CONTROL_TYPE_INPUT_TELEPHONE, DOM_FORM_CONTROL_TYPE_INPUT_TEXT, DOM_FORM_CONTROL_TYPE_INPUT_TIME, DOM_FORM_CONTROL_TYPE_INPUT_URL, DOM_FORM_CONTROL_TYPE_INPUT_WEEK, DOM_FORM_CONTROL_TYPE_OUTPUT, DOM_FORM_CONTROL_TYPE_SELECT_ONE, DOM_FORM_CONTROL_TYPE_SELECT_MULTIPLE, DOM_FORM_CONTROL_TYPE_TEXT_AREA, DOM_FORM_CONTROL_TYPE_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefContextMenuMediaType : unsigned int { CM_MEDIATYPE_NONE, CM_MEDIATYPE_IMAGE, CM_MEDIATYPE_VIDEO, CM_MEDIATYPE_AUDIO, CM_MEDIATYPE_CANVAS, CM_MEDIATYPE_FILE, CM_MEDIATYPE_PLUGIN, CM_MEDIATYPE_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefMenuItemType : unsigned int { MENUITEMTYPE_NONE, MENUITEMTYPE_COMMAND, MENUITEMTYPE_CHECK, MENUITEMTYPE_RADIO, MENUITEMTYPE_SEPARATOR, MENUITEMTYPE_SUBMENU }; + +enum DECLSPEC_DENUM TCefFocusSource : unsigned int { FOCUS_SOURCE_NAVIGATION, FOCUS_SOURCE_SYSTEM, FOCUS_SOURCE_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefJsDialogType : unsigned int { JSDIALOGTYPE_ALERT, JSDIALOGTYPE_CONFIRM, JSDIALOGTYPE_PROMPT, JSDIALOGTYPE_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefKeyEventType : unsigned int { KEYEVENT_RAWKEYDOWN, KEYEVENT_KEYDOWN, KEYEVENT_KEYUP, KEYEVENT_CHAR }; + +enum DECLSPEC_DENUM TCefWindowOpenDisposition : unsigned int { CEF_WOD_UNKNOWN, CEF_WOD_CURRENT_TAB, CEF_WOD_SINGLETON_TAB, CEF_WOD_NEW_FOREGROUND_TAB, CEF_WOD_NEW_BACKGROUND_TAB, CEF_WOD_NEW_POPUP, CEF_WOD_NEW_WINDOW, CEF_WOD_SAVE_TO_DISK, CEF_WOD_OFF_THE_RECORD, CEF_WOD_IGNORE_ACTION, CEF_WOD_SWITCH_TO_TAB, CEF_WOD_NEW_PICTURE_IN_PICTURE, CEF_WOD_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefTextInpuMode : unsigned int { CEF_TEXT_INPUT_MODE_DEFAULT, CEF_TEXT_INPUT_MODE_NONE, CEF_TEXT_INPUT_MODE_TEXT, CEF_TEXT_INPUT_MODE_TEL, CEF_TEXT_INPUT_MODE_URL, CEF_TEXT_INPUT_MODE_EMAIL, CEF_TEXT_INPUT_MODE_NUMERIC, CEF_TEXT_INPUT_MODE_DECIMAL, CEF_TEXT_INPUT_MODE_SEARCH, CEF_TEXT_INPUT_MODE_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefTouchEeventType : unsigned int { CEF_TET_RELEASED, CEF_TET_PRESSED, CEF_TET_MOVED, CEF_TET_CANCELLED }; + +enum DECLSPEC_DENUM TCefPointerType : unsigned int { CEF_POINTER_TYPE_TOUCH, CEF_POINTER_TYPE_MOUSE, CEF_POINTER_TYPE_PEN, CEF_POINTER_TYPE_ERASER, CEF_POINTER_TYPE_UNKNOWN }; + +enum DECLSPEC_DENUM TCefSimulatedTouchEventType : unsigned int { touchStart, touchEnd, touchMove, touchCancel }; + +enum DECLSPEC_DENUM TCefSimulatedMouseEventType : unsigned int { mousePressed, mouseReleased, mouseMoved, mouseWheel }; + +enum DECLSPEC_DENUM TCefSimulatedMouseButton : unsigned int { CEF_SIMULATEDMOUSEBUTTON_NONE, CEF_SIMULATEDMOUSEBUTTON_LEFT, CEF_SIMULATEDMOUSEBUTTON_MIDDLE, CEF_SIMULATEDMOUSEBUTTON_RIGHT, CEF_SIMULATEDMOUSEBUTTON_BACK, CEF_SIMULATEDMOUSEBUTTON_FORWARD }; + +enum DECLSPEC_DENUM TCefSimulatedPointerType : unsigned int { CEF_SIMULATEDPOINTERTYPE_MOUSE, CEF_SIMULATEDPOINTERTYPE_PEN }; + +enum DECLSPEC_DENUM TCefKeyLocation : unsigned int { CEF_KEYLOCATION_NONE, CEF_KEYLOCATION_LEFT, CEF_KEYLOCATION_RIGHT }; + +enum DECLSPEC_DENUM TCefEditingCommand : unsigned int { ecNone, ecAlignCenter, ecAlignJustified, ecAlignLeft, ecAlignRight, ecBackColor, ecBackwardDelete, ecBold, ecCopy, ecCreateLink, ecCut, ecDefaultParagraphSeparator, ecDelete, ecDeleteBackward, ecDeleteBackwardByDecomposingPreviousCharacter, ecDeleteForward, ecDeleteToBeginningOfLine, ecDeleteToBeginningOfParagraph, ecDeleteToEndOfLine, ecDeleteToEndOfParagraph, ecDeleteToMark, ecDeleteWordBackward, ecDeleteWordForward, ecFindString, ecFontName, ecFontSize, ecFontSizeDelta, ecForeColor, ecFormatBlock, ecForwardDelete, ecHiliteColor, ecIgnoreSpelling, ecIndent, ecInsertBacktab, ecInsertHorizontalRule, ecInsertHTML, ecInsertImage, ecInsertLineBreak, ecInsertNewline, ecInsertNewlineInQuotedContent, + ecInsertOrderedList, ecInsertParagraph, ecInsertTab, ecInsertText, ecInsertUnorderedList, ecItalic, ecJustifyCenter, ecJustifyFull, ecJustifyLeft, ecJustifyNone, ecJustifyRight, ecMakeTextWritingDirectionLeftToRight, ecMakeTextWritingDirectionNatural, ecMakeTextWritingDirectionRightToLeft, ecMoveBackward, ecMoveBackwardAndModifySelection, ecMoveDown, ecMoveDownAndModifySelection, ecMoveForward, ecMoveForwardAndModifySelection, ecMoveLeft, ecMoveLeftAndModifySelection, ecMovePageDown, ecMovePageDownAndModifySelection, ecMovePageUp, ecMovePageUpAndModifySelection, ecMoveParagraphBackward, ecMoveParagraphBackwardAndModifySelection, ecMoveParagraphForward, ecMoveParagraphForwardAndModifySelection, ecMoveRight, ecMoveRightAndModifySelection, + ecMoveToBeginningOfDocument, ecMoveToBeginningOfDocumentAndModifySelection, ecMoveToBeginningOfLine, ecMoveToBeginningOfLineAndModifySelection, ecMoveToBeginningOfParagraph, ecMoveToBeginningOfParagraphAndModifySelection, ecMoveToBeginningOfSentence, ecMoveToBeginningOfSentenceAndModifySelection, ecMoveToEndOfDocument, ecMoveToEndOfDocumentAndModifySelection, ecMoveToEndOfLine, ecMoveToEndOfLineAndModifySelection, ecMoveToEndOfParagraph, ecMoveToEndOfParagraphAndModifySelection, ecMoveToEndOfSentence, ecMoveToEndOfSentenceAndModifySelection, ecMoveToLeftEndOfLine, ecMoveToLeftEndOfLineAndModifySelection, ecMoveToRightEndOfLine, ecMoveToRightEndOfLineAndModifySelection, ecMoveUp, ecMoveUpAndModifySelection, ecMoveWordBackward, + ecMoveWordBackwardAndModifySelection, ecMoveWordForward, ecMoveWordForwardAndModifySelection, ecMoveWordLeft, ecMoveWordLeftAndModifySelection, ecMoveWordRight, ecMoveWordRightAndModifySelection, ecOutdent, ecOverWrite, ecPaste, ecPasteAndMatchStyle, ecPasteGlobalSelection, ecPrint, ecRedo, ecRemoveFormat, ecScrollLineDown, ecScrollLineUp, ecScrollPageBackward, ecScrollPageForward, ecScrollToBeginningOfDocument, ecScrollToEndOfDocument, ecSelectAll, ecSelectLine, ecSelectParagraph, ecSelectSentence, ecSelectToMark, ecSelectWord, ecSetMark, ecStrikethrough, ecStyleWithCSS, ecSubscript, ecSuperscript, ecSwapWithMark, ecToggleBold, ecToggleItalic, ecToggleUnderline, ecTranspose, ecUnderline, ecUndo, ecUnlink, ecUnscript, ecUnselect, ecUseCSS, ecYank, + ecYankAndSelect }; + +enum DECLSPEC_DENUM TCefChannelLayout : unsigned int { CEF_CHANNEL_LAYOUT_NONE, CEF_CHANNEL_LAYOUT_UNSUPPORTED, CEF_CHANNEL_LAYOUT_MONO, CEF_CHANNEL_LAYOUT_STEREO, CEF_CHANNEL_LAYOUT_2_1, CEF_CHANNEL_LAYOUT_SURROUND, CEF_CHANNEL_LAYOUT_4_0, CEF_CHANNEL_LAYOUT_2_2, CEF_CHANNEL_LAYOUT_QUAD, CEF_CHANNEL_LAYOUT_5_0, CEF_CHANNEL_LAYOUT_5_1, CEF_CHANNEL_LAYOUT_5_0_BACK, CEF_CHANNEL_LAYOUT_5_1_BACK, CEF_CHANNEL_LAYOUT_7_0, CEF_CHANNEL_LAYOUT_7_1, CEF_CHANNEL_LAYOUT_7_1_WIDE, CEF_CHANNEL_LAYOUT_STEREO_DOWNMIX, CEF_CHANNEL_LAYOUT_2POINT1, CEF_CHANNEL_LAYOUT_3_1, CEF_CHANNEL_LAYOUT_4_1, CEF_CHANNEL_LAYOUT_6_0, CEF_CHANNEL_LAYOUT_6_0_FRONT, CEF_CHANNEL_LAYOUT_HEXAGONAL, CEF_CHANNEL_LAYOUT_6_1, CEF_CHANNEL_LAYOUT_6_1_BACK, CEF_CHANNEL_LAYOUT_6_1_FRONT, + CEF_CHANNEL_LAYOUT_7_0_FRONT, CEF_CHANNEL_LAYOUT_7_1_WIDE_BACK, CEF_CHANNEL_LAYOUT_OCTAGONAL, CEF_CHANNEL_LAYOUT_DISCRETE, CEF_CHANNEL_LAYOUT_STEREO_AND_KEYBOARD_MIC, CEF_CHANNEL_LAYOUT_4_1_QUAD_SIDE, CEF_CHANNEL_LAYOUT_BITSTREAM, CEF_CHANNEL_LAYOUT_5_1_4_DOWNMIX, CEF_CHANNEL_LAYOUT_1_1, CEF_CHANNEL_LAYOUT_3_1_BACK, CEF_CHANNEL_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefCookieSameSite : unsigned int { CEF_COOKIE_SAME_SITE_UNSPECIFIED, CEF_COOKIE_SAME_SITE_NO_RESTRICTION, CEF_COOKIE_SAME_SITE_LAX_MODE, CEF_COOKIE_SAME_SITE_STRICT_MODE, CEF_COOKIE_SAME_SITE_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefPaintElementType : unsigned int { PET_VIEW, PET_POPUP }; + +enum DECLSPEC_DENUM TCefCursorType : unsigned int { CT_POINTER, CT_CROSS, CT_HAND, CT_IBEAM, CT_WAIT, CT_HELP, CT_EASTRESIZE, CT_NORTHRESIZE, CT_NORTHEASTRESIZE, CT_NORTHWESTRESIZE, CT_SOUTHRESIZE, CT_SOUTHEASTRESIZE, CT_SOUTHWESTRESIZE, CT_WESTRESIZE, CT_NORTHSOUTHRESIZE, CT_EASTWESTRESIZE, CT_NORTHEASTSOUTHWESTRESIZE, CT_NORTHWESTSOUTHEASTRESIZE, CT_COLUMNRESIZE, CT_ROWRESIZE, CT_MIDDLEPANNING, CT_EASTPANNING, CT_NORTHPANNING, CT_NORTHEASTPANNING, CT_NORTHWESTPANNING, CT_SOUTHPANNING, CT_SOUTHEASTPANNING, CT_SOUTHWESTPANNING, CT_WESTPANNING, CT_MOVE, CT_VERTICALTEXT, CT_CELL, CT_CONTEXTMENU, CT_ALIAS, CT_PROGRESS, CT_NODROP, CT_COPY, CT_NONE, CT_NOTALLOWED, CT_ZOOMIN, CT_ZOOMOUT, CT_GRAB, CT_GRABBING, CT_MIDDLE_PANNING_VERTICAL, + CT_MIDDLE_PANNING_HORIZONTAL, CT_CUSTOM, CT_DND_NONE, CT_DND_MOVE, CT_DND_COPY, CT_DND_LIN, CT_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefNavigationType : unsigned int { NAVIGATION_LINK_CLICKED, NAVIGATION_FORM_SUBMITTED, NAVIGATION_BACK_FORWARD, NAVIGATION_RELOAD, NAVIGATION_FORM_RESUBMITTED, NAVIGATION_OTHER, NAVIGATION_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefProcessId : unsigned int { PID_BROWSER, PID_RENDERER }; + +enum DECLSPEC_DENUM TCefThreadId : unsigned int { TID_UI, TID_FILE_BACKGROUND, TID_FILE_USER_VISIBLE, TID_FILE_USER_BLOCKING, TID_PROCESS_LAUNCHER, TID_IO, TID_RENDERER, TID_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefThreadPriority : unsigned int { TP_BACKGROUND, TP_NORMAL, TP_DISPLAY, TP_REALTIME_AUDIO, TP_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefMessageLoopType : unsigned int { ML_TYPE_DEFAULT, ML_TYPE_UI, ML_TYPE_IO, ML_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefCOMInitMode : unsigned int { COM_INIT_MODE_NONE, COM_INIT_MODE_STA, COM_INIT_MODE_MTA }; + +enum DECLSPEC_DENUM TCefMouseButtonType : unsigned int { MBT_LEFT, MBT_MIDDLE, MBT_RIGHT }; + +enum DECLSPEC_DENUM TCefReturnValue : unsigned int { RV_CANCEL, RV_CONTINUE, RV_CONTINUE_ASYNC }; + +enum DECLSPEC_DENUM TCefUrlRequestStatus : unsigned int { UR_UNKNOWN, UR_SUCCESS, UR_IO_PENDING, UR_CANCELED, UR_FAILED, UR_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefTerminationStatus : unsigned int { TS_ABNORMAL_TERMINATION, TS_PROCESS_WAS_KILLED, TS_PROCESS_CRASHED, TS_PROCESS_OOM, TS_LAUNCH_FAILED, TS_INTEGRITY_FAILURE, TS_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefPathKey : unsigned int { PK_DIR_CURRENT, PK_DIR_EXE, PK_DIR_MODULE, PK_DIR_TEMP, PK_FILE_EXE, PK_FILE_MODULE, PK_LOCAL_APP_DATA, PK_USER_DATA, PK_DIR_RESOURCES, PK_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefStorageType : unsigned int { ST_LOCALSTORAGE, ST_SESSIONSTORAGE }; + +enum DECLSPEC_DENUM TCefResponseFilterStatus : unsigned int { RESPONSE_FILTER_NEED_MORE_DATA, RESPONSE_FILTER_DONE, RESPONSE_FILTER_ERROR }; + +enum DECLSPEC_DENUM TCefAlphaType : unsigned int { CEF_ALPHA_TYPE_OPAQUE, CEF_ALPHA_TYPE_PREMULTIPLIED, CEF_ALPHA_TYPE_POSTMULTIPLIED }; + +enum DECLSPEC_DENUM TCefTextStyle : unsigned int { CEF_TEXT_STYLE_BOLD, CEF_TEXT_STYLE_ITALIC, CEF_TEXT_STYLE_STRIKE, CEF_TEXT_STYLE_DIAGONAL_STRIKE, CEF_TEXT_STYLE_UNDERLINE, CEF_TEXT_STYLE_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefAxisAlignment : unsigned int { CEF_AXIS_ALIGNMENT_START, CEF_AXIS_ALIGNMENT_CENTER, CEF_AXIS_ALIGNMENT_END, CEF_AXIS_ALIGNMENT_STRETCH, CEF_AXIS_ALIGNMENT_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefPdfPrintMarginType : unsigned int { PDF_PRINT_MARGIN_DEFAULT, PDF_PRINT_MARGIN_NONE, PDF_PRINT_MARGIN_CUSTOM }; + +enum DECLSPEC_DENUM TCefColorModel : unsigned int { COLOR_MODEL_UNKNOWN, COLOR_MODEL_GRAY, COLOR_MODEL_COLOR, COLOR_MODEL_CMYK, COLOR_MODEL_CMY, COLOR_MODEL_KCMY, COLOR_MODEL_CMY_K, COLOR_MODEL_BLACK, COLOR_MODEL_GRAYSCALE, COLOR_MODEL_RGB, COLOR_MODEL_RGB16, COLOR_MODEL_RGBA, COLOR_MODEL_COLORMODE_COLOR, COLOR_MODEL_COLORMODE_MONOCHROME, COLOR_MODEL_HP_COLOR_COLOR, COLOR_MODEL_HP_COLOR_BLACK, COLOR_MODEL_PRINTOUTMODE_NORMAL, COLOR_MODEL_PRINTOUTMODE_NORMAL_GRAY, COLOR_MODEL_PROCESSCOLORMODEL_CMYK, COLOR_MODEL_PROCESSCOLORMODEL_GREYSCALE, COLOR_MODEL_PROCESSCOLORMODEL_RGB, COLOR_MODEL_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefJsonParserOptions : unsigned int { JSON_PARSER_RFC, JSON_PARSER_ALLOW_TRAILING_COMMAS }; + +enum DECLSPEC_DENUM TCefXmlEncodingType : unsigned int { XML_ENCODING_NONE, XML_ENCODING_UTF8, XML_ENCODING_UTF16LE, XML_ENCODING_UTF16BE, XML_ENCODING_ASCII, XML_ENCODING_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefXmlNodeType : unsigned int { XML_NODE_UNSUPPORTED, XML_NODE_PROCESSING_INSTRUCTION, XML_NODE_DOCUMENT_TYPE, XML_NODE_ELEMENT_START, XML_NODE_ELEMENT_END, XML_NODE_ATTRIBUTE, XML_NODE_TEXT, XML_NODE_CDATA, XML_NODE_ENTITY_REFERENCE, XML_NODE_WHITESPACE, XML_NODE_COMMENT, XML_NODE_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefDomEventPhase : unsigned int { DOM_EVENT_PHASE_UNKNOWN, DOM_EVENT_PHASE_CAPTURING, DOM_EVENT_PHASE_AT_TARGET, DOM_EVENT_PHASE_BUBBLING, DOM_EVENT_PHASE_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefButtonState : unsigned int { CEF_BUTTON_STATE_NORMAL, CEF_BUTTON_STATE_HOVERED, CEF_BUTTON_STATE_PRESSED, CEF_BUTTON_STATE_DISABLED, CEF_BUTTON_STATE_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefHorizontalAlignment : unsigned int { CEF_HORIZONTAL_ALIGNMENT_LEFT, CEF_HORIZONTAL_ALIGNMENT_CENTER, CEF_HORIZONTAL_ALIGNMENT_RIGHT }; + +enum DECLSPEC_DENUM TCefMenuAnchorPosition : unsigned int { CEF_MENU_ANCHOR_TOPLEFT, CEF_MENU_ANCHOR_TOPRIGHT, CEF_MENU_ANCHOR_BOTTOMCENTER, CEF_MENU_ANCHOR_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefMenuColorType : unsigned int { CEF_MENU_COLOR_TEXT, CEF_MENU_COLOR_TEXT_HOVERED, CEF_MENU_COLOR_TEXT_ACCELERATOR, CEF_MENU_COLOR_TEXT_ACCELERATOR_HOVERED, CEF_MENU_COLOR_BACKGROUND, CEF_MENU_COLOR_BACKGROUND_HOVERED, CEF_MENU_COLOR_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefCompositionUnderlineStyle : unsigned int { CEF_CUS_SOLID, CEF_CUS_DOT, CEF_CUS_DASH, CEF_CUS_NONE, CEF_CUS_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefPermissionRequestResult : unsigned int { CEF_PERMISSION_RESULT_ACCEPT, CEF_PERMISSION_RESULT_DENY, CEF_PERMISSION_RESULT_DISMISS, CEF_PERMISSION_RESULT_IGNORE, CEF_PERMISSION_RESULT_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefPreferencesType : unsigned int { CEF_PREFERENCES_TYPE_GLOBAL, CEF_PREFERENCES_TYPE_REQUEST_CONTEXT, CEF_PREFERENCES_TYPE_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefGestureCommand : unsigned int { CEF_GESTURE_COMMAND_BACK, CEF_GESTURE_COMMAND_FORWARD }; + +enum DECLSPEC_DENUM TCefZoomCommand : unsigned int { CEF_ZOOM_COMMAND_OUT, CEF_ZOOM_COMMAND_RESET, CEF_ZOOM_COMMAND_IN }; + +enum DECLSPEC_DENUM TCefColorVariant : unsigned int { CEF_COLOR_VARIANT_SYSTEM, CEF_COLOR_VARIANT_LIGHT, CEF_COLOR_VARIANT_DARK, CEF_COLOR_VARIANT_TONAL_SPOT, CEF_COLOR_VARIANT_NEUTRAL, CEF_COLOR_VARIANT_VIBRANT, CEF_COLOR_VARIANT_EXPRESSIVE, CEF_COLOR_VARIANT_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefTestCertType : unsigned int { CEF_TEST_CERT_OK_IP, CEF_TEST_CERT_OK_DOMAIN, CEF_TEST_CERT_EXPIRED, CEF_TEST_CERT_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefChromePageActionIconType : unsigned int { CEF_CPAIT_BOOKMARK_STAR, CEF_CPAIT_CLICK_TO_CALL, CEF_CPAIT_COOKIE_CONTROLS, CEF_CPAIT_FILE_SYSTEM_ACCESS, CEF_CPAIT_FIND, CEF_CPAIT_MEMORY_SAVER, CEF_CPAIT_INTENT_PICKER, CEF_CPAIT_LOCAL_CARD_MIGRATION, CEF_CPAIT_MANAGE_PASSWORDS, CEF_CPAIT_PAYMENTS_OFFER_NOTIFICATION, CEF_CPAIT_PRICE_TRACKING, CEF_CPAIT_PWA_INSTALL, CEF_CPAIT_QR_CODE_GENERATOR_DEPRECATED, CEF_CPAIT_READER_MODE_DEPRECATED, CEF_CPAIT_SAVE_AUTOFILL_ADDRESS, CEF_CPAIT_SAVE_CARD, CEF_CPAIT_SEND_TAB_TO_SELF_DEPRECATED, CEF_CPAIT_SHARING_HUB, CEF_CPAIT_SIDE_SEARCH_DEPRECATED, CEF_CPAIT_SMS_REMOTE_FETCHER, CEF_CPAIT_TRANSLATE, CEF_CPAIT_VIRTUAL_CARD_ENROLL, CEF_CPAIT_VIRTUAL_CARD_INFORMATION, CEF_CPAIT_ZOOM, CEF_CPAIT_SAVE_IBAN, + CEF_CPAIT_MANDATORY_REAUTH, CEF_CPAIT_PRICE_INSIGHTS, CEF_CPAIT_READ_ANYTHING_DEPRECATED, CEF_CPAIT_PRODUCT_SPECIFICATIONS, CEF_CPAIT_LENS_OVERLAY, CEF_CPAIT_DISCOUNTS, CEF_CPAIT_OPTIMIZATION_GUIDE, CEF_CPAIT_COLLABORATION_MESSAGING, CEF_CPAIT_CHANGE_PASSWORD, CEF_CPAIT_LENS_OVERLAY_HOMEWORK, CEF_CPAIT_AI_MODE, CEF_CPAIT_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefTaskType : unsigned int { CEF_TASK_TYPE_UNKNOWN, CEF_TASK_TYPE_BROWSER, CEF_TASK_TYPE_GPU, CEF_TASK_TYPE_ZYGOTE, CEF_TASK_TYPE_UTILITY, CEF_TASK_TYPE_RENDERER, CEF_TASK_TYPE_EXTENSION, CEF_TASK_TYPE_GUEST, CEF_TASK_TYPE_PLUGIN_DEPRECATED, CEF_TASK_TYPE_SANDBOX_HELPER, CEF_TASK_TYPE_DEDICATED_WORKER, CEF_TASK_TYPE_SHARED_WORKER, CEF_TASK_TYPE_SERVICE_WORKER, CEF_TASK_TYPE_NUM_VALUES }; + +struct DECLSPEC_DRECORD TCefTaskInfo +{ +public: + System::NativeUInt size; + __int64 id; + TCefTaskType type_; + int is_killable; + TCefString title; + double cpu_usage; + int number_of_processors; + __int64 memory; + __int64 gpu_memory; + int is_gpu_memory_inflated; +}; + + +struct DECLSPEC_DRECORD TCustomTaskInfo +{ +public: + __int64 id; + TCefTaskType type_; + bool is_killable; + ustring title; + double cpu_usage; + int number_of_processors; + __int64 memory; + __int64 gpu_memory; + bool is_gpu_memory_inflated; +}; + + +enum DECLSPEC_DENUM TCefChromeToolbarButtonType : unsigned int { CEF_CTBT_CAST_DEPRECATED, CEF_CTBT_DOWNLOAD_DEPRECATED, CEF_CTBT_SEND_TAB_TO_SELF_DEPRECATED, CEF_CTBT_SIDE_PANEL_DEPRECATED, CEF_CTBT_MEDIA, CEF_CTBT_TAB_SEARCH, CEF_CTBT_BATTERY_SAVER, CEF_CTBT_AVATAR, CEF_CTBT_NUM_VALUES }; + +struct DECLSPEC_DRECORD TCefTouchHandleState +{ +public: + System::NativeUInt size; + int touch_handle_id; + unsigned flags; + int enabled; + TCefHorizontalAlignment orientation; + int mirror_vertical; + int mirror_horizontal; + TCefPoint origin; + float alpha; +}; + + +struct DECLSPEC_DRECORD TCefCompositionUnderline +{ +public: + System::NativeUInt size; + TCefRange range; + TCefColor color; + TCefColor background_color; + int thick; + TCefCompositionUnderlineStyle style; +}; + + +typedef System::DynamicArray TCefCompositionUnderlineDynArray; + +struct DECLSPEC_DRECORD TCefTime +{ +public: + int year; + int month; + int day_of_week; + int day_of_month; + int hour; + int minute; + int second; + int millisecond; +}; + + +struct DECLSPEC_DRECORD TCefBoxLayoutSettings +{ +public: + System::NativeUInt size; + int horizontal; + int inside_border_horizontal_spacing; + int inside_border_vertical_spacing; + TCefInsets inside_border_insets; + int between_child_spacing; + TCefAxisAlignment main_axis_alignment; + TCefAxisAlignment cross_axis_alignment; + int minimum_cross_axis_size; + int default_flex; +}; + + +struct DECLSPEC_DRECORD TCefSettings +{ +public: + System::NativeUInt size; + int no_sandbox; + TCefString browser_subprocess_path; + TCefString framework_dir_path; + TCefString main_bundle_path; + int multi_threaded_message_loop; + int external_message_pump; + int windowless_rendering_enabled; + int command_line_args_disabled; + TCefString cache_path; + TCefString root_cache_path; + int persist_session_cookies; + TCefString user_agent; + TCefString user_agent_product; + TCefString locale; + TCefString log_file; + TCefLogSeverity log_severity; + TCefLogItems log_items; + TCefString javascript_flags; + TCefString resources_dir_path; + TCefString locales_dir_path; + int remote_debugging_port; + int uncaught_exception_stack_size; + TCefColor background_color; + TCefString accept_language_list; + TCefString cookieable_schemes_list; + int cookieable_schemes_exclude_defaults; + TCefString chrome_policy_id; + int chrome_app_icon_id; + int disable_signal_handlers; +}; + + +enum DECLSPEC_DENUM TCefRuntimeStyle : unsigned int { CEF_RUNTIME_STYLE_DEFAULT, CEF_RUNTIME_STYLE_CHROME, CEF_RUNTIME_STYLE_ALLOY }; + +struct DECLSPEC_DRECORD TCefWindowInfo +{ +public: + System::NativeUInt size; + unsigned ex_style; + TCefString window_name; + unsigned style; + TCefRect bounds; + TCefWindowHandle parent_window; + HMENU menu; + int windowless_rendering_enabled; + int shared_texture_enabled; + int external_begin_frame_enabled; + TCefWindowHandle window; + TCefRuntimeStyle runtime_style; +}; + + +struct DECLSPEC_DRECORD TCefDraggableRegion +{ +public: + TCefRect bounds; + int draggable; +}; + + +struct DECLSPEC_DRECORD TCefKeyEvent +{ +public: + System::NativeUInt size; + TCefKeyEventType kind; + TCefEventFlags modifiers; + int windows_key_code; + int native_key_code; + int is_system_key; + System::WideChar character; + System::WideChar unmodified_character; + int focus_on_editable_field; +}; + + +struct DECLSPEC_DRECORD TCefPopupFeatures +{ +public: + System::NativeUInt size; + int x; + int xSet; + int y; + int ySet; + int width; + int widthSet; + int height; + int heightSet; + int isPopup; +}; + + +struct DECLSPEC_DRECORD TCefBrowserSettings +{ +public: + System::NativeUInt size; + int windowless_frame_rate; + TCefString standard_font_family; + TCefString fixed_font_family; + TCefString serif_font_family; + TCefString sans_serif_font_family; + TCefString cursive_font_family; + TCefString fantasy_font_family; + int default_font_size; + int default_fixed_font_size; + int minimum_font_size; + int minimum_logical_font_size; + TCefString default_encoding; + TCefState remote_fonts; + TCefState javascript; + TCefState javascript_close_windows; + TCefState javascript_access_clipboard; + TCefState javascript_dom_paste; + TCefState image_loading; + TCefState image_shrink_standalone_to_fit; + TCefState text_area_resize; + TCefState tab_to_links; + TCefState local_storage; + TCefState databases_deprecated; + TCefState webgl; + TCefColor background_color; + TCefState chrome_status_bubble; + TCefState chrome_zoom_bubble; +}; + + +struct DECLSPEC_DRECORD TCefScreenInfo +{ +public: + System::NativeUInt size; + float device_scale_factor; + int depth; + int depth_per_component; + int is_monochrome; + TCefRect rect; + TCefRect available_rect; +}; + + +struct DECLSPEC_DRECORD TCefRequestContextSettings +{ +public: + System::NativeUInt size; + TCefString cache_path; + int persist_session_cookies; + TCefString accept_language_list; + TCefString cookieable_schemes_list; + int cookieable_schemes_exclude_defaults; +}; + + +struct DECLSPEC_DRECORD TCefCookie +{ +public: + System::NativeUInt size; + TCefString name; + TCefString value; + TCefString domain; + TCefString path; + int secure; + int httponly; + TCefBaseTime creation; + TCefBaseTime last_access; + int has_expires; + TCefBaseTime expires; + TCefCookieSameSite same_site; + TCefCookiePriority priority; +}; + + +struct DECLSPEC_DRECORD TCookie +{ +public: + ustring name; + ustring value; + ustring domain; + ustring path; + System::TDateTime creation; + System::TDateTime last_access; + System::TDateTime expires; + bool secure; + bool httponly; + bool has_expires; + TCefCookieSameSite same_site; + TCefCookiePriority priority; +}; + + +struct DECLSPEC_DRECORD TCefPdfPrintSettings +{ +public: + System::NativeUInt size; + int landscape; + int print_background; + double scale; + double paper_width; + double paper_height; + int prefer_css_page_size; + TCefPdfPrintMarginType margin_type; + double margin_top; + double margin_right; + double margin_bottom; + double margin_left; + TCefString page_ranges; + int display_header_footer; + TCefString header_template; + TCefString footer_template; + int generate_tagged_pdf; + int generate_document_outline; +}; + + +struct DECLSPEC_DRECORD TCefMouseEvent +{ +public: + int x; + int y; + TCefEventFlags modifiers; +}; + + +struct DECLSPEC_DRECORD TCefTouchEvent +{ +public: + int id; + float x; + float y; + float radius_x; + float radius_y; + float rotation_angle; + float pressure; + TCefTouchEeventType type_; + TCefEventFlags modifiers; + TCefPointerType pointer_type; +}; + + +struct DECLSPEC_DRECORD TCefSimulatedTouchPoint +{ +public: + int id; + int x; + int y; + float radiusX; + float radiusY; + float rotationAngle; + float force; + float tangentialPressure; + int tiltX; + int tiltY; + int twist; +}; + + +typedef System::DynamicArray TCefSimulatedTouchPointArray; + +struct DECLSPEC_DRECORD TCefAudioParameters +{ +public: + System::NativeUInt size; + TCefChannelLayout channel_layout; + int sample_rate; + int frames_per_buffer; +}; + + +struct DECLSPEC_DRECORD TCefMediaSinkDeviceInfo +{ +public: + System::NativeUInt size; + TCefString ip_address; + int port; + TCefString model_name; +}; + + +enum DECLSPEC_DENUM TCefContentSettingTypes : unsigned int { CEF_CONTENT_SETTING_TYPE_COOKIES, CEF_CONTENT_SETTING_TYPE_IMAGES, CEF_CONTENT_SETTING_TYPE_JAVASCRIPT, CEF_CONTENT_SETTING_TYPE_POPUPS, CEF_CONTENT_SETTING_TYPE_GEOLOCATION, CEF_CONTENT_SETTING_TYPE_NOTIFICATIONS, CEF_CONTENT_SETTING_TYPE_AUTO_SELECT_CERTIFICATE, CEF_CONTENT_SETTING_TYPE_MIXEDSCRIPT, CEF_CONTENT_SETTING_TYPE_MEDIASTREAM_MIC, CEF_CONTENT_SETTING_TYPE_MEDIASTREAM_CAMERA, CEF_CONTENT_SETTING_TYPE_PROTOCOL_HANDLERS, CEF_CONTENT_SETTING_TYPE_DEPRECATED_PPAPI_BROKER, CEF_CONTENT_SETTING_TYPE_AUTOMATIC_DOWNLOADS, CEF_CONTENT_SETTING_TYPE_MIDI_SYSEX, CEF_CONTENT_SETTING_TYPE_SSL_CERT_DECISIONS, CEF_CONTENT_SETTING_TYPE_PROTECTED_MEDIA_IDENTIFIER, CEF_CONTENT_SETTING_TYPE_APP_BANNER, + CEF_CONTENT_SETTING_TYPE_SITE_ENGAGEMENT, CEF_CONTENT_SETTING_TYPE_DURABLE_STORAGE, CEF_CONTENT_SETTING_TYPE_USB_CHOOSER_DATA, CEF_CONTENT_SETTING_TYPE_BLUETOOTH_GUARD, CEF_CONTENT_SETTING_TYPE_BACKGROUND_SYNC, CEF_CONTENT_SETTING_TYPE_AUTOPLAY, CEF_CONTENT_SETTING_TYPE_IMPORTANT_SITE_INFO, CEF_CONTENT_SETTING_TYPE_PERMISSION_AUTOBLOCKER_DATA, CEF_CONTENT_SETTING_TYPE_ADS, CEF_CONTENT_SETTING_TYPE_ADS_DATA, CEF_CONTENT_SETTING_TYPE_MIDI, CEF_CONTENT_SETTING_TYPE_PASSWORD_PROTECTION, CEF_CONTENT_SETTING_TYPE_MEDIA_ENGAGEMENT, CEF_CONTENT_SETTING_TYPE_SOUND, CEF_CONTENT_SETTING_TYPE_CLIENT_HINTS, CEF_CONTENT_SETTING_TYPE_SENSORS, CEF_CONTENT_SETTING_TYPE_DEPRECATED_ACCESSIBILITY_EVENTS, CEF_CONTENT_SETTING_TYPE_PAYMENT_HANDLER, + CEF_CONTENT_SETTING_TYPE_USB_GUARD, CEF_CONTENT_SETTING_TYPE_BACKGROUND_FETCH, CEF_CONTENT_SETTING_TYPE_INTENT_PICKER_DISPLAY, CEF_CONTENT_SETTING_TYPE_IDLE_DETECTION, CEF_CONTENT_SETTING_TYPE_SERIAL_GUARD, CEF_CONTENT_SETTING_TYPE_SERIAL_CHOOSER_DATA, CEF_CONTENT_SETTING_TYPE_PERIODIC_BACKGROUND_SYNC, CEF_CONTENT_SETTING_TYPE_BLUETOOTH_SCANNING, CEF_CONTENT_SETTING_TYPE_HID_GUARD, CEF_CONTENT_SETTING_TYPE_HID_CHOOSER_DATA, CEF_CONTENT_SETTING_TYPE_WAKE_LOCK_SCREEN, CEF_CONTENT_SETTING_TYPE_WAKE_LOCK_SYSTEM, CEF_CONTENT_SETTING_TYPE_LEGACY_COOKIE_ACCESS, CEF_CONTENT_SETTING_TYPE_FILE_SYSTEM_WRITE_GUARD, CEF_CONTENT_SETTING_TYPE_NFC, CEF_CONTENT_SETTING_TYPE_BLUETOOTH_CHOOSER_DATA, CEF_CONTENT_SETTING_TYPE_CLIPBOARD_READ_WRITE, + CEF_CONTENT_SETTING_TYPE_CLIPBOARD_SANITIZED_WRITE, CEF_CONTENT_SETTING_TYPE_SAFE_BROWSING_URL_CHECK_DATA, CEF_CONTENT_SETTING_TYPE_VR, CEF_CONTENT_SETTING_TYPE_AR, CEF_CONTENT_SETTING_TYPE_FILE_SYSTEM_READ_GUARD, CEF_CONTENT_SETTING_TYPE_STORAGE_ACCESS, CEF_CONTENT_SETTING_TYPE_CAMERA_PAN_TILT_ZOOM, CEF_CONTENT_SETTING_TYPE_WINDOW_MANAGEMENT, CEF_CONTENT_SETTING_TYPE_INSECURE_PRIVATE_NETWORK_DEPRECATED, CEF_CONTENT_SETTING_TYPE_LOCAL_FONTS, CEF_CONTENT_SETTING_TYPE_PERMISSION_AUTOREVOCATION_DATA, CEF_CONTENT_SETTING_TYPE_FILE_SYSTEM_LAST_PICKED_DIRECTORY, CEF_CONTENT_SETTING_TYPE_DISPLAY_CAPTURE, CEF_CONTENT_SETTING_TYPE_FILE_SYSTEM_ACCESS_CHOOSER_DATA, CEF_CONTENT_SETTING_TYPE_FEDERATED_IDENTITY_SHARING, CEF_CONTENT_SETTING_TYPE_JAVASCRIPT_JIT, + CEF_CONTENT_SETTING_TYPE_HTTP_ALLOWED, CEF_CONTENT_SETTING_TYPE_FORMFILL_METADATA, CEF_CONTENT_SETTING_TYPE_DEPRECATED_FEDERATED_IDENTITY_ACTIVE_SESSION, CEF_CONTENT_SETTING_TYPE_AUTO_DARK_WEB_CONTENT, CEF_CONTENT_SETTING_TYPE_REQUEST_DESKTOP_SITE, CEF_CONTENT_SETTING_TYPE_FEDERATED_IDENTITY_API, CEF_CONTENT_SETTING_TYPE_NOTIFICATION_INTERACTIONS, CEF_CONTENT_SETTING_TYPE_REDUCED_ACCEPT_LANGUAGE, CEF_CONTENT_SETTING_TYPE_NOTIFICATION_PERMISSION_REVIEW, CEF_CONTENT_SETTING_TYPE_PRIVATE_NETWORK_GUARD_DEPRECATED, CEF_CONTENT_SETTING_TYPE_PRIVATE_NETWORK_CHOOSER_DATA_DEPRECATED, CEF_CONTENT_SETTING_TYPE_FEDERATED_IDENTITY_IDENTITY_PROVIDER_SIGNIN_STATUS, CEF_CONTENT_SETTING_TYPE_REVOKED_UNUSED_SITE_PERMISSIONS, CEF_CONTENT_SETTING_TYPE_TOP_LEVEL_STORAGE_ACCESS, + CEF_CONTENT_SETTING_TYPE_FEDERATED_IDENTITY_AUTO_REAUTHN_PERMISSION, CEF_CONTENT_SETTING_TYPE_FEDERATED_IDENTITY_IDENTITY_PROVIDER_REGISTRATION, CEF_CONTENT_SETTING_TYPE_ANTI_ABUSE, CEF_CONTENT_SETTING_TYPE_THIRD_PARTY_STORAGE_PARTITIONING, CEF_CONTENT_SETTING_TYPE_HTTPS_ENFORCED, CEF_CONTENT_SETTING_TYPE_ALL_SCREEN_CAPTURE, CEF_CONTENT_SETTING_TYPE_COOKIE_CONTROLS_METADATA, CEF_CONTENT_SETTING_TYPE_TPCD_HEURISTICS_GRANTS, CEF_CONTENT_SETTING_TYPE_TPCD_METADATA_GRANTS, CEF_CONTENT_SETTING_TYPE_TPCD_TRIAL, CEF_CONTENT_SETTING_TYPE_TOP_LEVEL_TPCD_TRIAL, CEF_CONTENT_SETTING_TYPE_TOP_LEVEL_TPCD_ORIGIN_TRIAL, CEF_CONTENT_SETTING_TYPE_AUTO_PICTURE_IN_PICTURE, CEF_CONTENT_SETTING_TYPE_FILE_SYSTEM_ACCESS_EXTENDED_PERMISSION, + CEF_CONTENT_SETTING_TYPE_FILE_SYSTEM_ACCESS_RESTORE_PERMISSION, CEF_CONTENT_SETTING_TYPE_CAPTURED_SURFACE_CONTROL, CEF_CONTENT_SETTING_TYPE_SMART_CARD_GUARD, CEF_CONTENT_SETTING_TYPE_SMART_CARD_DATA, CEF_CONTENT_SETTING_TYPE_WEB_PRINTING, CEF_CONTENT_SETTING_TYPE_AUTOMATIC_FULLSCREEN, CEF_CONTENT_SETTING_TYPE_SUB_APP_INSTALLATION_PROMPTS, CEF_CONTENT_SETTING_TYPE_SPEAKER_SELECTION, CEF_CONTENT_SETTING_TYPE_DIRECT_SOCKETS, CEF_CONTENT_SETTING_TYPE_KEYBOARD_LOCK, CEF_CONTENT_SETTING_TYPE_POINTER_LOCK, CEF_CONTENT_SETTING_TYPE_REVOKED_ABUSIVE_NOTIFICATION_PERMISSIONS, CEF_CONTENT_SETTING_TYPE_TRACKING_PROTECTION, CEF_CONTENT_SETTING_TYPE_DISPLAY_MEDIA_SYSTEM_AUDIO, CEF_CONTENT_SETTING_TYPE_JAVASCRIPT_OPTIMIZER, + CEF_CONTENT_SETTING_TYPE_STORAGE_ACCESS_HEADER_ORIGIN_TRIAL, CEF_CONTENT_SETTING_TYPE_HAND_TRACKING, CEF_CONTENT_SETTING_TYPE_WEB_APP_INSTALLATION, CEF_CONTENT_SETTING_TYPE_DIRECT_SOCKETS_PRIVATE_NETWORK_ACCESS, CEF_CONTENT_SETTING_TYPE_LEGACY_COOKIE_SCOPE, CEF_CONTENT_SETTING_TYPE_ARE_SUSPICIOUS_NOTIFICATIONS_ALLOWLISTED_BY_USER, CEF_CONTENT_SETTING_TYPE_CONTROLLED_FRAME, CEF_CONTENT_SETTING_TYPE_REVOKED_DISRUPTIVE_NOTIFICATION_PERMISSIONS, CEF_CONTENT_SETTING_TYPE_LOCAL_NETWORK_ACCESS, CEF_CONTENT_SETTING_TYPE_ON_DEVICE_SPEECH_RECOGNITION_LANGUAGES_DOWNLOADED, CEF_CONTENT_SETTING_TYPE_INITIALIZED_TRANSLATIONS, CEF_CONTENT_SETTING_TYPE_SUSPICIOUS_NOTIFICATION_IDS, CEF_CONTENT_SETTING_TYPE_GEOLOCATION_WITH_OPTIONS, CEF_CONTENT_SETTING_TYPE_DEVICE_ATTRIBUTES, + CEF_CONTENT_SETTING_TYPE_PERMISSION_ACTIONS_HISTORY, CEF_CONTENT_SETTING_TYPE_SUSPICIOUS_NOTIFICATION_SHOW_ORIGINAL, CEF_CONTENT_SETTING_TYPE_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefContentSettingValues : unsigned int { CEF_CONTENT_SETTING_VALUE_DEFAULT, CEF_CONTENT_SETTING_VALUE_ALLOW, CEF_CONTENT_SETTING_VALUE_BLOCK, CEF_CONTENT_SETTING_VALUE_ASK, CEF_CONTENT_SETTING_VALUE_SESSION_ONLY, CEF_CONTENT_SETTING_VALUE_DETECT_IMPORTANT_CONTENT_DEPRECATED, CEF_CONTENT_SETTING_VALUE_NUM_VALUES }; + +struct DECLSPEC_DRECORD TCefBaseRefCounted +{ +public: + System::NativeUInt size; + void __stdcall (*add_ref)(PCefBaseRefCounted self); + int __stdcall (*release)(PCefBaseRefCounted self); + int __stdcall (*has_one_ref)(PCefBaseRefCounted self); + int __stdcall (*has_at_least_one_ref)(PCefBaseRefCounted self); +}; + + +struct DECLSPEC_DRECORD TCefBaseScoped +{ +public: + System::NativeUInt size; + void __stdcall (*del)(PCefBaseScoped self); +}; + + +struct DECLSPEC_DRECORD TCefStreamWriter +{ +public: + TCefBaseRefCounted base; + unsigned __stdcall (*write)(PCefStreamWriter self, const void * ptr, System::NativeUInt size, System::NativeUInt n); + int __stdcall (*seek)(PCefStreamWriter self, __int64 offset, int whence); + __int64 __stdcall (*tell)(PCefStreamWriter self); + int __stdcall (*flush)(PCefStreamWriter self); + int __stdcall (*may_block)(PCefStreamWriter self); +}; + + +struct DECLSPEC_DRECORD TCefX509CertPrincipal +{ +public: + TCefBaseRefCounted base; + PCefStringUserFreeUtf16 __stdcall (*get_display_name)(PCefX509CertPrincipal self); + PCefStringUserFreeUtf16 __stdcall (*get_common_name)(PCefX509CertPrincipal self); + PCefStringUserFreeUtf16 __stdcall (*get_locality_name)(PCefX509CertPrincipal self); + PCefStringUserFreeUtf16 __stdcall (*get_state_or_province_name)(PCefX509CertPrincipal self); + PCefStringUserFreeUtf16 __stdcall (*get_country_name)(PCefX509CertPrincipal self); + void __stdcall (*get_organization_names)(PCefX509CertPrincipal self, TCefStringList names); + void __stdcall (*get_organization_unit_names)(PCefX509CertPrincipal self, TCefStringList names); +}; + + +struct DECLSPEC_DRECORD TCefX509Certificate +{ +public: + TCefBaseRefCounted base; + PCefX509CertPrincipal __stdcall (*get_subject)(PCefX509Certificate self); + PCefX509CertPrincipal __stdcall (*get_issuer)(PCefX509Certificate self); + PCefBinaryValue __stdcall (*get_serial_number)(PCefX509Certificate self); + TCefBaseTime __stdcall (*get_valid_start)(PCefX509Certificate self); + TCefBaseTime __stdcall (*get_valid_expiry)(PCefX509Certificate self); + PCefBinaryValue __stdcall (*get_derencoded)(PCefX509Certificate self); + PCefBinaryValue __stdcall (*get_pemencoded)(PCefX509Certificate self); + unsigned __stdcall (*get_issuer_chain_size)(PCefX509Certificate self); + void __stdcall (*get_derencoded_issuer_chain)(PCefX509Certificate self, System::NativeUInt &chainCount, PCefBinaryValue &chain); + void __stdcall (*get_pemencoded_issuer_chain)(PCefX509Certificate self, System::NativeUInt &chainCount, PCefBinaryValue &chain); +}; + + +struct DECLSPEC_DRECORD TCefSslInfo +{ +public: + TCefBaseRefCounted base; + TCefCertStatus __stdcall (*get_cert_status)(PCefSslInfo self); + PCefX509Certificate __stdcall (*get_x509certificate)(PCefSslInfo self); +}; + + +struct DECLSPEC_DRECORD TCefSSLStatus +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_secure_connection)(PCefSSLStatus self); + TCefCertStatus __stdcall (*get_cert_status)(PCefSSLStatus self); + TCefSSLVersion __stdcall (*get_sslversion)(PCefSSLStatus self); + TCefSSLContentStatus __stdcall (*get_content_status)(PCefSSLStatus self); + PCefX509Certificate __stdcall (*get_x509_certificate)(PCefSSLStatus self); +}; + + +struct DECLSPEC_DRECORD TCefSelectClientCertificateCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*select)(PCefSelectClientCertificateCallback self, PCefX509Certificate cert); +}; + + +struct DECLSPEC_DRECORD TCefRunContextMenuCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*cont)(PCefRunContextMenuCallback self, int command_id, TCefEventFlags event_flags); + void __stdcall (*cancel)(PCefRunContextMenuCallback self); +}; + + +struct DECLSPEC_DRECORD TCefFileDialogCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*cont)(PCefFileDialogCallback self, TCefStringList file_paths); + void __stdcall (*cancel)(PCefFileDialogCallback self); +}; + + +struct DECLSPEC_DRECORD TCefUnresponsiveProcessCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*wait)(PCefUnresponsiveProcessCallback self); + void __stdcall (*terminate)(PCefUnresponsiveProcessCallback self); +}; + + +struct DECLSPEC_DRECORD TCefDialogHandler +{ +public: + TCefBaseRefCounted base; + int __stdcall (*on_file_dialog)(PCefDialogHandler self, PCefBrowser browser, TCefFileDialogMode mode, const PCefString title, const PCefString default_file_path, TCefStringList accept_filters, TCefStringList accept_extensions, TCefStringList accept_descriptions, PCefFileDialogCallback callback); +}; + + +struct DECLSPEC_DRECORD TCefDisplayHandler +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_address_change)(PCefDisplayHandler self, PCefBrowser browser, PCefFrame frame, const PCefString url); + void __stdcall (*on_title_change)(PCefDisplayHandler self, PCefBrowser browser, const PCefString title); + void __stdcall (*on_favicon_urlchange)(PCefDisplayHandler self, PCefBrowser browser, TCefStringList icon_urls); + void __stdcall (*on_fullscreen_mode_change)(PCefDisplayHandler self, PCefBrowser browser, int fullscreen); + int __stdcall (*on_tooltip)(PCefDisplayHandler self, PCefBrowser browser, PCefString text); + void __stdcall (*on_status_message)(PCefDisplayHandler self, PCefBrowser browser, const PCefString value); + int __stdcall (*on_console_message)(PCefDisplayHandler self, PCefBrowser browser, TCefLogSeverity level, const PCefString message_, const PCefString source, int line); + int __stdcall (*on_auto_resize)(PCefDisplayHandler self, PCefBrowser browser, const PCefSize new_size); + void __stdcall (*on_loading_progress_change)(PCefDisplayHandler self, PCefBrowser browser, double progress); + int __stdcall (*on_cursor_change)(PCefDisplayHandler self, PCefBrowser browser, TCefCursorHandle cursor, TCefCursorType type_, const PCefCursorInfo custom_cursor_info); + void __stdcall (*on_media_access_change)(PCefDisplayHandler self, PCefBrowser browser, int has_video_access, int has_audio_access); + int __stdcall (*on_contents_bounds_change)(PCefDisplayHandler self, PCefBrowser browser, const PCefRect new_bounds); + int __stdcall (*get_root_window_screen_rect)(PCefDisplayHandler self, PCefBrowser browser, PCefRect rect); +}; + + +struct DECLSPEC_DRECORD TCefDownloadHandler +{ +public: + TCefBaseRefCounted base; + int __stdcall (*can_download)(PCefDownloadHandler self, PCefBrowser browser, const PCefString url, const PCefString request_method); + int __stdcall (*on_before_download)(PCefDownloadHandler self, PCefBrowser browser, PCefDownloadItem download_item, const PCefString suggested_name, PCefBeforeDownloadCallback callback); + void __stdcall (*on_download_updated)(PCefDownloadHandler self, PCefBrowser browser, PCefDownloadItem download_item, PCefDownloadItemCallback callback); +}; + + +struct DECLSPEC_DRECORD TCefDragHandler +{ +public: + TCefBaseRefCounted base; + int __stdcall (*on_drag_enter)(PCefDragHandler self, PCefBrowser browser, PCefDragData dragData, TCefDragOperations mask); + void __stdcall (*on_draggable_regions_changed)(PCefDragHandler self, PCefBrowser browser, PCefFrame frame, System::NativeUInt regionsCount, const PCefDraggableRegionArray regions); +}; + + +struct DECLSPEC_DRECORD TCefFindHandler +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_find_result)(PCefFindHandler self, PCefBrowser browser, int identifier, int count, const PCefRect selection_rect, int active_match_ordinal, int final_update); +}; + + +struct DECLSPEC_DRECORD TCefFocusHandler +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_take_focus)(PCefFocusHandler self, PCefBrowser browser, int next); + int __stdcall (*on_set_focus)(PCefFocusHandler self, PCefBrowser browser, TCefFocusSource source); + void __stdcall (*on_got_focus)(PCefFocusHandler self, PCefBrowser browser); +}; + + +struct DECLSPEC_DRECORD TCefJsDialogHandler +{ +public: + TCefBaseRefCounted base; + int __stdcall (*on_jsdialog)(PCefJsDialogHandler self, PCefBrowser browser, const PCefString origin_url, TCefJsDialogType dialog_type, const PCefString message_text, const PCefString default_prompt_text, PCefJsDialogCallback callback, System::PInteger suppress_message); + int __stdcall (*on_before_unload_dialog)(PCefJsDialogHandler self, PCefBrowser browser, const PCefString message_text, int is_reload, PCefJsDialogCallback callback); + void __stdcall (*on_reset_dialog_state)(PCefJsDialogHandler self, PCefBrowser browser); + void __stdcall (*on_dialog_closed)(PCefJsDialogHandler self, PCefBrowser browser); +}; + + +struct DECLSPEC_DRECORD TCefJsDialogCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*cont)(PCefJsDialogCallback self, int success, const PCefString user_input); +}; + + +struct DECLSPEC_DRECORD TCefKeyboardHandler +{ +public: + TCefBaseRefCounted base; + int __stdcall (*on_pre_key_event)(PCefKeyboardHandler self, PCefBrowser browser, const PCefKeyEvent event, TCefEventHandle os_event, System::PInteger is_keyboard_shortcut); + int __stdcall (*on_key_event)(PCefKeyboardHandler self, PCefBrowser browser, const PCefKeyEvent event, TCefEventHandle os_event); +}; + + +struct DECLSPEC_DRECORD TCefLifeSpanHandler +{ +public: + TCefBaseRefCounted base; + int __stdcall (*on_before_popup)(PCefLifeSpanHandler self, PCefBrowser browser, PCefFrame frame, int popup_id, const PCefString target_url, const PCefString target_frame_name, TCefWindowOpenDisposition target_disposition, int user_gesture, const PCefPopupFeatures popupFeatures, PCefWindowInfo windowInfo, PCefClient &client, PCefBrowserSettings settings, PCefDictionaryValue &extra_info, System::PInteger no_javascript_access); + void __stdcall (*on_before_popup_aborted)(PCefLifeSpanHandler self, PCefBrowser browser, int popup_id); + void __stdcall (*on_before_dev_tools_popup)(PCefLifeSpanHandler self, PCefBrowser browser, PCefWindowInfo windowInfo, PCefClient &client, PCefBrowserSettings settings, PCefDictionaryValue &extra_info, System::PInteger use_default_window); + void __stdcall (*on_after_created)(PCefLifeSpanHandler self, PCefBrowser browser); + int __stdcall (*do_close)(PCefLifeSpanHandler self, PCefBrowser browser); + void __stdcall (*on_before_close)(PCefLifeSpanHandler self, PCefBrowser browser); +}; + + +struct DECLSPEC_DRECORD TCefRegistration +{ +public: + TCefBaseRefCounted base; +}; + + +struct DECLSPEC_DRECORD TCefDevToolsMessageObserver +{ +public: + TCefBaseRefCounted base; + int __stdcall (*on_dev_tools_message)(PCefDevToolsMessageObserver self, PCefBrowser browser, const void * message_, System::NativeUInt message_size); + void __stdcall (*on_dev_tools_method_result)(PCefDevToolsMessageObserver self, PCefBrowser browser, int message_id, int success, const void * result, System::NativeUInt result_size); + void __stdcall (*on_dev_tools_event)(PCefDevToolsMessageObserver self, PCefBrowser browser, const PCefString method, const void * params, System::NativeUInt params_size); + void __stdcall (*on_dev_tools_agent_attached)(PCefDevToolsMessageObserver self, PCefBrowser browser); + void __stdcall (*on_dev_tools_agent_detached)(PCefDevToolsMessageObserver self, PCefBrowser browser); +}; + + +struct DECLSPEC_DRECORD TCefMediaRouter +{ +public: + TCefBaseRefCounted base; + PCefRegistration __stdcall (*add_observer)(PCefMediaRouter self, PCefMediaObserver observer); + PCefMediaSource __stdcall (*get_source)(PCefMediaRouter self, const PCefString urn); + void __stdcall (*notify_current_sinks)(PCefMediaRouter self); + void __stdcall (*create_route)(PCefMediaRouter self, PCefMediaSource source, PCefMediaSink sink, PCefMediaRouteCreateCallback callback); + void __stdcall (*notify_current_routes)(PCefMediaRouter self); +}; + + +struct DECLSPEC_DRECORD TCefMediaObserver +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_sinks)(PCefMediaObserver self, System::NativeUInt sinksCount, const PPCefMediaSink sinks); + void __stdcall (*on_routes)(PCefMediaObserver self, System::NativeUInt routesCount, const PPCefMediaRoute routes); + void __stdcall (*on_route_state_changed)(PCefMediaObserver self, PCefMediaRoute route, TCefMediaRouteConnectionState state); + void __stdcall (*on_route_message_received)(PCefMediaObserver self, PCefMediaRoute route, const void * message_, System::NativeUInt message_size); +}; + + +struct DECLSPEC_DRECORD TCefMediaRoute +{ +public: + TCefBaseRefCounted base; + PCefStringUserFreeUtf16 __stdcall (*get_id)(PCefMediaRoute self); + PCefMediaSource __stdcall (*get_source)(PCefMediaRoute self); + PCefMediaSink __stdcall (*get_sink)(PCefMediaRoute self); + void __stdcall (*send_route_message)(PCefMediaRoute self, const void * message_, System::NativeUInt message_size); + void __stdcall (*terminate)(PCefMediaRoute self); +}; + + +struct DECLSPEC_DRECORD TCefMediaRouteCreateCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_media_route_create_finished)(PCefMediaRouteCreateCallback self, TCefMediaRouterCreateResult result, const PCefString error, PCefMediaRoute route); +}; + + +struct DECLSPEC_DRECORD TCefMediaSink +{ +public: + TCefBaseRefCounted base; + PCefStringUserFreeUtf16 __stdcall (*get_id)(PCefMediaSink self); + PCefStringUserFreeUtf16 __stdcall (*get_name)(PCefMediaSink self); + TCefMediaSinkIconType __stdcall (*get_icon_type)(PCefMediaSink self); + void __stdcall (*get_device_info)(PCefMediaSink self, PCefMediaSinkDeviceInfoCallback callback); + int __stdcall (*is_cast_sink)(PCefMediaSink self); + int __stdcall (*is_dial_sink)(PCefMediaSink self); + int __stdcall (*is_compatible_with)(PCefMediaSink self, PCefMediaSource source); +}; + + +struct DECLSPEC_DRECORD TCefMediaSinkDeviceInfoCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_media_sink_device_info)(PCefMediaSinkDeviceInfoCallback self, PCefMediaSinkDeviceInfo device_info); +}; + + +struct DECLSPEC_DRECORD TCefMediaSource +{ +public: + TCefBaseRefCounted base; + PCefStringUserFreeUtf16 __stdcall (*get_id)(PCefMediaSource self); + int __stdcall (*is_cast_source)(PCefMediaSource self); + int __stdcall (*is_dial_source)(PCefMediaSource self); +}; + + +struct DECLSPEC_DRECORD TCefAudioHandler +{ +public: + TCefBaseRefCounted base; + int __stdcall (*get_audio_parameters)(PCefAudioHandler self, PCefBrowser browser, PCefAudioParameters params); + void __stdcall (*on_audio_stream_started)(PCefAudioHandler self, PCefBrowser browser, const PCefAudioParameters params, int channels); + void __stdcall (*on_audio_stream_packet)(PCefAudioHandler self, PCefBrowser browser, const PPSingle data, int frames, __int64 pts); + void __stdcall (*on_audio_stream_stopped)(PCefAudioHandler self, PCefBrowser browser); + void __stdcall (*on_audio_stream_error)(PCefAudioHandler self, PCefBrowser browser, const PCefString message_); +}; + + +struct DECLSPEC_DRECORD TCefLoadHandler +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_loading_state_change)(PCefLoadHandler self, PCefBrowser browser, int isLoading, int canGoBack, int canGoForward); + void __stdcall (*on_load_start)(PCefLoadHandler self, PCefBrowser browser, PCefFrame frame, TCefTransitionType transition_type); + void __stdcall (*on_load_end)(PCefLoadHandler self, PCefBrowser browser, PCefFrame frame, int httpStatusCode); + void __stdcall (*on_load_error)(PCefLoadHandler self, PCefBrowser browser, PCefFrame frame, TCefErrorCode errorCode, const PCefString errorText, const PCefString failedUrl); +}; + + +struct DECLSPEC_DRECORD TCefRenderHandler +{ +public: + TCefBaseRefCounted base; + PCefAccessibilityHandler __stdcall (*get_accessibility_handler)(PCefRenderHandler self); + int __stdcall (*get_root_screen_rect)(PCefRenderHandler self, PCefBrowser browser, PCefRect rect); + void __stdcall (*get_view_rect)(PCefRenderHandler self, PCefBrowser browser, PCefRect rect); + int __stdcall (*get_screen_point)(PCefRenderHandler self, PCefBrowser browser, int viewX, int viewY, System::PInteger screenX, System::PInteger screenY); + int __stdcall (*get_screen_info)(PCefRenderHandler self, PCefBrowser browser, PCefScreenInfo screen_info); + void __stdcall (*on_popup_show)(PCefRenderHandler self, PCefBrowser browser, int show); + void __stdcall (*on_popup_size)(PCefRenderHandler self, PCefBrowser browser, const PCefRect rect); + void __stdcall (*on_paint)(PCefRenderHandler self, PCefBrowser browser, TCefPaintElementType type_, System::NativeUInt dirtyRectsCount, const PCefRectArray dirtyRects, const void * buffer, int width, int height); + void __stdcall (*on_accelerated_paint)(PCefRenderHandler self, PCefBrowser browser, TCefPaintElementType type_, System::NativeUInt dirtyRectsCount, const PCefRectArray dirtyRects, const PCefAcceleratedPaintInfo info); + void __stdcall (*get_touch_handle_size)(PCefRenderHandler self, PCefBrowser browser, TCefHorizontalAlignment orientation, PCefSize size); + void __stdcall (*on_touch_handle_state_changed)(PCefRenderHandler self, PCefBrowser browser, const PCefTouchHandleState state); + int __stdcall (*start_dragging)(PCefRenderHandler self, PCefBrowser browser, PCefDragData drag_data, TCefDragOperations allowed_ops, int x, int y); + void __stdcall (*update_drag_cursor)(PCefRenderHandler self, PCefBrowser browser, TCefDragOperation operation); + void __stdcall (*on_scroll_offset_changed)(PCefRenderHandler self, PCefBrowser browser, double x, double y); + void __stdcall (*on_ime_composition_range_changed)(PCefRenderHandler self, PCefBrowser browser, const PCefRange selected_range, System::NativeUInt character_boundsCount, const PCefRect character_bounds); + void __stdcall (*on_text_selection_changed)(PCefRenderHandler self, PCefBrowser browser, const PCefString selected_text, const PCefRange selected_range); + void __stdcall (*on_virtual_keyboard_requested)(PCefRenderHandler self, PCefBrowser browser, TCefTextInpuMode input_mode); +}; + + +struct DECLSPEC_DRECORD TCefPreferenceRegistrar +{ +public: + TCefBaseScoped base; + int __stdcall (*add_preference)(PCefPreferenceRegistrar self, const PCefString name, PCefValue default_value); +}; + + +struct DECLSPEC_DRECORD TCefPreferenceObserver +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_preference_changed)(PCefPreferenceObserver self, const PCefString name); +}; + + +struct DECLSPEC_DRECORD TCefPreferenceManager +{ +public: + TCefBaseRefCounted base; + int __stdcall (*has_preference)(PCefPreferenceManager self, const PCefString name); + PCefValue __stdcall (*get_preference)(PCefPreferenceManager self, const PCefString name); + PCefDictionaryValue __stdcall (*get_all_preferences)(PCefPreferenceManager self, int include_defaults); + int __stdcall (*can_set_preference)(PCefPreferenceManager self, const PCefString name); + int __stdcall (*set_preference)(PCefPreferenceManager self, const PCefString name, PCefValue value, PCefString error); + PCefRegistration __stdcall (*add_preference_observer)(PCefPreferenceManager self, const PCefString name, PCefPreferenceObserver observer); +}; + + +struct DECLSPEC_DRECORD TCefV8StackTrace +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_valid)(PCefV8StackTrace self); + int __stdcall (*get_frame_count)(PCefV8StackTrace self); + PCefV8StackFrame __stdcall (*get_frame)(PCefV8StackTrace self, int index); +}; + + +struct DECLSPEC_DRECORD TCefV8StackFrame +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_valid)(PCefV8StackFrame self); + PCefStringUserFreeUtf16 __stdcall (*get_script_name)(PCefV8StackFrame self); + PCefStringUserFreeUtf16 __stdcall (*get_script_name_or_source_url)(PCefV8StackFrame self); + PCefStringUserFreeUtf16 __stdcall (*get_function_name)(PCefV8StackFrame self); + int __stdcall (*get_line_number)(PCefV8StackFrame self); + int __stdcall (*get_column)(PCefV8StackFrame self); + int __stdcall (*is_eval)(PCefV8StackFrame self); + int __stdcall (*is_constructor)(PCefV8StackFrame self); +}; + + +struct DECLSPEC_DRECORD TCefStreamReader +{ +public: + TCefBaseRefCounted base; + unsigned __stdcall (*read)(PCefStreamReader self, void * ptr, System::NativeUInt size, System::NativeUInt n); + int __stdcall (*seek)(PCefStreamReader self, __int64 offset, int whence); + __int64 __stdcall (*tell)(PCefStreamReader self); + int __stdcall (*eof)(PCefStreamReader self); + int __stdcall (*may_block)(PCefStreamReader self); +}; + + +struct DECLSPEC_DRECORD TCefReadHandler +{ +public: + TCefBaseRefCounted base; + unsigned __stdcall (*read)(PCefReadHandler self, void * ptr, System::NativeUInt size, System::NativeUInt n); + int __stdcall (*seek)(PCefReadHandler self, __int64 offset, int whence); + __int64 __stdcall (*tell)(PCefReadHandler self); + int __stdcall (*eof)(PCefReadHandler self); + int __stdcall (*may_block)(PCefReadHandler self); +}; + + +struct DECLSPEC_DRECORD TCefWriteHandler +{ +public: + TCefBaseRefCounted base; + unsigned __stdcall (*write)(PCefWriteHandler self, const void * ptr, System::NativeUInt size, System::NativeUInt n); + int __stdcall (*seek)(PCefWriteHandler self, __int64 offset, int whence); + __int64 __stdcall (*tell)(PCefWriteHandler self); + int __stdcall (*flush)(PCefWriteHandler self); + int __stdcall (*may_block)(PCefWriteHandler self); +}; + + +struct DECLSPEC_DRECORD TCefXmlReader +{ +public: + TCefBaseRefCounted base; + int __stdcall (*move_to_next_node)(PCefXmlReader self); + int __stdcall (*close)(PCefXmlReader self); + int __stdcall (*has_error)(PCefXmlReader self); + PCefStringUserFreeUtf16 __stdcall (*get_error)(PCefXmlReader self); + TCefXmlNodeType __stdcall (*get_type)(PCefXmlReader self); + int __stdcall (*get_depth)(PCefXmlReader self); + PCefStringUserFreeUtf16 __stdcall (*get_local_name)(PCefXmlReader self); + PCefStringUserFreeUtf16 __stdcall (*get_prefix)(PCefXmlReader self); + PCefStringUserFreeUtf16 __stdcall (*get_qualified_name)(PCefXmlReader self); + PCefStringUserFreeUtf16 __stdcall (*get_namespace_uri)(PCefXmlReader self); + PCefStringUserFreeUtf16 __stdcall (*get_base_uri)(PCefXmlReader self); + PCefStringUserFreeUtf16 __stdcall (*get_xml_lang)(PCefXmlReader self); + int __stdcall (*is_empty_element)(PCefXmlReader self); + int __stdcall (*has_value)(PCefXmlReader self); + PCefStringUserFreeUtf16 __stdcall (*get_value)(PCefXmlReader self); + int __stdcall (*has_attributes)(PCefXmlReader self); + unsigned __stdcall (*get_attribute_count)(PCefXmlReader self); + PCefStringUserFreeUtf16 __stdcall (*get_attribute_byindex)(PCefXmlReader self, int index); + PCefStringUserFreeUtf16 __stdcall (*get_attribute_byqname)(PCefXmlReader self, const PCefString qualifiedName); + PCefStringUserFreeUtf16 __stdcall (*get_attribute_bylname)(PCefXmlReader self, const PCefString localName, const PCefString namespaceURI); + PCefStringUserFreeUtf16 __stdcall (*get_inner_xml)(PCefXmlReader self); + PCefStringUserFreeUtf16 __stdcall (*get_outer_xml)(PCefXmlReader self); + int __stdcall (*get_line_number)(PCefXmlReader self); + int __stdcall (*move_to_attribute_byindex)(PCefXmlReader self, int index); + int __stdcall (*move_to_attribute_byqname)(PCefXmlReader self, const PCefString qualifiedName); + int __stdcall (*move_to_attribute_bylname)(PCefXmlReader self, const PCefString localName, const PCefString namespaceURI); + int __stdcall (*move_to_first_attribute)(PCefXmlReader self); + int __stdcall (*move_to_next_attribute)(PCefXmlReader self); + int __stdcall (*move_to_carrying_element)(PCefXmlReader self); +}; + + +struct DECLSPEC_DRECORD TCefZipReader +{ +public: + TCefBaseRefCounted base; + int __stdcall (*move_to_first_file)(PCefZipReader self); + int __stdcall (*move_to_next_file)(PCefZipReader self); + int __stdcall (*move_to_file)(PCefZipReader self, const PCefString fileName, int caseSensitive); + int __stdcall (*close)(PCefZipReader Self); + PCefStringUserFreeUtf16 __stdcall (*get_file_name)(PCefZipReader Self); + __int64 __stdcall (*get_file_size)(PCefZipReader Self); + TCefBaseTime __stdcall (*get_file_last_modified)(PCefZipReader Self); + int __stdcall (*open_file)(PCefZipReader Self, const PCefString password); + int __stdcall (*close_file)(PCefZipReader Self); + int __stdcall (*read_file)(PCefZipReader Self, void * buffer, System::NativeUInt bufferSize); + __int64 __stdcall (*tell)(PCefZipReader Self); + int __stdcall (*eof)(PCefZipReader Self); +}; + + +struct DECLSPEC_DRECORD TCefUrlrequestClient +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_request_complete)(PCefUrlRequestClient self, PCefUrlRequest request); + void __stdcall (*on_upload_progress)(PCefUrlRequestClient self, PCefUrlRequest request, __int64 current, __int64 total); + void __stdcall (*on_download_progress)(PCefUrlRequestClient self, PCefUrlRequest request, __int64 current, __int64 total); + void __stdcall (*on_download_data)(PCefUrlRequestClient self, PCefUrlRequest request, const void * data, System::NativeUInt data_length); + int __stdcall (*get_auth_credentials)(PCefUrlRequestClient self, int isProxy, const PCefString host, int port, const PCefString realm, const PCefString scheme, PCefAuthCallback callback); +}; + + +struct DECLSPEC_DRECORD TCefUrlRequest +{ +public: + TCefBaseRefCounted base; + PCefRequest __stdcall (*get_request)(PCefUrlRequest self); + PCefUrlRequestClient __stdcall (*get_client)(PCefUrlRequest self); + TCefUrlRequestStatus __stdcall (*get_request_status)(PCefUrlRequest self); + TCefErrorCode __stdcall (*get_request_error)(PCefUrlRequest self); + PCefResponse __stdcall (*get_response)(PCefUrlRequest self); + int __stdcall (*response_was_cached)(PCefUrlRequest self); + void __stdcall (*cancel)(PCefUrlRequest self); +}; + + +struct DECLSPEC_DRECORD TCefThread +{ +public: + TCefBaseRefCounted base; + PCefTaskRunner __stdcall (*get_task_runner)(PCefThread self); + TCefPlatformThreadId __stdcall (*get_platform_thread_id)(PCefThread self); + void __stdcall (*stop)(PCefThread self); + int __stdcall (*is_running)(PCefThread self); +}; + + +struct DECLSPEC_DRECORD TCefWaitableEvent +{ +public: + TCefBaseRefCounted base; + void __stdcall (*reset)(PCefWaitableEvent self); + void __stdcall (*signal)(PCefWaitableEvent self); + int __stdcall (*is_signaled)(PCefWaitableEvent self); + void __stdcall (*wait)(PCefWaitableEvent self); + int __stdcall (*timed_wait)(PCefWaitableEvent self, __int64 max_ms); +}; + + +struct DECLSPEC_DRECORD TCefTaskRunner +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_same)(PCefTaskRunner self, PCefTaskRunner that); + int __stdcall (*belongs_to_current_thread)(PCefTaskRunner self); + int __stdcall (*belongs_to_thread)(PCefTaskRunner self, TCefThreadId threadId); + int __stdcall (*post_task)(PCefTaskRunner self, PCefTask task); + int __stdcall (*post_delayed_task)(PCefTaskRunner self, PCefTask task, __int64 delay_ms); +}; + + +struct DECLSPEC_DRECORD TCefEndTracingCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_end_tracing_complete)(PCefEndTracingCallback self, const PCefString tracing_file); +}; + + +struct DECLSPEC_DRECORD TCefResourceBundle +{ +public: + TCefBaseRefCounted base; + PCefStringUserFreeUtf16 __stdcall (*get_localized_string)(PCefResourceBundle self, int string_id); + PCefBinaryValue __stdcall (*get_data_resource)(PCefResourceBundle self, int resource_id); + PCefBinaryValue __stdcall (*get_data_resource_for_scale)(PCefResourceBundle self, int resource_id, TCefScaleFactor scale_factor); +}; + + +struct DECLSPEC_DRECORD TCefMenuModelDelegate +{ +public: + TCefBaseRefCounted base; + void __stdcall (*execute_command)(PCefMenuModelDelegate self, PCefMenuModel menu_model, int command_id, TCefEventFlags event_flags); + void __stdcall (*mouse_outside_menu)(PCefMenuModelDelegate self, PCefMenuModel menu_model, const PCefPoint screen_point); + void __stdcall (*unhandled_open_submenu)(PCefMenuModelDelegate self, PCefMenuModel menu_model, int is_rtl); + void __stdcall (*unhandled_close_submenu)(PCefMenuModelDelegate self, PCefMenuModel menu_model, int is_rtl); + void __stdcall (*menu_will_show)(PCefMenuModelDelegate self, PCefMenuModel menu_model); + void __stdcall (*menu_closed)(PCefMenuModelDelegate self, PCefMenuModel menu_model); + int __stdcall (*format_label)(PCefMenuModelDelegate self, PCefMenuModel menu_model, PCefString label_); +}; + + +struct DECLSPEC_DRECORD TCefProcessMessage +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_valid)(PCefProcessMessage self); + int __stdcall (*is_read_only)(PCefProcessMessage self); + PCefProcessMessage __stdcall (*copy)(PCefProcessMessage self); + PCefStringUserFreeUtf16 __stdcall (*get_name)(PCefProcessMessage self); + PCefListValue __stdcall (*get_argument_list)(PCefProcessMessage self); + PCefSharedMemoryRegion __stdcall (*get_shared_memory_region)(PCefProcessMessage self); +}; + + +struct DECLSPEC_DRECORD TCefRenderProcessHandler +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_web_kit_initialized)(PCefRenderProcessHandler self); + void __stdcall (*on_browser_created)(PCefRenderProcessHandler self, PCefBrowser browser, PCefDictionaryValue extra_info); + void __stdcall (*on_browser_destroyed)(PCefRenderProcessHandler self, PCefBrowser browser); + PCefLoadHandler __stdcall (*get_load_handler)(PCefRenderProcessHandler self); + void __stdcall (*on_context_created)(PCefRenderProcessHandler self, PCefBrowser browser, PCefFrame frame, PCefv8Context context); + void __stdcall (*on_context_released)(PCefRenderProcessHandler self, PCefBrowser browser, PCefFrame frame, PCefv8Context context); + void __stdcall (*on_uncaught_exception)(PCefRenderProcessHandler self, PCefBrowser browser, PCefFrame frame, PCefv8Context context, PCefV8Exception exception, PCefV8StackTrace stackTrace); + void __stdcall (*on_focused_node_changed)(PCefRenderProcessHandler self, PCefBrowser browser, PCefFrame frame, PCefDomNode node); + int __stdcall (*on_process_message_received)(PCefRenderProcessHandler self, PCefBrowser browser, PCefFrame frame, TCefProcessId source_process, PCefProcessMessage message_); +}; + + +struct DECLSPEC_DRECORD TCefRequestHandler +{ +public: + TCefBaseRefCounted base; + int __stdcall (*on_before_browse)(PCefRequestHandler self, PCefBrowser browser, PCefFrame frame, PCefRequest request, int user_gesture, int isRedirect); + int __stdcall (*on_open_urlfrom_tab)(PCefRequestHandler self, PCefBrowser browser, PCefFrame frame, const PCefString target_url, TCefWindowOpenDisposition target_disposition, int user_gesture); + PCefResourceRequestHandler __stdcall (*get_resource_request_handler)(PCefRequestHandler self, PCefBrowser browser, PCefFrame frame, PCefRequest request, int is_navigation, int is_download, const PCefString request_initiator, System::PInteger disable_default_handling); + int __stdcall (*get_auth_credentials)(PCefRequestHandler self, PCefBrowser browser, const PCefString origin_url, int isProxy, const PCefString host, int port, const PCefString realm, const PCefString scheme, PCefAuthCallback callback); + int __stdcall (*on_certificate_error)(PCefRequestHandler self, PCefBrowser browser, TCefErrorCode cert_error, const PCefString request_url, PCefSslInfo ssl_info, PCefCallback callback); + int __stdcall (*on_select_client_certificate)(PCefRequestHandler self, PCefBrowser browser, int isProxy, const PCefString host, int port, System::NativeUInt certificatesCount, const PPCefX509Certificate certificates, PCefSelectClientCertificateCallback callback); + void __stdcall (*on_render_view_ready)(PCefRequestHandler self, PCefBrowser browser); + int __stdcall (*on_render_process_unresponsive)(PCefRequestHandler self, PCefBrowser browser, PCefUnresponsiveProcessCallback callback); + void __stdcall (*on_render_process_responsive)(PCefRequestHandler self, PCefBrowser browser); + void __stdcall (*on_render_process_terminated)(PCefRequestHandler self, PCefBrowser browser, TCefTerminationStatus status, int error_code, const PCefString error_string); + void __stdcall (*on_document_available_in_main_frame)(PCefRequestHandler self, PCefBrowser browser); +}; + + +struct DECLSPEC_DRECORD TCefMediaAccessCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*cont)(PCefMediaAccessCallback self, unsigned allowed_permissions); + void __stdcall (*cancel)(PCefMediaAccessCallback self); +}; + + +struct DECLSPEC_DRECORD TCefPermissionPromptCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*cont)(PCefPermissionPromptCallback self, TCefPermissionRequestResult result); +}; + + +struct DECLSPEC_DRECORD TCefPermissionHandler +{ +public: + TCefBaseRefCounted base; + int __stdcall (*on_request_media_access_permission)(PCefPermissionHandler self, PCefBrowser browser, PCefFrame frame, const PCefString requesting_origin, unsigned requested_permissions, PCefMediaAccessCallback callback); + int __stdcall (*on_show_permission_prompt)(PCefPermissionHandler self, PCefBrowser browser, unsigned __int64 prompt_id, const PCefString requesting_origin, unsigned requested_permissions, PCefPermissionPromptCallback callback); + void __stdcall (*on_dismiss_permission_prompt)(PCefPermissionHandler self, PCefBrowser browser, unsigned __int64 prompt_id, TCefPermissionRequestResult result); +}; + + +struct DECLSPEC_DRECORD TCefSharedMemoryRegion +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_valid)(PCefSharedMemoryRegion self); + unsigned __stdcall (*size)(PCefSharedMemoryRegion self); + void * __stdcall (*memory)(PCefSharedMemoryRegion self); +}; + + +struct DECLSPEC_DRECORD TCefSharedProcessMessageBuilder +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_valid)(PCefSharedProcessMessageBuilder self); + unsigned __stdcall (*size)(PCefSharedProcessMessageBuilder self); + void * __stdcall (*memory)(PCefSharedProcessMessageBuilder self); + PCefProcessMessage __stdcall (*build)(PCefSharedProcessMessageBuilder self); +}; + + +struct DECLSPEC_DRECORD TCefResourceSkipCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*cont)(PCefResourceSkipCallback self, __int64 bytes_skipped); +}; + + +struct DECLSPEC_DRECORD TCefResourceReadCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*cont)(PCefResourceReadCallback self, __int64 bytes_read); +}; + + +struct DECLSPEC_DRECORD TCefResourceHandler +{ +public: + TCefBaseRefCounted base; + int __stdcall (*open)(PCefResourceHandler self, PCefRequest request, System::PInteger handle_request, PCefCallback callback); + int __stdcall (*process_request)(PCefResourceHandler self, PCefRequest request, PCefCallback callback); + void __stdcall (*get_response_headers)(PCefResourceHandler self, PCefResponse response, System::PInt64 response_length, PCefString redirectUrl); + int __stdcall (*skip)(PCefResourceHandler self, __int64 bytes_to_skip, System::PInt64 bytes_skipped, PCefResourceSkipCallback callback); + int __stdcall (*read)(PCefResourceHandler self, void * data_out, int bytes_to_read, System::PInteger bytes_read, PCefResourceReadCallback callback); + int __stdcall (*read_response)(PCefResourceHandler self, void * data_out, int bytes_to_read, System::PInteger bytes_read, PCefCallback callback); + void __stdcall (*cancel)(PCefResourceHandler self); +}; + + +struct DECLSPEC_DRECORD TCefResourceRequestHandler +{ +public: + TCefBaseRefCounted base; + PCefCookieAccessFilter __stdcall (*get_cookie_access_filter)(PCefResourceRequestHandler self, PCefBrowser browser, PCefFrame frame, PCefRequest request); + TCefReturnValue __stdcall (*on_before_resource_load)(PCefResourceRequestHandler self, PCefBrowser browser, PCefFrame frame, PCefRequest request, PCefCallback callback); + PCefResourceHandler __stdcall (*get_resource_handler)(PCefResourceRequestHandler self, PCefBrowser browser, PCefFrame frame, PCefRequest request); + void __stdcall (*on_resource_redirect)(PCefResourceRequestHandler self, PCefBrowser browser, PCefFrame frame, PCefRequest request, PCefResponse response, PCefString new_url); + int __stdcall (*on_resource_response)(PCefResourceRequestHandler self, PCefBrowser browser, PCefFrame frame, PCefRequest request, PCefResponse response); + PCefResponseFilter __stdcall (*get_resource_response_filter)(PCefResourceRequestHandler self, PCefBrowser browser, PCefFrame frame, PCefRequest request, PCefResponse response); + void __stdcall (*on_resource_load_complete)(PCefResourceRequestHandler self, PCefBrowser browser, PCefFrame frame, PCefRequest request, PCefResponse response, TCefUrlRequestStatus status, __int64 received_content_length); + void __stdcall (*on_protocol_execution)(PCefResourceRequestHandler self, PCefBrowser browser, PCefFrame frame, PCefRequest request, System::PInteger allow_os_execution); +}; + + +struct DECLSPEC_DRECORD TCefCookieAccessFilter +{ +public: + TCefBaseRefCounted base; + int __stdcall (*can_send_cookie)(PCefCookieAccessFilter self, PCefBrowser browser, PCefFrame frame, PCefRequest request, const PCefCookie cookie); + int __stdcall (*can_save_cookie)(PCefCookieAccessFilter self, PCefBrowser browser, PCefFrame frame, PCefRequest request, PCefResponse response, const PCefCookie cookie); +}; + + +struct DECLSPEC_DRECORD TCefResponse +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_read_only)(PCefResponse self); + TCefErrorCode __stdcall (*get_error)(PCefResponse self); + void __stdcall (*set_error)(PCefResponse self, TCefErrorCode error); + int __stdcall (*get_status)(PCefResponse self); + void __stdcall (*set_status)(PCefResponse self, int status); + PCefStringUserFreeUtf16 __stdcall (*get_status_text)(PCefResponse self); + void __stdcall (*set_status_text)(PCefResponse self, const PCefString statusText); + PCefStringUserFreeUtf16 __stdcall (*get_mime_type)(PCefResponse self); + void __stdcall (*set_mime_type)(PCefResponse self, const PCefString mimeType); + PCefStringUserFreeUtf16 __stdcall (*get_charset)(PCefResponse self); + void __stdcall (*set_charset)(PCefResponse self, const PCefString charset); + PCefStringUserFreeUtf16 __stdcall (*get_header_by_name)(PCefResponse self, const PCefString name); + void __stdcall (*set_header_by_name)(PCefResponse self, const PCefString name, const PCefString value, int overwrite); + void __stdcall (*get_header_map)(PCefResponse self, TCefStringMultimap headerMap); + void __stdcall (*set_header_map)(PCefResponse self, TCefStringMultimap headerMap); + PCefStringUserFreeUtf16 __stdcall (*get_url)(PCefResponse self); + void __stdcall (*set_url)(PCefResponse self, const PCefString url); +}; + + +struct DECLSPEC_DRECORD TCefResponseFilter +{ +public: + TCefBaseRefCounted base; + int __stdcall (*init_filter)(PCefResponseFilter self); + TCefResponseFilterStatus __stdcall (*filter)(PCefResponseFilter self, void * data_in, System::NativeUInt data_in_size, System::NativeUInt &data_in_read, void * data_out, System::NativeUInt data_out_size, System::NativeUInt &data_out_written); +}; + + +struct DECLSPEC_DRECORD TCefAuthCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*cont)(PCefAuthCallback self, const PCefString username, const PCefString password); + void __stdcall (*cancel)(PCefAuthCallback self); +}; + + +struct DECLSPEC_DRECORD TCefCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*cont)(PCefCallback self); + void __stdcall (*cancel)(PCefCallback self); +}; + + +struct DECLSPEC_DRECORD TCefSettingObserver +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_setting_changed)(PCefSettingObserver self, const PCefString requesting_url, const PCefString top_level_url, TCefContentSettingTypes content_type); +}; + + +struct DECLSPEC_DRECORD TCefRequestContext +{ +public: + TCefPreferenceManager base; + int __stdcall (*is_same)(PCefRequestContext self, PCefRequestContext other); + int __stdcall (*is_sharing_with)(PCefRequestContext self, PCefRequestContext other); + int __stdcall (*is_global)(PCefRequestContext self); + PCefRequestContextHandler __stdcall (*get_handler)(PCefRequestContext self); + PCefStringUserFreeUtf16 __stdcall (*get_cache_path)(PCefRequestContext self); + PCefCookieManager __stdcall (*get_cookie_manager)(PCefRequestContext self, PCefCompletionCallback callback); + int __stdcall (*register_scheme_handler_factory)(PCefRequestContext self, const PCefString scheme_name, const PCefString domain_name, PCefSchemeHandlerFactory factory); + int __stdcall (*clear_scheme_handler_factories)(PCefRequestContext self); + void __stdcall (*clear_certificate_exceptions)(PCefRequestContext self, PCefCompletionCallback callback); + void __stdcall (*clear_http_auth_credentials)(PCefRequestContext self, PCefCompletionCallback callback); + void __stdcall (*close_all_connections)(PCefRequestContext self, PCefCompletionCallback callback); + void __stdcall (*resolve_host)(PCefRequestContext self, const PCefString origin, PCefResolveCallback callback); + PCefMediaRouter __stdcall (*get_media_router)(PCefRequestContext self, PCefCompletionCallback callback); + PCefValue __stdcall (*get_website_setting)(PCefRequestContext self, const PCefString requesting_url, const PCefString top_level_url, TCefContentSettingTypes content_type); + void __stdcall (*set_website_setting)(PCefRequestContext self, const PCefString requesting_url, const PCefString top_level_url, TCefContentSettingTypes content_type, PCefValue value); + TCefContentSettingValues __stdcall (*get_content_setting)(PCefRequestContext self, const PCefString requesting_url, const PCefString top_level_url, TCefContentSettingTypes content_type); + void __stdcall (*set_content_setting)(PCefRequestContext self, const PCefString requesting_url, const PCefString top_level_url, TCefContentSettingTypes content_type, TCefContentSettingValues value); + void __stdcall (*set_chrome_color_scheme)(PCefRequestContext self, TCefColorVariant variant, TCefColor user_color); + TCefColorVariant __stdcall (*get_chrome_color_scheme_mode)(PCefRequestContext self); + TCefColor __stdcall (*get_chrome_color_scheme_color)(PCefRequestContext self); + TCefColorVariant __stdcall (*get_chrome_color_scheme_variant)(PCefRequestContext self); + PCefRegistration __stdcall (*add_setting_observer)(PCefRequestContext self, PCefSettingObserver observer); +}; + + +struct DECLSPEC_DRECORD TCefRequestContextHandler +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_request_context_initialized)(PCefRequestContextHandler self, PCefRequestContext request_context); + PCefResourceRequestHandler __stdcall (*get_resource_request_handler)(PCefRequestContextHandler self, PCefBrowser browser, PCefFrame frame, PCefRequest request, int is_navigation, int is_download, const PCefString request_initiator, System::PInteger disable_default_handling); +}; + + +struct DECLSPEC_DRECORD TCefCompletionCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_complete)(PCefCompletionCallback self); +}; + + +struct DECLSPEC_DRECORD TCefCookieManager +{ +public: + TCefBaseRefCounted base; + int __stdcall (*visit_all_cookies)(PCefCookieManager self, PCefCookieVisitor visitor); + int __stdcall (*visit_url_cookies)(PCefCookieManager self, const PCefString url, int includeHttpOnly, PCefCookieVisitor visitor); + int __stdcall (*set_cookie)(PCefCookieManager self, const PCefString url, const PCefCookie cookie, PCefSetCookieCallback callback); + int __stdcall (*delete_cookies)(PCefCookieManager self, const PCefString url, const PCefString cookie_name, PCefDeleteCookiesCallback callback); + int __stdcall (*flush_store)(PCefCookieManager self, PCefCompletionCallback callback); +}; + + +struct DECLSPEC_DRECORD TCefSchemeHandlerFactory +{ +public: + TCefBaseRefCounted base; + PCefResourceHandler __stdcall (*create)(PCefSchemeHandlerFactory self, PCefBrowser browser, PCefFrame frame, const PCefString scheme_name, PCefRequest request); +}; + + +struct DECLSPEC_DRECORD TCefResolveCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_resolve_completed)(PCefResolveCallback self, TCefErrorCode result, TCefStringList resolved_ips); +}; + + +struct DECLSPEC_DRECORD TCefCookieVisitor +{ +public: + TCefBaseRefCounted base; + int __stdcall (*visit)(PCefCookieVisitor self, const PCefCookie cookie, int count, int total, System::PInteger deleteCookie); +}; + + +struct DECLSPEC_DRECORD TCefSetCookieCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_complete)(PCefSetCookieCallback self, int success); +}; + + +struct DECLSPEC_DRECORD TCefDeleteCookiesCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_complete)(PCefDeleteCookiesCallback self, int num_deleted); +}; + + +struct DECLSPEC_DRECORD TCefRunFileDialogCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_file_dialog_dismissed)(PCefRunFileDialogCallback self, TCefStringList file_paths); +}; + + +struct DECLSPEC_DRECORD TCefDownloadImageCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_download_image_finished)(PCefDownloadImageCallback self, const PCefString image_url, int http_status_code, PCefImage image); +}; + + +struct DECLSPEC_DRECORD TCefImage +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_empty)(PCefImage self); + int __stdcall (*is_same)(PCefImage self, PCefImage that); + int __stdcall (*add_bitmap)(PCefImage self, float scale_factor, int pixel_width, int pixel_height, TCefColorType color_type, TCefAlphaType alpha_type, const void * pixel_data, System::NativeUInt pixel_data_size); + int __stdcall (*add_png)(PCefImage self, float scale_factor, const void * png_data, System::NativeUInt png_data_size); + int __stdcall (*add_jpeg)(PCefImage self, float scale_factor, const void * jpeg_data, System::NativeUInt jpeg_data_size); + unsigned __stdcall (*get_width)(PCefImage self); + unsigned __stdcall (*get_height)(PCefImage self); + int __stdcall (*has_representation)(PCefImage self, float scale_factor); + int __stdcall (*remove_representation)(PCefImage self, float scale_factor); + int __stdcall (*get_representation_info)(PCefImage self, float scale_factor, System::PSingle actual_scale_factor, System::PInteger pixel_width, System::PInteger pixel_height); + PCefBinaryValue __stdcall (*get_as_bitmap)(PCefImage self, float scale_factor, TCefColorType color_type, TCefAlphaType alpha_type, System::PInteger pixel_width, System::PInteger pixel_height); + PCefBinaryValue __stdcall (*get_as_png)(PCefImage self, float scale_factor, int with_transparency, System::PInteger pixel_width, System::PInteger pixel_height); + PCefBinaryValue __stdcall (*get_as_jpeg)(PCefImage self, float scale_factor, int quality, System::PInteger pixel_width, System::PInteger pixel_height); +}; + + +struct DECLSPEC_DRECORD TCefPdfPrintCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_pdf_print_finished)(PCefPdfPrintCallback self, const PCefString path, int ok); +}; + + +struct DECLSPEC_DRECORD TCefNavigationEntryVisitor +{ +public: + TCefBaseRefCounted base; + int __stdcall (*visit)(PCefNavigationEntryVisitor self, PCefNavigationEntry entry, int current, int index, int total); +}; + + +struct DECLSPEC_DRECORD TCefNavigationEntry +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_valid)(PCefNavigationEntry self); + PCefStringUserFreeUtf16 __stdcall (*get_url)(PCefNavigationEntry self); + PCefStringUserFreeUtf16 __stdcall (*get_display_url)(PCefNavigationEntry self); + PCefStringUserFreeUtf16 __stdcall (*get_original_url)(PCefNavigationEntry self); + PCefStringUserFreeUtf16 __stdcall (*get_title)(PCefNavigationEntry self); + TCefTransitionType __stdcall (*get_transition_type)(PCefNavigationEntry self); + int __stdcall (*has_post_data)(PCefNavigationEntry self); + TCefBaseTime __stdcall (*get_completion_time)(PCefNavigationEntry self); + int __stdcall (*get_http_status_code)(PCefNavigationEntry self); + PCefSSLStatus __stdcall (*get_sslstatus)(PCefNavigationEntry self); +}; + + +struct DECLSPEC_DRECORD TCefPrintSettings +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_valid)(PCefPrintSettings self); + int __stdcall (*is_read_only)(PCefPrintSettings self); + void __stdcall (*set_orientation)(PCefPrintSettings self, int landscape); + int __stdcall (*is_landscape)(PCefPrintSettings self); + void __stdcall (*set_printer_printable_area)(PCefPrintSettings self, const PCefSize physical_size_device_units, const PCefRect printable_area_device_units, int landscape_needs_flip); + void __stdcall (*set_device_name)(PCefPrintSettings self, const PCefString name); + PCefStringUserFreeUtf16 __stdcall (*get_device_name)(PCefPrintSettings self); + void __stdcall (*set_dpi)(PCefPrintSettings self, int dpi); + int __stdcall (*get_dpi)(PCefPrintSettings self); + void __stdcall (*set_page_ranges)(PCefPrintSettings self, System::NativeUInt rangesCount, PCefRange ranges); + unsigned __stdcall (*get_page_ranges_count)(PCefPrintSettings self); + void __stdcall (*get_page_ranges)(PCefPrintSettings self, System::PNativeUInt rangesCount, PCefRange ranges); + void __stdcall (*set_selection_only)(PCefPrintSettings self, int selection_only); + int __stdcall (*is_selection_only)(PCefPrintSettings self); + void __stdcall (*set_collate)(PCefPrintSettings self, int collate); + int __stdcall (*will_collate)(PCefPrintSettings self); + void __stdcall (*set_color_model)(PCefPrintSettings self, TCefColorModel model); + TCefColorModel __stdcall (*get_color_model)(PCefPrintSettings self); + void __stdcall (*set_copies)(PCefPrintSettings self, int copies); + int __stdcall (*get_copies)(PCefPrintSettings self); + void __stdcall (*set_duplex_mode)(PCefPrintSettings self, TCefDuplexMode mode); + TCefDuplexMode __stdcall (*get_duplex_mode)(PCefPrintSettings self); +}; + + +struct DECLSPEC_DRECORD TCefPrintDialogCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*cont)(PCefPrintDialogCallback self, PCefPrintSettings settings); + void __stdcall (*cancel)(PCefPrintDialogCallback self); +}; + + +struct DECLSPEC_DRECORD TCefPrintJobCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*cont)(PCefPrintJobCallback self); +}; + + +struct DECLSPEC_DRECORD TCefPrintHandler +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_print_start)(PCefPrintHandler self, PCefBrowser browser); + void __stdcall (*on_print_settings)(PCefPrintHandler self, PCefBrowser browser, PCefPrintSettings settings, int get_defaults); + int __stdcall (*on_print_dialog)(PCefPrintHandler self, PCefBrowser browser, int has_selection, PCefPrintDialogCallback callback); + int __stdcall (*on_print_job)(PCefPrintHandler self, PCefBrowser browser, const PCefString document_name, const PCefString pdf_file_path, PCefPrintJobCallback callback); + void __stdcall (*on_print_reset)(PCefPrintHandler self, PCefBrowser browser); + TCefSize __stdcall (*get_pdf_paper_size)(PCefPrintHandler self, PCefBrowser browser, int device_units_per_inch); +}; + + +struct DECLSPEC_DRECORD TCefDragData +{ +public: + TCefBaseRefCounted base; + PCefDragData __stdcall (*clone)(PCefDragData self); + int __stdcall (*is_read_only)(PCefDragData self); + int __stdcall (*is_link)(PCefDragData self); + int __stdcall (*is_fragment)(PCefDragData self); + int __stdcall (*is_file)(PCefDragData self); + PCefStringUserFreeUtf16 __stdcall (*get_link_url)(PCefDragData self); + PCefStringUserFreeUtf16 __stdcall (*get_link_title)(PCefDragData self); + PCefStringUserFreeUtf16 __stdcall (*get_link_metadata)(PCefDragData self); + PCefStringUserFreeUtf16 __stdcall (*get_fragment_text)(PCefDragData self); + PCefStringUserFreeUtf16 __stdcall (*get_fragment_html)(PCefDragData self); + PCefStringUserFreeUtf16 __stdcall (*get_fragment_base_url)(PCefDragData self); + PCefStringUserFreeUtf16 __stdcall (*get_file_name)(PCefDragData self); + unsigned __stdcall (*get_file_contents)(PCefDragData self, PCefStreamWriter writer); + int __stdcall (*get_file_names)(PCefDragData self, TCefStringList names); + int __stdcall (*get_file_paths)(PCefDragData self, TCefStringList paths); + void __stdcall (*set_link_url)(PCefDragData self, const PCefString url); + void __stdcall (*set_link_title)(PCefDragData self, const PCefString title); + void __stdcall (*set_link_metadata)(PCefDragData self, const PCefString data); + void __stdcall (*set_fragment_text)(PCefDragData self, const PCefString text); + void __stdcall (*set_fragment_html)(PCefDragData self, const PCefString html); + void __stdcall (*set_fragment_base_url)(PCefDragData self, const PCefString base_url); + void __stdcall (*reset_file_contents)(PCefDragData self); + void __stdcall (*add_file)(PCefDragData self, const PCefString path, const PCefString display_name); + void __stdcall (*clear_filenames)(PCefDragData self); + PCefImage __stdcall (*get_image)(PCefDragData self); + PCefPoint __stdcall (*get_image_hotspot)(PCefDragData self); + int __stdcall (*has_image)(PCefDragData self); +}; + + +struct DECLSPEC_DRECORD TCefCommandLine +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_valid)(PCefCommandLine self); + int __stdcall (*is_read_only)(PCefCommandLine self); + PCefCommandLine __stdcall (*copy)(PCefCommandLine self); + void __stdcall (*init_from_argv)(PCefCommandLine self, int argc, const System::PPAnsiChar argv); + void __stdcall (*init_from_string)(PCefCommandLine self, const PCefString command_line); + void __stdcall (*reset)(PCefCommandLine self); + void __stdcall (*get_argv)(PCefCommandLine self, TCefStringList argv); + PCefStringUserFreeUtf16 __stdcall (*get_command_line_string)(PCefCommandLine self); + PCefStringUserFreeUtf16 __stdcall (*get_program)(PCefCommandLine self); + void __stdcall (*set_program)(PCefCommandLine self, const PCefString program_); + int __stdcall (*has_switches)(PCefCommandLine self); + int __stdcall (*has_switch)(PCefCommandLine self, const PCefString name); + PCefStringUserFreeUtf16 __stdcall (*get_switch_value)(PCefCommandLine self, const PCefString name); + void __stdcall (*get_switches)(PCefCommandLine self, TCefStringMap switches); + void __stdcall (*append_switch)(PCefCommandLine self, const PCefString name); + void __stdcall (*append_switch_with_value)(PCefCommandLine self, const PCefString name, const PCefString value); + int __stdcall (*has_arguments)(PCefCommandLine self); + void __stdcall (*get_arguments)(PCefCommandLine self, TCefStringList arguments); + void __stdcall (*append_argument)(PCefCommandLine self, const PCefString argument); + void __stdcall (*prepend_wrapper)(PCefCommandLine self, const PCefString wrapper); + void __stdcall (*remove_switch)(PCefCommandLine self, const PCefString name_); +}; + + +struct DECLSPEC_DRECORD TCefCommandHandler +{ +public: + TCefBaseRefCounted base; + int __stdcall (*on_chrome_command)(PCefCommandHandler self, PCefBrowser browser, int command_id, TCefWindowOpenDisposition disposition); + int __stdcall (*is_chrome_app_menu_item_visible)(PCefCommandHandler self, PCefBrowser browser, int command_id); + int __stdcall (*is_chrome_app_menu_item_enabled)(PCefCommandHandler self, PCefBrowser browser, int command_id); + int __stdcall (*is_chrome_page_action_icon_visible)(PCefCommandHandler self, TCefChromePageActionIconType icon_type); + int __stdcall (*is_chrome_toolbar_button_visible)(PCefCommandHandler self, TCefChromeToolbarButtonType button_type); +}; + + +struct DECLSPEC_DRECORD TCefSchemeRegistrar +{ +public: + TCefBaseScoped base; + int __stdcall (*add_custom_scheme)(PCefSchemeRegistrar self, const PCefString scheme_name, TCefSchemeOptions options); +}; + + +struct DECLSPEC_DRECORD TCefBinaryValue +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_valid)(PCefBinaryValue self); + int __stdcall (*is_owned)(PCefBinaryValue self); + int __stdcall (*is_same)(PCefBinaryValue self, PCefBinaryValue that); + int __stdcall (*is_equal)(PCefBinaryValue self, PCefBinaryValue that); + PCefBinaryValue __stdcall (*copy)(PCefBinaryValue self); + void * __stdcall (*get_raw_data)(PCefBinaryValue self); + unsigned __stdcall (*get_size)(PCefBinaryValue self); + unsigned __stdcall (*get_data)(PCefBinaryValue self, void * buffer, System::NativeUInt buffer_size, System::NativeUInt data_offset); +}; + + +struct DECLSPEC_DRECORD TCefValue +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_valid)(PCefValue self); + int __stdcall (*is_owned)(PCefValue self); + int __stdcall (*is_read_only)(PCefValue self); + int __stdcall (*is_same)(PCefValue self, PCefValue that); + int __stdcall (*is_equal)(PCefValue self, PCefValue that); + PCefValue __stdcall (*copy)(PCefValue self); + TCefValueType __stdcall (*get_type)(PCefValue self); + int __stdcall (*get_bool)(PCefValue self); + int __stdcall (*get_int)(PCefValue self); + double __stdcall (*get_double)(PCefValue self); + PCefStringUserFreeUtf16 __stdcall (*get_string)(PCefValue self); + PCefBinaryValue __stdcall (*get_binary)(PCefValue self); + PCefDictionaryValue __stdcall (*get_dictionary)(PCefValue self); + PCefListValue __stdcall (*get_list)(PCefValue self); + int __stdcall (*set_null)(PCefValue self); + int __stdcall (*set_bool)(PCefValue self, int value); + int __stdcall (*set_int)(PCefValue self, int value); + int __stdcall (*set_double)(PCefValue self, double value); + int __stdcall (*set_string)(PCefValue self, const PCefString value); + int __stdcall (*set_binary)(PCefValue self, PCefBinaryValue value); + int __stdcall (*set_dictionary)(PCefValue self, PCefDictionaryValue value); + int __stdcall (*set_list)(PCefValue self, PCefListValue value); +}; + + +struct DECLSPEC_DRECORD TCefDictionaryValue +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_valid)(PCefDictionaryValue self); + int __stdcall (*is_owned)(PCefDictionaryValue self); + int __stdcall (*is_read_only)(PCefDictionaryValue self); + int __stdcall (*is_same)(PCefDictionaryValue self, PCefDictionaryValue that); + int __stdcall (*is_equal)(PCefDictionaryValue self, PCefDictionaryValue that); + PCefDictionaryValue __stdcall (*copy)(PCefDictionaryValue self, int exclude_empty_children); + unsigned __stdcall (*get_size)(PCefDictionaryValue self); + int __stdcall (*clear)(PCefDictionaryValue self); + int __stdcall (*has_key)(PCefDictionaryValue self, const PCefString key); + int __stdcall (*get_keys)(PCefDictionaryValue self, const TCefStringList keys); + int __stdcall (*remove)(PCefDictionaryValue self, const PCefString key); + TCefValueType __stdcall (*get_type)(PCefDictionaryValue self, const PCefString key); + PCefValue __stdcall (*get_value)(PCefDictionaryValue self, const PCefString key); + int __stdcall (*get_bool)(PCefDictionaryValue self, const PCefString key); + int __stdcall (*get_int)(PCefDictionaryValue self, const PCefString key); + double __stdcall (*get_double)(PCefDictionaryValue self, const PCefString key); + PCefStringUserFreeUtf16 __stdcall (*get_string)(PCefDictionaryValue self, const PCefString key); + PCefBinaryValue __stdcall (*get_binary)(PCefDictionaryValue self, const PCefString key); + PCefDictionaryValue __stdcall (*get_dictionary)(PCefDictionaryValue self, const PCefString key); + PCefListValue __stdcall (*get_list)(PCefDictionaryValue self, const PCefString key); + int __stdcall (*set_value)(PCefDictionaryValue self, const PCefString key, PCefValue value); + int __stdcall (*set_null)(PCefDictionaryValue self, const PCefString key); + int __stdcall (*set_bool)(PCefDictionaryValue self, const PCefString key, int value); + int __stdcall (*set_int)(PCefDictionaryValue self, const PCefString key, int value); + int __stdcall (*set_double)(PCefDictionaryValue self, const PCefString key, double value); + int __stdcall (*set_string)(PCefDictionaryValue self, const PCefString key, PCefString value); + int __stdcall (*set_binary)(PCefDictionaryValue self, const PCefString key, PCefBinaryValue value); + int __stdcall (*set_dictionary)(PCefDictionaryValue self, const PCefString key, PCefDictionaryValue value); + int __stdcall (*set_list)(PCefDictionaryValue self, const PCefString key, PCefListValue value); +}; + + +struct DECLSPEC_DRECORD TCefListValue +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_valid)(PCefListValue self); + int __stdcall (*is_owned)(PCefListValue self); + int __stdcall (*is_read_only)(PCefListValue self); + int __stdcall (*is_same)(PCefListValue self, PCefListValue that); + int __stdcall (*is_equal)(PCefListValue self, PCefListValue that); + PCefListValue __stdcall (*copy)(PCefListValue self); + int __stdcall (*set_size)(PCefListValue self, System::NativeUInt size); + unsigned __stdcall (*get_size)(PCefListValue self); + int __stdcall (*clear)(PCefListValue self); + int __stdcall (*remove)(PCefListValue self, System::NativeUInt index); + TCefValueType __stdcall (*get_type)(PCefListValue self, System::NativeUInt index); + PCefValue __stdcall (*get_value)(PCefListValue self, System::NativeUInt index); + int __stdcall (*get_bool)(PCefListValue self, System::NativeUInt index); + int __stdcall (*get_int)(PCefListValue self, System::NativeUInt index); + double __stdcall (*get_double)(PCefListValue self, System::NativeUInt index); + PCefStringUserFreeUtf16 __stdcall (*get_string)(PCefListValue self, System::NativeUInt index); + PCefBinaryValue __stdcall (*get_binary)(PCefListValue self, System::NativeUInt index); + PCefDictionaryValue __stdcall (*get_dictionary)(PCefListValue self, System::NativeUInt index); + PCefListValue __stdcall (*get_list)(PCefListValue self, System::NativeUInt index); + int __stdcall (*set_value)(PCefListValue self, System::NativeUInt index, PCefValue value); + int __stdcall (*set_null)(PCefListValue self, System::NativeUInt index); + int __stdcall (*set_bool)(PCefListValue self, System::NativeUInt index, int value); + int __stdcall (*set_int)(PCefListValue self, System::NativeUInt index, int value); + int __stdcall (*set_double)(PCefListValue self, System::NativeUInt index, double value); + int __stdcall (*set_string)(PCefListValue self, System::NativeUInt index, PCefString value); + int __stdcall (*set_binary)(PCefListValue self, System::NativeUInt index, PCefBinaryValue value); + int __stdcall (*set_dictionary)(PCefListValue self, System::NativeUInt index, PCefDictionaryValue value); + int __stdcall (*set_list)(PCefListValue self, System::NativeUInt index, PCefListValue value); +}; + + +struct DECLSPEC_DRECORD TCefStringVisitor +{ +public: + TCefBaseRefCounted base; + void __stdcall (*visit)(PCefStringVisitor self, const PCefString str); +}; + + +struct DECLSPEC_DRECORD TCefPostDataElement +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_read_only)(PCefPostDataElement self); + void __stdcall (*set_to_empty)(PCefPostDataElement self); + void __stdcall (*set_to_file)(PCefPostDataElement self, const PCefString fileName); + void __stdcall (*set_to_bytes)(PCefPostDataElement self, System::NativeUInt size, const void * bytes); + TCefPostDataElementType __stdcall (*get_type)(PCefPostDataElement self); + PCefStringUserFreeUtf16 __stdcall (*get_file)(PCefPostDataElement self); + unsigned __stdcall (*get_bytes_count)(PCefPostDataElement self); + unsigned __stdcall (*get_bytes)(PCefPostDataElement self, System::NativeUInt size, void * bytes); +}; + + +struct DECLSPEC_DRECORD TCefPostData +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_read_only)(PCefPostData self); + int __stdcall (*has_excluded_elements)(PCefPostData self); + unsigned __stdcall (*get_element_count)(PCefPostData self); + void __stdcall (*get_elements)(PCefPostData self, System::NativeUInt &elementsCount, PCefPostDataElement &elements); + int __stdcall (*remove_element)(PCefPostData self, PCefPostDataElement element); + int __stdcall (*add_element)(PCefPostData self, PCefPostDataElement element); + void __stdcall (*remove_elements)(PCefPostData self); +}; + + +struct DECLSPEC_DRECORD TCefRequest +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_read_only)(PCefRequest self); + PCefStringUserFreeUtf16 __stdcall (*get_url)(PCefRequest self); + void __stdcall (*set_url)(PCefRequest self, const PCefString url); + PCefStringUserFreeUtf16 __stdcall (*get_method)(PCefRequest self); + void __stdcall (*set_method)(PCefRequest self, const PCefString method); + void __stdcall (*set_referrer)(PCefRequest self, const PCefString referrer_url, TCefReferrerPolicy policy); + PCefStringUserFreeUtf16 __stdcall (*get_referrer_url)(PCefRequest self); + TCefReferrerPolicy __stdcall (*get_referrer_policy)(PCefRequest self); + PCefPostData __stdcall (*get_post_data)(PCefRequest self); + void __stdcall (*set_post_data)(PCefRequest self, PCefPostData postData); + void __stdcall (*get_header_map)(PCefRequest self, TCefStringMultimap headerMap); + void __stdcall (*set_header_map)(PCefRequest self, TCefStringMultimap headerMap); + PCefStringUserFreeUtf16 __stdcall (*get_header_by_name)(PCefRequest self, const PCefString name); + void __stdcall (*set_header_by_name)(PCefRequest self, const PCefString name, const PCefString value, int overwrite); + void __stdcall (*set_)(PCefRequest self, const PCefString url, const PCefString method, PCefPostData postData, TCefStringMultimap headerMap); + int __stdcall (*get_flags)(PCefRequest self); + void __stdcall (*set_flags)(PCefRequest self, int flags); + PCefStringUserFreeUtf16 __stdcall (*get_first_party_for_cookies)(PCefRequest self); + void __stdcall (*set_first_party_for_cookies)(PCefRequest self, const PCefString url); + TCefResourceType __stdcall (*get_resource_type)(PCefRequest self); + TCefTransitionType __stdcall (*get_transition_type)(PCefRequest self); + unsigned __int64 __stdcall (*get_identifier)(PCefRequest self); +}; + + +struct DECLSPEC_DRECORD TCefTask +{ +public: + TCefBaseRefCounted base; + void __stdcall (*execute)(PCefTask self); +}; + + +struct DECLSPEC_DRECORD TCefTaskManager +{ +public: + TCefBaseRefCounted base; + unsigned __stdcall (*get_tasks_count)(PCefTaskManager self); + int __stdcall (*get_task_ids_list)(PCefTaskManager self, System::PNativeUInt task_idsCount, System::PInt64 task_ids); + int __stdcall (*get_task_info)(PCefTaskManager self, __int64 task_id, PCefTaskInfo info); + int __stdcall (*kill_task)(PCefTaskManager self, __int64 task_id); + __int64 __stdcall (*get_task_id_for_browser_id)(PCefTaskManager self, int browser_id); +}; + + +struct DECLSPEC_DRECORD TCefDomVisitor +{ +public: + TCefBaseRefCounted base; + void __stdcall (*visit)(PCefDomVisitor self, PCefDomDocument document); +}; + + +struct DECLSPEC_DRECORD TCefMenuModel +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_sub_menu)(PCefMenuModel self); + int __stdcall (*clear)(PCefMenuModel self); + unsigned __stdcall (*get_count)(PCefMenuModel self); + int __stdcall (*add_separator)(PCefMenuModel self); + int __stdcall (*add_item)(PCefMenuModel self, int command_id, const PCefString text); + int __stdcall (*add_check_item)(PCefMenuModel self, int command_id, const PCefString text); + int __stdcall (*add_radio_item)(PCefMenuModel self, int command_id, const PCefString text, int group_id); + PCefMenuModel __stdcall (*add_sub_menu)(PCefMenuModel self, int command_id, const PCefString text); + int __stdcall (*insert_separator_at)(PCefMenuModel self, System::NativeUInt index); + int __stdcall (*insert_item_at)(PCefMenuModel self, System::NativeUInt index, int command_id, const PCefString text); + int __stdcall (*insert_check_item_at)(PCefMenuModel self, System::NativeUInt index, int command_id, const PCefString text); + int __stdcall (*insert_radio_item_at)(PCefMenuModel self, System::NativeUInt index, int command_id, const PCefString text, int group_id); + PCefMenuModel __stdcall (*insert_sub_menu_at)(PCefMenuModel self, System::NativeUInt index, int command_id, const PCefString text); + int __stdcall (*remove)(PCefMenuModel self, int command_id); + int __stdcall (*remove_at)(PCefMenuModel self, System::NativeUInt index); + int __stdcall (*get_index_of)(PCefMenuModel self, int command_id); + int __stdcall (*get_command_id_at)(PCefMenuModel self, System::NativeUInt index); + int __stdcall (*set_command_id_at)(PCefMenuModel self, System::NativeUInt index, int command_id); + PCefStringUserFreeUtf16 __stdcall (*get_label)(PCefMenuModel self, int command_id); + PCefStringUserFreeUtf16 __stdcall (*get_label_at)(PCefMenuModel self, System::NativeUInt index); + int __stdcall (*set_label)(PCefMenuModel self, int command_id, const PCefString text); + int __stdcall (*set_label_at)(PCefMenuModel self, System::NativeUInt index, const PCefString text); + TCefMenuItemType __stdcall (*get_type)(PCefMenuModel self, int command_id); + TCefMenuItemType __stdcall (*get_type_at)(PCefMenuModel self, System::NativeUInt index); + int __stdcall (*get_group_id)(PCefMenuModel self, int command_id); + int __stdcall (*get_group_id_at)(PCefMenuModel self, System::NativeUInt index); + int __stdcall (*set_group_id)(PCefMenuModel self, int command_id, int group_id); + int __stdcall (*set_group_id_at)(PCefMenuModel self, System::NativeUInt index, int group_id); + PCefMenuModel __stdcall (*get_sub_menu)(PCefMenuModel self, int command_id); + PCefMenuModel __stdcall (*get_sub_menu_at)(PCefMenuModel self, System::NativeUInt index); + int __stdcall (*is_visible)(PCefMenuModel self, int command_id); + int __stdcall (*is_visible_at)(PCefMenuModel self, System::NativeUInt index); + int __stdcall (*set_visible)(PCefMenuModel self, int command_id, int visible); + int __stdcall (*set_visible_at)(PCefMenuModel self, System::NativeUInt index, int visible); + int __stdcall (*is_enabled)(PCefMenuModel self, int command_id); + int __stdcall (*is_enabled_at)(PCefMenuModel self, System::NativeUInt index); + int __stdcall (*set_enabled)(PCefMenuModel self, int command_id, int enabled); + int __stdcall (*set_enabled_at)(PCefMenuModel self, System::NativeUInt index, int enabled); + int __stdcall (*is_checked)(PCefMenuModel self, int command_id); + int __stdcall (*is_checked_at)(PCefMenuModel self, System::NativeUInt index); + int __stdcall (*set_checked)(PCefMenuModel self, int command_id, int checked); + int __stdcall (*set_checked_at)(PCefMenuModel self, System::NativeUInt index, int checked); + int __stdcall (*has_accelerator)(PCefMenuModel self, int command_id); + int __stdcall (*has_accelerator_at)(PCefMenuModel self, System::NativeUInt index); + int __stdcall (*set_accelerator)(PCefMenuModel self, int command_id, int key_code, int shift_pressed, int ctrl_pressed, int alt_pressed); + int __stdcall (*set_accelerator_at)(PCefMenuModel self, System::NativeUInt index, int key_code, int shift_pressed, int ctrl_pressed, int alt_pressed); + int __stdcall (*remove_accelerator)(PCefMenuModel self, int command_id); + int __stdcall (*remove_accelerator_at)(PCefMenuModel self, System::NativeUInt index); + int __stdcall (*get_accelerator)(PCefMenuModel self, int command_id, System::PInteger key_code, System::PInteger shift_pressed, System::PInteger ctrl_pressed, System::PInteger alt_pressed); + int __stdcall (*get_accelerator_at)(PCefMenuModel self, System::NativeUInt index, System::PInteger key_code, System::PInteger shift_pressed, System::PInteger ctrl_pressed, System::PInteger alt_pressed); + int __stdcall (*set_color)(PCefMenuModel self, int command_id, TCefMenuColorType color_type, TCefColor color); + int __stdcall (*set_color_at)(PCefMenuModel self, int index, TCefMenuColorType color_type, TCefColor color); + int __stdcall (*get_color)(PCefMenuModel self, int command_id, TCefMenuColorType color_type, PCefColor color); + int __stdcall (*get_color_at)(PCefMenuModel self, int index, TCefMenuColorType color_type, PCefColor color); + int __stdcall (*set_font_list)(PCefMenuModel self, int command_id, const PCefString font_list); + int __stdcall (*set_font_list_at)(PCefMenuModel self, int index, const PCefString font_list); +}; + + +struct DECLSPEC_DRECORD TCefContextMenuParams +{ +public: + TCefBaseRefCounted base; + int __stdcall (*get_xcoord)(PCefContextMenuParams self); + int __stdcall (*get_ycoord)(PCefContextMenuParams self); + TCefContextMenuTypeFlags __stdcall (*get_type_flags)(PCefContextMenuParams self); + PCefStringUserFreeUtf16 __stdcall (*get_link_url)(PCefContextMenuParams self); + PCefStringUserFreeUtf16 __stdcall (*get_unfiltered_link_url)(PCefContextMenuParams self); + PCefStringUserFreeUtf16 __stdcall (*get_source_url)(PCefContextMenuParams self); + int __stdcall (*has_image_contents)(PCefContextMenuParams self); + PCefStringUserFreeUtf16 __stdcall (*get_title_text)(PCefContextMenuParams self); + PCefStringUserFreeUtf16 __stdcall (*get_page_url)(PCefContextMenuParams self); + PCefStringUserFreeUtf16 __stdcall (*get_frame_url)(PCefContextMenuParams self); + PCefStringUserFreeUtf16 __stdcall (*get_frame_charset)(PCefContextMenuParams self); + TCefContextMenuMediaType __stdcall (*get_media_type)(PCefContextMenuParams self); + TCefContextMenuMediaStateFlags __stdcall (*get_media_state_flags)(PCefContextMenuParams self); + PCefStringUserFreeUtf16 __stdcall (*get_selection_text)(PCefContextMenuParams self); + PCefStringUserFreeUtf16 __stdcall (*get_misspelled_word)(PCefContextMenuParams self); + int __stdcall (*get_dictionary_suggestions)(PCefContextMenuParams self, TCefStringList suggestions); + int __stdcall (*is_editable)(PCefContextMenuParams self); + int __stdcall (*is_spell_check_enabled)(PCefContextMenuParams self); + TCefContextMenuEditStateFlags __stdcall (*get_edit_state_flags)(PCefContextMenuParams self); + int __stdcall (*is_custom_menu)(PCefContextMenuParams self); +}; + + +struct DECLSPEC_DRECORD TCefDownloadItem +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_valid)(PCefDownloadItem self); + int __stdcall (*is_in_progress)(PCefDownloadItem self); + int __stdcall (*is_complete)(PCefDownloadItem self); + int __stdcall (*is_canceled)(PCefDownloadItem self); + int __stdcall (*is_interrupted)(PCefDownloadItem self); + TCefDownloadInterruptReason __stdcall (*get_interrupt_reason)(PCefDownloadItem self); + __int64 __stdcall (*get_current_speed)(PCefDownloadItem self); + int __stdcall (*get_percent_complete)(PCefDownloadItem self); + __int64 __stdcall (*get_total_bytes)(PCefDownloadItem self); + __int64 __stdcall (*get_received_bytes)(PCefDownloadItem self); + TCefBaseTime __stdcall (*get_start_time)(PCefDownloadItem self); + TCefBaseTime __stdcall (*get_end_time)(PCefDownloadItem self); + PCefStringUserFreeUtf16 __stdcall (*get_full_path)(PCefDownloadItem self); + unsigned __stdcall (*get_id)(PCefDownloadItem self); + PCefStringUserFreeUtf16 __stdcall (*get_url)(PCefDownloadItem self); + PCefStringUserFreeUtf16 __stdcall (*get_original_url)(PCefDownloadItem self); + PCefStringUserFreeUtf16 __stdcall (*get_suggested_file_name)(PCefDownloadItem self); + PCefStringUserFreeUtf16 __stdcall (*get_content_disposition)(PCefDownloadItem self); + PCefStringUserFreeUtf16 __stdcall (*get_mime_type)(PCefDownloadItem self); +}; + + +struct DECLSPEC_DRECORD TCefBeforeDownloadCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*cont)(PCefBeforeDownloadCallback self, const PCefString download_path, int show_dialog); +}; + + +struct DECLSPEC_DRECORD TCefDownloadItemCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*cancel)(PCefDownloadItemCallback self); + void __stdcall (*pause)(PCefDownloadItemCallback self); + void __stdcall (*resume)(PCefDownloadItemCallback self); +}; + + +struct DECLSPEC_DRECORD TCefDomNode +{ +public: + TCefBaseRefCounted base; + TCefDomNodeType __stdcall (*get_type)(PCefDomNode self); + int __stdcall (*is_text)(PCefDomNode self); + int __stdcall (*is_element)(PCefDomNode self); + int __stdcall (*is_editable)(PCefDomNode self); + int __stdcall (*is_form_control_element)(PCefDomNode self); + TCefDomFormControlType __stdcall (*get_form_control_element_type)(PCefDomNode self); + int __stdcall (*is_same)(PCefDomNode self, PCefDomNode that); + PCefStringUserFreeUtf16 __stdcall (*get_name)(PCefDomNode self); + PCefStringUserFreeUtf16 __stdcall (*get_value)(PCefDomNode self); + int __stdcall (*set_value)(PCefDomNode self, const PCefString value); + PCefStringUserFreeUtf16 __stdcall (*get_as_markup)(PCefDomNode self); + PCefDomDocument __stdcall (*get_document)(PCefDomNode self); + PCefDomNode __stdcall (*get_parent)(PCefDomNode self); + PCefDomNode __stdcall (*get_previous_sibling)(PCefDomNode self); + PCefDomNode __stdcall (*get_next_sibling)(PCefDomNode self); + int __stdcall (*has_children)(PCefDomNode self); + PCefDomNode __stdcall (*get_first_child)(PCefDomNode self); + PCefDomNode __stdcall (*get_last_child)(PCefDomNode self); + PCefStringUserFreeUtf16 __stdcall (*get_element_tag_name)(PCefDomNode self); + int __stdcall (*has_element_attributes)(PCefDomNode self); + int __stdcall (*has_element_attribute)(PCefDomNode self, const PCefString attrName); + PCefStringUserFreeUtf16 __stdcall (*get_element_attribute)(PCefDomNode self, const PCefString attrName); + void __stdcall (*get_element_attributes)(PCefDomNode self, TCefStringMap attrMap); + int __stdcall (*set_element_attribute)(PCefDomNode self, const PCefString attrName, const PCefString value); + PCefStringUserFreeUtf16 __stdcall (*get_element_inner_text)(PCefDomNode self); + TCefRect __stdcall (*get_element_bounds)(PCefDomNode self); +}; + + +struct DECLSPEC_DRECORD TCefDomDocument +{ +public: + TCefBaseRefCounted base; + TCefDomDocumentType __stdcall (*get_type)(PCefDomDocument self); + PCefDomNode __stdcall (*get_document)(PCefDomDocument self); + PCefDomNode __stdcall (*get_body)(PCefDomDocument self); + PCefDomNode __stdcall (*get_head)(PCefDomDocument self); + PCefStringUserFreeUtf16 __stdcall (*get_title)(PCefDomDocument self); + PCefDomNode __stdcall (*get_element_by_id)(PCefDomDocument self, const PCefString id); + PCefDomNode __stdcall (*get_focused_node)(PCefDomDocument self); + int __stdcall (*has_selection)(PCefDomDocument self); + int __stdcall (*get_selection_start_offset)(PCefDomDocument self); + int __stdcall (*get_selection_end_offset)(PCefDomDocument self); + PCefStringUserFreeUtf16 __stdcall (*get_selection_as_markup)(PCefDomDocument self); + PCefStringUserFreeUtf16 __stdcall (*get_selection_as_text)(PCefDomDocument self); + PCefStringUserFreeUtf16 __stdcall (*get_base_url)(PCefDomDocument self); + PCefStringUserFreeUtf16 __stdcall (*get_complete_url)(PCefDomDocument self, const PCefString partialURL); +}; + + +struct DECLSPEC_DRECORD TCefv8Handler +{ +public: + TCefBaseRefCounted base; + int __stdcall (*execute)(PCefv8Handler self, const PCefString name, PCefv8Value object_, System::NativeUInt argumentsCount, const PPCefV8Value arguments, PCefv8Value &retval, PCefString exception); +}; + + +struct DECLSPEC_DRECORD TCefV8Exception +{ +public: + TCefBaseRefCounted base; + PCefStringUserFreeUtf16 __stdcall (*get_message)(PCefV8Exception self); + PCefStringUserFreeUtf16 __stdcall (*get_source_line)(PCefV8Exception self); + PCefStringUserFreeUtf16 __stdcall (*get_script_resource_name)(PCefV8Exception self); + int __stdcall (*get_line_number)(PCefV8Exception self); + int __stdcall (*get_start_position)(PCefV8Exception self); + int __stdcall (*get_end_position)(PCefV8Exception self); + int __stdcall (*get_start_column)(PCefV8Exception self); + int __stdcall (*get_end_column)(PCefV8Exception self); +}; + + +struct DECLSPEC_DRECORD TCefv8ArrayBufferReleaseCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*release_buffer)(PCefv8ArrayBufferReleaseCallback self, void * buffer); +}; + + +struct DECLSPEC_DRECORD TCefv8Value +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_valid)(PCefv8Value self); + int __stdcall (*is_undefined)(PCefv8Value self); + int __stdcall (*is_null)(PCefv8Value self); + int __stdcall (*is_bool)(PCefv8Value self); + int __stdcall (*is_int)(PCefv8Value self); + int __stdcall (*is_uint)(PCefv8Value self); + int __stdcall (*is_double)(PCefv8Value self); + int __stdcall (*is_date)(PCefv8Value self); + int __stdcall (*is_string)(PCefv8Value self); + int __stdcall (*is_object)(PCefv8Value self); + int __stdcall (*is_array)(PCefv8Value self); + int __stdcall (*is_array_buffer)(PCefv8Value self); + int __stdcall (*is_function)(PCefv8Value self); + int __stdcall (*is_promise)(PCefv8Value self); + int __stdcall (*is_same)(PCefv8Value self, PCefv8Value that); + int __stdcall (*get_bool_value)(PCefv8Value self); + int __stdcall (*get_int_value)(PCefv8Value self); + unsigned __stdcall (*get_uint_value)(PCefv8Value self); + double __stdcall (*get_double_value)(PCefv8Value self); + TCefBaseTime __stdcall (*get_date_value)(PCefv8Value self); + PCefStringUserFreeUtf16 __stdcall (*get_string_value)(PCefv8Value self); + int __stdcall (*is_user_created)(PCefv8Value self); + int __stdcall (*has_exception)(PCefv8Value self); + PCefV8Exception __stdcall (*get_exception)(PCefv8Value self); + int __stdcall (*clear_exception)(PCefv8Value self); + int __stdcall (*will_rethrow_exceptions)(PCefv8Value self); + int __stdcall (*set_rethrow_exceptions)(PCefv8Value self, int rethrow); + int __stdcall (*has_value_bykey)(PCefv8Value self, const PCefString key); + int __stdcall (*has_value_byindex)(PCefv8Value self, int index); + int __stdcall (*delete_value_bykey)(PCefv8Value self, const PCefString key); + int __stdcall (*delete_value_byindex)(PCefv8Value self, int index); + PCefv8Value __stdcall (*get_value_bykey)(PCefv8Value self, const PCefString key); + PCefv8Value __stdcall (*get_value_byindex)(PCefv8Value self, int index); + int __stdcall (*set_value_bykey)(PCefv8Value self, const PCefString key, PCefv8Value value, TCefV8PropertyAttributes attribute); + int __stdcall (*set_value_byindex)(PCefv8Value self, int index, PCefv8Value value); + int __stdcall (*set_value_byaccessor)(PCefv8Value self, const PCefString key, TCefV8PropertyAttributes attribute); + int __stdcall (*get_keys)(PCefv8Value self, TCefStringList keys); + int __stdcall (*set_user_data)(PCefv8Value self, PCefBaseRefCounted user_data); + PCefBaseRefCounted __stdcall (*get_user_data)(PCefv8Value self); + int __stdcall (*get_externally_allocated_memory)(PCefv8Value self); + int __stdcall (*adjust_externally_allocated_memory)(PCefv8Value self, int change_in_bytes); + int __stdcall (*get_array_length)(PCefv8Value self); + PCefv8ArrayBufferReleaseCallback __stdcall (*get_array_buffer_release_callback)(PCefv8Value self); + int __stdcall (*neuter_array_buffer)(PCefv8Value self); + unsigned __stdcall (*get_array_buffer_byte_length)(PCefv8Value self); + void * __stdcall (*get_array_buffer_data)(PCefv8Value self); + PCefStringUserFreeUtf16 __stdcall (*get_function_name)(PCefv8Value self); + PCefv8Handler __stdcall (*get_function_handler)(PCefv8Value self); + PCefv8Value __stdcall (*execute_function)(PCefv8Value self, PCefv8Value obj, System::NativeUInt argumentsCount, const PPCefV8Value arguments); + PCefv8Value __stdcall (*execute_function_with_context)(PCefv8Value self, PCefv8Context context, PCefv8Value obj, System::NativeUInt argumentsCount, const PPCefV8Value arguments); + int __stdcall (*resolve_promise)(PCefv8Value self, PCefv8Value arg); + int __stdcall (*reject_promise)(PCefv8Value self, const PCefString errorMsg); +}; + + +struct DECLSPEC_DRECORD TCefV8Context +{ +public: + TCefBaseRefCounted base; + PCefTaskRunner __stdcall (*get_task_runner)(PCefv8Context self); + int __stdcall (*is_valid)(PCefv8Context self); + PCefBrowser __stdcall (*get_browser)(PCefv8Context self); + PCefFrame __stdcall (*get_frame)(PCefv8Context self); + PCefv8Value __stdcall (*get_global)(PCefv8Context self); + int __stdcall (*enter)(PCefv8Context self); + int __stdcall (*exit)(PCefv8Context self); + int __stdcall (*is_same)(PCefv8Context self, PCefv8Context that); + int __stdcall (*eval)(PCefv8Context self, const PCefString code, const PCefString script_url, int start_line, PCefv8Value &retval, PCefV8Exception &exception); +}; + + +struct DECLSPEC_DRECORD TCefV8Interceptor +{ +public: + TCefBaseRefCounted base; + int __stdcall (*get_byname)(PCefV8Interceptor self, const PCefString name, PCefv8Value object_, /* out */ PCefv8Value &retval, PCefString exception); + int __stdcall (*get_byindex)(PCefV8Interceptor self, int index, PCefv8Value object_, /* out */ PCefv8Value &retval, PCefString exception); + int __stdcall (*set_byname)(PCefV8Interceptor self, const PCefString name, PCefv8Value object_, PCefv8Value value, PCefString exception); + int __stdcall (*set_byindex)(PCefV8Interceptor self, int index, PCefv8Value object_, PCefv8Value value, PCefString exception); +}; + + +struct DECLSPEC_DRECORD TCefV8Accessor +{ +public: + TCefBaseRefCounted base; + int __stdcall (*get)(PCefV8Accessor self, const PCefString name, PCefv8Value object_, /* out */ PCefv8Value &retval, PCefString exception); + int __stdcall (*set_)(PCefV8Accessor self, const PCefString name, PCefv8Value object_, PCefv8Value value, PCefString exception); +}; + + +struct DECLSPEC_DRECORD TCefFrame +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_valid)(PCefFrame self); + void __stdcall (*undo)(PCefFrame self); + void __stdcall (*redo)(PCefFrame self); + void __stdcall (*cut)(PCefFrame self); + void __stdcall (*copy)(PCefFrame self); + void __stdcall (*paste)(PCefFrame self); + void __stdcall (*paste_and_match_style)(PCefFrame self); + void __stdcall (*del)(PCefFrame self); + void __stdcall (*select_all)(PCefFrame self); + void __stdcall (*view_source)(PCefFrame self); + void __stdcall (*get_source)(PCefFrame self, PCefStringVisitor visitor); + void __stdcall (*get_text)(PCefFrame self, PCefStringVisitor visitor); + void __stdcall (*load_request)(PCefFrame self, PCefRequest request); + void __stdcall (*load_url)(PCefFrame self, const PCefString url); + void __stdcall (*execute_java_script)(PCefFrame self, const PCefString code, const PCefString script_url, int start_line); + int __stdcall (*is_main)(PCefFrame self); + int __stdcall (*is_focused)(PCefFrame self); + PCefStringUserFreeUtf16 __stdcall (*get_name)(PCefFrame self); + PCefStringUserFreeUtf16 __stdcall (*get_identifier)(PCefFrame self); + PCefFrame __stdcall (*get_parent)(PCefFrame self); + PCefStringUserFreeUtf16 __stdcall (*get_url)(PCefFrame self); + PCefBrowser __stdcall (*get_browser)(PCefFrame self); + PCefv8Context __stdcall (*get_v8_context)(PCefFrame self); + void __stdcall (*visit_dom)(PCefFrame self, PCefDomVisitor visitor); + PCefUrlRequest __stdcall (*create_urlrequest)(PCefFrame self, PCefRequest request, PCefUrlRequestClient client); + void __stdcall (*send_process_message)(PCefFrame self, TCefProcessId target_process, PCefProcessMessage message_); +}; + + +struct DECLSPEC_DRECORD TCefFrameHandler +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_frame_created)(PCefFrameHandler self, PCefBrowser browser, PCefFrame frame); + void __stdcall (*on_frame_destroyed)(PCefFrameHandler self, PCefBrowser browser, PCefFrame frame); + void __stdcall (*on_frame_attached)(PCefFrameHandler self, PCefBrowser browser, PCefFrame frame, int reattached); + void __stdcall (*on_frame_detached)(PCefFrameHandler self, PCefBrowser browser, PCefFrame frame); + void __stdcall (*on_main_frame_changed)(PCefFrameHandler self, PCefBrowser browser, PCefFrame old_frame, PCefFrame new_frame); +}; + + +struct DECLSPEC_DRECORD TCefAccessibilityHandler +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_accessibility_tree_change)(PCefAccessibilityHandler self, PCefValue value); + void __stdcall (*on_accessibility_location_change)(PCefAccessibilityHandler self, PCefValue value); +}; + + +struct DECLSPEC_DRECORD TCefContextMenuHandler +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_before_context_menu)(PCefContextMenuHandler self, PCefBrowser browser, PCefFrame frame, PCefContextMenuParams params, PCefMenuModel model); + int __stdcall (*run_context_menu)(PCefContextMenuHandler self, PCefBrowser browser, PCefFrame frame, PCefContextMenuParams params, PCefMenuModel model, PCefRunContextMenuCallback callback); + int __stdcall (*on_context_menu_command)(PCefContextMenuHandler self, PCefBrowser browser, PCefFrame frame, PCefContextMenuParams params, int command_id, TCefEventFlags event_flags); + void __stdcall (*on_context_menu_dismissed)(PCefContextMenuHandler self, PCefBrowser browser, PCefFrame frame); + int __stdcall (*run_quick_menu)(PCefContextMenuHandler self, PCefBrowser browser, PCefFrame frame, PCefPoint location, PCefSize size, TCefQuickMenuEditStateFlags edit_state_flags, PCefRunQuickMenuCallback callback); + int __stdcall (*on_quick_menu_command)(PCefContextMenuHandler self, PCefBrowser browser, PCefFrame frame, int command_id, TCefEventFlags event_flags); + void __stdcall (*on_quick_menu_dismissed)(PCefContextMenuHandler self, PCefBrowser browser, PCefFrame frame); +}; + + +struct DECLSPEC_DRECORD TCefRunQuickMenuCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*cont)(PCefRunQuickMenuCallback self, int command_id, TCefEventFlags event_flags); + void __stdcall (*cancel)(PCefRunQuickMenuCallback self); +}; + + +struct DECLSPEC_DRECORD TCefClient +{ +public: + TCefBaseRefCounted base; + PCefAudioHandler __stdcall (*get_audio_handler)(PCefClient self); + PCefCommandHandler __stdcall (*get_command_handler)(PCefClient self); + PCefContextMenuHandler __stdcall (*get_context_menu_handler)(PCefClient self); + PCefDialogHandler __stdcall (*get_dialog_handler)(PCefClient self); + PCefDisplayHandler __stdcall (*get_display_handler)(PCefClient self); + PCefDownloadHandler __stdcall (*get_download_handler)(PCefClient self); + PCefDragHandler __stdcall (*get_drag_handler)(PCefClient self); + PCefFindHandler __stdcall (*get_find_handler)(PCefClient self); + PCefFocusHandler __stdcall (*get_focus_handler)(PCefClient self); + PCefFrameHandler __stdcall (*get_frame_handler)(PCefClient self); + PCefPermissionHandler __stdcall (*get_permission_handler)(PCefClient self); + PCefJsDialogHandler __stdcall (*get_jsdialog_handler)(PCefClient self); + PCefKeyboardHandler __stdcall (*get_keyboard_handler)(PCefClient self); + PCefLifeSpanHandler __stdcall (*get_life_span_handler)(PCefClient self); + PCefLoadHandler __stdcall (*get_load_handler)(PCefClient self); + PCefPrintHandler __stdcall (*get_print_handler)(PCefClient self); + PCefRenderHandler __stdcall (*get_render_handler)(PCefClient self); + PCefRequestHandler __stdcall (*get_request_handler)(PCefClient self); + int __stdcall (*on_process_message_received)(PCefClient self, PCefBrowser browser, PCefFrame frame, TCefProcessId source_process, PCefProcessMessage message_); +}; + + +struct DECLSPEC_DRECORD TCefBrowserHost +{ +public: + TCefBaseRefCounted base; + PCefBrowser __stdcall (*get_browser)(PCefBrowserHost self); + void __stdcall (*close_browser)(PCefBrowserHost self, int force_close); + int __stdcall (*try_close_browser)(PCefBrowserHost self); + int __stdcall (*is_ready_to_be_closed)(PCefBrowserHost self); + void __stdcall (*set_focus)(PCefBrowserHost self, int focus); + TCefWindowHandle __stdcall (*get_window_handle)(PCefBrowserHost self); + TCefWindowHandle __stdcall (*get_opener_window_handle)(PCefBrowserHost self); + int __stdcall (*get_opener_identifier)(PCefBrowserHost self); + int __stdcall (*has_view)(PCefBrowserHost self); + PCefClient __stdcall (*get_client)(PCefBrowserHost self); + PCefRequestContext __stdcall (*get_request_context)(PCefBrowserHost self); + int __stdcall (*can_zoom)(PCefBrowserHost self, TCefZoomCommand command); + void __stdcall (*zoom)(PCefBrowserHost self, TCefZoomCommand command); + double __stdcall (*get_default_zoom_level)(PCefBrowserHost self); + double __stdcall (*get_zoom_level)(PCefBrowserHost self); + void __stdcall (*set_zoom_level)(PCefBrowserHost self, double zoomLevel); + void __stdcall (*run_file_dialog)(PCefBrowserHost self, TCefFileDialogMode mode, const PCefString title, const PCefString default_file_path, TCefStringList accept_filters, PCefRunFileDialogCallback callback); + void __stdcall (*start_download)(PCefBrowserHost self, const PCefString url); + void __stdcall (*download_image)(PCefBrowserHost self, const PCefString image_url, int is_favicon, unsigned max_image_size, int bypass_cache, PCefDownloadImageCallback callback); + void __stdcall (*print)(PCefBrowserHost self); + void __stdcall (*print_to_pdf)(PCefBrowserHost self, const PCefString path, const PCefPdfPrintSettings settings, PCefPdfPrintCallback callback); + void __stdcall (*find)(PCefBrowserHost self, const PCefString searchText, int forward_, int matchCase, int findNext); + void __stdcall (*stop_finding)(PCefBrowserHost self, int clearSelection); + void __stdcall (*show_dev_tools)(PCefBrowserHost self, const PCefWindowInfo windowInfo, PCefClient client, const PCefBrowserSettings settings, const PCefPoint inspect_element_at); + void __stdcall (*close_dev_tools)(PCefBrowserHost self); + int __stdcall (*has_dev_tools)(PCefBrowserHost self); + int __stdcall (*send_dev_tools_message)(PCefBrowserHost self, const void * message_, System::NativeUInt message_size); + int __stdcall (*execute_dev_tools_method)(PCefBrowserHost self, int message_id, const PCefString method, PCefDictionaryValue params); + PCefRegistration __stdcall (*add_dev_tools_message_observer)(PCefBrowserHost self, PCefDevToolsMessageObserver observer); + void __stdcall (*get_navigation_entries)(PCefBrowserHost self, PCefNavigationEntryVisitor visitor, int current_only); + void __stdcall (*replace_misspelling)(PCefBrowserHost self, const PCefString word); + void __stdcall (*add_word_to_dictionary)(PCefBrowserHost self, const PCefString word); + int __stdcall (*is_window_rendering_disabled)(PCefBrowserHost self); + void __stdcall (*was_resized)(PCefBrowserHost self); + void __stdcall (*was_hidden)(PCefBrowserHost self, int hidden); + void __stdcall (*notify_screen_info_changed)(PCefBrowserHost self); + void __stdcall (*invalidate)(PCefBrowserHost self, TCefPaintElementType type_); + void __stdcall (*send_external_begin_frame)(PCefBrowserHost self); + void __stdcall (*send_key_event)(PCefBrowserHost self, const PCefKeyEvent event); + void __stdcall (*send_mouse_click_event)(PCefBrowserHost self, const PCefMouseEvent event, TCefMouseButtonType type_, int mouseUp, int clickCount); + void __stdcall (*send_mouse_move_event)(PCefBrowserHost self, const PCefMouseEvent event, int mouseLeave); + void __stdcall (*send_mouse_wheel_event)(PCefBrowserHost self, const PCefMouseEvent event, int deltaX, int deltaY); + void __stdcall (*send_touch_event)(PCefBrowserHost self, const PCefTouchEvent event); + void __stdcall (*send_capture_lost_event)(PCefBrowserHost self); + void __stdcall (*notify_move_or_resize_started)(PCefBrowserHost self); + int __stdcall (*get_windowless_frame_rate)(PCefBrowserHost self); + void __stdcall (*set_windowless_frame_rate)(PCefBrowserHost self, int frame_rate); + void __stdcall (*ime_set_composition)(PCefBrowserHost self, const PCefString text, System::NativeUInt underlinesCount, const PCefCompositionUnderline underlines, const PCefRange replacement_range, const PCefRange selection_range); + void __stdcall (*ime_commit_text)(PCefBrowserHost self, const PCefString text, const PCefRange replacement_range, int relative_cursor_pos); + void __stdcall (*ime_finish_composing_text)(PCefBrowserHost self, int keep_selection); + void __stdcall (*ime_cancel_composition)(PCefBrowserHost self); + void __stdcall (*drag_target_drag_enter)(PCefBrowserHost self, PCefDragData drag_data, const PCefMouseEvent event, TCefDragOperations allowed_ops); + void __stdcall (*drag_target_drag_over)(PCefBrowserHost self, const PCefMouseEvent event, TCefDragOperations allowed_ops); + void __stdcall (*drag_target_drag_leave)(PCefBrowserHost self); + void __stdcall (*drag_target_drop)(PCefBrowserHost self, const PCefMouseEvent event); + void __stdcall (*drag_source_ended_at)(PCefBrowserHost self, int x, int y, TCefDragOperation op); + void __stdcall (*drag_source_system_drag_ended)(PCefBrowserHost self); + PCefNavigationEntry __stdcall (*get_visible_navigation_entry)(PCefBrowserHost self); + void __stdcall (*set_accessibility_state)(PCefBrowserHost self, TCefState accessibility_state); + void __stdcall (*set_auto_resize_enabled)(PCefBrowserHost self, int enabled, const PCefSize min_size, const PCefSize max_size); + void __stdcall (*set_audio_muted)(PCefBrowserHost self, int mute); + int __stdcall (*is_audio_muted)(PCefBrowserHost self); + int __stdcall (*is_fullscreen)(PCefBrowserHost self); + void __stdcall (*exit_fullscreen)(PCefBrowserHost self, int will_cause_resize); + int __stdcall (*can_execute_chrome_command)(PCefBrowserHost self, int command_id); + void __stdcall (*execute_chrome_command)(PCefBrowserHost self, int command_id, TCefWindowOpenDisposition disposition); + int __stdcall (*is_render_process_unresponsive)(PCefBrowserHost self); + TCefRuntimeStyle __stdcall (*get_runtime_style)(PCefBrowserHost self); +}; + + +struct DECLSPEC_DRECORD TCefBrowser +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_valid)(PCefBrowser self); + PCefBrowserHost __stdcall (*get_host)(PCefBrowser self); + int __stdcall (*can_go_back)(PCefBrowser self); + void __stdcall (*go_back)(PCefBrowser self); + int __stdcall (*can_go_forward)(PCefBrowser self); + void __stdcall (*go_forward)(PCefBrowser self); + int __stdcall (*is_loading)(PCefBrowser self); + void __stdcall (*reload)(PCefBrowser self); + void __stdcall (*reload_ignore_cache)(PCefBrowser self); + void __stdcall (*stop_load)(PCefBrowser self); + int __stdcall (*get_identifier)(PCefBrowser self); + int __stdcall (*is_same)(PCefBrowser self, PCefBrowser that); + int __stdcall (*is_popup)(PCefBrowser self); + int __stdcall (*has_document)(PCefBrowser self); + PCefFrame __stdcall (*get_main_frame)(PCefBrowser self); + PCefFrame __stdcall (*get_focused_frame)(PCefBrowser self); + PCefFrame __stdcall (*get_frame_by_identifier)(PCefBrowser self, const PCefString identifier); + PCefFrame __stdcall (*get_frame_by_name)(PCefBrowser self, const PCefString name); + unsigned __stdcall (*get_frame_count)(PCefBrowser self); + void __stdcall (*get_frame_identifiers)(PCefBrowser self, TCefStringList identifiers); + void __stdcall (*get_frame_names)(PCefBrowser self, TCefStringList names); +}; + + +struct DECLSPEC_DRECORD TCefResourceBundleHandler +{ +public: + TCefBaseRefCounted base; + int __stdcall (*get_localized_string)(PCefResourceBundleHandler self, int string_id, PCefString string_val); + int __stdcall (*get_data_resource)(PCefResourceBundleHandler self, int resource_id, void * &data, System::NativeUInt &data_size); + int __stdcall (*get_data_resource_for_scale)(PCefResourceBundleHandler self, int resource_id, TCefScaleFactor scale_factor, void * &data, System::NativeUInt &data_size); +}; + + +struct DECLSPEC_DRECORD TCefBrowserProcessHandler +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_register_custom_preferences)(PCefBrowserProcessHandler self, TCefPreferencesType type_, PCefPreferenceRegistrar registrar); + void __stdcall (*on_context_initialized)(PCefBrowserProcessHandler self); + void __stdcall (*on_before_child_process_launch)(PCefBrowserProcessHandler self, PCefCommandLine command_line); + int __stdcall (*on_already_running_app_relaunch)(PCefBrowserProcessHandler self, PCefCommandLine command_line, const PCefString current_directory); + void __stdcall (*on_schedule_message_pump_work)(PCefBrowserProcessHandler self, __int64 delay_ms); + PCefClient __stdcall (*get_default_client)(PCefBrowserProcessHandler self); + PCefRequestContextHandler __stdcall (*get_default_request_context_handler)(PCefBrowserProcessHandler self); +}; + + +struct DECLSPEC_DRECORD TCefApp +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_before_command_line_processing)(PCefApp self, const PCefString process_type, PCefCommandLine command_line); + void __stdcall (*on_register_custom_schemes)(PCefApp self, PCefSchemeRegistrar registrar); + PCefResourceBundleHandler __stdcall (*get_resource_bundle_handler)(PCefApp self); + PCefBrowserProcessHandler __stdcall (*get_browser_process_handler)(PCefApp self); + PCefRenderProcessHandler __stdcall (*get_render_process_handler)(PCefApp self); +}; + + +struct DECLSPEC_DRECORD TCefServer +{ +public: + TCefBaseRefCounted base; + PCefTaskRunner __stdcall (*get_task_runner)(PCefServer self); + void __stdcall (*shutdown)(PCefServer self); + int __stdcall (*is_running)(PCefServer self); + PCefStringUserFreeUtf16 __stdcall (*get_address)(PCefServer self); + int __stdcall (*has_connection)(PCefServer self); + int __stdcall (*is_valid_connection)(PCefServer self, int connection_id); + void __stdcall (*send_http200_response)(PCefServer self, int connection_id, const PCefString content_type, const void * data, System::NativeUInt data_size); + void __stdcall (*send_http404_response)(PCefServer self, int connection_id); + void __stdcall (*send_http500_response)(PCefServer self, int connection_id, const PCefString error_message); + void __stdcall (*send_http_response)(PCefServer self, int connection_id, int response_code, const PCefString content_type, __int64 content_length, TCefStringMultimap extra_headers); + void __stdcall (*send_raw_data)(PCefServer self, int connection_id, const void * data, System::NativeUInt data_size); + void __stdcall (*close_connection)(PCefServer self, int connection_id); + void __stdcall (*send_web_socket_message)(PCefServer self, int connection_id, const void * data, System::NativeUInt data_size); +}; + + +struct DECLSPEC_DRECORD TCefServerHandler +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_server_created)(PCefServerHandler self, PCefServer server); + void __stdcall (*on_server_destroyed)(PCefServerHandler self, PCefServer server); + void __stdcall (*on_client_connected)(PCefServerHandler self, PCefServer server, int connection_id); + void __stdcall (*on_client_disconnected)(PCefServerHandler self, PCefServer server, int connection_id); + void __stdcall (*on_http_request)(PCefServerHandler self, PCefServer server, int connection_id, const PCefString client_address, PCefRequest request); + void __stdcall (*on_web_socket_request)(PCefServerHandler self, PCefServer server, int connection_id, const PCefString client_address, PCefRequest request, PCefCallback callback); + void __stdcall (*on_web_socket_connected)(PCefServerHandler self, PCefServer server, int connection_id); + void __stdcall (*on_web_socket_message)(PCefServerHandler self, PCefServer server, int connection_id, const void * data, System::NativeUInt data_size); +}; + + +struct DECLSPEC_DRECORD TCefDisplay +{ +public: + TCefBaseRefCounted base; + __int64 __stdcall (*get_id)(PCefDisplay self); + float __stdcall (*get_device_scale_factor)(PCefDisplay self); + void __stdcall (*convert_point_to_pixels)(PCefDisplay self, PCefPoint point); + void __stdcall (*convert_point_from_pixels)(PCefDisplay self, PCefPoint point); + TCefRect __stdcall (*get_bounds)(PCefDisplay self); + TCefRect __stdcall (*get_work_area)(PCefDisplay self); + int __stdcall (*get_rotation)(PCefDisplay self); +}; + + +struct DECLSPEC_DRECORD TCefLayout +{ +public: + TCefBaseRefCounted base; + PCefBoxLayout __stdcall (*as_box_layout)(PCefLayout self); + PCefFillLayout __stdcall (*as_fill_layout)(PCefLayout self); + int __stdcall (*is_valid)(PCefLayout self); +}; + + +struct DECLSPEC_DRECORD TCefBoxLayout +{ +public: + TCefLayout base; + void __stdcall (*set_flex_for_view)(PCefBoxLayout self, PCefView view, int flex); + void __stdcall (*clear_flex_for_view)(PCefBoxLayout self, PCefView view); +}; + + +struct DECLSPEC_DRECORD TCefFillLayout +{ +public: + TCefLayout base; +}; + + +struct DECLSPEC_DRECORD TCefOverlayController +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_valid)(PCefOverlayController self); + int __stdcall (*is_same)(PCefOverlayController self, PCefOverlayController that); + PCefView __stdcall (*get_contents_view)(PCefOverlayController self); + PCefWindow __stdcall (*get_window)(PCefOverlayController self); + TCefDockingMode __stdcall (*get_docking_mode)(PCefOverlayController self); + void __stdcall (*destroy)(PCefOverlayController self); + void __stdcall (*set_bounds)(PCefOverlayController self, const PCefRect bounds); + TCefRect __stdcall (*get_bounds)(PCefOverlayController self); + TCefRect __stdcall (*get_bounds_in_screen)(PCefOverlayController self); + void __stdcall (*set_size)(PCefOverlayController self, const PCefSize size); + TCefSize __stdcall (*get_size)(PCefOverlayController self); + void __stdcall (*set_position)(PCefOverlayController self, const PCefPoint position); + TCefPoint __stdcall (*get_position)(PCefOverlayController self); + void __stdcall (*set_insets)(PCefOverlayController self, const PCefInsets insets); + TCefInsets __stdcall (*get_insets)(PCefOverlayController self); + void __stdcall (*size_to_preferred_size)(PCefOverlayController self); + void __stdcall (*set_visible)(PCefOverlayController self, int visible); + int __stdcall (*is_visible)(PCefOverlayController self); + int __stdcall (*is_drawn)(PCefOverlayController self); +}; + + +struct DECLSPEC_DRECORD TCefView +{ +public: + TCefBaseRefCounted base; + PCefBrowserView __stdcall (*as_browser_view)(PCefView self); + PCefButton __stdcall (*as_button)(PCefView self); + PCefPanel __stdcall (*as_panel)(PCefView self); + PCefScrollView __stdcall (*as_scroll_view)(PCefView self); + PCefTextfield __stdcall (*as_textfield)(PCefView self); + PCefStringUserFreeUtf16 __stdcall (*get_type_string)(PCefView self); + PCefStringUserFreeUtf16 __stdcall (*to_string)(PCefView self, int include_children); + int __stdcall (*is_valid)(PCefView self); + int __stdcall (*is_attached)(PCefView self); + int __stdcall (*is_same)(PCefView self, PCefView that); + PCefViewDelegate __stdcall (*get_delegate)(PCefView self); + PCefWindow __stdcall (*get_window)(PCefView self); + int __stdcall (*get_id)(PCefView self); + void __stdcall (*set_id)(PCefView self, int id); + int __stdcall (*get_group_id)(PCefView self); + void __stdcall (*set_group_id)(PCefView self, int group_id); + PCefView __stdcall (*get_parent_view)(PCefView self); + PCefView __stdcall (*get_view_for_id)(PCefView self, int id); + void __stdcall (*set_bounds)(PCefView self, const PCefRect bounds); + TCefRect __stdcall (*get_bounds)(PCefView self); + TCefRect __stdcall (*get_bounds_in_screen)(PCefView self); + void __stdcall (*set_size)(PCefView self, const PCefSize size); + TCefSize __stdcall (*get_size)(PCefView self); + void __stdcall (*set_position)(PCefView self, const PCefPoint position); + TCefPoint __stdcall (*get_position)(PCefView self); + void __stdcall (*set_insets)(PCefView self, const PCefInsets insets); + TCefInsets __stdcall (*get_insets)(PCefView self); + TCefSize __stdcall (*get_preferred_size)(PCefView self); + void __stdcall (*size_to_preferred_size)(PCefView self); + TCefSize __stdcall (*get_minimum_size)(PCefView self); + TCefSize __stdcall (*get_maximum_size)(PCefView self); + int __stdcall (*get_height_for_width)(PCefView self, int width); + void __stdcall (*invalidate_layout)(PCefView self); + void __stdcall (*set_visible)(PCefView self, int visible); + int __stdcall (*is_visible)(PCefView self); + int __stdcall (*is_drawn)(PCefView self); + void __stdcall (*set_enabled)(PCefView self, int enabled); + int __stdcall (*is_enabled)(PCefView self); + void __stdcall (*set_focusable)(PCefView self, int focusable); + int __stdcall (*is_focusable)(PCefView self); + int __stdcall (*is_accessibility_focusable)(PCefView self); + int __stdcall (*has_focus)(PCefView self); + void __stdcall (*request_focus)(PCefView self); + void __stdcall (*set_background_color)(PCefView self, TCefColor color); + TCefColor __stdcall (*get_background_color)(PCefView self); + TCefColor __stdcall (*get_theme_color)(PCefView self, int color_id); + int __stdcall (*convert_point_to_screen)(PCefView self, PCefPoint point); + int __stdcall (*convert_point_from_screen)(PCefView self, PCefPoint point); + int __stdcall (*convert_point_to_window)(PCefView self, PCefPoint point); + int __stdcall (*convert_point_from_window)(PCefView self, PCefPoint point); + int __stdcall (*convert_point_to_view)(PCefView self, PCefView view, PCefPoint point); + int __stdcall (*convert_point_from_view)(PCefView self, PCefView view, PCefPoint point); +}; + + +struct DECLSPEC_DRECORD TCefViewDelegate +{ +public: + TCefBaseRefCounted base; + TCefSize __stdcall (*get_preferred_size)(PCefViewDelegate self, PCefView view); + TCefSize __stdcall (*get_minimum_size)(PCefViewDelegate self, PCefView view); + TCefSize __stdcall (*get_maximum_size)(PCefViewDelegate self, PCefView view); + int __stdcall (*get_height_for_width)(PCefViewDelegate self, PCefView view, int width); + void __stdcall (*on_parent_view_changed)(PCefViewDelegate self, PCefView view, int added, PCefView parent); + void __stdcall (*on_child_view_changed)(PCefViewDelegate self, PCefView view, int added, PCefView child); + void __stdcall (*on_window_changed)(PCefViewDelegate self, PCefView view, int added); + void __stdcall (*on_layout_changed)(PCefViewDelegate self, PCefView view, const PCefRect new_bounds); + void __stdcall (*on_focus)(PCefViewDelegate self, PCefView view); + void __stdcall (*on_blur)(PCefViewDelegate self, PCefView view); + void __stdcall (*on_theme_changed)(PCefViewDelegate self, PCefView view); +}; + + +struct DECLSPEC_DRECORD TCefTextfield +{ +public: + TCefView base; + void __stdcall (*set_password_input)(PCefTextfield self, int password_input); + int __stdcall (*is_password_input)(PCefTextfield self); + void __stdcall (*set_read_only)(PCefTextfield self, int read_only); + int __stdcall (*is_read_only)(PCefTextfield self); + PCefStringUserFreeUtf16 __stdcall (*get_text)(PCefTextfield self); + void __stdcall (*set_text)(PCefTextfield self, const PCefString text); + void __stdcall (*append_text)(PCefTextfield self, const PCefString text); + void __stdcall (*insert_or_replace_text)(PCefTextfield self, const PCefString text); + int __stdcall (*has_selection)(PCefTextfield self); + PCefStringUserFreeUtf16 __stdcall (*get_selected_text)(PCefTextfield self); + void __stdcall (*select_all)(PCefTextfield self, int reversed); + void __stdcall (*clear_selection)(PCefTextfield self); + TCefRange __stdcall (*get_selected_range)(PCefTextfield self); + void __stdcall (*select_range)(PCefTextfield self, const PCefRange range); + unsigned __stdcall (*get_cursor_position)(PCefTextfield self); + void __stdcall (*set_text_color)(PCefTextfield self, TCefColor color); + TCefColor __stdcall (*get_text_color)(PCefTextfield self); + void __stdcall (*set_selection_text_color)(PCefTextfield self, TCefColor color); + TCefColor __stdcall (*get_selection_text_color)(PCefTextfield self); + void __stdcall (*set_selection_background_color)(PCefTextfield self, TCefColor color); + TCefColor __stdcall (*get_selection_background_color)(PCefTextfield self); + void __stdcall (*set_font_list)(PCefTextfield self, const PCefString font_list); + void __stdcall (*apply_text_color)(PCefTextfield self, TCefColor color, const PCefRange range); + void __stdcall (*apply_text_style)(PCefTextfield self, TCefTextStyle style, int add, const PCefRange range); + int __stdcall (*is_command_enabled)(PCefTextfield self, TCefTextFieldCommands command_id); + void __stdcall (*execute_command)(PCefTextfield self, TCefTextFieldCommands command_id); + void __stdcall (*clear_edit_history)(PCefTextfield self); + void __stdcall (*set_placeholder_text)(PCefTextfield self, const PCefString text); + PCefStringUserFreeUtf16 __stdcall (*get_placeholder_text)(PCefTextfield self); + void __stdcall (*set_placeholder_text_color)(PCefTextfield self, TCefColor color); + void __stdcall (*set_accessible_name)(PCefTextfield self, const PCefString name); +}; + + +struct DECLSPEC_DRECORD TCefTextfieldDelegate +{ +public: + TCefViewDelegate base; + int __stdcall (*on_key_event)(PCefTextfieldDelegate self, PCefTextfield textfield, const PCefKeyEvent event); + void __stdcall (*on_after_user_action)(PCefTextfieldDelegate self, PCefTextfield textfield); +}; + + +struct DECLSPEC_DRECORD TCefScrollView +{ +public: + TCefView base; + void __stdcall (*set_content_view)(PCefScrollView self, PCefView view); + PCefView __stdcall (*get_content_view)(PCefScrollView self); + TCefRect __stdcall (*get_visible_content_rect)(PCefScrollView self); + int __stdcall (*has_horizontal_scrollbar)(PCefScrollView self); + int __stdcall (*get_horizontal_scrollbar_height)(PCefScrollView self); + int __stdcall (*has_vertical_scrollbar)(PCefScrollView self); + int __stdcall (*get_vertical_scrollbar_width)(PCefScrollView self); +}; + + +struct DECLSPEC_DRECORD TCefPanel +{ +public: + TCefView base; + PCefWindow __stdcall (*as_window)(PCefPanel self); + PCefFillLayout __stdcall (*set_to_fill_layout)(PCefPanel self); + PCefBoxLayout __stdcall (*set_to_box_layout)(PCefPanel self, const PCefBoxLayoutSettings settings); + PCefLayout __stdcall (*get_layout)(PCefPanel self); + void __stdcall (*layout)(PCefPanel self); + void __stdcall (*add_child_view)(PCefPanel self, PCefView view); + void __stdcall (*add_child_view_at)(PCefPanel self, PCefView view, int index); + void __stdcall (*reorder_child_view)(PCefPanel self, PCefView view, int index); + void __stdcall (*remove_child_view)(PCefPanel self, PCefView view); + void __stdcall (*remove_all_child_views)(PCefPanel self); + unsigned __stdcall (*get_child_view_count)(PCefPanel self); + PCefView __stdcall (*get_child_view_at)(PCefPanel self, int index); +}; + + +struct DECLSPEC_DRECORD TCefPanelDelegate +{ +public: + TCefViewDelegate base; +}; + + +struct DECLSPEC_DRECORD TCefBrowserView +{ +public: + TCefView base; + PCefBrowser __stdcall (*get_browser)(PCefBrowserView self); + PCefView __stdcall (*get_chrome_toolbar)(PCefBrowserView self); + void __stdcall (*set_prefer_accelerators)(PCefBrowserView self, int prefer_accelerators); + TCefRuntimeStyle __stdcall (*get_runtime_style)(PCefBrowserView self); +}; + + +struct DECLSPEC_DRECORD TCefBrowserViewDelegate +{ +public: + TCefViewDelegate base; + void __stdcall (*on_browser_created)(PCefBrowserViewDelegate self, PCefBrowserView browser_view, PCefBrowser browser); + void __stdcall (*on_browser_destroyed)(PCefBrowserViewDelegate self, PCefBrowserView browser_view, PCefBrowser browser); + PCefBrowserViewDelegate __stdcall (*get_delegate_for_popup_browser_view)(PCefBrowserViewDelegate self, PCefBrowserView browser_view, const PCefBrowserSettings settings, PCefClient client, int is_devtools); + int __stdcall (*on_popup_browser_view_created)(PCefBrowserViewDelegate self, PCefBrowserView browser_view, PCefBrowserView popup_browser_view, int is_devtools); + TCefChromeToolbarType __stdcall (*get_chrome_toolbar_type)(PCefBrowserViewDelegate self, PCefBrowserView browser_view); + int __stdcall (*use_frameless_window_for_picture_in_picture)(PCefBrowserViewDelegate self, PCefBrowserView browser_view); + int __stdcall (*on_gesture_command)(PCefBrowserViewDelegate self, PCefBrowserView browser_view, TCefGestureCommand gesture_command); + TCefRuntimeStyle __stdcall (*get_browser_runtime_style)(PCefBrowserViewDelegate self); + int __stdcall (*allow_move_for_picture_in_picture)(PCefBrowserViewDelegate self, PCefBrowserView browser_view); +}; + + +struct DECLSPEC_DRECORD TCefButton +{ +public: + TCefView base; + PCefLabelButton __stdcall (*as_label_button)(PCefButton self); + void __stdcall (*set_state)(PCefButton self, TCefButtonState state); + TCefButtonState __stdcall (*get_state)(PCefButton self); + void __stdcall (*set_ink_drop_enabled)(PCefButton self, int enabled); + void __stdcall (*set_tooltip_text)(PCefButton self, const PCefString tooltip_text); + void __stdcall (*set_accessible_name)(PCefButton self, const PCefString name); +}; + + +struct DECLSPEC_DRECORD TCefButtonDelegate +{ +public: + TCefViewDelegate base; + void __stdcall (*on_button_pressed)(PCefButtonDelegate self, PCefButton button); + void __stdcall (*on_button_state_changed)(PCefButtonDelegate self, PCefButton button); +}; + + +struct DECLSPEC_DRECORD TCefLabelButton +{ +public: + TCefButton base; + PCefMenuButton __stdcall (*as_menu_button)(PCefLabelButton self); + void __stdcall (*set_text)(PCefLabelButton self, const PCefString text); + PCefStringUserFreeUtf16 __stdcall (*get_text)(PCefLabelButton self); + void __stdcall (*set_image)(PCefLabelButton self, TCefButtonState button_state, PCefImage image); + PCefImage __stdcall (*get_image)(PCefLabelButton self, TCefButtonState button_state); + void __stdcall (*set_text_color)(PCefLabelButton self, TCefButtonState for_state, TCefColor color); + void __stdcall (*set_enabled_text_colors)(PCefLabelButton self, TCefColor color); + void __stdcall (*set_font_list)(PCefLabelButton self, const PCefString font_list); + void __stdcall (*set_horizontal_alignment)(PCefLabelButton self, TCefHorizontalAlignment alignment); + void __stdcall (*set_minimum_size)(PCefLabelButton self, const PCefSize size); + void __stdcall (*set_maximum_size)(PCefLabelButton self, const PCefSize size); +}; + + +struct DECLSPEC_DRECORD TCefMenuButton +{ +public: + TCefLabelButton base; + void __stdcall (*show_menu)(PCefMenuButton self, PCefMenuModel menu_model, const PCefPoint screen_point, TCefMenuAnchorPosition anchor_position); + void __stdcall (*trigger_menu)(PCefMenuButton self); +}; + + +struct DECLSPEC_DRECORD TCefMenuButtonPressedLock +{ +public: + TCefBaseRefCounted base; +}; + + +struct DECLSPEC_DRECORD TCefMenuButtonDelegate +{ +public: + TCefButtonDelegate base; + void __stdcall (*on_menu_button_pressed)(PCefMenuButtonDelegate self, PCefMenuButton menu_button, const PCefPoint screen_point, PCefMenuButtonPressedLock button_pressed_lock); +}; + + +struct DECLSPEC_DRECORD TCefWindow +{ +public: + TCefPanel base; + void __stdcall (*show)(PCefWindow self); + void __stdcall (*show_as_browser_modal_dialog)(PCefWindow self, PCefBrowserView browser_view); + void __stdcall (*hide)(PCefWindow self); + void __stdcall (*center_window)(PCefWindow self, const PCefSize size); + void __stdcall (*close)(PCefWindow self); + int __stdcall (*is_closed)(PCefWindow self); + void __stdcall (*activate)(PCefWindow self); + void __stdcall (*deactivate)(PCefWindow self); + int __stdcall (*is_active)(PCefWindow self); + void __stdcall (*bring_to_top)(PCefWindow self); + void __stdcall (*set_always_on_top)(PCefWindow self, int on_top); + int __stdcall (*is_always_on_top)(PCefWindow self); + void __stdcall (*maximize)(PCefWindow self); + void __stdcall (*minimize)(PCefWindow self); + void __stdcall (*restore)(PCefWindow self); + void __stdcall (*set_fullscreen)(PCefWindow self, int fullscreen); + int __stdcall (*is_maximized)(PCefWindow self); + int __stdcall (*is_minimized)(PCefWindow self); + int __stdcall (*is_fullscreen)(PCefWindow self); + PCefView __stdcall (*get_focused_view)(PCefWindow self); + void __stdcall (*set_title)(PCefWindow self, const PCefString title); + PCefStringUserFreeUtf16 __stdcall (*get_title)(PCefWindow self); + void __stdcall (*set_window_icon)(PCefWindow self, PCefImage image); + PCefImage __stdcall (*get_window_icon)(PCefWindow self); + void __stdcall (*set_window_app_icon)(PCefWindow self, PCefImage image); + PCefImage __stdcall (*get_window_app_icon)(PCefWindow self); + PCefOverlayController __stdcall (*add_overlay_view)(PCefWindow self, PCefView view, TCefDockingMode docking_mode, int can_activate); + void __stdcall (*show_menu)(PCefWindow self, PCefMenuModel menu_model, const PCefPoint screen_point, TCefMenuAnchorPosition anchor_position); + void __stdcall (*cancel_menu)(PCefWindow self); + PCefDisplay __stdcall (*get_display)(PCefWindow self); + TCefRect __stdcall (*get_client_area_bounds_in_screen)(PCefWindow self); + void __stdcall (*set_draggable_regions)(PCefWindow self, System::NativeUInt regionsCount, const PCefDraggableRegionArray regions); + TCefWindowHandle __stdcall (*get_window_handle)(PCefWindow self); + void __stdcall (*send_key_press)(PCefWindow self, int key_code, unsigned event_flags); + void __stdcall (*send_mouse_move)(PCefWindow self, int screen_x, int screen_y); + void __stdcall (*send_mouse_events)(PCefWindow self, TCefMouseButtonType button, int mouse_down, int mouse_up); + void __stdcall (*set_accelerator)(PCefWindow self, int command_id, int key_code, int shift_pressed, int ctrl_pressed, int alt_pressed, int high_priority); + void __stdcall (*remove_accelerator)(PCefWindow self, int command_id); + void __stdcall (*remove_all_accelerators)(PCefWindow self); + void __stdcall (*set_theme_color)(PCefWindow self, int color_id, TCefColor color); + void __stdcall (*theme_changed)(PCefWindow self); + TCefRuntimeStyle __stdcall (*get_runtime_style)(PCefWindow self); +}; + + +struct DECLSPEC_DRECORD TCefWindowDelegate +{ +public: + TCefPanelDelegate base; + void __stdcall (*on_window_created)(PCefWindowDelegate self, PCefWindow window); + void __stdcall (*on_window_closing)(PCefWindowDelegate self, PCefWindow window); + void __stdcall (*on_window_destroyed)(PCefWindowDelegate self, PCefWindow window); + void __stdcall (*on_window_activation_changed)(PCefWindowDelegate self, PCefWindow window, int active); + void __stdcall (*on_window_bounds_changed)(PCefWindowDelegate self, PCefWindow window, const PCefRect new_bounds); + void __stdcall (*on_window_fullscreen_transition)(PCefWindowDelegate self, PCefWindow window, int is_completed); + PCefWindow __stdcall (*get_parent_window)(PCefWindowDelegate self, PCefWindow window, System::PInteger is_menu, System::PInteger can_activate_menu); + int __stdcall (*is_window_modal_dialog)(PCefWindowDelegate self, PCefWindow window); + TCefRect __stdcall (*get_initial_bounds)(PCefWindowDelegate self, PCefWindow window); + TCefShowState __stdcall (*get_initial_show_state)(PCefWindowDelegate self, PCefWindow window); + int __stdcall (*is_frameless)(PCefWindowDelegate self, PCefWindow window); + int __stdcall (*with_standard_window_buttons)(PCefWindowDelegate self, PCefWindow window); + int __stdcall (*get_titlebar_height)(PCefWindowDelegate self, PCefWindow window, System::PSingle titlebar_height); + TCefState __stdcall (*accepts_first_mouse)(PCefWindowDelegate self, PCefWindow window); + int __stdcall (*can_resize)(PCefWindowDelegate self, PCefWindow window); + int __stdcall (*can_maximize)(PCefWindowDelegate self, PCefWindow window); + int __stdcall (*can_minimize)(PCefWindowDelegate self, PCefWindow window); + int __stdcall (*can_close)(PCefWindowDelegate self, PCefWindow window); + int __stdcall (*on_accelerator)(PCefWindowDelegate self, PCefWindow window, int command_id); + int __stdcall (*on_key_event)(PCefWindowDelegate self, PCefWindow window, const PCefKeyEvent event); + void __stdcall (*on_theme_colors_changed)(PCefWindowDelegate self, PCefWindow window, int chrome_theme); + TCefRuntimeStyle __stdcall (*get_window_runtime_style)(PCefWindowDelegate self); + int __stdcall (*get_linux_window_properties)(PCefWindowDelegate self, PCefWindow window, PCefLinuxWindowProperties properties); +}; + + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Uceftypes */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFTYPES) +using namespace Uceftypes; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFTypesHPP diff --git a/CEF4Delphi/win32/hpps/uCEFAccessibilityHandler.hpp b/CEF4Delphi/win32/hpps/uCEFAccessibilityHandler.hpp new file mode 100644 index 0000000..43b0911 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFAccessibilityHandler.hpp @@ -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 +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFApp.hpp b/CEF4Delphi/win32/hpps/uCEFApp.hpp new file mode 100644 index 0000000..7001271 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFApp.hpp @@ -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 +#include +#include +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFApplication.hpp b/CEF4Delphi/win32/hpps/uCEFApplication.hpp new file mode 100644 index 0000000..415eab4 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFApplication.hpp @@ -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 +#include +#include +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFApplicationCore.hpp b/CEF4Delphi/win32/hpps/uCEFApplicationCore.hpp new file mode 100644 index 0000000..51ca704 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFApplicationCore.hpp @@ -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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFApplicationEvents.hpp b/CEF4Delphi/win32/hpps/uCEFApplicationEvents.hpp new file mode 100644 index 0000000..74522b1 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFApplicationEvents.hpp @@ -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 +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefapplicationevents +{ +//-- forward type declarations ----------------------------------------------- +__interface DELPHIINTERFACE TOnRegisterCustomSchemesEvent; +typedef System::DelphiInterface _di_TOnRegisterCustomSchemesEvent; +__interface DELPHIINTERFACE TOnRegisterCustomPreferencesEvent; +typedef System::DelphiInterface _di_TOnRegisterCustomPreferencesEvent; +__interface DELPHIINTERFACE TOnContextInitializedEvent; +typedef System::DelphiInterface _di_TOnContextInitializedEvent; +__interface DELPHIINTERFACE TOnBeforeChildProcessLaunchEvent; +typedef System::DelphiInterface _di_TOnBeforeChildProcessLaunchEvent; +__interface DELPHIINTERFACE TOnAlreadyRunningAppRelaunchEvent; +typedef System::DelphiInterface _di_TOnAlreadyRunningAppRelaunchEvent; +__interface DELPHIINTERFACE TOnScheduleMessagePumpWorkEvent; +typedef System::DelphiInterface _di_TOnScheduleMessagePumpWorkEvent; +__interface DELPHIINTERFACE TOnGetDefaultClientEvent; +typedef System::DelphiInterface _di_TOnGetDefaultClientEvent; +__interface DELPHIINTERFACE TOnGetDefaultRequestContextHandlerEvent; +typedef System::DelphiInterface _di_TOnGetDefaultRequestContextHandlerEvent; +__interface DELPHIINTERFACE TOnGetLocalizedStringEvent; +typedef System::DelphiInterface _di_TOnGetLocalizedStringEvent; +__interface DELPHIINTERFACE TOnGetDataResourceEvent; +typedef System::DelphiInterface _di_TOnGetDataResourceEvent; +__interface DELPHIINTERFACE TOnGetDataResourceForScaleEvent; +typedef System::DelphiInterface _di_TOnGetDataResourceForScaleEvent; +__interface DELPHIINTERFACE TOnWebKitInitializedEvent; +typedef System::DelphiInterface _di_TOnWebKitInitializedEvent; +__interface DELPHIINTERFACE TOnBrowserCreatedEvent; +typedef System::DelphiInterface _di_TOnBrowserCreatedEvent; +__interface DELPHIINTERFACE TOnBrowserDestroyedEvent; +typedef System::DelphiInterface _di_TOnBrowserDestroyedEvent; +__interface DELPHIINTERFACE TOnContextCreatedEvent; +typedef System::DelphiInterface _di_TOnContextCreatedEvent; +__interface DELPHIINTERFACE TOnContextReleasedEvent; +typedef System::DelphiInterface _di_TOnContextReleasedEvent; +__interface DELPHIINTERFACE TOnUncaughtExceptionEvent; +typedef System::DelphiInterface _di_TOnUncaughtExceptionEvent; +__interface DELPHIINTERFACE TOnFocusedNodeChangedEvent; +typedef System::DelphiInterface _di_TOnFocusedNodeChangedEvent; +__interface DELPHIINTERFACE TOnProcessMessageReceivedEvent; +typedef System::DelphiInterface _di_TOnProcessMessageReceivedEvent; +__interface DELPHIINTERFACE TOnRenderLoadingStateChange; +typedef System::DelphiInterface _di_TOnRenderLoadingStateChange; +__interface DELPHIINTERFACE TOnRenderLoadStart; +typedef System::DelphiInterface _di_TOnRenderLoadStart; +__interface DELPHIINTERFACE TOnRenderLoadEnd; +typedef System::DelphiInterface _di_TOnRenderLoadEnd; +__interface DELPHIINTERFACE TOnRenderLoadError; +typedef System::DelphiInterface _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 diff --git a/CEF4Delphi/win32/hpps/uCEFArgCopy.hpp b/CEF4Delphi/win32/hpps/uCEFArgCopy.hpp new file mode 100644 index 0000000..0a93c9b --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFArgCopy.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFAudioHandler.hpp b/CEF4Delphi/win32/hpps/uCEFAudioHandler.hpp new file mode 100644 index 0000000..e68d570 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFAudioHandler.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFAuthCallback.hpp b/CEF4Delphi/win32/hpps/uCEFAuthCallback.hpp new file mode 100644 index 0000000..90c43ad --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFAuthCallback.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFBaseRefCounted.hpp b/CEF4Delphi/win32/hpps/uCEFBaseRefCounted.hpp new file mode 100644 index 0000000..c996069 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFBaseRefCounted.hpp @@ -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 +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFBaseScopedWrapper.hpp b/CEF4Delphi/win32/hpps/uCEFBaseScopedWrapper.hpp new file mode 100644 index 0000000..f3cd7a3 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFBaseScopedWrapper.hpp @@ -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 +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFBeforeDownloadCallback.hpp b/CEF4Delphi/win32/hpps/uCEFBeforeDownloadCallback.hpp new file mode 100644 index 0000000..739629f --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFBeforeDownloadCallback.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFBinaryValue.hpp b/CEF4Delphi/win32/hpps/uCEFBinaryValue.hpp new file mode 100644 index 0000000..165073b --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFBinaryValue.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFBitmapBitBuffer.hpp b/CEF4Delphi/win32/hpps/uCEFBitmapBitBuffer.hpp new file mode 100644 index 0000000..432bf90 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFBitmapBitBuffer.hpp @@ -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 +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFBoxLayout.hpp b/CEF4Delphi/win32/hpps/uCEFBoxLayout.hpp new file mode 100644 index 0000000..32624d1 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFBoxLayout.hpp @@ -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 +#include +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFBrowser.hpp b/CEF4Delphi/win32/hpps/uCEFBrowser.hpp new file mode 100644 index 0000000..51c3d7c --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFBrowser.hpp @@ -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 +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFBrowserBitmap.hpp b/CEF4Delphi/win32/hpps/uCEFBrowserBitmap.hpp new file mode 100644 index 0000000..681f32e --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFBrowserBitmap.hpp @@ -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 +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFBrowserProcessHandler.hpp b/CEF4Delphi/win32/hpps/uCEFBrowserProcessHandler.hpp new file mode 100644 index 0000000..89df801 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFBrowserProcessHandler.hpp @@ -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 +#include +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFBrowserView.hpp b/CEF4Delphi/win32/hpps/uCEFBrowserView.hpp new file mode 100644 index 0000000..d2f8a86 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFBrowserView.hpp @@ -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 +#include +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFBrowserViewComponent.hpp b/CEF4Delphi/win32/hpps/uCEFBrowserViewComponent.hpp new file mode 100644 index 0000000..dae4f29 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFBrowserViewComponent.hpp @@ -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 +#include +#include +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFBrowserViewDelegate.hpp b/CEF4Delphi/win32/hpps/uCEFBrowserViewDelegate.hpp new file mode 100644 index 0000000..d124d18 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFBrowserViewDelegate.hpp @@ -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 +#include +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFBufferPanel.hpp b/CEF4Delphi/win32/hpps/uCEFBufferPanel.hpp new file mode 100644 index 0000000..14eb664 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFBufferPanel.hpp @@ -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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFButton.hpp b/CEF4Delphi/win32/hpps/uCEFButton.hpp new file mode 100644 index 0000000..3764033 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFButton.hpp @@ -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 +#include +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFButtonComponent.hpp b/CEF4Delphi/win32/hpps/uCEFButtonComponent.hpp new file mode 100644 index 0000000..56afb6f --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFButtonComponent.hpp @@ -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 +#include +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFButtonDelegate.hpp b/CEF4Delphi/win32/hpps/uCEFButtonDelegate.hpp new file mode 100644 index 0000000..4883c87 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFButtonDelegate.hpp @@ -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 +#include +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFCallback.hpp b/CEF4Delphi/win32/hpps/uCEFCallback.hpp new file mode 100644 index 0000000..d78fc9e --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFCallback.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFChromium.hpp b/CEF4Delphi/win32/hpps/uCEFChromium.hpp new file mode 100644 index 0000000..9ecea7b --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFChromium.hpp @@ -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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFChromiumCore.hpp b/CEF4Delphi/win32/hpps/uCEFChromiumCore.hpp new file mode 100644 index 0000000..7710d85 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFChromiumCore.hpp @@ -0,0 +1,1094 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFChromiumCore.pas' rev: 37.00 (Windows) + +#ifndef uCEFChromiumCoreHPP +#define uCEFChromiumCoreHPP + +#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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefchromiumcore +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TChromiumCore; +class DELPHICLASS TBrowserInfo; +class DELPHICLASS TBrowserInfoList; +//-- type declarations ------------------------------------------------------- +class PASCALIMPLEMENTATION TChromiumCore : public System::Classes::TComponent +{ + typedef System::Classes::TComponent inherited; + +protected: + HWND FCompHandle; + Ucefinterfaces::_di_ICefClient FHandler; + System::Syncobjs::TCriticalSection* FBrowsersCS; + TBrowserInfoList* FBrowsers; + int FBrowserId; + bool FMultiBrowserMode; + Ucefinterfaces::_di_ICefRequestContextHandler FReqContextHandler; + Ucefinterfaces::_di_ICefResourceRequestHandler FResourceRequestHandler; + Ucefinterfaces::_di_ICefMediaObserver FMediaObserver; + Ucefinterfaces::_di_ICefRegistration FMediaObserverReg; + Ucefinterfaces::_di_ICefDevToolsMessageObserver FDevToolsMsgObserver; + Ucefinterfaces::_di_ICefRegistration FDevToolsMsgObserverReg; + Ucefinterfaces::_di_ICefSettingObserver FSettingObserver; + Ucefinterfaces::_di_ICefRegistration FSettingObserverReg; + Ucefpreferenceobserver::TPreferenceInfoList* FPreferenceInfoList; + System::Syncobjs::TCriticalSection* FPreferenceInfoCS; + Uceftypes::ustring FDefaultUrl; + Ucefchromiumoptions::TChromiumOptions* FOptions; + Ucefchromiumfontoptions::TChromiumFontOptions* FFontOptions; + Ucefpdfprintoptions::TPDFPrintOptions* FPDFPrintOptions; + Uceftypes::ustring FDefaultEncoding; + int FProxyType; + Uceftypes::TCefProxyScheme FProxyScheme; + Uceftypes::ustring FProxyServer; + int FProxyPort; + Uceftypes::ustring FProxyUsername; + Uceftypes::ustring FProxyPassword; + Uceftypes::ustring FProxyScriptURL; + Uceftypes::ustring FProxyByPassList; + int FMaxConnectionsPerProxy; + bool FUpdatePreferences; + Uceftypes::ustring FCustomHeaderName; + Uceftypes::ustring FCustomHeaderValue; + bool FAddCustomHeader; + bool FDoNotTrack; + bool FSendReferrer; + bool FHyperlinkAuditing; + bool FAllowOutdatedPlugins; + bool FAlwaysAuthorizePlugins; + bool FAlwaysOpenPDFExternally; + bool FSpellChecking; + Uceftypes::ustring FSpellCheckerDicts; + System::Byte FZoomStep; + System::Syncobjs::TCriticalSection* FZoomStepCS; + System::UnicodeString FPrefsFileName; + bool FIsOSR; + bool FSafeSearch; + bool FOffline; + int FYouTubeRestrict; + bool FPrintingEnabled; + Ucefwindowinfowrapper::TCEFWindowInfoWrapper* FWindowInfo; + Uceftypes::TCefBrowserSettings FBrowserSettings; + Ucefwindowinfowrapper::TCEFWindowInfoWrapper* FDevWindowInfo; + Uceftypes::TCefBrowserSettings FDevBrowserSettings; + Uceftypes::TCefDragOperations FDragOperations; + Ucefdraganddropmgr::TCEFDragAndDropMgr* FDragDropManager; + HWND FDropTargetWnd; + bool FDragAndDropInitialized; + Uceftypes::TCefWebRTCHandlingPolicy FWebRTCIPHandlingPolicy; + Uceftypes::TCefState FWebRTCMultipleRoutes; + Uceftypes::TCefState FWebRTCNonProxiedUDP; + Uceftypes::TCefCookiePref FAcceptCookies; + bool FBlock3rdPartyCookies; + bool FQuicAllowed; + bool FJavascriptEnabled; + bool FLoadImagesAutomatically; + Uceftypes::TCefBatterySaverModeState FBatterySaverModeState; + Uceftypes::TCefHighEfficiencyModeState FHighEfficiencyModeState; + bool FCanFocus; + unsigned FEnableFocusDelayMs; + int FComponentID; + Uceftypes::TCefState FDownloadBubble; + Uceftypes::TCefState FHTTPSUpgrade; + Uceftypes::ustring FHSTSPolicyBypassList; + Uceftypes::TCefState FCredentialsService; + Uceftypes::TCefState FAutofillCreditCard; + Uceftypes::TCefState FAutofillProfile; + Uceftypes::TCefState FAutofillSaveData; + Uceftypes::TCefState FCanMakePayment; + Uceftypes::TCefState FSearchSuggestEnabled; + Uceftypes::TCefState FURLDataCollection; + bool FTryingToCloseBrowser; + Uceftypes::TCefState FStorageNotificationService; + Winapi::Windows::TFNWndProc FOldBrowserCompWndPrc; + Winapi::Windows::TFNWndProc FOldRenderCompWndPrc; + void *FBrowserCompStub; + void *FRenderCompStub; + Winapi::Windows::THandle FBrowserCompHWND; + Winapi::Windows::THandle FRenderCompHWND; + Ucefchromiumevents::TOnProcessMessageReceived FOnProcessMessageReceived; + Ucefchromiumevents::TOnLoadStart FOnLoadStart; + Ucefchromiumevents::TOnLoadEnd FOnLoadEnd; + Ucefchromiumevents::TOnLoadError FOnLoadError; + Ucefchromiumevents::TOnLoadingStateChange FOnLoadingStateChange; + Ucefchromiumevents::TOnTakeFocus FOnTakeFocus; + Ucefchromiumevents::TOnSetFocus FOnSetFocus; + Ucefchromiumevents::TOnGotFocus FOnGotFocus; + Ucefchromiumevents::TOnBeforeContextMenu FOnBeforeContextMenu; + Ucefchromiumevents::TOnRunContextMenu FOnRunContextMenu; + Ucefchromiumevents::TOnContextMenuCommand FOnContextMenuCommand; + Ucefchromiumevents::TOnContextMenuDismissed FOnContextMenuDismissed; + Ucefchromiumevents::TOnRunQuickMenuEvent FOnRunQuickMenu; + Ucefchromiumevents::TOnQuickMenuCommandEvent FOnQuickMenuCommand; + Ucefchromiumevents::TOnQuickMenuDismissedEvent FOnQuickMenuDismissed; + Ucefchromiumevents::TOnPreKeyEvent FOnPreKeyEvent; + Ucefchromiumevents::TOnKeyEvent FOnKeyEvent; + Ucefchromiumevents::TOnAddressChange FOnAddressChange; + Ucefchromiumevents::TOnTitleChange FOnTitleChange; + Ucefchromiumevents::TOnFavIconUrlChange FOnFavIconUrlChange; + Ucefchromiumevents::TOnFullScreenModeChange FOnFullScreenModeChange; + Ucefchromiumevents::TOnTooltip FOnTooltip; + Ucefchromiumevents::TOnStatusMessage FOnStatusMessage; + Ucefchromiumevents::TOnConsoleMessage FOnConsoleMessage; + Ucefchromiumevents::TOnAutoResize FOnAutoResize; + Ucefchromiumevents::TOnLoadingProgressChange FOnLoadingProgressChange; + Ucefchromiumevents::TOnCursorChange FOnCursorChange; + Ucefchromiumevents::TOnMediaAccessChange FOnMediaAccessChange; + Ucefchromiumevents::TOnContentsBoundsChange FOnContentsBoundsChange; + Ucefchromiumevents::TOnGetRootWindowScreenRect FOnGetRootWindowScreenRect; + Ucefchromiumevents::TOnCanDownloadEvent FOnCanDownload; + Ucefchromiumevents::TOnBeforeDownload FOnBeforeDownload; + Ucefchromiumevents::TOnDownloadUpdated FOnDownloadUpdated; + Ucefchromiumevents::TOnJsdialog FOnJsdialog; + Ucefchromiumevents::TOnBeforeUnloadDialog FOnBeforeUnloadDialog; + Ucefchromiumevents::TOnResetDialogState FOnResetDialogState; + Ucefchromiumevents::TOnDialogClosed FOnDialogClosed; + Ucefchromiumevents::TOnBeforePopup FOnBeforePopup; + Ucefchromiumevents::TOnBeforePopupAborted FOnBeforePopupAborted; + Ucefchromiumevents::TOnBeforeDevToolsPopup FOnBeforeDevToolsPopup; + Ucefchromiumevents::TOnAfterCreated FOnAfterCreated; + Ucefchromiumevents::TOnBeforeClose FOnBeforeClose; + Ucefchromiumevents::TOnClose FOnClose; + Ucefchromiumevents::TOnBeforeBrowse FOnBeforeBrowse; + Ucefchromiumevents::TOnOpenUrlFromTab FOnOpenUrlFromTab; + Ucefchromiumevents::TOnGetAuthCredentials FOnGetAuthCredentials; + Ucefchromiumevents::TOnCertificateError FOnCertificateError; + Ucefchromiumevents::TOnSelectClientCertificate FOnSelectClientCertificate; + Ucefchromiumevents::TOnRenderViewReady FOnRenderViewReady; + Ucefchromiumevents::TOnRenderProcessUnresponsive FOnRenderProcessUnresponsive; + Ucefchromiumevents::TOnRenderProcessResponsive FOnRenderProcessResponsive; + Ucefchromiumevents::TOnRenderProcessTerminated FOnRenderProcessTerminated; + Ucefchromiumevents::TOnGetResourceRequestHandler FOnGetResourceRequestHandler_ReqHdlr; + Ucefchromiumevents::TOnDocumentAvailableInMainFrame FOnDocumentAvailableInMainFrame; + Ucefchromiumevents::TOnBeforeResourceLoad FOnBeforeResourceLoad; + Ucefchromiumevents::TOnGetResourceHandler FOnGetResourceHandler; + Ucefchromiumevents::TOnResourceRedirect FOnResourceRedirect; + Ucefchromiumevents::TOnResourceResponse FOnResourceResponse; + Ucefchromiumevents::TOnGetResourceResponseFilter FOnGetResourceResponseFilter; + Ucefchromiumevents::TOnResourceLoadComplete FOnResourceLoadComplete; + Ucefchromiumevents::TOnProtocolExecution FOnProtocolExecution; + Ucefchromiumevents::TOnCanSendCookie FOnCanSendCookie; + Ucefchromiumevents::TOnCanSaveCookie FOnCanSaveCookie; + Ucefchromiumevents::TOnFileDialog FOnFileDialog; + Ucefchromiumevents::TOnGetAccessibilityHandler FOnGetAccessibilityHandler; + Ucefchromiumevents::TOnGetRootScreenRect FOnGetRootScreenRect; + Ucefchromiumevents::TOnGetViewRect FOnGetViewRect; + Ucefchromiumevents::TOnGetScreenPoint FOnGetScreenPoint; + Ucefchromiumevents::TOnGetScreenInfo FOnGetScreenInfo; + Ucefchromiumevents::TOnPopupShow FOnPopupShow; + Ucefchromiumevents::TOnPopupSize FOnPopupSize; + Ucefchromiumevents::TOnPaint FOnPaint; + Ucefchromiumevents::TOnAcceleratedPaint FOnAcceleratedPaint; + Ucefchromiumevents::TOnGetTouchHandleSize FOnGetTouchHandleSize; + Ucefchromiumevents::TOnTouchHandleStateChanged FOnTouchHandleStateChanged; + Ucefchromiumevents::TOnStartDragging FOnStartDragging; + Ucefchromiumevents::TOnUpdateDragCursor FOnUpdateDragCursor; + Ucefchromiumevents::TOnScrollOffsetChanged FOnScrollOffsetChanged; + Ucefchromiumevents::TOnIMECompositionRangeChanged FOnIMECompositionRangeChanged; + Ucefchromiumevents::TOnTextSelectionChanged FOnTextSelectionChanged; + Ucefchromiumevents::TOnVirtualKeyboardRequested FOnVirtualKeyboardRequested; + Ucefchromiumevents::TOnDragEnter FOnDragEnter; + Ucefchromiumevents::TOnDraggableRegionsChanged FOnDraggableRegionsChanged; + Ucefchromiumevents::TOnFindResult FOnFindResult; + Ucefchromiumevents::TOnRequestContextInitialized FOnRequestContextInitialized; + Ucefchromiumevents::TOnGetResourceRequestHandler FOnGetResourceRequestHandler_ReqCtxHdlr; + Ucefchromiumevents::TOnSinksEvent FOnSinks; + Ucefchromiumevents::TOnRoutesEvent FOnRoutes; + Ucefchromiumevents::TOnRouteStateChangedEvent FOnRouteStateChanged; + Ucefchromiumevents::TOnRouteMessageReceivedEvent FOnRouteMessageReceived; + Ucefchromiumevents::TOnGetAudioParametersEvent FOnGetAudioParameters; + Ucefchromiumevents::TOnAudioStreamStartedEvent FOnAudioStreamStarted; + Ucefchromiumevents::TOnAudioStreamPacketEvent FOnAudioStreamPacket; + Ucefchromiumevents::TOnAudioStreamStoppedEvent FOnAudioStreamStopped; + Ucefchromiumevents::TOnAudioStreamErrorEvent FOnAudioStreamError; + Ucefchromiumevents::TOnDevToolsMessageEvent FOnDevToolsMessage; + Ucefchromiumevents::TOnDevToolsRawMessageEvent FOnDevToolsRawMessage; + Ucefchromiumevents::TOnDevToolsMethodResultEvent FOnDevToolsMethodResult; + Ucefchromiumevents::TOnDevToolsMethodRawResultEvent FOnDevToolsMethodRawResult; + Ucefchromiumevents::TOnDevToolsEventEvent FOnDevToolsEvent; + Ucefchromiumevents::TOnDevToolsEventRawEvent FOnDevToolsRawEvent; + Ucefchromiumevents::TOnDevToolsAgentAttachedEvent FOnDevToolsAgentAttached; + Ucefchromiumevents::TOnDevToolsAgentDetachedEvent FOnDevToolsAgentDetached; + Ucefchromiumevents::TOnPrintStartEvent FOnPrintStart; + Ucefchromiumevents::TOnPrintSettingsEvent FOnPrintSettings; + Ucefchromiumevents::TOnPrintDialogEvent FOnPrintDialog; + Ucefchromiumevents::TOnPrintJobEvent FOnPrintJob; + Ucefchromiumevents::TOnPrintResetEvent FOnPrintReset; + Ucefchromiumevents::TOnGetPDFPaperSizeEvent FOnGetPDFPaperSize; + Ucefchromiumevents::TOnFrameCreated FOnFrameCreated; + Ucefchromiumevents::TOnFrameDestroyed FOnFrameDestroyed; + Ucefchromiumevents::TOnFrameAttached FOnFrameAttached; + Ucefchromiumevents::TOnFrameDetached FOnFrameDetached; + Ucefchromiumevents::TOnMainFrameChanged FOnMainFrameChanged; + Ucefchromiumevents::TOnChromeCommandEvent FOnChromeCommand; + Ucefchromiumevents::TOnIsChromeAppMenuItemVisibleEvent FOnIsChromeAppMenuItemVisible; + Ucefchromiumevents::TOnIsChromeAppMenuItemEnabledEvent FOnIsChromeAppMenuItemEnabled; + Ucefchromiumevents::TOnIsChromePageActionIconVisibleEvent FOnIsChromePageActionIconVisible; + Ucefchromiumevents::TOnIsChromeToolbarButtonVisibleEvent FOnIsChromeToolbarButtonVisible; + Ucefchromiumevents::TOnRequestMediaAccessPermissionEvent FOnRequestMediaAccessPermission; + Ucefchromiumevents::TOnShowPermissionPromptEvent FOnShowPermissionPrompt; + Ucefchromiumevents::TOnDismissPermissionPromptEvent FOnDismissPermissionPrompt; + Ucefchromiumevents::TOnPreferenceChangedEvent FOnPreferenceChanged; + Ucefchromiumevents::TOnSettingChangedEvent FOnSettingChanged; + Ucefchromiumevents::TOnTextResultAvailableEvent FOnTextResultAvailable; + Ucefchromiumevents::TOnPdfPrintFinishedEvent FOnPdfPrintFinished; + Ucefchromiumevents::TOnPrefsAvailableEvent FOnPrefsAvailable; + System::Classes::TNotifyEvent FOnPrefsUpdated; + Ucefchromiumevents::TOnCookiesDeletedEvent FOnCookiesDeleted; + Ucefchromiumevents::TOnResolvedIPsAvailableEvent FOnResolvedHostAvailable; + Ucefchromiumevents::TOnNavigationVisitorResultAvailableEvent FOnNavigationVisitorResultAvailable; + Ucefchromiumevents::TOnDownloadImageFinishedEvent FOnDownloadImageFinished; + System::Classes::TNotifyEvent FOnCookiesFlushed; + System::Classes::TNotifyEvent FOnCertificateExceptionsCleared; + System::Classes::TNotifyEvent FOnHttpAuthCredentialsCleared; + System::Classes::TNotifyEvent FOnAllConnectionsClosed; + Ucefchromiumevents::TOnExecuteTaskOnCefThread FOnExecuteTaskOnCefThread; + Ucefchromiumevents::TOnCookiesVisited FOnCookiesVisited; + Ucefchromiumevents::TOnCookieVisitorDestroyed FOnCookieVisitorDestroyed; + Ucefchromiumevents::TOnCookieSet FOnCookieSet; + Ucefchromiumevents::TOnZoomPctAvailable FOnZoomPctAvailable; + Ucefchromiumevents::TOnMediaRouteCreateFinishedEvent FOnMediaRouteCreateFinished; + Ucefchromiumevents::TOnMediaSinkDeviceInfoEvent FOnMediaSinkDeviceInfo; + System::Classes::TNotifyEvent FOnCanFocus; + Ucefchromiumevents::TOnCompMsgEvent FOnBrowserCompMsg; + Ucefchromiumevents::TOnCompMsgEvent FOnRenderCompMsg; + bool __fastcall GetIsLoading(); + bool __fastcall GetMultithreadApp(); + bool __fastcall GetHasDocument(); + bool __fastcall GetHasView(); + bool __fastcall GetHasDevTools(); + bool __fastcall GetHasClientHandler(); + bool __fastcall GetHasBrowser(); + bool __fastcall GetCanGoBack(); + bool __fastcall GetCanGoForward(); + Uceftypes::ustring __fastcall GetDocumentURL(); + double __fastcall GetZoomLevel(); + double __fastcall GetZoomPct(); + System::Byte __fastcall GetZoomStep(); + double __fastcall GetDefaultZoomLevel(); + bool __fastcall GetCanIncZoom(); + bool __fastcall GetCanDecZoom(); + bool __fastcall GetCanResetZoom(); + bool __fastcall GetIsPopUp(); + Uceftypes::TCefWindowHandle __fastcall GetWindowHandle(); + Uceftypes::TCefWindowHandle __fastcall GetOpenerWindowHandle(); + int __fastcall GetOpenerIdentifier(); + int __fastcall GetWindowlessFrameRate(); + bool __fastcall GetFrameIsFocused(); + bool __fastcall GetInitialized(); + Ucefinterfaces::_di_ICefNavigationEntry __fastcall GetVisibleNavigationEntry(); + Uceftypes::TCefRuntimeStyle __fastcall GetRuntimeStyle(); + bool __fastcall GetHasValidMainFrame(); + System::NativeUInt __fastcall GetFrameCount(); + Uceftypes::ustring __fastcall GetRequestContextCache(); + bool __fastcall GetRequestContextIsGlobal(); + Uceftypes::TCefColorVariant __fastcall GetChromeColorSchemeMode(); + Uceftypes::TCefColor __fastcall GetChromeColorSchemeColor(); + Uceftypes::TCefColorVariant __fastcall GetChromeColorSchemeVariant(); + bool __fastcall GetAudioMuted(); + bool __fastcall GetFullscreen(); + bool __fastcall GetIsRenderProcessUnresponsive(); + virtual Uceftypes::TCefWindowHandle __fastcall GetParentFormHandle(); + Ucefinterfaces::_di_ICefRequestContext __fastcall GetRequestContext(); + Ucefinterfaces::_di_ICefMediaRouter __fastcall GetMediaRouter(); + Ucefinterfaces::_di_ICefBrowser __fastcall GetBrowser(); + int __fastcall GetBrowserId(); + Ucefinterfaces::_di_ICefBrowser __fastcall GetBrowserById(int aID); + int __fastcall GetBrowserCount(); + int __fastcall GetBrowserIdByIndex(int aIndex); + int __fastcall GetComponentID(); + Uceftypes::TCefWindowInfo __fastcall GetCefWindowInfo(); + unsigned __fastcall GetWindowInfoExStyle(); + void __fastcall SetDoNotTrack(bool aValue); + void __fastcall SetSendReferrer(bool aValue); + void __fastcall SetHyperlinkAuditing(bool aValue); + void __fastcall SetAllowOutdatedPlugins(bool aValue); + void __fastcall SetAlwaysAuthorizePlugins(bool aValue); + void __fastcall SetAlwaysOpenPDFExternally(bool aValue); + void __fastcall SetSpellChecking(bool aValue); + void __fastcall SetSpellCheckerDicts(const Uceftypes::ustring aValue); + void __fastcall SetWebRTCIPHandlingPolicy(Uceftypes::TCefWebRTCHandlingPolicy aValue); + void __fastcall SetWebRTCMultipleRoutes(Uceftypes::TCefState aValue); + void __fastcall SetWebRTCNonProxiedUDP(Uceftypes::TCefState aValue); + void __fastcall SetProxyType(int aValue); + void __fastcall SetProxyScheme(Uceftypes::TCefProxyScheme aValue); + void __fastcall SetProxyServer(const Uceftypes::ustring aValue); + void __fastcall SetProxyPort(int aValue); + void __fastcall SetProxyUsername(const Uceftypes::ustring aValue); + void __fastcall SetProxyPassword(const Uceftypes::ustring aValue); + void __fastcall SetProxyScriptURL(const Uceftypes::ustring aValue); + void __fastcall SetProxyByPassList(const Uceftypes::ustring aValue); + void __fastcall SetMaxConnectionsPerProxy(const int aValue); + void __fastcall SetCustomHeaderName(const Uceftypes::ustring aValue); + void __fastcall SetCustomHeaderValue(const Uceftypes::ustring aValue); + void __fastcall SetZoomLevel(const double aValue); + void __fastcall SetZoomPct(const double aValue); + void __fastcall SetZoomStep(System::Byte aValue); + void __fastcall SetWindowlessFrameRate(int aValue); + void __fastcall SetAudioMuted(bool aValue); + void __fastcall SetSafeSearch(bool aValue); + void __fastcall SetOffline(bool aValue); + void __fastcall SetYouTubeRestrict(int aValue); + void __fastcall SetPrintingEnabled(bool aValue); + void __fastcall SetAcceptCookies(const Uceftypes::TCefCookiePref aValue); + void __fastcall SetBlock3rdPartyCookies(const bool aValue); + void __fastcall SetMultiBrowserMode(bool aValue); + void __fastcall SetQuicAllowed(bool aValue); + void __fastcall SetJavascriptEnabled(bool aValue); + void __fastcall SetLoadImagesAutomatically(bool aValue); + void __fastcall SetBatterySaverModeState(Uceftypes::TCefBatterySaverModeState aValue); + void __fastcall SetHighEfficiencyModeState(Uceftypes::TCefHighEfficiencyModeState aValue); + void __fastcall SetDefaultUrl(const Uceftypes::ustring aValue); + void __fastcall SetRuntimeStyle(Uceftypes::TCefRuntimeStyle aValue); + void __fastcall SetWindowInfoExStyle(unsigned aValue); + bool __fastcall CreateBrowserHost(Uceftypes::PCefWindowInfo aWindowInfo, const Uceftypes::ustring aURL, const Uceftypes::PCefBrowserSettings aSettings, const Ucefinterfaces::_di_ICefDictionaryValue aExtraInfo, const Ucefinterfaces::_di_ICefRequestContext aContext); + bool __fastcall CreateBrowserHostSync(Uceftypes::PCefWindowInfo aWindowInfo, const Uceftypes::ustring aURL, const Uceftypes::PCefBrowserSettings aSettings, const Ucefinterfaces::_di_ICefDictionaryValue aExtraInfo, const Ucefinterfaces::_di_ICefRequestContext aContext); + void __fastcall DestroyAllBrowsers(); + void __fastcall DestroyClientHandler(); + void __fastcall DestroyReqContextHandler(); + void __fastcall DestroyResourceRequestHandler(); + void __fastcall DestroyMediaObserver(); + void __fastcall DestroyDevToolsMsgObserver(); + void __fastcall DestroySettingObserver(); + void __fastcall DestroyPreferenceObserver(); + void __fastcall DestroyAllHandlersAndObservers(); + virtual void __fastcall CreateResourceRequestHandler(); + virtual void __fastcall CreateMediaObserver(); + virtual void __fastcall CreateDevToolsMsgObserver(); + virtual void __fastcall CreateSettingObserver(); + virtual void __fastcall CreatePreferenceObserver(); + virtual void __fastcall CreateRequestContextHandler(); + virtual void __fastcall CreateOptionsClasses(); + virtual void __fastcall CreateSyncObjects(); + virtual void __fastcall CreateBrowserInfoList(); + virtual void __fastcall CreateWindowWithWndProc(); + void __fastcall InitializeEvents(); + void __fastcall InitializeSettings(Uceftypes::TCefBrowserSettings &aSettings); + bool __fastcall UpdateProxyPrefs(const Ucefinterfaces::_di_ICefBrowser aBrowser); + bool __fastcall UpdatePreference(const Ucefinterfaces::_di_ICefBrowser aBrowser, const Uceftypes::ustring aName, bool aValue)/* overload */; + bool __fastcall UpdatePreference(const Ucefinterfaces::_di_ICefBrowser aBrowser, const Uceftypes::ustring aName, int aValue)/* overload */; + bool __fastcall UpdatePreference(const Ucefinterfaces::_di_ICefBrowser aBrowser, const Uceftypes::ustring aName, const double aValue)/* overload */; + bool __fastcall UpdatePreference(const Ucefinterfaces::_di_ICefBrowser aBrowser, const Uceftypes::ustring aName, const Uceftypes::ustring aValue)/* overload */; + bool __fastcall UpdatePreference(const Ucefinterfaces::_di_ICefBrowser aBrowser, const Uceftypes::ustring aName, System::Classes::TStringList* const aValue)/* overload */; + bool __fastcall UpdateStringListPref(const Ucefinterfaces::_di_ICefBrowser aBrowser, const Uceftypes::ustring aName, const Uceftypes::ustring aValue); + bool __fastcall ExecuteUpdateZoomStepTask(bool aInc); + bool __fastcall ExecuteUpdateZoomPctTask(bool aInc); + bool __fastcall ExecuteReadZoomTask(); + bool __fastcall ExecuteSetZoomPctTask(const double aValue); + bool __fastcall ExecuteSetZoomLevelTask(const double aValue); + bool __fastcall ExecuteSetZoomStepTask(System::Byte aValue); + bool __fastcall ExecuteBrowserNavigationTask(Uceftypes::TCefBrowserNavigation aTask); + void __fastcall UpdateHostZoomLevel(const double aValue); + void __fastcall UpdateHostZoomPct(const double aValue); + void __fastcall DelayedDragging(); + virtual void __fastcall InitializeWindowInfo(Uceftypes::TCefWindowHandle aParentHandle, const System::Types::TRect &aParentRect, const Uceftypes::ustring aWindowName); + void __fastcall DefaultInitializeDevToolsWindowInfo(Uceftypes::TCefWindowHandle aDevToolsWnd, const System::Types::TRect &aClientRect, const Uceftypes::ustring aWindowName); + bool __fastcall AddBrowser(const Ucefinterfaces::_di_ICefBrowser aBrowser); + bool __fastcall RemoveBrowser(const Ucefinterfaces::_di_ICefBrowser aBrowser); + void __fastcall SetBrowserIsClosing(int aID); + void __fastcall PrefsAvailableMsg(bool aResultOK); + bool __fastcall SendCompMessage(unsigned aMsg, unsigned aWParam = (unsigned)(0x0), int aLParam = 0x0); + void __fastcall ToMouseEvent(System::LongInt grfKeyState, const System::Types::TPoint &pt, Uceftypes::TCefMouseEvent &aMouseEvent); + void __fastcall WndProc(Winapi::Messages::TMessage &aMessage); + void __fastcall CreateStub(const System::Classes::TWndMethod aMethod, void * &aStub); + void __fastcall FreeAndNilStub(void * &aStub); + Winapi::Windows::TFNWndProc __fastcall InstallCompWndProc(Winapi::Windows::THandle aWnd, void * aStub); + void __fastcall RestoreCompWndProc(Winapi::Windows::THandle &aOldWnd, Winapi::Windows::THandle aNewWnd, Winapi::Windows::TFNWndProc &aProc); + void __fastcall CallOldCompWndProc(Winapi::Windows::TFNWndProc aProc, Winapi::Windows::THandle aWnd, Winapi::Messages::TMessage &aMessage); + void __fastcall BrowserCompWndProc(Winapi::Messages::TMessage &aMessage); + void __fastcall RenderCompWndProc(Winapi::Messages::TMessage &aMessage); + void __fastcall RestoreOldCompWndProc(); + bool __fastcall CopyDCToBitmapStream(HDC aSrcDC, const System::Types::TRect &aSrcRect, System::Classes::TStream* const aStream); + void __fastcall DragDropManager_OnDragEnter(System::TObject* Sender, const Ucefinterfaces::_di_ICefDragData aDragData, System::LongInt grfKeyState, const System::Types::TPoint &pt, System::LongInt &dwEffect); + void __fastcall DragDropManager_OnDragOver(System::TObject* Sender, System::LongInt grfKeyState, const System::Types::TPoint &pt, System::LongInt &dwEffect); + void __fastcall DragDropManager_OnDragLeave(System::TObject* Sender); + void __fastcall DragDropManager_OnDrop(System::TObject* Sender, System::LongInt grfKeyState, const System::Types::TPoint &pt, System::LongInt &dwEffect); + virtual bool __fastcall doOnProcessMessageReceived(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, Uceftypes::TCefProcessId sourceProcess, const Ucefinterfaces::_di_ICefProcessMessage aMessage); + 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); + virtual void __fastcall doOnLoadingStateChange(const Ucefinterfaces::_di_ICefBrowser browser, bool isLoading, bool canGoBack, bool canGoForward); + virtual void __fastcall doOnTakeFocus(const Ucefinterfaces::_di_ICefBrowser browser, bool next); + virtual bool __fastcall doOnSetFocus(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefFocusSource source); + virtual void __fastcall doOnGotFocus(const Ucefinterfaces::_di_ICefBrowser browser); + virtual void __fastcall doOnBeforeContextMenu(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefContextMenuParams params, const Ucefinterfaces::_di_ICefMenuModel model); + virtual bool __fastcall doRunContextMenu(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 doOnContextMenuCommand(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefContextMenuParams params, int commandId, Uceftypes::TCefEventFlags eventFlags); + virtual void __fastcall doOnContextMenuDismissed(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame); + virtual bool __fastcall doRunQuickMenu(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 doOnQuickMenuCommand(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, int command_id, Uceftypes::TCefEventFlags event_flags); + virtual void __fastcall doOnQuickMenuDismissed(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame); + virtual bool __fastcall doOnPreKeyEvent(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefKeyEvent event, Uceftypes::TCefEventHandle osEvent, /* out */ bool &isKeyboardShortcut); + virtual bool __fastcall doOnKeyEvent(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefKeyEvent event, Uceftypes::TCefEventHandle osEvent); + virtual void __fastcall doOnAddressChange(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Uceftypes::ustring url); + virtual void __fastcall doOnTitleChange(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring title); + virtual void __fastcall doOnFaviconUrlChange(const Ucefinterfaces::_di_ICefBrowser browser, System::Classes::TStrings* const iconUrls); + virtual void __fastcall doOnFullScreenModeChange(const Ucefinterfaces::_di_ICefBrowser browser, bool fullscreen); + virtual bool __fastcall doOnTooltip(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::ustring &text); + virtual void __fastcall doOnStatusMessage(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring value); + virtual bool __fastcall doOnConsoleMessage(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefLogSeverity level, const Uceftypes::ustring aMessage, const Uceftypes::ustring source, int line); + virtual bool __fastcall doOnAutoResize(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefSize new_size); + virtual void __fastcall doOnLoadingProgressChange(const Ucefinterfaces::_di_ICefBrowser browser, const double progress); + virtual void __fastcall doOnCursorChange(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefCursorHandle cursor_, Uceftypes::TCefCursorType cursorType, const Uceftypes::PCefCursorInfo customCursorInfo, bool &aResult); + virtual void __fastcall doOnMediaAccessChange(const Ucefinterfaces::_di_ICefBrowser browser, bool has_video_access, bool has_audio_access); + virtual bool __fastcall doOnContentsBoundsChange(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefRect new_bounds); + virtual bool __fastcall doOnGetRootWindowScreenRect(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::PCefRect rect_); + bool __fastcall doOnCanDownload(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring url, const Uceftypes::ustring request_method); + virtual bool __fastcall doOnBeforeDownload(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefDownloadItem downloadItem, const Uceftypes::ustring suggestedName, const Ucefinterfaces::_di_ICefBeforeDownloadCallback callback); + virtual void __fastcall doOnDownloadUpdated(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefDownloadItem downloadItem, const Ucefinterfaces::_di_ICefDownloadItemCallback callback); + virtual bool __fastcall doOnJsdialog(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 doOnBeforeUnloadDialog(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring messageText, bool isReload, const Ucefinterfaces::_di_ICefJsDialogCallback callback); + virtual void __fastcall doOnResetDialogState(const Ucefinterfaces::_di_ICefBrowser browser); + virtual void __fastcall doOnDialogClosed(const Ucefinterfaces::_di_ICefBrowser browser); + virtual bool __fastcall doOnBeforePopup(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 doOnBeforePopupAborted(const Ucefinterfaces::_di_ICefBrowser browser, int popup_id); + virtual void __fastcall doOnBeforeDevToolsPopup(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 doOnAfterCreated(const Ucefinterfaces::_di_ICefBrowser browser); + virtual void __fastcall doOnBeforeClose(const Ucefinterfaces::_di_ICefBrowser browser); + virtual bool __fastcall doOnClose(const Ucefinterfaces::_di_ICefBrowser browser); + virtual bool __fastcall doOnBeforeBrowse(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, bool user_gesture, bool isRedirect); + virtual bool __fastcall doOnOpenUrlFromTab(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Uceftypes::ustring targetUrl, Uceftypes::TCefWindowOpenDisposition targetDisposition, bool userGesture); + virtual void __fastcall doGetResourceRequestHandler_ReqHdlr(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 &aResourceRequestHandler); + virtual bool __fastcall doOnGetAuthCredentials(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); + virtual bool __fastcall doOnCertificateError(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefErrorCode certError, const Uceftypes::ustring requestUrl, const Ucefinterfaces::_di_ICefSslInfo sslInfo, const Ucefinterfaces::_di_ICefCallback callback); + virtual bool __fastcall doOnSelectClientCertificate(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); + virtual void __fastcall doOnRenderViewReady(const Ucefinterfaces::_di_ICefBrowser browser); + virtual bool __fastcall doOnRenderProcessUnresponsive(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefUnresponsiveProcessCallback callback); + virtual void __fastcall doOnRenderProcessResponsive(const Ucefinterfaces::_di_ICefBrowser browser); + virtual void __fastcall doOnRenderProcessTerminated(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefTerminationStatus status, int error_code, const Uceftypes::ustring error_string); + virtual void __fastcall doOnDocumentAvailableInMainFrame(const Ucefinterfaces::_di_ICefBrowser browser); + virtual Uceftypes::TCefReturnValue __fastcall doOnBeforeResourceLoad(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefCallback callback); + virtual void __fastcall doOnGetResourceHandler(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, Ucefinterfaces::_di_ICefResourceHandler &aResourceHandler); + virtual void __fastcall doOnResourceRedirect(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefResponse response, Uceftypes::ustring &newUrl); + virtual bool __fastcall doOnResourceResponse(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefResponse response); + virtual void __fastcall doOnGetResourceResponseFilter(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefResponse response, Ucefinterfaces::_di_ICefResponseFilter &aResponseFilter); + virtual void __fastcall doOnResourceLoadComplete(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); + virtual void __fastcall doOnProtocolExecution(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, bool &allowOsExecution); + virtual bool __fastcall doCanSendCookie(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, const Uceftypes::PCefCookie cookie); + virtual bool __fastcall doCanSaveCookie(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 bool __fastcall doOnFileDialog(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 doOnGetAccessibilityHandler(Ucefinterfaces::_di_ICefAccessibilityHandler &aAccessibilityHandler); + virtual bool __fastcall doOnGetRootScreenRect(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefRect &rect); + virtual void __fastcall doOnGetViewRect(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefRect &rect); + virtual bool __fastcall doOnGetScreenPoint(const Ucefinterfaces::_di_ICefBrowser browser, int viewX, int viewY, int &screenX, int &screenY); + virtual bool __fastcall doOnGetScreenInfo(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefScreenInfo &screenInfo); + virtual void __fastcall doOnPopupShow(const Ucefinterfaces::_di_ICefBrowser browser, bool show); + virtual void __fastcall doOnPopupSize(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefRect rect); + virtual void __fastcall doOnPaint(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefPaintElementType type_, System::NativeUInt dirtyRectsCount, const Uceftypes::PCefRectArray dirtyRects, const void * buffer, int width, int height); + virtual void __fastcall doOnAcceleratedPaint(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefPaintElementType type_, System::NativeUInt dirtyRectsCount, const Uceftypes::PCefRectArray dirtyRects, const Uceftypes::PCefAcceleratedPaintInfo info); + virtual void __fastcall doGetTouchHandleSize(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefHorizontalAlignment orientation, Uceftypes::TCefSize &size); + virtual void __fastcall doOnTouchHandleStateChanged(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::TCefTouchHandleState &state); + virtual bool __fastcall doOnStartDragging(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefDragData dragData, Uceftypes::TCefDragOperations allowedOps, int x, int y); + virtual void __fastcall doOnUpdateDragCursor(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefDragOperation operation); + virtual void __fastcall doOnScrollOffsetChanged(const Ucefinterfaces::_di_ICefBrowser browser, double x, double y); + virtual void __fastcall doOnIMECompositionRangeChanged(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefRange selected_range, System::NativeUInt character_boundsCount, const Uceftypes::PCefRect character_bounds); + virtual void __fastcall doOnTextSelectionChanged(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring selected_text, const Uceftypes::PCefRange selected_range); + virtual void __fastcall doOnVirtualKeyboardRequested(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefTextInpuMode input_mode); + virtual bool __fastcall doOnDragEnter(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefDragData dragData, Uceftypes::TCefDragOperations mask); + virtual void __fastcall doOnDraggableRegionsChanged(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, System::NativeUInt regionsCount, const Uceftypes::PCefDraggableRegionArray regions); + virtual void __fastcall doOnFindResult(const Ucefinterfaces::_di_ICefBrowser browser, int identifier, int count, const Uceftypes::PCefRect selectionRect, int activeMatchOrdinal, bool finalUpdate); + virtual void __fastcall doOnRequestContextInitialized(const Ucefinterfaces::_di_ICefRequestContext request_context); + virtual void __fastcall doGetResourceRequestHandler_ReqCtxHdlr(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 &aResourceRequestHandler); + virtual void __fastcall doOnSinks(const Ucefinterfaces::TCefMediaSinkArray sinks); + virtual void __fastcall doOnRoutes(const Ucefinterfaces::TCefMediaRouteArray routes); + virtual void __fastcall doOnRouteStateChanged(const Ucefinterfaces::_di_ICefMediaRoute route, Uceftypes::TCefMediaRouteConnectionState state); + virtual void __fastcall doOnRouteMessageReceived(const Ucefinterfaces::_di_ICefMediaRoute route, const Uceftypes::ustring message_); + virtual void __fastcall doOnGetAudioParameters(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefAudioParameters ¶ms, bool &aResult); + virtual void __fastcall doOnAudioStreamStarted(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::TCefAudioParameters ¶ms, int channels); + virtual void __fastcall doOnAudioStreamPacket(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PPSingle data, int frames, __int64 pts); + virtual void __fastcall doOnAudioStreamStopped(const Ucefinterfaces::_di_ICefBrowser browser); + virtual void __fastcall doOnAudioStreamError(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring message_); + virtual void __fastcall doOnDevToolsMessage(const Ucefinterfaces::_di_ICefBrowser browser, const void * message_, System::NativeUInt message_size, bool &aHandled); + virtual void __fastcall doOnDevToolsMethodResult(const Ucefinterfaces::_di_ICefBrowser browser, int message_id, bool success, const void * result, System::NativeUInt result_size); + virtual void __fastcall doOnDevToolsEvent(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring method, const void * params, System::NativeUInt params_size); + virtual void __fastcall doOnDevToolsAgentAttached(const Ucefinterfaces::_di_ICefBrowser browser); + virtual void __fastcall doOnDevToolsAgentDetached(const Ucefinterfaces::_di_ICefBrowser browser); + void __fastcall doOnPrintStart(const Ucefinterfaces::_di_ICefBrowser browser); + void __fastcall doOnPrintSettings(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefPrintSettings settings, bool getDefaults); + void __fastcall doOnPrintDialog(const Ucefinterfaces::_di_ICefBrowser browser, bool hasSelection, const Ucefinterfaces::_di_ICefPrintDialogCallback callback, bool &aResult); + void __fastcall doOnPrintJob(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring documentName, const Uceftypes::ustring PDFFilePath, const Ucefinterfaces::_di_ICefPrintJobCallback callback, bool &aResult); + void __fastcall doOnPrintReset(const Ucefinterfaces::_di_ICefBrowser browser); + void __fastcall doOnGetPDFPaperSize(const Ucefinterfaces::_di_ICefBrowser browser, int deviceUnitsPerInch, Uceftypes::TCefSize &aResult); + void __fastcall doOnFrameCreated(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame); + void __fastcall doOnFrameDestroyed(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame); + void __fastcall doOnFrameAttached(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, bool reattached); + void __fastcall doOnFrameDetached(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame); + void __fastcall doOnMainFrameChanged(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame old_frame, const Ucefinterfaces::_di_ICefFrame new_frame); + bool __fastcall doOnChromeCommand(const Ucefinterfaces::_di_ICefBrowser browser, int command_id, Uceftypes::TCefWindowOpenDisposition disposition); + bool __fastcall doOnIsChromeAppMenuItemVisible(const Ucefinterfaces::_di_ICefBrowser browser, int command_id); + bool __fastcall doOnIsChromeAppMenuItemEnabled(const Ucefinterfaces::_di_ICefBrowser browser, int command_id); + bool __fastcall doOnIsChromePageActionIconVisible(Uceftypes::TCefChromePageActionIconType icon_type); + bool __fastcall doOnIsChromeToolbarButtonVisible(Uceftypes::TCefChromeToolbarButtonType button_type); + bool __fastcall doOnRequestMediaAccessPermission(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Uceftypes::ustring requesting_origin, unsigned requested_permissions, const Ucefinterfaces::_di_ICefMediaAccessCallback callback); + bool __fastcall doOnShowPermissionPrompt(const Ucefinterfaces::_di_ICefBrowser browser, unsigned __int64 prompt_id, const Uceftypes::ustring requesting_origin, unsigned requested_permissions, const Ucefinterfaces::_di_ICefPermissionPromptCallback callback); + void __fastcall doOnDismissPermissionPrompt(const Ucefinterfaces::_di_ICefBrowser browser, unsigned __int64 prompt_id, Uceftypes::TCefPermissionRequestResult result); + void __fastcall doOnPreferenceChanged(const Uceftypes::ustring name_); + void __fastcall doOnSettingChanged(const Uceftypes::ustring requesting_url, const Uceftypes::ustring top_level_url, Uceftypes::TCefContentSettingTypes content_type); + void __fastcall GetSettings(Uceftypes::TCefBrowserSettings &aSettings); + virtual void __fastcall doCookiesDeleted(int numDeleted); + virtual void __fastcall doPdfPrintFinished(bool aResultOK); + virtual void __fastcall doTextResultAvailable(const Uceftypes::ustring aText); + virtual void __fastcall doUpdatePreferences(const Ucefinterfaces::_di_ICefBrowser aBrowser); + virtual void __fastcall doUpdateOwnPreferences(); + virtual bool __fastcall doSavePreferences(); + virtual void __fastcall doResolvedHostAvailable(Uceftypes::TCefErrorCode result, System::Classes::TStrings* const resolvedIps); + virtual bool __fastcall doNavigationVisitorResultAvailable(const Ucefinterfaces::_di_ICefNavigationEntry entry, bool current, int index, int total); + virtual void __fastcall doDownloadImageFinished(const Uceftypes::ustring imageUrl, int httpStatusCode, const Ucefinterfaces::_di_ICefImage image); + virtual void __fastcall doOnCookiesStoreFlushed(); + virtual void __fastcall doCertificateExceptionsCleared(); + virtual void __fastcall doHttpAuthCredentialsCleared(); + virtual void __fastcall doAllConnectionsClosed(); + virtual void __fastcall doOnExecuteTaskOnCefThread(unsigned aTaskID); + virtual void __fastcall doOnCookiesVisited(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); + virtual void __fastcall doOnCookieVisitorDestroyed(int aID); + virtual void __fastcall doOnCookieSet(bool aSuccess, int aID); + virtual void __fastcall doUpdateZoomStep(bool aInc); + virtual void __fastcall doUpdateZoomPct(bool aInc); + virtual void __fastcall doReadZoom(); + virtual void __fastcall doSetZoomLevel(const double aValue); + virtual void __fastcall doSetZoomPct(const double aValue); + virtual void __fastcall doSetZoomStep(System::Byte aValue); + virtual void __fastcall doMediaRouteCreateFinished(Uceftypes::TCefMediaRouterCreateResult result, const Uceftypes::ustring error, const Ucefinterfaces::_di_ICefMediaRoute route); + virtual void __fastcall doOnMediaSinkDeviceInfo(const Uceftypes::ustring ip_address, int port, const Uceftypes::ustring model_name); + virtual void __fastcall doBrowserNavigation(Uceftypes::TCefBrowserNavigation aTask); + virtual void __fastcall doSetAudioMuted(bool aValue); + virtual void __fastcall doToggleAudioMuted(); + virtual void __fastcall doEnableFocus(); + virtual bool __fastcall doTryCloseBrowser(); + virtual void __fastcall doAddPreferenceObserver(const Uceftypes::ustring name_); + virtual bool __fastcall MustCreateAudioHandler(); + virtual bool __fastcall MustCreateCommandHandler(); + virtual bool __fastcall MustCreateDevToolsMessageObserver(); + virtual bool __fastcall MustCreateSettingObserver(); + virtual bool __fastcall MustCreateLoadHandler(); + virtual bool __fastcall MustCreateFocusHandler(); + virtual bool __fastcall MustCreateContextMenuHandler(); + virtual bool __fastcall MustCreateDialogHandler(); + virtual bool __fastcall MustCreateKeyboardHandler(); + virtual bool __fastcall MustCreateDisplayHandler(); + virtual bool __fastcall MustCreateDownloadHandler(); + virtual bool __fastcall MustCreateJsDialogHandler(); + virtual bool __fastcall MustCreateLifeSpanHandler(); + virtual bool __fastcall MustCreateRenderHandler(); + virtual bool __fastcall MustCreateRequestHandler(); + virtual bool __fastcall MustCreateDragHandler(); + virtual bool __fastcall MustCreateFindHandler(); + virtual bool __fastcall MustCreateResourceRequestHandler(); + virtual bool __fastcall MustCreateCookieAccessFilter(); + virtual bool __fastcall MustCreateMediaObserver(); + virtual bool __fastcall MustCreatePrintHandler(); + virtual bool __fastcall MustCreateFrameHandler(); + virtual bool __fastcall MustCreatePermissionHandler(); + __property Uceftypes::TCefWindowHandle ParentFormHandle = {read=GetParentFormHandle, nodefault}; + +public: + __fastcall virtual TChromiumCore(System::Classes::TComponent* AOwner); + __fastcall virtual ~TChromiumCore(); + virtual void __fastcall AfterConstruction(); + virtual void __fastcall BeforeDestruction(); + bool __fastcall CreateClientHandler(bool aIsOSR = true)/* overload */; + bool __fastcall CreateClientHandler(Ucefinterfaces::_di_ICefClient &aClient, bool aIsOSR = true)/* overload */; + void __fastcall CloseBrowser(bool aForceClose); + void __fastcall CloseAllBrowsers(); + bool __fastcall TryCloseBrowser(); + bool __fastcall IsReadyToBeClosed(); + bool __fastcall SelectBrowser(int aID); + int __fastcall IndexOfBrowserID(int aID); + bool __fastcall ShareRequestContext(Ucefinterfaces::_di_ICefRequestContext &aContext, const Ucefinterfaces::_di_ICefRequestContextHandler aHandler = Ucefinterfaces::_di_ICefRequestContextHandler()); + void __fastcall InitializeDragAndDrop(const HWND aDropTargetWnd); + void __fastcall ShutdownDragAndDrop(); + bool __fastcall SetNewBrowserParent(HWND aNewParentHwnd); + virtual 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)/* overload */; + virtual 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())/* overload */; + void __fastcall LoadURL(const Uceftypes::ustring aURL, const Uceftypes::ustring aFrameName = Uceftypes::ustring(), const Uceftypes::ustring aFrameIdentifier = Uceftypes::ustring())/* overload */; + void __fastcall LoadURL(const Uceftypes::ustring aURL, const Ucefinterfaces::_di_ICefFrame aFrame)/* overload */; + void __fastcall LoadString(const Uceftypes::ustring aHTML, const Uceftypes::ustring aFrameName = Uceftypes::ustring(), const Uceftypes::ustring aFrameIdentifier = Uceftypes::ustring())/* overload */; + void __fastcall LoadString(const Uceftypes::ustring aHTML, const Ucefinterfaces::_di_ICefFrame aFrame)/* overload */; + void __fastcall LoadResource(System::Classes::TCustomMemoryStream* const aStream, const System::UnicodeString aMimeType, const System::UnicodeString aCharset, const Uceftypes::ustring aFrameName = Uceftypes::ustring(), const Uceftypes::ustring aFrameIdentifier = Uceftypes::ustring())/* overload */; + void __fastcall LoadResource(System::Classes::TCustomMemoryStream* const aStream, const System::UnicodeString aMimeType, const System::UnicodeString aCharset, const Ucefinterfaces::_di_ICefFrame aFrame)/* overload */; + void __fastcall LoadRequest(const Ucefinterfaces::_di_ICefRequest aRequest); + void __fastcall GoBack(); + void __fastcall GoForward(); + void __fastcall Reload(); + void __fastcall ReloadIgnoreCache(); + void __fastcall StopLoad(); + void __fastcall StartDownload(const Uceftypes::ustring aURL); + void __fastcall DownloadImage(const Uceftypes::ustring imageUrl, bool isFavicon, unsigned maxImageSize, bool bypassCache); + void __fastcall SimulateMouseWheel(int aDeltaX, int aDeltaY); + void __fastcall SimulateKeyEvent(Uceftypes::TSimulatedCefKeyEventType type_, int modifiers = 0x0, float timestamp = 0.000000E+00f, const Uceftypes::ustring text = Uceftypes::ustring(), const Uceftypes::ustring unmodifiedtext = Uceftypes::ustring(), const Uceftypes::ustring keyIdentifier = Uceftypes::ustring(), const Uceftypes::ustring code = Uceftypes::ustring(), const Uceftypes::ustring key = Uceftypes::ustring(), int windowsVirtualKeyCode = 0x0, int nativeVirtualKeyCode = 0x0, bool autoRepeat = false, bool isKeypad = false, bool isSystemKey = false, Uceftypes::TCefKeyLocation location = (Uceftypes::TCefKeyLocation)(0x0), Uceftypes::TCefEditingCommand commands = (Uceftypes::TCefEditingCommand)(0x0)); + void __fastcall SimulateMouseEvent(Uceftypes::TCefSimulatedMouseEventType type_, float x, float y, int modifiers = 0x0, float timestamp = 0.000000E+00f, Uceftypes::TCefSimulatedMouseButton button = (Uceftypes::TCefSimulatedMouseButton)(0x0), int buttons = 0x0, int clickCount = 0x0, float force = 0.000000E+00f, float tangentialPressure = 0.000000E+00f, float tiltX = 0.000000E+00f, float tiltY = 0.000000E+00f, int twist = 0x0, float deltaX = 0.000000E+00f, float deltaY = 0.000000E+00f, Uceftypes::TCefSimulatedPointerType pointerType = (Uceftypes::TCefSimulatedPointerType)(0x0)); + void __fastcall SimulateTouchEvent(Uceftypes::TCefSimulatedTouchEventType type_, Uceftypes::TCefSimulatedTouchPointArray &touchPoints, int modifiers = 0x0, float timestamp = 0.000000E+00f); + void __fastcall SimulateEditingCommand(Uceftypes::TCefEditingCommand command); + bool __fastcall ClearCertificateExceptions(bool aClearImmediately = true); + bool __fastcall ClearHttpAuthCredentials(bool aClearImmediately = true); + bool __fastcall CloseAllConnections(bool aCloseImmediately = true); + void __fastcall RetrieveHTML(const Uceftypes::ustring aFrameName = Uceftypes::ustring(), const Uceftypes::ustring aFrameIdentifier = Uceftypes::ustring())/* overload */; + void __fastcall RetrieveHTML(const Ucefinterfaces::_di_ICefFrame aFrame)/* overload */; + void __fastcall RetrieveText(const Uceftypes::ustring aFrameName = Uceftypes::ustring(), const Uceftypes::ustring aFrameIdentifier = Uceftypes::ustring())/* overload */; + void __fastcall RetrieveText(const Ucefinterfaces::_di_ICefFrame aFrame)/* overload */; + void __fastcall GetNavigationEntries(bool currentOnly); + bool __fastcall GetFrameNames(System::Classes::TStrings* &aFrameNames); + bool __fastcall GetFrameIdentifiers(System::Classes::TStrings* &aFrameIdentifiers); + void __fastcall ExecuteJavaScript(const Uceftypes::ustring aCode, const Uceftypes::ustring aScriptURL, const Uceftypes::ustring aFrameName = Uceftypes::ustring(), const Uceftypes::ustring aFrameIdentifier = Uceftypes::ustring(), int aStartLine = 0x0)/* overload */; + void __fastcall ExecuteJavaScript(const Uceftypes::ustring aCode, const Uceftypes::ustring aScriptURL, const Ucefinterfaces::_di_ICefFrame aFrame, int aStartLine = 0x0)/* overload */; + void __fastcall UpdatePreferences(); + void __fastcall SavePreferences(const System::UnicodeString aFileName); + void __fastcall ResolveHost(const Uceftypes::ustring aURL); + bool __fastcall IsSameBrowser(const Ucefinterfaces::_di_ICefBrowser aBrowser); + bool __fastcall ExecuteTaskOnCefThread(Uceftypes::TCefThreadId aCefThreadId, unsigned aTaskID, __int64 aDelayMs = 0LL); + void __fastcall SetUserAgentOverride(const Uceftypes::ustring aUserAgent, const Uceftypes::ustring aAcceptLanguage = Uceftypes::ustring(), const Uceftypes::ustring aPlatform = Uceftypes::ustring()); + void __fastcall ClearDataForOrigin(const Uceftypes::ustring aOrigin, Uceftypes::TCefClearDataStorageTypes aStorageTypes = (Uceftypes::TCefClearDataStorageTypes)(0xb)); + void __fastcall ClearCache(); + void __fastcall ToggleAudioMuted(); + void __fastcall AddPreferenceObserver(const Uceftypes::ustring name_); + void __fastcall RemovePreferenceObserver(const Uceftypes::ustring name_); + bool __fastcall DeleteCookies(const Uceftypes::ustring url = Uceftypes::ustring(), const Uceftypes::ustring cookieName = Uceftypes::ustring(), bool aDeleteImmediately = false); + bool __fastcall VisitAllCookies(int aID = 0x0); + bool __fastcall VisitURLCookies(const Uceftypes::ustring url, bool includeHttpOnly = false, int aID = 0x0); + 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, bool aSetImmediately = true, int aID = 0x0); + bool __fastcall FlushCookieStore(bool aFlushImmediately = true); + void __fastcall ShowDevTools(const System::Types::TPoint &inspectElementAt, Uceftypes::PCefWindowInfo aWindowInfo); + void __fastcall CloseDevTools()/* overload */; + void __fastcall CloseDevTools(const Uceftypes::TCefWindowHandle aDevToolsWnd)/* overload */; + 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); + Ucefinterfaces::_di_ICefRegistration __fastcall AddSettingObserver(const Ucefinterfaces::_di_ICefSettingObserver observer); + void __fastcall Find(const Uceftypes::ustring aSearchText, bool aForward, bool aMatchCase, bool aFindNext); + void __fastcall StopFinding(bool aClearSelection); + void __fastcall Print(); + void __fastcall PrintToPDF(const Uceftypes::ustring aFilePath); + void __fastcall ClipboardCopy(); + void __fastcall ClipboardPaste(); + void __fastcall ClipboardPasteAndMatchStyle(); + void __fastcall ClipboardCut(); + void __fastcall ClipboardUndo(); + void __fastcall ClipboardRedo(); + void __fastcall ClipboardDel(); + void __fastcall SelectAll(); + void __fastcall IncZoomStep(); + void __fastcall DecZoomStep(); + void __fastcall IncZoomPct(); + void __fastcall DecZoomPct(); + void __fastcall ResetZoomStep(); + void __fastcall ResetZoomLevel(); + void __fastcall ResetZoomPct(); + void __fastcall ReadZoom(); + void __fastcall IncZoomCommand(); + void __fastcall DecZoomCommand(); + void __fastcall ResetZoomCommand(); + void __fastcall WasResized(); + void __fastcall WasHidden(bool hidden); + void __fastcall NotifyScreenInfoChanged(); + void __fastcall NotifyMoveOrResizeStarted(); + void __fastcall Invalidate(Uceftypes::TCefPaintElementType type_ = (Uceftypes::TCefPaintElementType)(0x0)); + void __fastcall ExitFullscreen(bool will_cause_resize); + bool __fastcall CanExecuteChromeCommand(int command_id); + void __fastcall ExecuteChromeCommand(int command_id, Uceftypes::TCefWindowOpenDisposition disposition); + 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 SendProcessMessage(Uceftypes::TCefProcessId targetProcess, const Ucefinterfaces::_di_ICefProcessMessage ProcMessage, const Uceftypes::ustring aFrameName = Uceftypes::ustring(), const Uceftypes::ustring aFrameIdentifier = Uceftypes::ustring())/* overload */; + void __fastcall SendProcessMessage(Uceftypes::TCefProcessId targetProcess, const Ucefinterfaces::_di_ICefProcessMessage ProcMessage, const Ucefinterfaces::_di_ICefFrame aFrame)/* overload */; + Ucefinterfaces::_di_ICefUrlRequest __fastcall CreateUrlRequest(const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefUrlrequestClient client, const Uceftypes::ustring aFrameName = Uceftypes::ustring(), const Uceftypes::ustring aFrameIdentifier = Uceftypes::ustring())/* overload */; + Ucefinterfaces::_di_ICefUrlRequest __fastcall CreateUrlRequest(const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefUrlrequestClient client, const Ucefinterfaces::_di_ICefFrame aFrame)/* overload */; + void __fastcall SetFocus(bool focus); + void __fastcall SetAccessibilityState(Uceftypes::TCefState accessibilityState); + 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(); + 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 ReplaceMisspelling(const Uceftypes::ustring aWord); + void __fastcall AddWordToDictionary(const Uceftypes::ustring aWord); + Ucefinterfaces::_di_ICefRegistration __fastcall AddObserver(const Ucefinterfaces::_di_ICefMediaObserver observer); + Ucefinterfaces::_di_ICefMediaSource __fastcall GetSource(const Uceftypes::ustring urn); + void __fastcall NotifyCurrentSinks(); + void __fastcall NotifyCurrentRoutes(); + void __fastcall CreateRoute(const Ucefinterfaces::_di_ICefMediaSource source, const Ucefinterfaces::_di_ICefMediaSink sink); + void __fastcall GetDeviceInfo(const Ucefinterfaces::_di_ICefMediaSink aMediaSink); + Ucefinterfaces::_di_ICefValue __fastcall GetWebsiteSetting(const Uceftypes::ustring requesting_url, const Uceftypes::ustring top_level_url, Uceftypes::TCefContentSettingTypes content_type); + void __fastcall SetWebsiteSetting(const Uceftypes::ustring requesting_url, const Uceftypes::ustring top_level_url, Uceftypes::TCefContentSettingTypes content_type, const Ucefinterfaces::_di_ICefValue value); + Uceftypes::TCefContentSettingValues __fastcall GetContentSetting(const Uceftypes::ustring requesting_url, const Uceftypes::ustring top_level_url, Uceftypes::TCefContentSettingTypes content_type); + void __fastcall SetContentSetting(const Uceftypes::ustring requesting_url, const Uceftypes::ustring top_level_url, Uceftypes::TCefContentSettingTypes content_type, Uceftypes::TCefContentSettingValues value); + void __fastcall SetChromeColorScheme(Uceftypes::TCefColorVariant variant, Uceftypes::TCefColor user_color); + __property Uceftypes::ustring DefaultUrl = {read=FDefaultUrl, write=SetDefaultUrl}; + __property Ucefchromiumoptions::TChromiumOptions* Options = {read=FOptions, write=FOptions}; + __property Ucefchromiumfontoptions::TChromiumFontOptions* FontOptions = {read=FFontOptions, write=FFontOptions}; + __property Ucefpdfprintoptions::TPDFPrintOptions* PDFPrintOptions = {read=FPDFPrintOptions, write=FPDFPrintOptions}; + __property Uceftypes::ustring DefaultEncoding = {read=FDefaultEncoding, write=FDefaultEncoding}; + __property int BrowserId = {read=GetBrowserId, nodefault}; + __property Ucefinterfaces::_di_ICefBrowser Browser = {read=GetBrowser}; + __property Ucefinterfaces::_di_ICefBrowser BrowserById[int id] = {read=GetBrowserById}; + __property int BrowserCount = {read=GetBrowserCount, nodefault}; + __property int BrowserIdByIndex[int i] = {read=GetBrowserIdByIndex}; + __property Ucefinterfaces::_di_ICefClient CefClient = {read=FHandler}; + __property Ucefinterfaces::_di_ICefRequestContextHandler ReqContextHandler = {read=FReqContextHandler}; + __property Ucefinterfaces::_di_ICefResourceRequestHandler ResourceRequestHandler = {read=FResourceRequestHandler}; + __property Uceftypes::TCefWindowInfo CefWindowInfo = {read=GetCefWindowInfo}; + __property Ucefinterfaces::_di_ICefNavigationEntry VisibleNavigationEntry = {read=GetVisibleNavigationEntry}; + __property Uceftypes::TCefRuntimeStyle RuntimeStyle = {read=GetRuntimeStyle, write=SetRuntimeStyle, nodefault}; + __property Ucefinterfaces::_di_ICefRequestContext RequestContext = {read=GetRequestContext}; + __property Ucefinterfaces::_di_ICefMediaRouter MediaRouter = {read=GetMediaRouter}; + __property Ucefinterfaces::_di_ICefMediaObserver MediaObserver = {read=FMediaObserver}; + __property Ucefinterfaces::_di_ICefRegistration MediaObserverReg = {read=FMediaObserverReg}; + __property Ucefinterfaces::_di_ICefDevToolsMessageObserver DevToolsMsgObserver = {read=FDevToolsMsgObserver}; + __property Ucefinterfaces::_di_ICefRegistration DevToolsMsgObserverReg = {read=FDevToolsMsgObserverReg}; + __property bool MultithreadApp = {read=GetMultithreadApp, nodefault}; + __property bool IsLoading = {read=GetIsLoading, nodefault}; + __property bool HasDocument = {read=GetHasDocument, nodefault}; + __property bool HasView = {read=GetHasView, nodefault}; + __property bool HasDevTools = {read=GetHasDevTools, nodefault}; + __property bool HasClientHandler = {read=GetHasClientHandler, nodefault}; + __property bool HasBrowser = {read=GetHasBrowser, nodefault}; + __property bool CanGoBack = {read=GetCanGoBack, nodefault}; + __property bool CanGoForward = {read=GetCanGoForward, nodefault}; + __property bool IsPopUp = {read=GetIsPopUp, nodefault}; + __property Uceftypes::TCefWindowHandle WindowHandle = {read=GetWindowHandle, nodefault}; + __property Uceftypes::TCefWindowHandle OpenerWindowHandle = {read=GetOpenerWindowHandle, nodefault}; + __property int OpenerIdentifier = {read=GetOpenerIdentifier, nodefault}; + __property Winapi::Windows::THandle BrowserHandle = {read=FBrowserCompHWND, nodefault}; + __property Winapi::Windows::THandle RenderHandle = {read=FRenderCompHWND, nodefault}; + __property bool FrameIsFocused = {read=GetFrameIsFocused, nodefault}; + __property bool Initialized = {read=GetInitialized, nodefault}; + __property Uceftypes::ustring RequestContextCache = {read=GetRequestContextCache}; + __property bool RequestContextIsGlobal = {read=GetRequestContextIsGlobal, nodefault}; + __property Uceftypes::TCefColorVariant ChromeColorSchemeMode = {read=GetChromeColorSchemeMode, nodefault}; + __property Uceftypes::TCefColor ChromeColorSchemeColor = {read=GetChromeColorSchemeColor, nodefault}; + __property Uceftypes::TCefColorVariant ChromeColorSchemeVariant = {read=GetChromeColorSchemeVariant, nodefault}; + __property Uceftypes::ustring DocumentURL = {read=GetDocumentURL}; + __property double ZoomLevel = {read=GetZoomLevel, write=SetZoomLevel}; + __property double DefaultZoomLevel = {read=GetDefaultZoomLevel}; + __property bool CanIncZoom = {read=GetCanIncZoom, nodefault}; + __property bool CanDecZoom = {read=GetCanDecZoom, nodefault}; + __property bool CanResetZoom = {read=GetCanResetZoom, nodefault}; + __property double ZoomPct = {read=GetZoomPct, write=SetZoomPct}; + __property System::Byte ZoomStep = {read=GetZoomStep, write=SetZoomStep, nodefault}; + __property int WindowlessFrameRate = {read=GetWindowlessFrameRate, write=SetWindowlessFrameRate, nodefault}; + __property Uceftypes::ustring CustomHeaderName = {read=FCustomHeaderName, write=SetCustomHeaderName}; + __property Uceftypes::ustring CustomHeaderValue = {read=FCustomHeaderValue, write=SetCustomHeaderValue}; + __property bool DoNotTrack = {read=FDoNotTrack, write=SetDoNotTrack, nodefault}; + __property bool SendReferrer = {read=FSendReferrer, write=SetSendReferrer, nodefault}; + __property bool HyperlinkAuditing = {read=FHyperlinkAuditing, write=SetHyperlinkAuditing, nodefault}; + __property bool AllowOutdatedPlugins = {read=FAllowOutdatedPlugins, write=SetAllowOutdatedPlugins, nodefault}; + __property bool AlwaysAuthorizePlugins = {read=FAlwaysAuthorizePlugins, write=SetAlwaysAuthorizePlugins, nodefault}; + __property bool AlwaysOpenPDFExternally = {read=FAlwaysOpenPDFExternally, write=SetAlwaysOpenPDFExternally, nodefault}; + __property bool SpellChecking = {read=FSpellChecking, write=SetSpellChecking, nodefault}; + __property Uceftypes::ustring SpellCheckerDicts = {read=FSpellCheckerDicts, write=SetSpellCheckerDicts}; + __property bool HasValidMainFrame = {read=GetHasValidMainFrame, nodefault}; + __property System::NativeUInt FrameCount = {read=GetFrameCount, nodefault}; + __property Uceftypes::TCefDragOperations DragOperations = {read=FDragOperations, write=FDragOperations, nodefault}; + __property bool AudioMuted = {read=GetAudioMuted, write=SetAudioMuted, nodefault}; + __property bool Fullscreen = {read=GetFullscreen, nodefault}; + __property bool IsRenderProcessUnresponsive = {read=GetIsRenderProcessUnresponsive, nodefault}; + __property bool SafeSearch = {read=FSafeSearch, write=SetSafeSearch, nodefault}; + __property int YouTubeRestrict = {read=FYouTubeRestrict, write=SetYouTubeRestrict, nodefault}; + __property bool PrintingEnabled = {read=FPrintingEnabled, write=SetPrintingEnabled, nodefault}; + __property Uceftypes::TCefCookiePref AcceptCookies = {read=FAcceptCookies, write=SetAcceptCookies, nodefault}; + __property bool Block3rdPartyCookies = {read=FBlock3rdPartyCookies, write=SetBlock3rdPartyCookies, nodefault}; + __property bool MultiBrowserMode = {read=FMultiBrowserMode, write=SetMultiBrowserMode, nodefault}; + __property unsigned DefaultWindowInfoExStyle = {read=GetWindowInfoExStyle, write=SetWindowInfoExStyle, nodefault}; + __property bool Offline = {read=FOffline, write=SetOffline, nodefault}; + __property bool QuicAllowed = {read=FQuicAllowed, write=SetQuicAllowed, nodefault}; + __property bool JavascriptEnabled = {read=FJavascriptEnabled, write=SetJavascriptEnabled, nodefault}; + __property bool LoadImagesAutomatically = {read=FLoadImagesAutomatically, write=SetLoadImagesAutomatically, nodefault}; + __property Uceftypes::TCefBatterySaverModeState BatterySaverModeState = {read=FBatterySaverModeState, write=SetBatterySaverModeState, nodefault}; + __property Uceftypes::TCefHighEfficiencyModeState HighEfficiencyModeState = {read=FHighEfficiencyModeState, write=SetHighEfficiencyModeState, nodefault}; + __property bool CanFocus = {read=FCanFocus, nodefault}; + __property unsigned EnableFocusDelayMs = {read=FEnableFocusDelayMs, write=FEnableFocusDelayMs, nodefault}; + __property Uceftypes::TCefWebRTCHandlingPolicy WebRTCIPHandlingPolicy = {read=FWebRTCIPHandlingPolicy, write=SetWebRTCIPHandlingPolicy, nodefault}; + __property Uceftypes::TCefState WebRTCMultipleRoutes = {read=FWebRTCMultipleRoutes, write=SetWebRTCMultipleRoutes, nodefault}; + __property Uceftypes::TCefState WebRTCNonproxiedUDP = {read=FWebRTCNonProxiedUDP, write=SetWebRTCNonProxiedUDP, nodefault}; + __property int ProxyType = {read=FProxyType, write=SetProxyType, nodefault}; + __property Uceftypes::TCefProxyScheme ProxyScheme = {read=FProxyScheme, write=SetProxyScheme, nodefault}; + __property Uceftypes::ustring ProxyServer = {read=FProxyServer, write=SetProxyServer}; + __property int ProxyPort = {read=FProxyPort, write=SetProxyPort, nodefault}; + __property Uceftypes::ustring ProxyUsername = {read=FProxyUsername, write=SetProxyUsername}; + __property Uceftypes::ustring ProxyPassword = {read=FProxyPassword, write=SetProxyPassword}; + __property Uceftypes::ustring ProxyScriptURL = {read=FProxyScriptURL, write=SetProxyScriptURL}; + __property Uceftypes::ustring ProxyByPassList = {read=FProxyByPassList, write=SetProxyByPassList}; + __property int MaxConnectionsPerProxy = {read=FMaxConnectionsPerProxy, write=SetMaxConnectionsPerProxy, nodefault}; + __property Uceftypes::TCefState DownloadBubble = {read=FDownloadBubble, write=FDownloadBubble, nodefault}; + __property Uceftypes::TCefState HTTPSUpgrade = {read=FHTTPSUpgrade, write=FHTTPSUpgrade, nodefault}; + __property Uceftypes::ustring HSTSPolicyBypassList = {read=FHSTSPolicyBypassList, write=FHSTSPolicyBypassList}; + __property Uceftypes::TCefState CredentialsService = {read=FCredentialsService, write=FCredentialsService, nodefault}; + __property Uceftypes::TCefState AutofillCreditCard = {read=FAutofillCreditCard, write=FAutofillCreditCard, nodefault}; + __property Uceftypes::TCefState AutofillProfile = {read=FAutofillProfile, write=FAutofillProfile, nodefault}; + __property Uceftypes::TCefState AutofillSaveData = {read=FAutofillSaveData, write=FAutofillSaveData, nodefault}; + __property Uceftypes::TCefState CanMakePayment = {read=FCanMakePayment, write=FCanMakePayment, nodefault}; + __property Uceftypes::TCefState SearchSuggestEnabled = {read=FSearchSuggestEnabled, write=FSearchSuggestEnabled, nodefault}; + __property Uceftypes::TCefState URLDataCollection = {read=FURLDataCollection, write=FURLDataCollection, nodefault}; + __property Uceftypes::TCefState StorageNotificationService = {read=FStorageNotificationService, write=FStorageNotificationService, nodefault}; + +__published: + __property Ucefchromiumevents::TOnTextResultAvailableEvent OnTextResultAvailable = {read=FOnTextResultAvailable, write=FOnTextResultAvailable}; + __property Ucefchromiumevents::TOnPdfPrintFinishedEvent OnPdfPrintFinished = {read=FOnPdfPrintFinished, write=FOnPdfPrintFinished}; + __property Ucefchromiumevents::TOnPrefsAvailableEvent OnPrefsAvailable = {read=FOnPrefsAvailable, write=FOnPrefsAvailable}; + __property System::Classes::TNotifyEvent OnPrefsUpdated = {read=FOnPrefsUpdated, write=FOnPrefsUpdated}; + __property Ucefchromiumevents::TOnCookiesDeletedEvent OnCookiesDeleted = {read=FOnCookiesDeleted, write=FOnCookiesDeleted}; + __property Ucefchromiumevents::TOnResolvedIPsAvailableEvent OnResolvedHostAvailable = {read=FOnResolvedHostAvailable, write=FOnResolvedHostAvailable}; + __property Ucefchromiumevents::TOnNavigationVisitorResultAvailableEvent OnNavigationVisitorResultAvailable = {read=FOnNavigationVisitorResultAvailable, write=FOnNavigationVisitorResultAvailable}; + __property Ucefchromiumevents::TOnDownloadImageFinishedEvent OnDownloadImageFinished = {read=FOnDownloadImageFinished, write=FOnDownloadImageFinished}; + __property System::Classes::TNotifyEvent OnCookiesFlushed = {read=FOnCookiesFlushed, write=FOnCookiesFlushed}; + __property System::Classes::TNotifyEvent OnCertificateExceptionsCleared = {read=FOnCertificateExceptionsCleared, write=FOnCertificateExceptionsCleared}; + __property System::Classes::TNotifyEvent OnHttpAuthCredentialsCleared = {read=FOnHttpAuthCredentialsCleared, write=FOnHttpAuthCredentialsCleared}; + __property System::Classes::TNotifyEvent OnAllConnectionsClosed = {read=FOnAllConnectionsClosed, write=FOnAllConnectionsClosed}; + __property Ucefchromiumevents::TOnExecuteTaskOnCefThread OnExecuteTaskOnCefThread = {read=FOnExecuteTaskOnCefThread, write=FOnExecuteTaskOnCefThread}; + __property Ucefchromiumevents::TOnCookiesVisited OnCookiesVisited = {read=FOnCookiesVisited, write=FOnCookiesVisited}; + __property Ucefchromiumevents::TOnCookieVisitorDestroyed OnCookieVisitorDestroyed = {read=FOnCookieVisitorDestroyed, write=FOnCookieVisitorDestroyed}; + __property Ucefchromiumevents::TOnCookieSet OnCookieSet = {read=FOnCookieSet, write=FOnCookieSet}; + __property Ucefchromiumevents::TOnZoomPctAvailable OnZoomPctAvailable = {read=FOnZoomPctAvailable, write=FOnZoomPctAvailable}; + __property Ucefchromiumevents::TOnMediaRouteCreateFinishedEvent OnMediaRouteCreateFinished = {read=FOnMediaRouteCreateFinished, write=FOnMediaRouteCreateFinished}; + __property Ucefchromiumevents::TOnMediaSinkDeviceInfoEvent OnMediaSinkDeviceInfo = {read=FOnMediaSinkDeviceInfo, write=FOnMediaSinkDeviceInfo}; + __property System::Classes::TNotifyEvent OnCanFocus = {read=FOnCanFocus, write=FOnCanFocus}; + __property Ucefchromiumevents::TOnCompMsgEvent OnBrowserCompMsg = {read=FOnBrowserCompMsg, write=FOnBrowserCompMsg}; + __property Ucefchromiumevents::TOnCompMsgEvent OnRenderCompMsg = {read=FOnRenderCompMsg, write=FOnRenderCompMsg}; + __property Ucefchromiumevents::TOnProcessMessageReceived OnProcessMessageReceived = {read=FOnProcessMessageReceived, write=FOnProcessMessageReceived}; + __property Ucefchromiumevents::TOnLoadStart OnLoadStart = {read=FOnLoadStart, write=FOnLoadStart}; + __property Ucefchromiumevents::TOnLoadEnd OnLoadEnd = {read=FOnLoadEnd, write=FOnLoadEnd}; + __property Ucefchromiumevents::TOnLoadError OnLoadError = {read=FOnLoadError, write=FOnLoadError}; + __property Ucefchromiumevents::TOnLoadingStateChange OnLoadingStateChange = {read=FOnLoadingStateChange, write=FOnLoadingStateChange}; + __property Ucefchromiumevents::TOnTakeFocus OnTakeFocus = {read=FOnTakeFocus, write=FOnTakeFocus}; + __property Ucefchromiumevents::TOnSetFocus OnSetFocus = {read=FOnSetFocus, write=FOnSetFocus}; + __property Ucefchromiumevents::TOnGotFocus OnGotFocus = {read=FOnGotFocus, write=FOnGotFocus}; + __property Ucefchromiumevents::TOnBeforeContextMenu OnBeforeContextMenu = {read=FOnBeforeContextMenu, write=FOnBeforeContextMenu}; + __property Ucefchromiumevents::TOnRunContextMenu OnRunContextMenu = {read=FOnRunContextMenu, write=FOnRunContextMenu}; + __property Ucefchromiumevents::TOnContextMenuCommand OnContextMenuCommand = {read=FOnContextMenuCommand, write=FOnContextMenuCommand}; + __property Ucefchromiumevents::TOnContextMenuDismissed OnContextMenuDismissed = {read=FOnContextMenuDismissed, write=FOnContextMenuDismissed}; + __property Ucefchromiumevents::TOnRunQuickMenuEvent OnRunQuickMenu = {read=FOnRunQuickMenu, write=FOnRunQuickMenu}; + __property Ucefchromiumevents::TOnQuickMenuCommandEvent OnQuickMenuCommand = {read=FOnQuickMenuCommand, write=FOnQuickMenuCommand}; + __property Ucefchromiumevents::TOnQuickMenuDismissedEvent OnQuickMenuDismissed = {read=FOnQuickMenuDismissed, write=FOnQuickMenuDismissed}; + __property Ucefchromiumevents::TOnPreKeyEvent OnPreKeyEvent = {read=FOnPreKeyEvent, write=FOnPreKeyEvent}; + __property Ucefchromiumevents::TOnKeyEvent OnKeyEvent = {read=FOnKeyEvent, write=FOnKeyEvent}; + __property Ucefchromiumevents::TOnAddressChange OnAddressChange = {read=FOnAddressChange, write=FOnAddressChange}; + __property Ucefchromiumevents::TOnTitleChange OnTitleChange = {read=FOnTitleChange, write=FOnTitleChange}; + __property Ucefchromiumevents::TOnFavIconUrlChange OnFavIconUrlChange = {read=FOnFavIconUrlChange, write=FOnFavIconUrlChange}; + __property Ucefchromiumevents::TOnFullScreenModeChange OnFullScreenModeChange = {read=FOnFullScreenModeChange, write=FOnFullScreenModeChange}; + __property Ucefchromiumevents::TOnTooltip OnTooltip = {read=FOnTooltip, write=FOnTooltip}; + __property Ucefchromiumevents::TOnStatusMessage OnStatusMessage = {read=FOnStatusMessage, write=FOnStatusMessage}; + __property Ucefchromiumevents::TOnConsoleMessage OnConsoleMessage = {read=FOnConsoleMessage, write=FOnConsoleMessage}; + __property Ucefchromiumevents::TOnAutoResize OnAutoResize = {read=FOnAutoResize, write=FOnAutoResize}; + __property Ucefchromiumevents::TOnLoadingProgressChange OnLoadingProgressChange = {read=FOnLoadingProgressChange, write=FOnLoadingProgressChange}; + __property Ucefchromiumevents::TOnCursorChange OnCursorChange = {read=FOnCursorChange, write=FOnCursorChange}; + __property Ucefchromiumevents::TOnMediaAccessChange OnMediaAccessChange = {read=FOnMediaAccessChange, write=FOnMediaAccessChange}; + __property Ucefchromiumevents::TOnContentsBoundsChange OnContentsBoundsChange = {read=FOnContentsBoundsChange, write=FOnContentsBoundsChange}; + __property Ucefchromiumevents::TOnGetRootWindowScreenRect OnGetRootWindowScreenRect = {read=FOnGetRootWindowScreenRect, write=FOnGetRootWindowScreenRect}; + __property Ucefchromiumevents::TOnCanDownloadEvent OnCanDownload = {read=FOnCanDownload, write=FOnCanDownload}; + __property Ucefchromiumevents::TOnBeforeDownload OnBeforeDownload = {read=FOnBeforeDownload, write=FOnBeforeDownload}; + __property Ucefchromiumevents::TOnDownloadUpdated OnDownloadUpdated = {read=FOnDownloadUpdated, write=FOnDownloadUpdated}; + __property Ucefchromiumevents::TOnJsdialog OnJsdialog = {read=FOnJsdialog, write=FOnJsdialog}; + __property Ucefchromiumevents::TOnBeforeUnloadDialog OnBeforeUnloadDialog = {read=FOnBeforeUnloadDialog, write=FOnBeforeUnloadDialog}; + __property Ucefchromiumevents::TOnResetDialogState OnResetDialogState = {read=FOnResetDialogState, write=FOnResetDialogState}; + __property Ucefchromiumevents::TOnDialogClosed OnDialogClosed = {read=FOnDialogClosed, write=FOnDialogClosed}; + __property Ucefchromiumevents::TOnBeforePopup OnBeforePopup = {read=FOnBeforePopup, write=FOnBeforePopup}; + __property Ucefchromiumevents::TOnBeforePopupAborted OnBeforePopupAborted = {read=FOnBeforePopupAborted, write=FOnBeforePopupAborted}; + __property Ucefchromiumevents::TOnBeforeDevToolsPopup OnBeforeDevToolsPopup = {read=FOnBeforeDevToolsPopup, write=FOnBeforeDevToolsPopup}; + __property Ucefchromiumevents::TOnAfterCreated OnAfterCreated = {read=FOnAfterCreated, write=FOnAfterCreated}; + __property Ucefchromiumevents::TOnBeforeClose OnBeforeClose = {read=FOnBeforeClose, write=FOnBeforeClose}; + __property Ucefchromiumevents::TOnClose OnClose = {read=FOnClose, write=FOnClose}; + __property Ucefchromiumevents::TOnBeforeBrowse OnBeforeBrowse = {read=FOnBeforeBrowse, write=FOnBeforeBrowse}; + __property Ucefchromiumevents::TOnOpenUrlFromTab OnOpenUrlFromTab = {read=FOnOpenUrlFromTab, write=FOnOpenUrlFromTab}; + __property Ucefchromiumevents::TOnGetAuthCredentials OnGetAuthCredentials = {read=FOnGetAuthCredentials, write=FOnGetAuthCredentials}; + __property Ucefchromiumevents::TOnCertificateError OnCertificateError = {read=FOnCertificateError, write=FOnCertificateError}; + __property Ucefchromiumevents::TOnSelectClientCertificate OnSelectClientCertificate = {read=FOnSelectClientCertificate, write=FOnSelectClientCertificate}; + __property Ucefchromiumevents::TOnRenderViewReady OnRenderViewReady = {read=FOnRenderViewReady, write=FOnRenderViewReady}; + __property Ucefchromiumevents::TOnRenderProcessUnresponsive OnRenderProcessUnresponsive = {read=FOnRenderProcessUnresponsive, write=FOnRenderProcessUnresponsive}; + __property Ucefchromiumevents::TOnRenderProcessResponsive OnRenderProcessResponsive = {read=FOnRenderProcessResponsive, write=FOnRenderProcessResponsive}; + __property Ucefchromiumevents::TOnRenderProcessTerminated OnRenderProcessTerminated = {read=FOnRenderProcessTerminated, write=FOnRenderProcessTerminated}; + __property Ucefchromiumevents::TOnGetResourceRequestHandler OnGetResourceRequestHandler_ReqHdlr = {read=FOnGetResourceRequestHandler_ReqHdlr, write=FOnGetResourceRequestHandler_ReqHdlr}; + __property Ucefchromiumevents::TOnDocumentAvailableInMainFrame OnDocumentAvailableInMainFrame = {read=FOnDocumentAvailableInMainFrame, write=FOnDocumentAvailableInMainFrame}; + __property Ucefchromiumevents::TOnBeforeResourceLoad OnBeforeResourceLoad = {read=FOnBeforeResourceLoad, write=FOnBeforeResourceLoad}; + __property Ucefchromiumevents::TOnGetResourceHandler OnGetResourceHandler = {read=FOnGetResourceHandler, write=FOnGetResourceHandler}; + __property Ucefchromiumevents::TOnResourceRedirect OnResourceRedirect = {read=FOnResourceRedirect, write=FOnResourceRedirect}; + __property Ucefchromiumevents::TOnResourceResponse OnResourceResponse = {read=FOnResourceResponse, write=FOnResourceResponse}; + __property Ucefchromiumevents::TOnGetResourceResponseFilter OnGetResourceResponseFilter = {read=FOnGetResourceResponseFilter, write=FOnGetResourceResponseFilter}; + __property Ucefchromiumevents::TOnResourceLoadComplete OnResourceLoadComplete = {read=FOnResourceLoadComplete, write=FOnResourceLoadComplete}; + __property Ucefchromiumevents::TOnProtocolExecution OnProtocolExecution = {read=FOnProtocolExecution, write=FOnProtocolExecution}; + __property Ucefchromiumevents::TOnCanSendCookie OnCanSendCookie = {read=FOnCanSendCookie, write=FOnCanSendCookie}; + __property Ucefchromiumevents::TOnCanSaveCookie OnCanSaveCookie = {read=FOnCanSaveCookie, write=FOnCanSaveCookie}; + __property Ucefchromiumevents::TOnFileDialog OnFileDialog = {read=FOnFileDialog, write=FOnFileDialog}; + __property Ucefchromiumevents::TOnGetAccessibilityHandler OnGetAccessibilityHandler = {read=FOnGetAccessibilityHandler, write=FOnGetAccessibilityHandler}; + __property Ucefchromiumevents::TOnGetRootScreenRect OnGetRootScreenRect = {read=FOnGetRootScreenRect, write=FOnGetRootScreenRect}; + __property Ucefchromiumevents::TOnGetViewRect OnGetViewRect = {read=FOnGetViewRect, write=FOnGetViewRect}; + __property Ucefchromiumevents::TOnGetScreenPoint OnGetScreenPoint = {read=FOnGetScreenPoint, write=FOnGetScreenPoint}; + __property Ucefchromiumevents::TOnGetScreenInfo OnGetScreenInfo = {read=FOnGetScreenInfo, write=FOnGetScreenInfo}; + __property Ucefchromiumevents::TOnPopupShow OnPopupShow = {read=FOnPopupShow, write=FOnPopupShow}; + __property Ucefchromiumevents::TOnPopupSize OnPopupSize = {read=FOnPopupSize, write=FOnPopupSize}; + __property Ucefchromiumevents::TOnPaint OnPaint = {read=FOnPaint, write=FOnPaint}; + __property Ucefchromiumevents::TOnAcceleratedPaint OnAcceleratedPaint = {read=FOnAcceleratedPaint, write=FOnAcceleratedPaint}; + __property Ucefchromiumevents::TOnGetTouchHandleSize OnGetTouchHandleSize = {read=FOnGetTouchHandleSize, write=FOnGetTouchHandleSize}; + __property Ucefchromiumevents::TOnTouchHandleStateChanged OnTouchHandleStateChanged = {read=FOnTouchHandleStateChanged, write=FOnTouchHandleStateChanged}; + __property Ucefchromiumevents::TOnStartDragging OnStartDragging = {read=FOnStartDragging, write=FOnStartDragging}; + __property Ucefchromiumevents::TOnUpdateDragCursor OnUpdateDragCursor = {read=FOnUpdateDragCursor, write=FOnUpdateDragCursor}; + __property Ucefchromiumevents::TOnScrollOffsetChanged OnScrollOffsetChanged = {read=FOnScrollOffsetChanged, write=FOnScrollOffsetChanged}; + __property Ucefchromiumevents::TOnIMECompositionRangeChanged OnIMECompositionRangeChanged = {read=FOnIMECompositionRangeChanged, write=FOnIMECompositionRangeChanged}; + __property Ucefchromiumevents::TOnTextSelectionChanged OnTextSelectionChanged = {read=FOnTextSelectionChanged, write=FOnTextSelectionChanged}; + __property Ucefchromiumevents::TOnVirtualKeyboardRequested OnVirtualKeyboardRequested = {read=FOnVirtualKeyboardRequested, write=FOnVirtualKeyboardRequested}; + __property Ucefchromiumevents::TOnDragEnter OnDragEnter = {read=FOnDragEnter, write=FOnDragEnter}; + __property Ucefchromiumevents::TOnDraggableRegionsChanged OnDraggableRegionsChanged = {read=FOnDraggableRegionsChanged, write=FOnDraggableRegionsChanged}; + __property Ucefchromiumevents::TOnFindResult OnFindResult = {read=FOnFindResult, write=FOnFindResult}; + __property Ucefchromiumevents::TOnRequestContextInitialized OnRequestContextInitialized = {read=FOnRequestContextInitialized, write=FOnRequestContextInitialized}; + __property Ucefchromiumevents::TOnGetResourceRequestHandler OnGetResourceRequestHandler_ReqCtxHdlr = {read=FOnGetResourceRequestHandler_ReqCtxHdlr, write=FOnGetResourceRequestHandler_ReqCtxHdlr}; + __property Ucefchromiumevents::TOnSinksEvent OnSinks = {read=FOnSinks, write=FOnSinks}; + __property Ucefchromiumevents::TOnRoutesEvent OnRoutes = {read=FOnRoutes, write=FOnRoutes}; + __property Ucefchromiumevents::TOnRouteStateChangedEvent OnRouteStateChanged = {read=FOnRouteStateChanged, write=FOnRouteStateChanged}; + __property Ucefchromiumevents::TOnRouteMessageReceivedEvent OnRouteMessageReceived = {read=FOnRouteMessageReceived, write=FOnRouteMessageReceived}; + __property Ucefchromiumevents::TOnGetAudioParametersEvent OnGetAudioParameters = {read=FOnGetAudioParameters, write=FOnGetAudioParameters}; + __property Ucefchromiumevents::TOnAudioStreamStartedEvent OnAudioStreamStarted = {read=FOnAudioStreamStarted, write=FOnAudioStreamStarted}; + __property Ucefchromiumevents::TOnAudioStreamPacketEvent OnAudioStreamPacket = {read=FOnAudioStreamPacket, write=FOnAudioStreamPacket}; + __property Ucefchromiumevents::TOnAudioStreamStoppedEvent OnAudioStreamStopped = {read=FOnAudioStreamStopped, write=FOnAudioStreamStopped}; + __property Ucefchromiumevents::TOnAudioStreamErrorEvent OnAudioStreamError = {read=FOnAudioStreamError, write=FOnAudioStreamError}; + __property Ucefchromiumevents::TOnDevToolsMessageEvent OnDevToolsMessage = {read=FOnDevToolsMessage, write=FOnDevToolsMessage}; + __property Ucefchromiumevents::TOnDevToolsRawMessageEvent OnDevToolsRawMessage = {read=FOnDevToolsRawMessage, write=FOnDevToolsRawMessage}; + __property Ucefchromiumevents::TOnDevToolsMethodResultEvent OnDevToolsMethodResult = {read=FOnDevToolsMethodResult, write=FOnDevToolsMethodResult}; + __property Ucefchromiumevents::TOnDevToolsMethodRawResultEvent OnDevToolsMethodRawResult = {read=FOnDevToolsMethodRawResult, write=FOnDevToolsMethodRawResult}; + __property Ucefchromiumevents::TOnDevToolsEventEvent OnDevToolsEvent = {read=FOnDevToolsEvent, write=FOnDevToolsEvent}; + __property Ucefchromiumevents::TOnDevToolsEventRawEvent OnDevToolsRawEvent = {read=FOnDevToolsRawEvent, write=FOnDevToolsRawEvent}; + __property Ucefchromiumevents::TOnDevToolsAgentAttachedEvent OnDevToolsAgentAttached = {read=FOnDevToolsAgentAttached, write=FOnDevToolsAgentAttached}; + __property Ucefchromiumevents::TOnDevToolsAgentDetachedEvent OnDevToolsAgentDetached = {read=FOnDevToolsAgentDetached, write=FOnDevToolsAgentDetached}; + __property Ucefchromiumevents::TOnFrameCreated OnFrameCreated = {read=FOnFrameCreated, write=FOnFrameCreated}; + __property Ucefchromiumevents::TOnFrameDestroyed OnFrameDestroyed = {read=FOnFrameDestroyed, write=FOnFrameDestroyed}; + __property Ucefchromiumevents::TOnFrameAttached OnFrameAttached = {read=FOnFrameAttached, write=FOnFrameAttached}; + __property Ucefchromiumevents::TOnFrameDetached OnFrameDetached = {read=FOnFrameDetached, write=FOnFrameDetached}; + __property Ucefchromiumevents::TOnMainFrameChanged OnMainFrameChanged = {read=FOnMainFrameChanged, write=FOnMainFrameChanged}; + __property Ucefchromiumevents::TOnChromeCommandEvent OnChromeCommand = {read=FOnChromeCommand, write=FOnChromeCommand}; + __property Ucefchromiumevents::TOnIsChromeAppMenuItemVisibleEvent OnIsChromeAppMenuItemVisible = {read=FOnIsChromeAppMenuItemVisible, write=FOnIsChromeAppMenuItemVisible}; + __property Ucefchromiumevents::TOnIsChromeAppMenuItemEnabledEvent OnIsChromeAppMenuItemEnabled = {read=FOnIsChromeAppMenuItemEnabled, write=FOnIsChromeAppMenuItemEnabled}; + __property Ucefchromiumevents::TOnIsChromePageActionIconVisibleEvent OnIsChromePageActionIconVisible = {read=FOnIsChromePageActionIconVisible, write=FOnIsChromePageActionIconVisible}; + __property Ucefchromiumevents::TOnIsChromeToolbarButtonVisibleEvent OnIsChromeToolbarButtonVisible = {read=FOnIsChromeToolbarButtonVisible, write=FOnIsChromeToolbarButtonVisible}; + __property Ucefchromiumevents::TOnRequestMediaAccessPermissionEvent OnRequestMediaAccessPermission = {read=FOnRequestMediaAccessPermission, write=FOnRequestMediaAccessPermission}; +// __property Ucefchromiumevents::TOnShowPermissionPromptEvent OnShowPermissionPrompt = {read=FOnShowPermissionPrompt, write=FOnShowPermissionPrompt}; +// __property Ucefchromiumevents::TOnDismissPermissionPromptEvent OnDismissPermissionPrompt = {read=FOnDismissPermissionPrompt, write=FOnDismissPermissionPrompt}; + __property Ucefchromiumevents::TOnPreferenceChangedEvent OnPreferenceChanged = {read=FOnPreferenceChanged, write=FOnPreferenceChanged}; + __property Ucefchromiumevents::TOnSettingChangedEvent OnSettingChanged = {read=FOnSettingChanged, write=FOnSettingChanged}; +private: + void *__IChromiumEvents; // Ucefinterfaces::IChromiumEvents + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {0C139DB1-0349-4D7F-8155-76FEA6A0126D} + operator Ucefinterfaces::_di_IChromiumEvents() + { + Ucefinterfaces::_di_IChromiumEvents intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::IChromiumEvents*(void) { return (Ucefinterfaces::IChromiumEvents*)&__IChromiumEvents; } + #endif + +}; + + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TBrowserInfo : public System::TObject +{ + typedef System::TObject inherited; + +protected: + Ucefinterfaces::_di_ICefBrowser FBrowser; + bool FIsClosing; + int FID; + bool __fastcall GetIsValid(); + +public: + __fastcall TBrowserInfo(const Ucefinterfaces::_di_ICefBrowser aBrowser); + __fastcall virtual ~TBrowserInfo(); + __property Ucefinterfaces::_di_ICefBrowser Browser = {read=FBrowser}; + __property int ID = {read=FID, nodefault}; + __property bool IsClosing = {read=FIsClosing, write=FIsClosing, nodefault}; + __property bool IsValid = {read=GetIsValid, nodefault}; +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TBrowserInfoList : public System::Classes::TList +{ + typedef System::Classes::TList inherited; + +protected: + void __fastcall SetBrowserIsClosing(int aID, bool aValue); + bool __fastcall GetBrowserIsClosing(int aID); + bool __fastcall GetBrowserIsValid(int aID); + Ucefinterfaces::_di_ICefBrowser __fastcall GetBrowser(int aID); + Ucefinterfaces::_di_ICefBrowser __fastcall GetFirstBrowser(); + int __fastcall GetFirstID(); + +public: + __fastcall virtual ~TBrowserInfoList(); + bool __fastcall AddBrowser(const Ucefinterfaces::_di_ICefBrowser aBrowser); + bool __fastcall RemoveBrowser(const Ucefinterfaces::_di_ICefBrowser aBrowser); + int __fastcall SearchBrowser(int aID); + void __fastcall FreeAndClearAllItems(); + void __fastcall CloseAllBrowsers(); + __property bool BrowserIsClosing[int aID] = {read=GetBrowserIsClosing, write=SetBrowserIsClosing}; + __property bool BrowserIsValid[int aID] = {read=GetBrowserIsValid}; + __property Ucefinterfaces::_di_ICefBrowser Browser[int aID] = {read=GetBrowser}; + __property Ucefinterfaces::_di_ICefBrowser FirstBrowser = {read=GetFirstBrowser}; + __property int FirstID = {read=GetFirstID, nodefault}; +public: + /* TObject.Create */ inline __fastcall TBrowserInfoList() : System::Classes::TList() { } + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefchromiumcore */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFCHROMIUMCORE) +using namespace Ucefchromiumcore; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFChromiumCoreHPP diff --git a/CEF4Delphi/win32/hpps/uCEFChromiumEvents.hpp b/CEF4Delphi/win32/hpps/uCEFChromiumEvents.hpp new file mode 100644 index 0000000..ee2f75c --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFChromiumEvents.hpp @@ -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 +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFChromiumFontOptions.hpp b/CEF4Delphi/win32/hpps/uCEFChromiumFontOptions.hpp new file mode 100644 index 0000000..4958125 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFChromiumFontOptions.hpp @@ -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 +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFChromiumOptions.hpp b/CEF4Delphi/win32/hpps/uCEFChromiumOptions.hpp new file mode 100644 index 0000000..9f78a76 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFChromiumOptions.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFChromiumWindow.hpp b/CEF4Delphi/win32/hpps/uCEFChromiumWindow.hpp new file mode 100644 index 0000000..2459948 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFChromiumWindow.hpp @@ -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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFClient.hpp b/CEF4Delphi/win32/hpps/uCEFClient.hpp new file mode 100644 index 0000000..c15adfc --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFClient.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFCommandHandler.hpp b/CEF4Delphi/win32/hpps/uCEFCommandHandler.hpp new file mode 100644 index 0000000..fa2a4ff --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFCommandHandler.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFCommandLine.hpp b/CEF4Delphi/win32/hpps/uCEFCommandLine.hpp new file mode 100644 index 0000000..1444f75 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFCommandLine.hpp @@ -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 +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFCompletionCallback.hpp b/CEF4Delphi/win32/hpps/uCEFCompletionCallback.hpp new file mode 100644 index 0000000..047da58 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFCompletionCallback.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFComponentIdList.hpp b/CEF4Delphi/win32/hpps/uCEFComponentIdList.hpp new file mode 100644 index 0000000..51eda95 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFComponentIdList.hpp @@ -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 +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFConstants.hpp b/CEF4Delphi/win32/hpps/uCEFConstants.hpp new file mode 100644 index 0000000..2414e8d --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFConstants.hpp @@ -0,0 +1,1202 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFConstants.pas' rev: 37.00 (Windows) + +#ifndef uCEFConstantsHPP +#define uCEFConstantsHPP + +#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 +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefconstants +{ +//-- forward type declarations ----------------------------------------------- +//-- type declarations ------------------------------------------------------- +//-- var, const, procedure --------------------------------------------------- +static _DELPHI_CONST System::Int8 ERR_NONE = System::Int8(0x0); +static _DELPHI_CONST System::Int8 ERR_IO_PENDING = System::Int8(-1); +static _DELPHI_CONST System::Int8 ERR_FAILED = System::Int8(-2); +static _DELPHI_CONST System::Int8 ERR_ABORTED = System::Int8(-3); +static _DELPHI_CONST System::Int8 ERR_INVALID_ARGUMENT = System::Int8(-4); +static _DELPHI_CONST System::Int8 ERR_INVALID_HANDLE = System::Int8(-5); +static _DELPHI_CONST System::Int8 ERR_FILE_NOT_FOUND = System::Int8(-6); +static _DELPHI_CONST System::Int8 ERR_TIMED_OUT = System::Int8(-7); +static _DELPHI_CONST System::Int8 ERR_FILE_TOO_BIG = System::Int8(-8); +static _DELPHI_CONST System::Int8 ERR_UNEXPECTED = System::Int8(-9); +static _DELPHI_CONST System::Int8 ERR_ACCESS_DENIED = System::Int8(-10); +static _DELPHI_CONST System::Int8 ERR_NOT_IMPLEMENTED = System::Int8(-11); +static _DELPHI_CONST System::Int8 ERR_INSUFFICIENT_RESOURCES = System::Int8(-12); +static _DELPHI_CONST System::Int8 ERR_OUT_OF_MEMORY = System::Int8(-13); +static _DELPHI_CONST System::Int8 ERR_UPLOAD_FILE_CHANGED = System::Int8(-14); +static _DELPHI_CONST System::Int8 ERR_SOCKET_NOT_CONNECTED = System::Int8(-15); +static _DELPHI_CONST System::Int8 ERR_FILE_EXISTS = System::Int8(-16); +static _DELPHI_CONST System::Int8 ERR_FILE_PATH_TOO_LONG = System::Int8(-17); +static _DELPHI_CONST System::Int8 ERR_FILE_NO_SPACE = System::Int8(-18); +static _DELPHI_CONST System::Int8 ERR_FILE_VIRUS_INFECTED = System::Int8(-19); +static _DELPHI_CONST System::Int8 ERR_BLOCKED_BY_CLIENT = System::Int8(-20); +static _DELPHI_CONST System::Int8 ERR_NETWORK_CHANGED = System::Int8(-21); +static _DELPHI_CONST System::Int8 ERR_BLOCKED_BY_ADMINISTRATOR = System::Int8(-22); +static _DELPHI_CONST System::Int8 ERR_SOCKET_IS_CONNECTED = System::Int8(-23); +static _DELPHI_CONST System::Int8 ERR_UPLOAD_STREAM_REWIND_NOT_SUPPORTED = System::Int8(-25); +static _DELPHI_CONST System::Int8 ERR_CONTEXT_SHUT_DOWN = System::Int8(-26); +static _DELPHI_CONST System::Int8 ERR_BLOCKED_BY_RESPONSE = System::Int8(-27); +static _DELPHI_CONST System::Int8 ERR_CLEARTEXT_NOT_PERMITTED = System::Int8(-29); +static _DELPHI_CONST System::Int8 ERR_BLOCKED_BY_CSP = System::Int8(-30); +static _DELPHI_CONST System::Int8 ERR_BLOCKED_BY_ORB = System::Int8(-32); +static _DELPHI_CONST System::Int8 ERR_NETWORK_ACCESS_REVOKED = System::Int8(-33); +static _DELPHI_CONST System::Int8 ERR_BLOCKED_BY_FINGERPRINTING_PROTECTION = System::Int8(-34); +static _DELPHI_CONST System::Int8 ERR_CONNECTION_CLOSED = System::Int8(-100); +static _DELPHI_CONST System::Int8 ERR_CONNECTION_RESET = System::Int8(-101); +static _DELPHI_CONST System::Int8 ERR_CONNECTION_REFUSED = System::Int8(-102); +static _DELPHI_CONST System::Int8 ERR_CONNECTION_ABORTED = System::Int8(-103); +static _DELPHI_CONST System::Int8 ERR_CONNECTION_FAILED = System::Int8(-104); +static _DELPHI_CONST System::Int8 ERR_NAME_NOT_RESOLVED = System::Int8(-105); +static _DELPHI_CONST System::Int8 ERR_INTERNET_DISCONNECTED = System::Int8(-106); +static _DELPHI_CONST System::Int8 ERR_SSL_PROTOCOL_ERROR = System::Int8(-107); +static _DELPHI_CONST System::Int8 ERR_ADDRESS_INVALID = System::Int8(-108); +static _DELPHI_CONST System::Int8 ERR_ADDRESS_UNREACHABLE = System::Int8(-109); +static _DELPHI_CONST System::Int8 ERR_SSL_CLIENT_AUTH_CERT_NEEDED = System::Int8(-110); +static _DELPHI_CONST System::Int8 ERR_TUNNEL_CONNECTION_FAILED = System::Int8(-111); +static _DELPHI_CONST System::Int8 ERR_NO_SSL_VERSIONS_ENABLED = System::Int8(-112); +static _DELPHI_CONST System::Int8 ERR_SSL_VERSION_OR_CIPHER_MISMATCH = System::Int8(-113); +static _DELPHI_CONST System::Int8 ERR_SSL_RENEGOTIATION_REQUESTED = System::Int8(-114); +static _DELPHI_CONST System::Int8 ERR_PROXY_AUTH_UNSUPPORTED = System::Int8(-115); +static _DELPHI_CONST System::Int8 ERR_BAD_SSL_CLIENT_AUTH_CERT = System::Int8(-117); +static _DELPHI_CONST System::Int8 ERR_CONNECTION_TIMED_OUT = System::Int8(-118); +static _DELPHI_CONST System::Int8 ERR_HOST_RESOLVER_QUEUE_TOO_LARGE = System::Int8(-119); +static _DELPHI_CONST System::Int8 ERR_SOCKS_CONNECTION_FAILED = System::Int8(-120); +static _DELPHI_CONST System::Int8 ERR_SOCKS_CONNECTION_HOST_UNREACHABLE = System::Int8(-121); +static _DELPHI_CONST System::Int8 ERR_ALPN_NEGOTIATION_FAILED = System::Int8(-122); +static _DELPHI_CONST System::Int8 ERR_SSL_NO_RENEGOTIATION = System::Int8(-123); +static _DELPHI_CONST System::Int8 ERR_WINSOCK_UNEXPECTED_WRITTEN_BYTES = System::Int8(-124); +static _DELPHI_CONST System::Int8 ERR_SSL_DECOMPRESSION_FAILURE_ALERT = System::Int8(-125); +static _DELPHI_CONST System::Int8 ERR_SSL_BAD_RECORD_MAC_ALERT = System::Int8(-126); +static _DELPHI_CONST System::Int8 ERR_PROXY_AUTH_REQUESTED = System::Int8(-127); +static _DELPHI_CONST short ERR_PROXY_CONNECTION_FAILED = short(-130); +static _DELPHI_CONST short ERR_MANDATORY_PROXY_CONFIGURATION_FAILED = short(-131); +static _DELPHI_CONST short ERR_PRECONNECT_MAX_SOCKET_LIMIT = short(-133); +static _DELPHI_CONST short ERR_SSL_CLIENT_AUTH_PRIVATE_KEY_ACCESS_DENIED = short(-134); +static _DELPHI_CONST short ERR_SSL_CLIENT_AUTH_CERT_NO_PRIVATE_KEY = short(-135); +static _DELPHI_CONST short ERR_PROXY_CERTIFICATE_INVALID = short(-136); +static _DELPHI_CONST short ERR_NAME_RESOLUTION_FAILED = short(-137); +static _DELPHI_CONST short ERR_NETWORK_ACCESS_DENIED = short(-138); +static _DELPHI_CONST short ERR_TEMPORARILY_THROTTLED = short(-139); +static _DELPHI_CONST short ERR_HTTPS_PROXY_TUNNEL_RESPONSE_REDIRECT = short(-140); +static _DELPHI_CONST short ERR_SSL_CLIENT_AUTH_SIGNATURE_FAILED = short(-141); +static _DELPHI_CONST short ERR_MSG_TOO_BIG = short(-142); +static _DELPHI_CONST short ERR_WS_PROTOCOL_ERROR = short(-145); +static _DELPHI_CONST short ERR_ADDRESS_IN_USE = short(-147); +static _DELPHI_CONST short ERR_SSL_HANDSHAKE_NOT_COMPLETED = short(-148); +static _DELPHI_CONST short ERR_SSL_BAD_PEER_PUBLIC_KEY = short(-149); +static _DELPHI_CONST short ERR_SSL_PINNED_KEY_NOT_IN_CERT_CHAIN = short(-150); +static _DELPHI_CONST short ERR_CLIENT_AUTH_CERT_TYPE_UNSUPPORTED = short(-151); +static _DELPHI_CONST short ERR_SSL_DECRYPT_ERROR_ALERT = short(-153); +static _DELPHI_CONST short ERR_WS_THROTTLE_QUEUE_TOO_LARGE = short(-154); +static _DELPHI_CONST short ERR_SSL_SERVER_CERT_CHANGED = short(-156); +static _DELPHI_CONST short ERR_SSL_UNRECOGNIZED_NAME_ALERT = short(-159); +static _DELPHI_CONST short ERR_SOCKET_SET_RECEIVE_BUFFER_SIZE_ERROR = short(-160); +static _DELPHI_CONST short ERR_SOCKET_SET_SEND_BUFFER_SIZE_ERROR = short(-161); +static _DELPHI_CONST short ERR_SOCKET_RECEIVE_BUFFER_SIZE_UNCHANGEABLE = short(-162); +static _DELPHI_CONST short ERR_SOCKET_SEND_BUFFER_SIZE_UNCHANGEABLE = short(-163); +static _DELPHI_CONST short ERR_SSL_CLIENT_AUTH_CERT_BAD_FORMAT = short(-164); +static _DELPHI_CONST short ERR_ICANN_NAME_COLLISION = short(-166); +static _DELPHI_CONST short ERR_SSL_SERVER_CERT_BAD_FORMAT = short(-167); +static _DELPHI_CONST short ERR_CT_STH_PARSING_FAILED = short(-168); +static _DELPHI_CONST short ERR_CT_STH_INCOMPLETE = short(-169); +static _DELPHI_CONST short ERR_UNABLE_TO_REUSE_CONNECTION_FOR_PROXY_AUTH = short(-170); +static _DELPHI_CONST short ERR_CT_CONSISTENCY_PROOF_PARSING_FAILED = short(-171); +static _DELPHI_CONST short ERR_SSL_OBSOLETE_CIPHER = short(-172); +static _DELPHI_CONST short ERR_WS_UPGRADE = short(-173); +static _DELPHI_CONST short ERR_READ_IF_READY_NOT_IMPLEMENTED = short(-174); +static _DELPHI_CONST short ERR_NO_BUFFER_SPACE = short(-176); +static _DELPHI_CONST short ERR_SSL_CLIENT_AUTH_NO_COMMON_ALGORITHMS = short(-177); +static _DELPHI_CONST short ERR_EARLY_DATA_REJECTED = short(-178); +static _DELPHI_CONST short ERR_WRONG_VERSION_ON_EARLY_DATA = short(-179); +static _DELPHI_CONST short ERR_TLS13_DOWNGRADE_DETECTED = short(-180); +static _DELPHI_CONST short ERR_SSL_KEY_USAGE_INCOMPATIBLE = short(-181); +static _DELPHI_CONST short ERR_INVALID_ECH_CONFIG_LIST = short(-182); +static _DELPHI_CONST short ERR_ECH_NOT_NEGOTIATED = short(-183); +static _DELPHI_CONST short ERR_ECH_FALLBACK_CERTIFICATE_INVALID = short(-184); +static _DELPHI_CONST short ERR_PROXY_UNABLE_TO_CONNECT_TO_DESTINATION = short(-186); +static _DELPHI_CONST short ERR_CERT_COMMON_NAME_INVALID = short(-200); +static _DELPHI_CONST short ERR_CERT_DATE_INVALID = short(-201); +static _DELPHI_CONST short ERR_CERT_AUTHORITY_INVALID = short(-202); +static _DELPHI_CONST short ERR_CERT_CONTAINS_ERRORS = short(-203); +static _DELPHI_CONST short ERR_CERT_NO_REVOCATION_MECHANISM = short(-204); +static _DELPHI_CONST short ERR_CERT_UNABLE_TO_CHECK_REVOCATION = short(-205); +static _DELPHI_CONST short ERR_CERT_REVOKED = short(-206); +static _DELPHI_CONST short ERR_CERT_INVALID = short(-207); +static _DELPHI_CONST short ERR_CERT_WEAK_SIGNATURE_ALGORITHM = short(-208); +static _DELPHI_CONST short ERR_CERT_NON_UNIQUE_NAME = short(-210); +static _DELPHI_CONST short ERR_CERT_WEAK_KEY = short(-211); +static _DELPHI_CONST short ERR_CERT_NAME_CONSTRAINT_VIOLATION = short(-212); +static _DELPHI_CONST short ERR_CERT_VALIDITY_TOO_LONG = short(-213); +static _DELPHI_CONST short ERR_CERTIFICATE_TRANSPARENCY_REQUIRED = short(-214); +static _DELPHI_CONST short ERR_CERT_KNOWN_INTERCEPTION_BLOCKED = short(-217); +static _DELPHI_CONST short ERR_CERT_SELF_SIGNED_LOCAL_NETWORK = short(-219); +static _DELPHI_CONST short ERR_CERT_END = short(-220); +static _DELPHI_CONST short ERR_INVALID_URL = short(-300); +static _DELPHI_CONST short ERR_DISALLOWED_URL_SCHEME = short(-301); +static _DELPHI_CONST short ERR_UNKNOWN_URL_SCHEME = short(-302); +static _DELPHI_CONST short ERR_INVALID_REDIRECT = short(-303); +static _DELPHI_CONST short ERR_TOO_MANY_REDIRECTS = short(-310); +static _DELPHI_CONST short ERR_UNSAFE_REDIRECT = short(-311); +static _DELPHI_CONST short ERR_UNSAFE_PORT = short(-312); +static _DELPHI_CONST short ERR_INVALID_RESPONSE = short(-320); +static _DELPHI_CONST short ERR_INVALID_CHUNKED_ENCODING = short(-321); +static _DELPHI_CONST short ERR_METHOD_NOT_SUPPORTED = short(-322); +static _DELPHI_CONST short ERR_UNEXPECTED_PROXY_AUTH = short(-323); +static _DELPHI_CONST short ERR_EMPTY_RESPONSE = short(-324); +static _DELPHI_CONST short ERR_RESPONSE_HEADERS_TOO_BIG = short(-325); +static _DELPHI_CONST short ERR_PAC_SCRIPT_FAILED = short(-327); +static _DELPHI_CONST short ERR_REQUEST_RANGE_NOT_SATISFIABLE = short(-328); +static _DELPHI_CONST short ERR_MALFORMED_IDENTITY = short(-329); +static _DELPHI_CONST short ERR_CONTENT_DECODING_FAILED = short(-330); +static _DELPHI_CONST short ERR_NETWORK_IO_SUSPENDED = short(-331); +static _DELPHI_CONST short ERR_SYN_REPLY_NOT_RECEIVED = short(-332); +static _DELPHI_CONST short ERR_ENCODING_CONVERSION_FAILED = short(-333); +static _DELPHI_CONST short ERR_UNRECOGNIZED_FTP_DIRECTORY_LISTING_FORMAT = short(-334); +static _DELPHI_CONST short ERR_NO_SUPPORTED_PROXIES = short(-336); +static _DELPHI_CONST short ERR_SPDY_PROTOCOL_ERROR = short(-337); +static _DELPHI_CONST short ERR_INVALID_AUTH_CREDENTIALS = short(-338); +static _DELPHI_CONST short ERR_UNSUPPORTED_AUTH_SCHEME = short(-339); +static _DELPHI_CONST short ERR_ENCODING_DETECTION_FAILED = short(-340); +static _DELPHI_CONST short ERR_MISSING_AUTH_CREDENTIALS = short(-341); +static _DELPHI_CONST short ERR_UNEXPECTED_SECURITY_LIBRARY_STATUS = short(-342); +static _DELPHI_CONST short ERR_MISCONFIGURED_AUTH_ENVIRONMENT = short(-343); +static _DELPHI_CONST short ERR_UNDOCUMENTED_SECURITY_LIBRARY_STATUS = short(-344); +static _DELPHI_CONST short ERR_RESPONSE_BODY_TOO_BIG_TO_DRAIN = short(-345); +static _DELPHI_CONST short ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_LENGTH = short(-346); +static _DELPHI_CONST short ERR_INCOMPLETE_SPDY_HEADERS = short(-347); +static _DELPHI_CONST short ERR_PAC_NOT_IN_DHCP = short(-348); +static _DELPHI_CONST short ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION = short(-349); +static _DELPHI_CONST short ERR_RESPONSE_HEADERS_MULTIPLE_LOCATION = short(-350); +static _DELPHI_CONST short ERR_SPDY_SERVER_REFUSED_STREAM = short(-351); +static _DELPHI_CONST short ERR_SPDY_PING_FAILED = short(-352); +static _DELPHI_CONST short ERR_CONTENT_LENGTH_MISMATCH = short(-354); +static _DELPHI_CONST short ERR_INCOMPLETE_CHUNKED_ENCODING = short(-355); +static _DELPHI_CONST short ERR_QUIC_PROTOCOL_ERROR = short(-356); +static _DELPHI_CONST short ERR_RESPONSE_HEADERS_TRUNCATED = short(-357); +static _DELPHI_CONST short ERR_QUIC_HANDSHAKE_FAILED = short(-358); +static _DELPHI_CONST short ERR_SPDY_INADEQUATE_TRANSPORT_SECURITY = short(-360); +static _DELPHI_CONST short ERR_SPDY_FLOW_CONTROL_ERROR = short(-361); +static _DELPHI_CONST short ERR_SPDY_FRAME_SIZE_ERROR = short(-362); +static _DELPHI_CONST short ERR_SPDY_COMPRESSION_ERROR = short(-363); +static _DELPHI_CONST short ERR_PROXY_AUTH_REQUESTED_WITH_NO_CONNECTION = short(-364); +static _DELPHI_CONST short ERR_HTTP_1_1_REQUIRED = short(-365); +static _DELPHI_CONST short ERR_PROXY_HTTP_1_1_REQUIRED = short(-366); +static _DELPHI_CONST short ERR_PAC_SCRIPT_TERMINATED = short(-367); +static _DELPHI_CONST short ERR_PROXY_REQUIRED = short(-368); +static _DELPHI_CONST short ERR_INVALID_HTTP_RESPONSE = short(-370); +static _DELPHI_CONST short ERR_CONTENT_DECODING_INIT_FAILED = short(-371); +static _DELPHI_CONST short ERR_SPDY_RST_STREAM_NO_ERROR_RECEIVED = short(-372); +static _DELPHI_CONST short ERR_TOO_MANY_RETRIES = short(-375); +static _DELPHI_CONST short ERR_SPDY_STREAM_CLOSED = short(-376); +static _DELPHI_CONST short ERR_HTTP_RESPONSE_CODE_FAILURE = short(-379); +static _DELPHI_CONST short ERR_QUIC_CERT_ROOT_NOT_KNOWN = short(-380); +static _DELPHI_CONST short ERR_QUIC_GOAWAY_REQUEST_CAN_BE_RETRIED = short(-381); +static _DELPHI_CONST short ERR_TOO_MANY_ACCEPT_CH_RESTARTS = short(-382); +static _DELPHI_CONST short ERR_INCONSISTENT_IP_ADDRESS_SPACE = short(-383); +static _DELPHI_CONST short ERR_CACHED_IP_ADDRESS_SPACE_BLOCKED_BY_PRIVATE_NETWORK_ACCESS_POLICY = short(-384); +static _DELPHI_CONST short ERR_BLOCKED_BY_PRIVATE_NETWORK_ACCESS_CHECKS = short(-385); +static _DELPHI_CONST short ERR_ZSTD_WINDOW_SIZE_TOO_BIG = short(-386); +static _DELPHI_CONST short ERR_DICTIONARY_LOAD_FAILED = short(-387); +static _DELPHI_CONST short ERR_UNEXPECTED_CONTENT_DICTIONARY_HEADER = short(-388); +static _DELPHI_CONST short ERR_CACHE_MISS = short(-400); +static _DELPHI_CONST short ERR_CACHE_READ_FAILURE = short(-401); +static _DELPHI_CONST short ERR_CACHE_WRITE_FAILURE = short(-402); +static _DELPHI_CONST short ERR_CACHE_OPERATION_NOT_SUPPORTED = short(-403); +static _DELPHI_CONST short ERR_CACHE_OPEN_FAILURE = short(-404); +static _DELPHI_CONST short ERR_CACHE_CREATE_FAILURE = short(-405); +static _DELPHI_CONST short ERR_CACHE_RACE = short(-406); +static _DELPHI_CONST short ERR_CACHE_CHECKSUM_READ_FAILURE = short(-407); +static _DELPHI_CONST short ERR_CACHE_CHECKSUM_MISMATCH = short(-408); +static _DELPHI_CONST short ERR_CACHE_LOCK_TIMEOUT = short(-409); +static _DELPHI_CONST short ERR_CACHE_AUTH_FAILURE_AFTER_READ = short(-410); +static _DELPHI_CONST short ERR_CACHE_ENTRY_NOT_SUITABLE = short(-411); +static _DELPHI_CONST short ERR_CACHE_DOOM_FAILURE = short(-412); +static _DELPHI_CONST short ERR_CACHE_OPEN_OR_CREATE_FAILURE = short(-413); +static _DELPHI_CONST short ERR_INSECURE_RESPONSE = short(-501); +static _DELPHI_CONST short ERR_NO_PRIVATE_KEY_FOR_CERT = short(-502); +static _DELPHI_CONST short ERR_ADD_USER_CERT_FAILED = short(-503); +static _DELPHI_CONST short ERR_INVALID_SIGNED_EXCHANGE = short(-504); +static _DELPHI_CONST short ERR_INVALID_WEB_BUNDLE = short(-505); +static _DELPHI_CONST short ERR_TRUST_TOKEN_OPERATION_FAILED = short(-506); +static _DELPHI_CONST short ERR_TRUST_TOKEN_OPERATION_SUCCESS_WITHOUT_SENDING_REQUEST = short(-507); +static _DELPHI_CONST short ERR_PKCS12_IMPORT_BAD_PASSWORD = short(-701); +static _DELPHI_CONST short ERR_PKCS12_IMPORT_FAILED = short(-702); +static _DELPHI_CONST short ERR_IMPORT_CA_CERT_NOT_CA = short(-703); +static _DELPHI_CONST short ERR_IMPORT_CERT_ALREADY_EXISTS = short(-704); +static _DELPHI_CONST short ERR_IMPORT_CA_CERT_FAILED = short(-705); +static _DELPHI_CONST short ERR_IMPORT_SERVER_CERT_FAILED = short(-706); +static _DELPHI_CONST short ERR_PKCS12_IMPORT_INVALID_MAC = short(-707); +static _DELPHI_CONST short ERR_PKCS12_IMPORT_INVALID_FILE = short(-708); +static _DELPHI_CONST short ERR_PKCS12_IMPORT_UNSUPPORTED = short(-709); +static _DELPHI_CONST short ERR_KEY_GENERATION_FAILED = short(-710); +static _DELPHI_CONST short ERR_PRIVATE_KEY_EXPORT_FAILED = short(-712); +static _DELPHI_CONST short ERR_SELF_SIGNED_CERT_GENERATION_FAILED = short(-713); +static _DELPHI_CONST short ERR_CERT_DATABASE_CHANGED = short(-714); +static _DELPHI_CONST short ERR_CERT_VERIFIER_CHANGED = short(-716); +static _DELPHI_CONST short ERR_DNS_MALFORMED_RESPONSE = short(-800); +static _DELPHI_CONST short ERR_DNS_SERVER_REQUIRES_TCP = short(-801); +static _DELPHI_CONST short ERR_DNS_SERVER_FAILED = short(-802); +static _DELPHI_CONST short ERR_DNS_TIMED_OUT = short(-803); +static _DELPHI_CONST short ERR_NS_CACHE_MISS = short(-804); +static _DELPHI_CONST short ERR_DNS_SEARCH_EMPTY = short(-805); +static _DELPHI_CONST short ERR_DNS_SORT_ERROR = short(-806); +static _DELPHI_CONST short ERR_DNS_SECURE_RESOLVER_HOSTNAME_RESOLUTION_FAILED = short(-808); +static _DELPHI_CONST short ERR_DNS_NAME_HTTPS_ONLY = short(-809); +static _DELPHI_CONST short ERR_DNS_REQUEST_CANCELLED = short(-810); +static _DELPHI_CONST short ERR_DNS_NO_MATCHING_SUPPORTED_ALPN = short(-811); +static _DELPHI_CONST short ERR_DNS_SECURE_PROBE_RECORD_INVALID = short(-814); +static _DELPHI_CONST short ERR_BLOB_INVALID_CONSTRUCTION_ARGUMENTS = short(-900); +static _DELPHI_CONST short ERR_BLOB_OUT_OF_MEMORY = short(-901); +static _DELPHI_CONST short ERR_BLOB_FILE_WRITE_FAILED = short(-902); +static _DELPHI_CONST short ERR_BLOB_SOURCE_DIED_IN_TRANSIT = short(-903); +static _DELPHI_CONST short ERR_BLOB_DEREFERENCED_WHILE_BUILDING = short(-904); +static _DELPHI_CONST short ERR_BLOB_REFERENCED_BLOB_BROKEN = short(-905); +static _DELPHI_CONST short ERR_BLOB_REFERENCED_FILE_UNAVAILABLE = short(-906); +static _DELPHI_CONST System::Word COMMAND_ID_FIRST_UNBOUNDED = System::Word(0xe000); +static _DELPHI_CONST System::Word IDC_MinimumLabelValue = System::Word(0xfa0); +static _DELPHI_CONST System::Word IDC_BACK = System::Word(0x80e8); +static _DELPHI_CONST System::Word IDC_FORWARD = System::Word(0x80e9); +static _DELPHI_CONST System::Word IDC_RELOAD = System::Word(0x80ea); +static _DELPHI_CONST System::Word IDC_HOME = System::Word(0x80eb); +static _DELPHI_CONST System::Word IDC_OPEN_CURRENT_URL = System::Word(0x80ec); +static _DELPHI_CONST System::Word IDC_STOP = System::Word(0x80ee); +static _DELPHI_CONST System::Word IDC_RELOAD_BYPASSING_CACHE = System::Word(0x80ef); +static _DELPHI_CONST System::Word IDC_RELOAD_CLEARING_CACHE = System::Word(0x80f1); +static _DELPHI_CONST System::Word IDC_NEW_WINDOW = System::Word(0x84d0); +static _DELPHI_CONST System::Word IDC_NEW_INCOGNITO_WINDOW = System::Word(0x84d1); +static _DELPHI_CONST System::Word IDC_CLOSE_WINDOW = System::Word(0x84dc); +static _DELPHI_CONST System::Word IDC_ALWAYS_ON_TOP = System::Word(0x84dd); +static _DELPHI_CONST System::Word IDC_NEW_TAB = System::Word(0x84de); +static _DELPHI_CONST System::Word IDC_CLOSE_TAB = System::Word(0x84df); +static _DELPHI_CONST System::Word IDC_SELECT_NEXT_TAB = System::Word(0x84e0); +static _DELPHI_CONST System::Word IDC_SELECT_PREVIOUS_TAB = System::Word(0x84e1); +static _DELPHI_CONST System::Word IDC_SELECT_TAB_0 = System::Word(0x84e2); +static _DELPHI_CONST System::Word IDC_SELECT_TAB_1 = System::Word(0x84e3); +static _DELPHI_CONST System::Word IDC_SELECT_TAB_2 = System::Word(0x84e4); +static _DELPHI_CONST System::Word IDC_SELECT_TAB_3 = System::Word(0x84e5); +static _DELPHI_CONST System::Word IDC_SELECT_TAB_4 = System::Word(0x84e6); +static _DELPHI_CONST System::Word IDC_SELECT_TAB_5 = System::Word(0x84e7); +static _DELPHI_CONST System::Word IDC_SELECT_TAB_6 = System::Word(0x84e8); +static _DELPHI_CONST System::Word IDC_SELECT_TAB_7 = System::Word(0x84e9); +static _DELPHI_CONST System::Word IDC_SELECT_LAST_TAB = System::Word(0x84ea); +static _DELPHI_CONST System::Word IDC_DUPLICATE_TAB = System::Word(0x84eb); +static _DELPHI_CONST System::Word IDC_RESTORE_TAB = System::Word(0x84ec); +static _DELPHI_CONST System::Word IDC_SHOW_AS_TAB = System::Word(0x84ed); +static _DELPHI_CONST System::Word IDC_FULLSCREEN = System::Word(0x84ee); +static _DELPHI_CONST System::Word IDC_EXIT = System::Word(0x84ef); +static _DELPHI_CONST System::Word IDC_MOVE_TAB_NEXT = System::Word(0x84f0); +static _DELPHI_CONST System::Word IDC_MOVE_TAB_PREVIOUS = System::Word(0x84f1); +static _DELPHI_CONST System::Word IDC_SEARCH = System::Word(0x84f3); +static _DELPHI_CONST System::Word IDC_WINDOW_MENU = System::Word(0x84fd); +static _DELPHI_CONST System::Word IDC_MINIMIZE_WINDOW = System::Word(0x84fe); +static _DELPHI_CONST System::Word IDC_MAXIMIZE_WINDOW = System::Word(0x84ff); +static _DELPHI_CONST System::Word IDC_ALL_WINDOWS_FRONT = System::Word(0x8500); +static _DELPHI_CONST System::Word IDC_NAME_WINDOW = System::Word(0x8501); +static _DELPHI_CONST System::Word IDC_TOGGLE_MULTITASK_MENU = System::Word(0x8502); +static _DELPHI_CONST System::Word IDC_USE_SYSTEM_TITLE_BAR = System::Word(0x8503); +static _DELPHI_CONST System::Word IDC_RESTORE_WINDOW = System::Word(0x8504); +static _DELPHI_CONST System::Word IDC_OPEN_IN_PWA_WINDOW = System::Word(0x8505); +static _DELPHI_CONST System::Word IDC_MOVE_TAB_TO_NEW_WINDOW = System::Word(0x8506); +static _DELPHI_CONST System::Word IDC_NEW_SPLIT_TAB = System::Word(0x8507); +static _DELPHI_CONST System::Word IDC_TOGGLE_VERTICAL_TABS = System::Word(0x8508); +static _DELPHI_CONST System::Word IDC_COPY_URL = System::Word(0x850c); +static _DELPHI_CONST System::Word IDC_OPEN_IN_CHROME = System::Word(0x850d); +static _DELPHI_CONST System::Word IDC_WEB_APP_SETTINGS = System::Word(0x850e); +static _DELPHI_CONST System::Word IDC_WEB_APP_MENU_APP_INFO = System::Word(0x850f); +static _DELPHI_CONST System::Word IDC_WEB_APP_UPGRADE_DIALOG = System::Word(0x8510); +static _DELPHI_CONST System::Word IDC_VISIT_DESKTOP_OF_LRU_USER_2 = System::Word(0x8520); +static _DELPHI_CONST System::Word IDC_VISIT_DESKTOP_OF_LRU_USER_3 = System::Word(0x8521); +static _DELPHI_CONST System::Word IDC_VISIT_DESKTOP_OF_LRU_USER_4 = System::Word(0x8522); +static _DELPHI_CONST System::Word IDC_VISIT_DESKTOP_OF_LRU_USER_5 = System::Word(0x8523); +static _DELPHI_CONST System::Word IDC_ADD_NEW_TAB_TO_GROUP = System::Word(0x8534); +static _DELPHI_CONST System::Word IDC_CREATE_NEW_TAB_GROUP = System::Word(0x8535); +static _DELPHI_CONST System::Word IDC_FOCUS_NEXT_TAB_GROUP = System::Word(0x8536); +static _DELPHI_CONST System::Word IDC_FOCUS_PREV_TAB_GROUP = System::Word(0x8537); +static _DELPHI_CONST System::Word IDC_CLOSE_TAB_GROUP = System::Word(0x8538); +static _DELPHI_CONST System::Word IDC_GROUP_UNGROUPED_TABS = System::Word(0x8539); +static _DELPHI_CONST System::Word IDC_CREATE_NEW_TAB_GROUP_TOP_LEVEL = System::Word(0x853a); +static _DELPHI_CONST System::Word IDC_BOOKMARK_THIS_TAB = System::Word(0x88b8); +static _DELPHI_CONST System::Word IDC_BOOKMARK_ALL_TABS = System::Word(0x88b9); +static _DELPHI_CONST System::Word IDC_VIEW_SOURCE = System::Word(0x88ba); +static _DELPHI_CONST System::Word IDC_PRINT = System::Word(0x88bb); +static _DELPHI_CONST System::Word IDC_SAVE_PAGE = System::Word(0x88bc); +static _DELPHI_CONST System::Word IDC_EMAIL_PAGE_LOCATION = System::Word(0x88be); +static _DELPHI_CONST System::Word IDC_BASIC_PRINT = System::Word(0x88bf); +static _DELPHI_CONST System::Word IDC_SAVE_CREDIT_CARD_FOR_PAGE = System::Word(0x88c0); +static _DELPHI_CONST System::Word IDC_SHOW_TRANSLATE = System::Word(0x88c1); +static _DELPHI_CONST System::Word IDC_MANAGE_PASSWORDS_FOR_PAGE = System::Word(0x88c2); +static _DELPHI_CONST System::Word IDC_ROUTE_MEDIA = System::Word(0x88c3); +static _DELPHI_CONST System::Word IDC_WINDOW_MUTE_SITE = System::Word(0x88c4); +static _DELPHI_CONST System::Word IDC_WINDOW_PIN_TAB = System::Word(0x88c5); +static _DELPHI_CONST System::Word IDC_WINDOW_GROUP_TAB = System::Word(0x88c6); +static _DELPHI_CONST System::Word IDC_MIGRATE_LOCAL_CREDIT_CARD_FOR_PAGE = System::Word(0x88c7); +static _DELPHI_CONST System::Word IDC_SEND_TAB_TO_SELF = System::Word(0x88c8); +static _DELPHI_CONST System::Word IDC_FOCUS_THIS_TAB = System::Word(0x88c9); +static _DELPHI_CONST System::Word IDC_QRCODE_GENERATOR = System::Word(0x88cd); +static _DELPHI_CONST System::Word IDC_WINDOW_CLOSE_TABS_TO_RIGHT = System::Word(0x88ce); +static _DELPHI_CONST System::Word IDC_WINDOW_CLOSE_OTHER_TABS = System::Word(0x88cf); +static _DELPHI_CONST System::Word IDC_NEW_TAB_TO_RIGHT = System::Word(0x88d0); +static _DELPHI_CONST System::Word IDC_SAVE_AUTOFILL_ADDRESS = System::Word(0x88d1); +static _DELPHI_CONST System::Word IDC_OFFERS_AND_REWARDS_FOR_PAGE = System::Word(0x88d2); +static _DELPHI_CONST System::Word IDC_WEBAUTHN = System::Word(0x88d3); +static _DELPHI_CONST System::Word IDC_SHARING_HUB = System::Word(0x88d4); +static _DELPHI_CONST System::Word IDC_SHARING_HUB_MENU = System::Word(0x88d5); +static _DELPHI_CONST System::Word IDC_FILLED_CARD_INFORMATION = System::Word(0x88d6); +static _DELPHI_CONST System::Word IDC_SHARING_HUB_SCREENSHOT = System::Word(0x88d7); +static _DELPHI_CONST System::Word IDC_VIRTUAL_CARD_ENROLL = System::Word(0x88d8); +static _DELPHI_CONST System::Word IDC_SAVE_IBAN_FOR_PAGE = System::Word(0x88db); +static _DELPHI_CONST System::Word IDC_AUTOFILL_MANDATORY_REAUTH = System::Word(0x88dc); +static _DELPHI_CONST System::Word IDC_PROFILE_MENU_IN_APP_MENU = System::Word(0x88df); +static _DELPHI_CONST System::Word IDC_PASSWORDS_AND_AUTOFILL_MENU = System::Word(0x88e0); +static _DELPHI_CONST System::Word IDC_SHOW_PASSWORD_MANAGER = System::Word(0x88e1); +static _DELPHI_CONST System::Word IDC_SHOW_PAYMENT_METHODS = System::Word(0x88e2); +static _DELPHI_CONST System::Word IDC_SHOW_ADDRESSES = System::Word(0x88e3); +static _DELPHI_CONST System::Word IDC_ORGANIZE_TABS = System::Word(0x88e4); +static _DELPHI_CONST System::Word IDC_DECLUTTER_TABS = System::Word(0x88e5); +static _DELPHI_CONST System::Word IDC_SEND_SHARED_TAB_GROUP_FEEDBACK = System::Word(0x88e6); +static _DELPHI_CONST System::Word IDC_MUTE_TARGET_SITE = System::Word(0x88ea); +static _DELPHI_CONST System::Word IDC_PIN_TARGET_TAB = System::Word(0x88eb); +static _DELPHI_CONST System::Word IDC_GROUP_TARGET_TAB = System::Word(0x88ec); +static _DELPHI_CONST System::Word IDC_DUPLICATE_TARGET_TAB = System::Word(0x88ed); +static _DELPHI_CONST System::Word IDC_CUT = System::Word(0x8ca0); +static _DELPHI_CONST System::Word IDC_COPY = System::Word(0x8ca1); +static _DELPHI_CONST System::Word IDC_PASTE = System::Word(0x8ca3); +static _DELPHI_CONST System::Word IDC_EDIT_MENU = System::Word(0x8ca4); +static _DELPHI_CONST System::Word IDC_FIND = System::Word(0x9088); +static _DELPHI_CONST System::Word IDC_FIND_NEXT = System::Word(0x9089); +static _DELPHI_CONST System::Word IDC_FIND_PREVIOUS = System::Word(0x908a); +static _DELPHI_CONST System::Word IDC_CLOSE_FIND_OR_STOP = System::Word(0x908b); +static _DELPHI_CONST System::Word IDC_FIND_MENU = System::Word(0x90ec); +static _DELPHI_CONST System::Word IDC_FIND_AND_EDIT_MENU = System::Word(0x9150); +static _DELPHI_CONST System::Word IDC_SAVE_AND_SHARE_MENU = System::Word(0x91b4); +static _DELPHI_CONST System::Word IDC_CUSTOMIZE_CHROME = System::Word(0x91e6); +static _DELPHI_CONST System::Word IDC_CLOSE_PROFILE = System::Word(0x8a17); +static _DELPHI_CONST System::Word IDC_MANAGE_GOOGLE_ACCOUNT = System::Word(0x8a18); +static _DELPHI_CONST System::Word IDC_SHOW_SYNC_SETTINGS = System::Word(0x8a19); +static _DELPHI_CONST System::Word IDC_TURN_ON_SYNC = System::Word(0x8a1a); +static _DELPHI_CONST System::Word IDC_SHOW_SIGNIN_WHEN_PAUSED = System::Word(0x8a1b); +static _DELPHI_CONST System::Word IDC_OPEN_GUEST_PROFILE = System::Word(0x8a1c); +static _DELPHI_CONST System::Word IDC_ADD_NEW_PROFILE = System::Word(0x8a1d); +static _DELPHI_CONST System::Word IDC_MANAGE_CHROME_PROFILES = System::Word(0x8a1e); +static _DELPHI_CONST System::Word IDC_SHOW_SIGNIN = System::Word(0x8a1f); +static _DELPHI_CONST System::Word IDC_ZOOM_MENU = System::Word(0x9470); +static _DELPHI_CONST System::Word IDC_ZOOM_PLUS = System::Word(0x9471); +static _DELPHI_CONST System::Word IDC_ZOOM_NORMAL = System::Word(0x9472); +static _DELPHI_CONST System::Word IDC_ZOOM_MINUS = System::Word(0x9473); +static _DELPHI_CONST System::Word IDC_FOCUS_TOOLBAR = System::Word(0x9858); +static _DELPHI_CONST System::Word IDC_FOCUS_LOCATION = System::Word(0x9859); +static _DELPHI_CONST System::Word IDC_FOCUS_SEARCH = System::Word(0x985a); +static _DELPHI_CONST System::Word IDC_FOCUS_MENU_BAR = System::Word(0x985b); +static _DELPHI_CONST System::Word IDC_FOCUS_NEXT_PANE = System::Word(0x985c); +static _DELPHI_CONST System::Word IDC_FOCUS_PREVIOUS_PANE = System::Word(0x985d); +static _DELPHI_CONST System::Word IDC_FOCUS_BOOKMARKS = System::Word(0x985e); +static _DELPHI_CONST System::Word IDC_FOCUS_INACTIVE_POPUP_FOR_ACCESSIBILITY = System::Word(0x985f); +static _DELPHI_CONST System::Word IDC_FOCUS_WEB_CONTENTS_PANE = System::Word(0x9861); +static _DELPHI_CONST System::Word IDC_OPEN_FILE = System::Word(0x9c40); +static _DELPHI_CONST System::Word IDC_CREATE_SHORTCUT = System::Word(0x9c42); +static _DELPHI_CONST System::Word IDC_DEVELOPER_MENU = System::Word(0x9c43); +static _DELPHI_CONST System::Word IDC_DEV_TOOLS = System::Word(0x9c44); +static _DELPHI_CONST System::Word IDC_DEV_TOOLS_CONSOLE = System::Word(0x9c45); +static _DELPHI_CONST System::Word IDC_TASK_MANAGER = System::Word(0x9c46); +static _DELPHI_CONST System::Word IDC_DEV_TOOLS_DEVICES = System::Word(0x9c47); +static _DELPHI_CONST System::Word IDC_FEEDBACK = System::Word(0x9c48); +static _DELPHI_CONST System::Word IDC_SHOW_BOOKMARK_BAR = System::Word(0x9c49); +static _DELPHI_CONST System::Word IDC_SHOW_HISTORY = System::Word(0x9c4a); +static _DELPHI_CONST System::Word IDC_SHOW_BOOKMARK_MANAGER = System::Word(0x9c4b); +static _DELPHI_CONST System::Word IDC_SHOW_DOWNLOADS = System::Word(0x9c4c); +static _DELPHI_CONST System::Word IDC_CLEAR_BROWSING_DATA = System::Word(0x9c4d); +static _DELPHI_CONST System::Word IDC_IMPORT_SETTINGS = System::Word(0x9c4e); +static _DELPHI_CONST System::Word IDC_OPTIONS = System::Word(0x9c4f); +static _DELPHI_CONST System::Word IDC_EDIT_SEARCH_ENGINES = System::Word(0x9c50); +static _DELPHI_CONST System::Word IDC_VIEW_PASSWORDS = System::Word(0x9c51); +static _DELPHI_CONST System::Word IDC_ABOUT = System::Word(0x9c52); +static _DELPHI_CONST System::Word IDC_HELP_PAGE_VIA_KEYBOARD = System::Word(0x9c53); +static _DELPHI_CONST System::Word IDC_HELP_PAGE_VIA_MENU = System::Word(0x9c54); +static _DELPHI_CONST System::Word IDC_SHOW_APP_MENU = System::Word(0x9c55); +static _DELPHI_CONST System::Word IDC_MANAGE_EXTENSIONS = System::Word(0x9c56); +static _DELPHI_CONST System::Word IDC_DEV_TOOLS_INSPECT = System::Word(0x9c57); +static _DELPHI_CONST System::Word IDC_UPGRADE_DIALOG = System::Word(0x9c58); +static _DELPHI_CONST System::Word IDC_SHOW_HISTORY_CLUSTERS_SIDE_PANEL = System::Word(0x9c59); +static _DELPHI_CONST System::Word IDC_PROFILING_ENABLED = System::Word(0x9c5c); +static _DELPHI_CONST System::Word IDC_BOOKMARKS_MENU = System::Word(0x9c5d); +static _DELPHI_CONST System::Word IDC_SAVED_TAB_GROUPS_MENU = System::Word(0x9c5e); +static _DELPHI_CONST System::Word IDC_EXTENSION_ERRORS = System::Word(0x9c5f); +static _DELPHI_CONST System::Word IDC_SHOW_SETTINGS_CHANGE_FIRST = System::Word(0x9c61); +static _DELPHI_CONST System::Word IDC_SHOW_SETTINGS_CHANGE_LAST = System::Word(0x9cc5); +static _DELPHI_CONST System::Word IDC_SHOW_AVATAR_MENU = System::Word(0x9cc6); +static _DELPHI_CONST System::Word IDC_EXTENSION_INSTALL_ERROR_FIRST = System::Word(0x9cc7); +static _DELPHI_CONST System::Word IDC_EXTENSION_INSTALL_ERROR_LAST = System::Word(0x9d2b); +static _DELPHI_CONST System::Word IDC_TOGGLE_REQUEST_TABLET_SITE = System::Word(0x9d2c); +static _DELPHI_CONST System::Word IDC_DEV_TOOLS_TOGGLE = System::Word(0x9d2d); +static _DELPHI_CONST System::Word IDC_RECENT_TABS_MENU = System::Word(0x9d2f); +static _DELPHI_CONST System::Word IDC_RECENT_TABS_NO_DEVICE_TABS = System::Word(0x9d30); +static _DELPHI_CONST System::Word IDC_SHOW_SETTINGS_RESET_BUBBLE = System::Word(0x9d31); +static _DELPHI_CONST System::Word IDC_DISTILL_PAGE = System::Word(0x9d33); +static _DELPHI_CONST System::Word IDC_HELP_MENU = System::Word(0x9d34); +static _DELPHI_CONST System::Word IDC_SHOW_SRT_BUBBLE = System::Word(0x9d36); +static _DELPHI_CONST System::Word IDC_ELEVATED_RECOVERY_DIALOG = System::Word(0x9d37); +static _DELPHI_CONST System::Word IDC_TAKE_SCREENSHOT = System::Word(0x9d38); +static _DELPHI_CONST System::Word IDC_MORE_TOOLS_MENU = System::Word(0x9d39); +static _DELPHI_CONST System::Word IDC_TOGGLE_FULLSCREEN_TOOLBAR = System::Word(0x9d3a); +static _DELPHI_CONST System::Word IDC_CUSTOMIZE_TOUCH_BAR = System::Word(0x9d3b); +static _DELPHI_CONST System::Word IDC_SHOW_BETA_FORUM = System::Word(0x9d3c); +static _DELPHI_CONST System::Word IDC_TOGGLE_JAVASCRIPT_APPLE_EVENTS = System::Word(0x9d3d); +static _DELPHI_CONST System::Word IDC_INSTALL_PWA = System::Word(0x9d3e); +static _DELPHI_CONST System::Word IDC_SHOW_MANAGEMENT_PAGE = System::Word(0x9d3f); +static _DELPHI_CONST System::Word IDC_PASTE_AND_GO = System::Word(0x9d40); +static _DELPHI_CONST System::Word IDC_SHOW_SAVE_LOCAL_CARD_SIGN_IN_PROMO_IF_APPLICABLE = System::Word(0x9d41); +static _DELPHI_CONST System::Word IDC_CLOSE_SIGN_IN_PROMO = System::Word(0x9d42); +static _DELPHI_CONST System::Word IDC_SHOW_FULL_URLS = System::Word(0x9d43); +static _DELPHI_CONST System::Word IDC_CARET_BROWSING_TOGGLE = System::Word(0x9d44); +static _DELPHI_CONST System::Word IDC_CHROME_TIPS = System::Word(0x9d47); +static _DELPHI_CONST System::Word IDC_CHROME_WHATS_NEW = System::Word(0x9d48); +static _DELPHI_CONST System::Word IDC_PERFORMANCE = System::Word(0x9d4a); +static _DELPHI_CONST System::Word IDC_EXTENSIONS_SUBMENU = System::Word(0x9d4b); +static _DELPHI_CONST System::Word IDC_EXTENSIONS_SUBMENU_MANAGE_EXTENSIONS = System::Word(0x9d4c); +static _DELPHI_CONST System::Word IDC_EXTENSIONS_SUBMENU_VISIT_CHROME_WEB_STORE = System::Word(0x9d4d); +static _DELPHI_CONST System::Word IDC_READING_LIST_MENU = System::Word(0x9d4e); +static _DELPHI_CONST System::Word IDC_READING_LIST_MENU_ADD_TAB = System::Word(0x9d4f); +static _DELPHI_CONST System::Word IDC_READING_LIST_MENU_SHOW_UI = System::Word(0x9d50); +static _DELPHI_CONST System::Word IDC_SHOW_READING_MODE_SIDE_PANEL = System::Word(0x9d51); +static _DELPHI_CONST System::Word IDC_SHOW_BOOKMARK_SIDE_PANEL = System::Word(0x9d52); +static _DELPHI_CONST System::Word IDC_SHOW_CHROME_LABS = System::Word(0x9d54); +static _DELPHI_CONST System::Word IDC_RECENT_TABS_LOGIN_FOR_DEVICE_TABS = System::Word(0x9d55); +static _DELPHI_CONST System::Word IDC_OPEN_RECENT_TAB = System::Word(0x9d56); +static _DELPHI_CONST System::Word IDC_OPEN_SAFETY_HUB = System::Word(0x9d57); +static _DELPHI_CONST System::Word IDC_SAFETY_HUB_SHOW_PASSWORD_CHECKUP = System::Word(0x9d58); +static _DELPHI_CONST System::Word IDC_SAFETY_HUB_MANAGE_EXTENSIONS = System::Word(0x9d59); +static _DELPHI_CONST System::Word IDC_SHOW_GOOGLE_LENS_SHORTCUT = System::Word(0x9d5a); +static _DELPHI_CONST System::Word IDC_SHOW_CUSTOMIZE_CHROME_SIDE_PANEL = System::Word(0x9d5b); +static _DELPHI_CONST System::Word IDC_SHOW_CUSTOMIZE_CHROME_TOOLBAR = System::Word(0x9d5c); +static _DELPHI_CONST System::Word IDC_TASK_MANAGER_APP_MENU = System::Word(0x9d5d); +static _DELPHI_CONST System::Word IDC_TASK_MANAGER_SHORTCUT = System::Word(0x9d5e); +static _DELPHI_CONST System::Word IDC_TASK_MANAGER_CONTEXT_MENU = System::Word(0x9d5f); +static _DELPHI_CONST System::Word IDC_TASK_MANAGER_MAIN_MENU = System::Word(0x9d60); +static _DELPHI_CONST System::Word IDC_COMPARE_MENU = System::Word(0x9d61); +static _DELPHI_CONST System::Word IDC_SHOW_ALL_COMPARISON_TABLES = System::Word(0x9d62); +static _DELPHI_CONST System::Word IDC_ADD_TO_COMPARISON_TABLE_MENU = System::Word(0x9d63); +static _DELPHI_CONST System::Word IDC_CREATE_NEW_COMPARISON_TABLE_WITH_TAB = System::Word(0x9d64); +static _DELPHI_CONST System::Word IDC_SHOW_HISTORY_SIDE_PANEL = System::Word(0x9d65); +static _DELPHI_CONST System::Word IDC_OPEN_GLIC = System::Word(0x9d66); +static _DELPHI_CONST System::Word IDC_FIND_EXTENSIONS = System::Word(0x9d67); +static _DELPHI_CONST System::Word IDC_SHOW_SEARCH_TOOLS = System::Word(0x9d68); +static _DELPHI_CONST System::Word IDC_SHOW_COMMENTS_SIDE_PANEL = System::Word(0x9d69); +static _DELPHI_CONST System::Word IDC_RECENT_TABS_SEE_DEVICE_TABS = System::Word(0x9d6a); +static _DELPHI_CONST System::Word IDC_SPELLCHECK_SUGGESTION_0 = System::Word(0xa028); +static _DELPHI_CONST System::Word IDC_SPELLCHECK_SUGGESTION_1 = System::Word(0xa029); +static _DELPHI_CONST System::Word IDC_SPELLCHECK_SUGGESTION_2 = System::Word(0xa02a); +static _DELPHI_CONST System::Word IDC_SPELLCHECK_SUGGESTION_3 = System::Word(0xa02b); +static _DELPHI_CONST System::Word IDC_SPELLCHECK_SUGGESTION_4 = System::Word(0xa02c); +static _DELPHI_CONST System::Word IDC_SPELLCHECK_MENU = System::Word(0xa02d); +static _DELPHI_CONST System::Word IDC_SPELLCHECK_LANGUAGES_FIRST = System::Word(0xa02e); +static _DELPHI_CONST System::Word IDC_SPELLCHECK_LANGUAGES_LAST = System::Word(0xa092); +static _DELPHI_CONST System::Word IDC_CHECK_SPELLING_WHILE_TYPING = System::Word(0xa093); +static _DELPHI_CONST System::Word IDC_SPELLPANEL_TOGGLE = System::Word(0xa095); +static _DELPHI_CONST System::Word IDC_SPELLCHECK_ADD_TO_DICTIONARY = System::Word(0xa096); +static _DELPHI_CONST System::Word IDC_SPELLCHECK_MULTI_LINGUAL = System::Word(0xa097); +static _DELPHI_CONST System::Word IDC_WRITING_DIRECTION_MENU = System::Word(0xa0a0); +static _DELPHI_CONST System::Word IDC_WRITING_DIRECTION_DEFAULT = System::Word(0xa0a1); +static _DELPHI_CONST System::Word IDC_WRITING_DIRECTION_LTR = System::Word(0xa0a2); +static _DELPHI_CONST System::Word IDC_WRITING_DIRECTION_RTL = System::Word(0xa0a3); +static _DELPHI_CONST System::Word IDC_TRANSLATE_ORIGINAL_LANGUAGE_BASE = System::Word(0xa474); +static _DELPHI_CONST System::Word IDC_TRANSLATE_TARGET_LANGUAGE_BASE = System::Word(0xa5a0); +static _DELPHI_CONST System::Word IDC_VIEW_MENU = System::Word(0xabe0); +static _DELPHI_CONST System::Word IDC_FILE_MENU = System::Word(0xabe1); +static _DELPHI_CONST System::Word IDC_CHROME_MENU = System::Word(0xabe2); +static _DELPHI_CONST System::Word IDC_HIDE_APP = System::Word(0xabe3); +static _DELPHI_CONST System::Word IDC_HISTORY_MENU = System::Word(0xb3b0); +static _DELPHI_CONST System::Word IDC_TAB_MENU = System::Word(0xb3b1); +static _DELPHI_CONST System::Word IDC_PROFILE_MAIN_MENU = System::Word(0xb414); +static _DELPHI_CONST System::Word IDC_INPUT_METHODS_MENU = System::Word(0xb4dc); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_CUSTOM_FIRST = System::Word(0xb798); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_CUSTOM_LAST = System::Word(0xbb80); +static _DELPHI_CONST System::Word IDC_EXTENSIONS_CONTEXT_CUSTOM_FIRST = System::Word(0xbf68); +static _DELPHI_CONST System::Word IDC_EXTENSIONS_CONTEXT_CUSTOM_LAST = System::Word(0xc350); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPENLINKNEWTAB = System::Word(0xc3b4); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPENLINKNEWWINDOW = System::Word(0xc3b5); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPENLINKOFFTHERECORD = System::Word(0xc3b6); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SAVELINKAS = System::Word(0xc3b7); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_COPYLINKLOCATION = System::Word(0xc3b8); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_COPYEMAILADDRESS = System::Word(0xc3b9); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPENLINKWITH = System::Word(0xc3ba); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_COPYLINKTEXT = System::Word(0xc3bb); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPENLINKINPROFILE = System::Word(0xc3bc); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPENLINKBOOKMARKAPP = System::Word(0xc3bd); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPENLINKPREVIEW = System::Word(0xc3be); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPENLINKSPLITVIEW = System::Word(0xc3bf); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SAVEIMAGEAS = System::Word(0xc3c8); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_COPYIMAGELOCATION = System::Word(0xc3c9); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_COPYIMAGE = System::Word(0xc3ca); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPENIMAGENEWTAB = System::Word(0xc3cb); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SEARCHWEBFORIMAGE = System::Word(0xc3cc); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPEN_ORIGINAL_IMAGE_NEW_TAB = System::Word(0xc3cd); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_LOAD_IMAGE = System::Word(0xc3ce); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SEARCHLENSFORIMAGE = System::Word(0xc3cf); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_GLICSHAREIMAGE = System::Word(0xc3d0); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SAVEVIDEOFRAMEAS = System::Word(0xc3d2); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SAVEAVAS = System::Word(0xc3d3); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_COPYAVLOCATION = System::Word(0xc3d4); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_COPYVIDEOFRAME = System::Word(0xc3d5); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SEARCHLENSFORVIDEOFRAME = System::Word(0xc3d6); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SEARCHWEBFORVIDEOFRAME = System::Word(0xc3d7); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPENAVNEWTAB = System::Word(0xc3d8); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_PICTUREINPICTURE = System::Word(0xc3d9); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_LOOP = System::Word(0xc3dc); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_CONTROLS = System::Word(0xc3dd); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_ROTATECW = System::Word(0xc3de); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_ROTATECCW = System::Word(0xc3df); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_COPY = System::Word(0xc3e6); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_CUT = System::Word(0xc3e7); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_PASTE = System::Word(0xc3e8); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_DELETE = System::Word(0xc3e9); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_UNDO = System::Word(0xc3ea); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_REDO = System::Word(0xc3eb); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SELECTALL = System::Word(0xc3ec); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_PASTE_AND_MATCH_STYLE = System::Word(0xc3ed); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_COPYLINKTOTEXT = System::Word(0xc3ee); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_RESHARELINKTOTEXT = System::Word(0xc3ef); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_REMOVELINKTOTEXT = System::Word(0xc3f0); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_TRANSLATE = System::Word(0xc3f1); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_INSPECTELEMENT = System::Word(0xc3f2); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_VIEWPAGEINFO = System::Word(0xc3f3); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_LANGUAGE_SETTINGS = System::Word(0xc3f4); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_LOOK_UP = System::Word(0xc3f5); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_NO_SPELLING_SUGGESTIONS = System::Word(0xc3f6); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SPELLING_SUGGESTION = System::Word(0xc3f7); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SPELLING_TOGGLE = System::Word(0xc3f8); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPEN_IN_READING_MODE = System::Word(0xc3f9); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SAVEPLUGINAS = System::Word(0xc3fa); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_INSPECTBACKGROUNDPAGE = System::Word(0xc3fb); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_RELOAD_PACKAGED_APP = System::Word(0xc3fc); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_RESTART_PACKAGED_APP = System::Word(0xc3fd); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_LENS_REGION_SEARCH = System::Word(0xc3fe); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_WEB_REGION_SEARCH = System::Word(0xc3ff); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_GENERATEPASSWORD = System::Word(0xc400); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_EXIT_FULLSCREEN = System::Word(0xc401); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SHOWALLSAVEDPASSWORDS = System::Word(0xc402); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_PARTIAL_TRANSLATE = System::Word(0xc403); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_RELOADFRAME = System::Word(0xc404); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_VIEWFRAMESOURCE = System::Word(0xc405); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_VIEWFRAMEINFO = System::Word(0xc406); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_ADD_A_NOTE = System::Word(0xc409); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_GOTOURL = System::Word(0xc40e); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SEARCHWEBFOR = System::Word(0xc40f); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SEARCHWEBFORNEWTAB = System::Word(0xc410); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_LENS_OVERLAY = System::Word(0xc411); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_USE_PASSKEY_FROM_ANOTHER_DEVICE = System::Word(0xc412); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPEN_WITH1 = System::Word(0xc418); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPEN_WITH2 = System::Word(0xc419); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPEN_WITH3 = System::Word(0xc41a); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPEN_WITH4 = System::Word(0xc41b); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPEN_WITH5 = System::Word(0xc41c); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPEN_WITH6 = System::Word(0xc41d); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPEN_WITH7 = System::Word(0xc41e); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPEN_WITH8 = System::Word(0xc41f); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPEN_WITH9 = System::Word(0xc420); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPEN_WITH10 = System::Word(0xc421); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPEN_WITH11 = System::Word(0xc422); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPEN_WITH12 = System::Word(0xc423); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPEN_WITH13 = System::Word(0xc424); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_OPEN_WITH14 = System::Word(0xc425); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_EMOJI = System::Word(0xc42c); +static _DELPHI_CONST System::Word IDC_CONTEXT_COMPOSE = System::Word(0xc436); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_CLOSE_GLIC = System::Word(0xc437); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_RELOAD_GLIC = System::Word(0xc438); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_OPEN_ALL = System::Word(0xc738); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_OPEN_ALL_NEW_WINDOW = System::Word(0xc739); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_OPEN_ALL_INCOGNITO = System::Word(0xc73a); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_OPEN_INCOGNITO = System::Word(0xc73b); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_OPEN_ALL_NEW_TAB_GROUP = System::Word(0xc73c); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_RENAME_FOLDER = System::Word(0xc73d); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_EDIT = System::Word(0xc73e); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_REMOVE = System::Word(0xc73f); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_UNDO = System::Word(0xc740); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_REDO = System::Word(0xc741); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_ADD_NEW_BOOKMARK = System::Word(0xc742); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_NEW_FOLDER = System::Word(0xc743); +static _DELPHI_CONST System::Word IDC_BOOKMARK_MANAGER = System::Word(0xc744); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_ALWAYS_SHOW = System::Word(0xc745); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_SHOW_APPS_SHORTCUT = System::Word(0xc746); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_SHOW_READING_LIST = System::Word(0xc747); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_SHOW_MANAGED_BOOKMARKS = System::Word(0xc748); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_TRACK_PRICE_FOR_SHOPPING_BOOKMARK = System::Word(0xc749); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_UNTRACK_PRICE_FOR_SHOPPING_BOOKMARK = System::Word(0xc74a); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_ADD_TO_BOOKMARKS_BAR = System::Word(0xc74b); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_REMOVE_FROM_BOOKMARKS_BAR = System::Word(0xc74c); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_TOGGLE_SHOW_TAB_GROUPS = System::Word(0xc74d); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_MOVE = System::Word(0xc74e); +static _DELPHI_CONST System::Word IDC_BOOKMARK_BAR_OPEN_SPLIT_VIEW = System::Word(0xc74f); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SHARING_CLICK_TO_CALL_SINGLE_DEVICE = System::Word(0xc756); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SHARING_CLICK_TO_CALL_MULTIPLE_DEVICES = System::Word(0xc757); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SHARING_SHARED_CLIPBOARD_SINGLE_DEVICE = System::Word(0xc758); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SHARING_SHARED_CLIPBOARD_MULTIPLE_DEVICES = System::Word(0xc759); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_GENERATE_QR_CODE = System::Word(0xc75a); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_SHARING_SUBMENU = System::Word(0xc75b); +static _DELPHI_CONST System::Word IDC_CONTENT_PASTE_FROM_CLIPBOARD = System::Word(0xc75d); +static _DELPHI_CONST System::Word IDC_STATUS_TRAY_KEEP_CHROME_RUNNING_IN_BACKGROUND = System::Word(0xc79c); +static _DELPHI_CONST System::Word IDC_STATUS_TRAY_KEEP_CHROME_RUNNING_IN_BACKGROUND_SETTING = System::Word(0xc79d); +static _DELPHI_CONST System::Word IDC_MEDIA_ROUTER_ABOUT = System::Word(0xc800); +static _DELPHI_CONST System::Word IDC_MEDIA_ROUTER_HELP = System::Word(0xc801); +static _DELPHI_CONST System::Word IDC_MEDIA_ROUTER_LEARN_MORE = System::Word(0xc802); +static _DELPHI_CONST System::Word IDC_MEDIA_ROUTER_ALWAYS_SHOW_TOOLBAR_ACTION = System::Word(0xc804); +static _DELPHI_CONST System::Word IDC_MEDIA_ROUTER_SHOWN_BY_POLICY = System::Word(0xc806); +static _DELPHI_CONST System::Word IDC_MEDIA_ROUTER_SHOW_IN_TOOLBAR = System::Word(0xc807); +static _DELPHI_CONST System::Word IDC_MEDIA_ROUTER_TOGGLE_MEDIA_REMOTING = System::Word(0xc808); +static _DELPHI_CONST System::Word IDC_MEDIA_TOOLBAR_CONTEXT_REPORT_CAST_ISSUE = System::Word(0xc809); +static _DELPHI_CONST System::Word IDC_MEDIA_TOOLBAR_CONTEXT_SHOW_OTHER_SESSIONS = System::Word(0xc80a); +static _DELPHI_CONST System::Word IDC_UPDATE_SIDE_PANEL_PIN_STATE = System::Word(0xc80b); +static _DELPHI_CONST System::Word IDC_MEDIA_STREAM_DEVICE_STATUS_TRAY = System::Word(0xc864); +static _DELPHI_CONST System::Word IDC_MEDIA_CONTEXT_MEDIA_STREAM_CAPTURE_LIST_FIRST = System::Word(0xc865); +static _DELPHI_CONST System::Word IDC_MEDIA_CONTEXT_MEDIA_STREAM_CAPTURE_LIST_LAST = System::Word(0xc8c7); +static _DELPHI_CONST System::Word IDC_MEDIA_STREAM_DEVICE_ALWAYS_ALLOW = System::Word(0xc8c8); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_PROTOCOL_HANDLER_FIRST = System::Word(0xcb20); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_PROTOCOL_HANDLER_LAST = System::Word(0xcbe7); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_PROTOCOL_HANDLER_SETTINGS = System::Word(0xcbe8); +static _DELPHI_CONST System::Word IDC_OPEN_LINK_IN_PROFILE_FIRST = System::Word(0xcc4c); +static _DELPHI_CONST System::Word IDC_OPEN_LINK_IN_PROFILE_LAST = System::Word(0xccaf); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_START_SMART_SELECTION_ACTION1 = System::Word(0xccb0); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_START_SMART_SELECTION_ACTION2 = System::Word(0xccb1); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_START_SMART_SELECTION_ACTION3 = System::Word(0xccb2); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_START_SMART_SELECTION_ACTION4 = System::Word(0xccb3); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_START_SMART_SELECTION_ACTION5 = System::Word(0xccb4); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_ACCESSIBILITY_LABELS_TOGGLE = System::Word(0xccba); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_ACCESSIBILITY_LABELS = System::Word(0xccbb); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_ACCESSIBILITY_LABELS_TOGGLE_ONCE = System::Word(0xccbc); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_QUICK_ANSWERS_INLINE_ANSWER = System::Word(0xccbd); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_QUICK_ANSWERS_INLINE_QUERY = System::Word(0xccbe); +static _DELPHI_CONST System::Word IDC_TAB_SEARCH = System::Word(0xcd14); +static _DELPHI_CONST System::Word IDC_TAB_SEARCH_CLOSE = System::Word(0xcd15); +static _DELPHI_CONST System::Word IDC_DEBUG_TOGGLE_TABLET_MODE = System::Word(0xcd1e); +static _DELPHI_CONST System::Word IDC_DEBUG_PRINT_VIEW_TREE = System::Word(0xcd1f); +static _DELPHI_CONST System::Word IDC_DEBUG_PRINT_VIEW_TREE_DETAILS = System::Word(0xcd20); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_AUTOFILL_FEEDBACK = System::Word(0xcefe); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_AUTOFILL_FALLBACK_PLUS_ADDRESS = System::Word(0xcf02); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_AUTOFILL_FALLBACK_PASSWORDS_SELECT_PASSWORD = System::Word(0xcf06); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_AUTOFILL_FALLBACK_PASSWORDS_IMPORT_PASSWORDS = System::Word(0xcf07); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_AUTOFILL_FALLBACK_PASSWORDS_SUGGEST_PASSWORD = System::Word(0xcf08); +static _DELPHI_CONST System::Word IDC_CONTENT_CONTEXT_AUTOFILL_FALLBACK_PASSWORDS_USE_PASSKEY_FROM_ANOTHER_DEVICE = System::Word(0xcf0a); +static _DELPHI_CONST System::Word IDC_LIVE_CAPTION = System::Word(0xd003); +static _DELPHI_CONST System::Word IDC_DEVICE_SYSTEM_TRAY_ICON_FIRST = System::Word(0xd00c); +static _DELPHI_CONST System::Word IDC_DEVICE_SYSTEM_TRAY_ICON_LAST = System::Word(0xd033); +static _DELPHI_CONST System::Word IDC_SET_BROWSER_AS_DEFAULT = System::Word(0xd034); +static _DELPHI_CONST System::Word IDC_GLIC_STATUS_ICON_MENU_SHOW = System::Word(0xd03e); +static _DELPHI_CONST System::Word IDC_GLIC_STATUS_ICON_MENU_CUSTOMIZE_KEYBOARD_SHORTCUT = System::Word(0xd03f); +static _DELPHI_CONST System::Word IDC_GLIC_STATUS_ICON_MENU_REMOVE_ICON = System::Word(0xd040); +static _DELPHI_CONST System::Word IDC_GLIC_STATUS_ICON_MENU_SETTINGS = System::Word(0xd041); +static _DELPHI_CONST System::Word IDC_GLIC_STATUS_ICON_MENU_EXIT = System::Word(0xd042); +static _DELPHI_CONST System::Word IDC_GLIC_STATUS_ICON_MENU_CLOSE = System::Word(0xd043); +static _DELPHI_CONST System::Word IDC_GLIC_TOGGLE_PIN = System::Word(0xd048); +static _DELPHI_CONST System::Int8 CERT_STATUS_NONE = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CERT_STATUS_COMMON_NAME_INVALID = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CERT_STATUS_DATE_INVALID = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CERT_STATUS_AUTHORITY_INVALID = System::Int8(0x4); +static _DELPHI_CONST System::Int8 CERT_STATUS_NO_REVOCATION_MECHANISM = System::Int8(0x10); +static _DELPHI_CONST System::Int8 CERT_STATUS_UNABLE_TO_CHECK_REVOCATION = System::Int8(0x20); +static _DELPHI_CONST System::Int8 CERT_STATUS_REVOKED = System::Int8(0x40); +static _DELPHI_CONST System::Byte CERT_STATUS_INVALID = System::Byte(0x80); +static _DELPHI_CONST System::Word CERT_STATUS_WEAK_SIGNATURE_ALGORITHM = System::Word(0x100); +static _DELPHI_CONST System::Word CERT_STATUS_NON_UNIQUE_NAME = System::Word(0x400); +static _DELPHI_CONST System::Word CERT_STATUS_WEAK_KEY = System::Word(0x800); +static _DELPHI_CONST System::Word CERT_STATUS_PINNED_KEY_MISSING = System::Word(0x2000); +static _DELPHI_CONST System::Word CERT_STATUS_NAME_CONSTRAINT_VIOLATION = System::Word(0x4000); +static _DELPHI_CONST System::Word CERT_STATUS_VALIDITY_TOO_LONG = System::Word(0x8000); +static _DELPHI_CONST int CERT_STATUS_IS_EV = int(0x10000); +static _DELPHI_CONST int CERT_STATUS_REV_CHECKING_ENABLED = int(0x20000); +static _DELPHI_CONST int CERT_STATUS_SHA1_SIGNATURE_PRESENT = int(0x80000); +static _DELPHI_CONST int CERT_STATUS_CT_COMPLIANCE_FAILED = int(0x100000); +static _DELPHI_CONST System::Int8 CERT_STATUS_FIRST_ERROR = System::Int8(0x1); +static _DELPHI_CONST System::Word CERT_STATUS_LAST_ERROR = System::Word(0x8000); +static _DELPHI_CONST System::Int8 V8_PROPERTY_ATTRIBUTE_NONE = System::Int8(0x0); +static _DELPHI_CONST System::Int8 V8_PROPERTY_ATTRIBUTE_READONLY = System::Int8(0x1); +static _DELPHI_CONST System::Int8 V8_PROPERTY_ATTRIBUTE_DONTENUM = System::Int8(0x2); +static _DELPHI_CONST System::Int8 V8_PROPERTY_ATTRIBUTE_DONTDELETE = System::Int8(0x4); +static _DELPHI_CONST System::Int8 TT_LINK = System::Int8(0x0); +static _DELPHI_CONST System::Int8 TT_EXPLICIT = System::Int8(0x1); +static _DELPHI_CONST System::Int8 TT_AUTO_BOOKMARK = System::Int8(0x2); +static _DELPHI_CONST System::Int8 TT_AUTO_SUBFRAME = System::Int8(0x3); +static _DELPHI_CONST System::Int8 TT_MANUAL_SUBFRAME = System::Int8(0x4); +static _DELPHI_CONST System::Int8 TT_GENERATED = System::Int8(0x5); +static _DELPHI_CONST System::Int8 TT_AUTO_TOPLEVEL = System::Int8(0x6); +static _DELPHI_CONST System::Int8 TT_FORM_SUBMIT = System::Int8(0x7); +static _DELPHI_CONST System::Int8 TT_RELOAD = System::Int8(0x8); +static _DELPHI_CONST System::Int8 TT_KEYWORD = System::Int8(0x9); +static _DELPHI_CONST System::Int8 TT_KEYWORD_GENERATED = System::Int8(0xa); +static _DELPHI_CONST System::Int8 TT_NUM_VALUES = System::Int8(0xb); +static _DELPHI_CONST System::Byte TT_SOURCE_MASK = System::Byte(0xff); +static _DELPHI_CONST int TT_BLOCKED_FLAG = int(0x800000); +static _DELPHI_CONST int TT_FORWARD_BACK_FLAG = int(0x1000000); +static _DELPHI_CONST int TT_DIRECT_LOAD_FLAG = int(0x2000000); +static _DELPHI_CONST int TT_HOME_PAGE_FLAG = int(0x4000000); +static _DELPHI_CONST int TT_FROM_API_FLAG = int(0x8000000); +static _DELPHI_CONST int TT_CHAIN_START_FLAG = int(0x10000000); +static _DELPHI_CONST int TT_CHAIN_END_FLAG = int(0x20000000); +static _DELPHI_CONST int TT_CLIENT_REDIRECT_FLAG = int(0x40000000); +static _DELPHI_CONST unsigned TT_SERVER_REDIRECT_FLAG = unsigned(0x80000000); +static _DELPHI_CONST unsigned TT_IS_REDIRECT_MASK = unsigned(0xc0000000); +static _DELPHI_CONST unsigned TT_QUALIFIER_MASK = unsigned(0xffffff00); +static _DELPHI_CONST System::Int8 UR_FLAG_NONE = System::Int8(0x0); +static _DELPHI_CONST System::Int8 UR_FLAG_SKIP_CACHE = System::Int8(0x1); +static _DELPHI_CONST System::Int8 UR_FLAG_ONLY_FROM_CACHE = System::Int8(0x2); +static _DELPHI_CONST System::Int8 UR_FLAG_DISABLE_CACHE = System::Int8(0x4); +static _DELPHI_CONST System::Int8 UR_FLAG_ALLOW_STORED_CREDENTIALS = System::Int8(0x8); +static _DELPHI_CONST System::Int8 UR_FLAG_REPORT_UPLOAD_PROGRESS = System::Int8(0x10); +static _DELPHI_CONST System::Int8 UR_FLAG_NO_DOWNLOAD_DATA = System::Int8(0x20); +static _DELPHI_CONST System::Int8 UR_FLAG_NO_RETRY_ON_5XX = System::Int8(0x40); +static _DELPHI_CONST System::Byte UR_FLAG_STOP_ON_REDIRECT = System::Byte(0x80); +static _DELPHI_CONST System::Int8 CEF_SCHEME_OPTION_NONE = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_SCHEME_OPTION_STANDARD = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_SCHEME_OPTION_LOCAL = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CEF_SCHEME_OPTION_DISPLAY_ISOLATED = System::Int8(0x4); +static _DELPHI_CONST System::Int8 CEF_SCHEME_OPTION_SECURE = System::Int8(0x8); +static _DELPHI_CONST System::Int8 CEF_SCHEME_OPTION_CORS_ENABLED = System::Int8(0x10); +static _DELPHI_CONST System::Int8 CEF_SCHEME_OPTION_CSP_BYPASSING = System::Int8(0x20); +static _DELPHI_CONST System::Int8 CEF_SCHEME_OPTION_FETCH_ENABLED = System::Int8(0x40); +static _DELPHI_CONST System::Int8 DOM_EVENT_CATEGORY_UNKNOWN = System::Int8(0x0); +static _DELPHI_CONST System::Int8 DOM_EVENT_CATEGORY_UI = System::Int8(0x1); +static _DELPHI_CONST System::Int8 DOM_EVENT_CATEGORY_MOUSE = System::Int8(0x2); +static _DELPHI_CONST System::Int8 DOM_EVENT_CATEGORY_MUTATION = System::Int8(0x4); +static _DELPHI_CONST System::Int8 DOM_EVENT_CATEGORY_KEYBOARD = System::Int8(0x8); +static _DELPHI_CONST System::Int8 DOM_EVENT_CATEGORY_TEXT = System::Int8(0x10); +static _DELPHI_CONST System::Int8 DOM_EVENT_CATEGORY_COMPOSITION = System::Int8(0x20); +static _DELPHI_CONST System::Int8 DOM_EVENT_CATEGORY_DRAG = System::Int8(0x40); +static _DELPHI_CONST System::Byte DOM_EVENT_CATEGORY_CLIPBOARD = System::Byte(0x80); +static _DELPHI_CONST System::Word DOM_EVENT_CATEGORY_MESSAGE = System::Word(0x100); +static _DELPHI_CONST System::Word DOM_EVENT_CATEGORY_WHEEL = System::Word(0x200); +static _DELPHI_CONST System::Word DOM_EVENT_CATEGORY_BEFORE_TEXT_INSERTED = System::Word(0x400); +static _DELPHI_CONST System::Word DOM_EVENT_CATEGORY_OVERFLOW = System::Word(0x800); +static _DELPHI_CONST System::Word DOM_EVENT_CATEGORY_PAGE_TRANSITION = System::Word(0x1000); +static _DELPHI_CONST System::Word DOM_EVENT_CATEGORY_POPSTATE = System::Word(0x2000); +static _DELPHI_CONST System::Word DOM_EVENT_CATEGORY_PROGRESS = System::Word(0x4000); +static _DELPHI_CONST System::Word DOM_EVENT_CATEGORY_XMLHTTPREQUEST_PROGRESS = System::Word(0x8000); +static _DELPHI_CONST System::Int8 EVENTFLAG_NONE = System::Int8(0x0); +static _DELPHI_CONST System::Int8 EVENTFLAG_CAPS_LOCK_ON = System::Int8(0x1); +static _DELPHI_CONST System::Int8 EVENTFLAG_SHIFT_DOWN = System::Int8(0x2); +static _DELPHI_CONST System::Int8 EVENTFLAG_CONTROL_DOWN = System::Int8(0x4); +static _DELPHI_CONST System::Int8 EVENTFLAG_ALT_DOWN = System::Int8(0x8); +static _DELPHI_CONST System::Int8 EVENTFLAG_LEFT_MOUSE_BUTTON = System::Int8(0x10); +static _DELPHI_CONST System::Int8 EVENTFLAG_MIDDLE_MOUSE_BUTTON = System::Int8(0x20); +static _DELPHI_CONST System::Int8 EVENTFLAG_RIGHT_MOUSE_BUTTON = System::Int8(0x40); +static _DELPHI_CONST System::Byte EVENTFLAG_COMMAND_DOWN = System::Byte(0x80); +static _DELPHI_CONST System::Word EVENTFLAG_NUM_LOCK_ON = System::Word(0x100); +static _DELPHI_CONST System::Word EVENTFLAG_IS_KEY_PAD = System::Word(0x200); +static _DELPHI_CONST System::Word EVENTFLAG_IS_LEFT = System::Word(0x400); +static _DELPHI_CONST System::Word EVENTFLAG_IS_RIGHT = System::Word(0x800); +static _DELPHI_CONST System::Word EVENTFLAG_ALTGR_DOWN = System::Word(0x1000); +static _DELPHI_CONST System::Word EVENTFLAG_IS_REPEAT = System::Word(0x2000); +static _DELPHI_CONST System::Word EVENTFLAG_PRECISION_SCROLLING_DELTA = System::Word(0x4000); +static _DELPHI_CONST System::Word EVENTFLAG_SCROLL_BY_PAGE = System::Word(0x8000); +static _DELPHI_CONST System::Int8 DRAG_OPERATION_NONE = System::Int8(0x0); +static _DELPHI_CONST System::Int8 DRAG_OPERATION_COPY = System::Int8(0x1); +static _DELPHI_CONST System::Int8 DRAG_OPERATION_LINK = System::Int8(0x2); +static _DELPHI_CONST System::Int8 DRAG_OPERATION_GENERIC = System::Int8(0x4); +static _DELPHI_CONST System::Int8 DRAG_OPERATION_PRIVATE = System::Int8(0x8); +static _DELPHI_CONST System::Int8 DRAG_OPERATION_MOVE = System::Int8(0x10); +static _DELPHI_CONST System::Int8 DRAG_OPERATION_DELETE = System::Int8(0x20); +static _DELPHI_CONST unsigned DRAG_OPERATION_EVERY = unsigned(0xffffffff); +static _DELPHI_CONST System::Int8 FILE_DIALOG_OPEN = System::Int8(0x0); +static _DELPHI_CONST System::Int8 FILE_DIALOG_OPEN_MULTIPLE = System::Int8(0x1); +static _DELPHI_CONST System::Int8 FILE_DIALOG_OPEN_FOLDER = System::Int8(0x2); +static _DELPHI_CONST System::Int8 FILE_DIALOG_SAVE = System::Int8(0x3); +static _DELPHI_CONST System::Int8 FILE_DIALOG_NUM_VALUES = System::Int8(0x4); +static _DELPHI_CONST System::Int8 UU_NONE = System::Int8(0x0); +static _DELPHI_CONST System::Int8 UU_NORMAL = System::Int8(0x1); +static _DELPHI_CONST System::Int8 UU_SPACES = System::Int8(0x2); +static _DELPHI_CONST System::Int8 UU_PATH_SEPARATORS = System::Int8(0x4); +static _DELPHI_CONST System::Int8 UU_URL_SPECIAL_CHARS_EXCEPT_PATH_SEPARATORS = System::Int8(0x8); +static _DELPHI_CONST System::Int8 UU_REPLACE_PLUS_WITH_SPACE = System::Int8(0x10); +static _DELPHI_CONST System::Int8 MENU_ID_BACK = System::Int8(0x64); +static _DELPHI_CONST System::Int8 MENU_ID_FORWARD = System::Int8(0x65); +static _DELPHI_CONST System::Int8 MENU_ID_RELOAD = System::Int8(0x66); +static _DELPHI_CONST System::Int8 MENU_ID_RELOAD_NOCACHE = System::Int8(0x67); +static _DELPHI_CONST System::Int8 MENU_ID_STOPLOAD = System::Int8(0x68); +static _DELPHI_CONST System::Int8 MENU_ID_UNDO = System::Int8(0x6e); +static _DELPHI_CONST System::Int8 MENU_ID_REDO = System::Int8(0x6f); +static _DELPHI_CONST System::Int8 MENU_ID_CUT = System::Int8(0x70); +static _DELPHI_CONST System::Int8 MENU_ID_COPY = System::Int8(0x71); +static _DELPHI_CONST System::Int8 MENU_ID_PASTE = System::Int8(0x72); +static _DELPHI_CONST System::Int8 MENU_ID_PASTE_MATCH_STYLE = System::Int8(0x73); +static _DELPHI_CONST System::Int8 MENU_ID_DELETE = System::Int8(0x74); +static _DELPHI_CONST System::Int8 MENU_ID_SELECT_ALL = System::Int8(0x75); +static _DELPHI_CONST System::Byte MENU_ID_FIND = System::Byte(0x82); +static _DELPHI_CONST System::Byte MENU_ID_PRINT = System::Byte(0x83); +static _DELPHI_CONST System::Byte MENU_ID_VIEW_SOURCE = System::Byte(0x84); +static _DELPHI_CONST System::Byte MENU_ID_SPELLCHECK_SUGGESTION_0 = System::Byte(0xc8); +static _DELPHI_CONST System::Byte MENU_ID_SPELLCHECK_SUGGESTION_1 = System::Byte(0xc9); +static _DELPHI_CONST System::Byte MENU_ID_SPELLCHECK_SUGGESTION_2 = System::Byte(0xca); +static _DELPHI_CONST System::Byte MENU_ID_SPELLCHECK_SUGGESTION_3 = System::Byte(0xcb); +static _DELPHI_CONST System::Byte MENU_ID_SPELLCHECK_SUGGESTION_4 = System::Byte(0xcc); +static _DELPHI_CONST System::Byte MENU_ID_SPELLCHECK_SUGGESTION_LAST = System::Byte(0xcc); +static _DELPHI_CONST System::Byte MENU_ID_NO_SPELLING_SUGGESTIONS = System::Byte(0xcd); +static _DELPHI_CONST System::Byte MENU_ID_ADD_TO_DICTIONARY = System::Byte(0xce); +static _DELPHI_CONST System::Byte MENU_ID_CUSTOM_FIRST = System::Byte(0xdc); +static _DELPHI_CONST System::Byte MENU_ID_CUSTOM_LAST = System::Byte(0xfa); +static _DELPHI_CONST System::Word MENU_ID_USER_FIRST = System::Word(0x6784); +static _DELPHI_CONST System::Word MENU_ID_USER_LAST = System::Word(0x6f54); +static _DELPHI_CONST System::Int8 CM_TYPEFLAG_NONE = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CM_TYPEFLAG_PAGE = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CM_TYPEFLAG_FRAME = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CM_TYPEFLAG_LINK = System::Int8(0x4); +static _DELPHI_CONST System::Int8 CM_TYPEFLAG_MEDIA = System::Int8(0x8); +static _DELPHI_CONST System::Int8 CM_TYPEFLAG_SELECTION = System::Int8(0x10); +static _DELPHI_CONST System::Int8 CM_TYPEFLAG_EDITABLE = System::Int8(0x20); +static _DELPHI_CONST System::Int8 CM_MEDIAFLAG_NONE = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CM_MEDIAFLAG_IN_ERROR = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CM_MEDIAFLAG_PAUSED = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CM_MEDIAFLAG_MUTED = System::Int8(0x4); +static _DELPHI_CONST System::Int8 CM_MEDIAFLAG_LOOP = System::Int8(0x8); +static _DELPHI_CONST System::Int8 CM_MEDIAFLAG_CAN_SAVE = System::Int8(0x10); +static _DELPHI_CONST System::Int8 CM_MEDIAFLAG_HAS_AUDIO = System::Int8(0x20); +static _DELPHI_CONST System::Int8 CM_MEDIAFLAG_CAN_TOGGLE_CONTROLS = System::Int8(0x40); +static _DELPHI_CONST System::Byte CM_MEDIAFLAG_CONTROLS = System::Byte(0x80); +static _DELPHI_CONST System::Word CM_MEDIAFLAG_CAN_PRINT = System::Word(0x100); +static _DELPHI_CONST System::Word CM_MEDIAFLAG_CAN_ROTATE = System::Word(0x200); +static _DELPHI_CONST System::Word CM_MEDIAFLAG_CAN_PICTURE_IN_PICTURE = System::Word(0x400); +static _DELPHI_CONST System::Word CM_MEDIAFLAG_PICTURE_IN_PICTURE = System::Word(0x800); +static _DELPHI_CONST System::Word CM_MEDIAFLAG_CAN_LOOP = System::Word(0x1000); +static _DELPHI_CONST System::Int8 CM_EDITFLAG_NONE = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CM_EDITFLAG_CAN_UNDO = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CM_EDITFLAG_CAN_REDO = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CM_EDITFLAG_CAN_CUT = System::Int8(0x4); +static _DELPHI_CONST System::Int8 CM_EDITFLAG_CAN_COPY = System::Int8(0x8); +static _DELPHI_CONST System::Int8 CM_EDITFLAG_CAN_PASTE = System::Int8(0x10); +static _DELPHI_CONST System::Int8 CM_EDITFLAG_CAN_DELETE = System::Int8(0x20); +static _DELPHI_CONST System::Int8 CM_EDITFLAG_CAN_SELECT_ALL = System::Int8(0x40); +static _DELPHI_CONST System::Byte CM_EDITFLAG_CAN_TRANSLATE = System::Byte(0x80); +static _DELPHI_CONST System::Word CM_EDITFLAG_CAN_EDIT_RICHLY = System::Word(0x100); +static _DELPHI_CONST System::Int8 SSL_CONNECTION_VERSION_UNKNOWN = System::Int8(0x0); +static _DELPHI_CONST System::Int8 SSL_CONNECTION_VERSION_SSL2 = System::Int8(0x1); +static _DELPHI_CONST System::Int8 SSL_CONNECTION_VERSION_SSL3 = System::Int8(0x2); +static _DELPHI_CONST System::Int8 SSL_CONNECTION_VERSION_TLS1 = System::Int8(0x3); +static _DELPHI_CONST System::Int8 SSL_CONNECTION_VERSION_TLS1_1 = System::Int8(0x4); +static _DELPHI_CONST System::Int8 SSL_CONNECTION_VERSION_TLS1_2 = System::Int8(0x5); +static _DELPHI_CONST System::Int8 SSL_CONNECTION_VERSION_TLS1_3 = System::Int8(0x6); +static _DELPHI_CONST System::Int8 SSL_CONNECTION_VERSION_QUIC = System::Int8(0x7); +static _DELPHI_CONST System::Int8 SSL_CONNECTION_VERSION_NUM_VALUES = System::Int8(0x8); +static _DELPHI_CONST System::Int8 SSL_CONTENT_NORMAL_CONTENT = System::Int8(0x0); +static _DELPHI_CONST System::Int8 SSL_CONTENT_DISPLAYED_INSECURE_CONTENT = System::Int8(0x1); +static _DELPHI_CONST System::Int8 SSL_CONTENT_RAN_INSECURE_CONTENT = System::Int8(0x2); +static _DELPHI_CONST System::Int8 JSON_WRITER_DEFAULT = System::Int8(0x0); +static _DELPHI_CONST System::Int8 JSON_WRITER_OMIT_BINARY_VALUES = System::Int8(0x1); +static _DELPHI_CONST System::Int8 JSON_WRITER_OMIT_DOUBLE_TYPE_PRESERVATION = System::Int8(0x2); +static _DELPHI_CONST System::Int8 JSON_WRITER_PRETTY_PRINT = System::Int8(0x4); +static _DELPHI_CONST System::Int8 LOGSEVERITY_DEFAULT = System::Int8(0x0); +static _DELPHI_CONST System::Int8 LOGSEVERITY_VERBOSE = System::Int8(0x1); +static _DELPHI_CONST System::Int8 LOGSEVERITY_DEBUG = System::Int8(0x1); +static _DELPHI_CONST System::Int8 LOGSEVERITY_INFO = System::Int8(0x2); +static _DELPHI_CONST System::Int8 LOGSEVERITY_WARNING = System::Int8(0x3); +static _DELPHI_CONST System::Int8 LOGSEVERITY_ERROR = System::Int8(0x4); +static _DELPHI_CONST System::Int8 LOGSEVERITY_FATAL = System::Int8(0x5); +static _DELPHI_CONST System::Int8 LOGSEVERITY_DISABLE = System::Int8(0x63); +static _DELPHI_CONST System::Int8 DUPLEX_MODE_UNKNOWN = System::Int8(-1); +static _DELPHI_CONST System::Int8 DUPLEX_MODE_SIMPLEX = System::Int8(0x0); +static _DELPHI_CONST System::Int8 DUPLEX_MODE_LONG_EDGE = System::Int8(0x1); +static _DELPHI_CONST System::Int8 DUPLEX_MODE_SHORT_EDGE = System::Int8(0x2); +static _DELPHI_CONST System::Int8 DUPLEX_MODE_NUM_VALUES = System::Int8(0x3); +static _DELPHI_CONST System::Int8 CEF_MRCR_UNKNOWN_ERROR = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_MRCR_OK = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_MRCR_TIMED_OUT = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CEF_MRCR_ROUTE_NOT_FOUND = System::Int8(0x3); +static _DELPHI_CONST System::Int8 CEF_MRCR_SINK_NOT_FOUND = System::Int8(0x4); +static _DELPHI_CONST System::Int8 CEF_MRCR_INVALID_ORIGIN = System::Int8(0x5); +static _DELPHI_CONST System::Int8 CEF_MRCR_OFF_THE_RECORD_MISMATCH_DEPRECATED = System::Int8(0x6); +static _DELPHI_CONST System::Int8 CEF_MRCR_NO_SUPPORTED_PROVIDER = System::Int8(0x7); +static _DELPHI_CONST System::Int8 CEF_MRCR_CANCELLED = System::Int8(0x8); +static _DELPHI_CONST System::Int8 CEF_MRCR_ROUTE_ALREADY_EXISTS = System::Int8(0x9); +static _DELPHI_CONST System::Int8 CEF_MRCR_DESKTOP_PICKER_FAILED = System::Int8(0xa); +static _DELPHI_CONST System::Int8 CEF_MRCR_ROUTE_ALREADY_TERMINATED = System::Int8(0xb); +static _DELPHI_CONST System::Int8 CEF_MRCR_REDUNDANT_REQUEST = System::Int8(0xc); +static _DELPHI_CONST System::Int8 CEF_MRCR_USER_NOT_ALLOWED = System::Int8(0xd); +static _DELPHI_CONST System::Int8 CEF_MRCR_NOTIFICATION_DISABLED = System::Int8(0xe); +static _DELPHI_CONST System::Int8 CEF_MRCR_NUM_VALUES = System::Int8(0xf); +static _DELPHI_CONST System::Int8 CEF_MRCS_UNKNOWN = System::Int8(-1); +static _DELPHI_CONST System::Int8 CEF_MRCS_CONNECTING = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_MRCS_CONNECTED = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_MRCS_CLOSED = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CEF_MRCS_TERMINATED = System::Int8(0x3); +static _DELPHI_CONST System::Int8 CEF_MRCS_NUM_VALUES = System::Int8(0x4); +static _DELPHI_CONST System::Int8 CEF_COOKIE_PRIORITY_LOW = System::Int8(-1); +static _DELPHI_CONST System::Int8 CEF_COOKIE_PRIORITY_MEDIUM = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_COOKIE_PRIORITY_HIGH = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_TFC_UNKNOWN = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_TFC_CUT = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_TFC_COPY = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CEF_TFC_PASTE = System::Int8(0x3); +static _DELPHI_CONST System::Int8 CEF_TFC_SELECT_ALL = System::Int8(0x4); +static _DELPHI_CONST System::Int8 CEF_TFC_SELECT_WORD = System::Int8(0x5); +static _DELPHI_CONST System::Int8 CEF_TFC_UNDO = System::Int8(0x6); +static _DELPHI_CONST System::Int8 CEF_TFC_DELETE = System::Int8(0x7); +static _DELPHI_CONST System::Int8 CEF_TFC_NUM_VALUES = System::Int8(0x8); +static _DELPHI_CONST System::Int8 CEF_CTT_UNKNOWN = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_CTT_NONE = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_CTT_NORMAL = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CEF_CTT_LOCATION = System::Int8(0x3); +static _DELPHI_CONST System::Int8 CEF_CTT_NUM_VALUES = System::Int8(0x4); +static _DELPHI_CONST System::Int8 CEF_DOCKING_MODE_TOP_LEFT = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_DOCKING_MODE_TOP_RIGHT = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_DOCKING_MODE_BOTTOM_LEFT = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CEF_DOCKING_MODE_BOTTOM_RIGHT = System::Int8(0x3); +static _DELPHI_CONST System::Int8 CEF_DOCKING_MODE_CUSTOM = System::Int8(0x4); +static _DELPHI_CONST System::Int8 CEF_DOCKING_MODE_NUM_VALUES = System::Int8(0x5); +static _DELPHI_CONST System::Int8 CEF_SHOW_STATE_NORMAL = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_SHOW_STATE_MINIMIZED = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_SHOW_STATE_MAXIMIZED = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CEF_SHOW_STATE_FULLSCREEN = System::Int8(0x3); +static _DELPHI_CONST System::Int8 CEF_SHOW_STATE_HIDDEN = System::Int8(0x4); +static _DELPHI_CONST System::Int8 CEF_SHOW_STATE_NUM_VALUES = System::Int8(0x5); +static _DELPHI_CONST System::Int8 QM_EDITFLAG_NONE = System::Int8(0x0); +static _DELPHI_CONST System::Int8 QM_EDITFLAG_CAN_ELLIPSIS = System::Int8(0x1); +static _DELPHI_CONST System::Int8 QM_EDITFLAG_CAN_CUT = System::Int8(0x2); +static _DELPHI_CONST System::Int8 QM_EDITFLAG_CAN_COPY = System::Int8(0x4); +static _DELPHI_CONST System::Int8 QM_EDITFLAG_CAN_PASTE = System::Int8(0x8); +static _DELPHI_CONST System::Int8 CEF_THS_FLAG_NONE = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_THS_FLAG_ENABLED = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_THS_FLAG_ORIENTATION = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CEF_THS_FLAG_ORIGIN = System::Int8(0x4); +static _DELPHI_CONST System::Int8 CEF_THS_FLAG_ALPHA = System::Int8(0x8); +static _DELPHI_CONST System::Int8 CEF_MEDIA_PERMISSION_NONE = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_MEDIA_PERMISSION_DEVICE_AUDIO_CAPTURE = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_MEDIA_PERMISSION_DEVICE_VIDEO_CAPTURE = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CEF_MEDIA_PERMISSION_DESKTOP_AUDIO_CAPTURE = System::Int8(0x4); +static _DELPHI_CONST System::Int8 CEF_MEDIA_PERMISSION_DESKTOP_VIDEO_CAPTURE = System::Int8(0x8); +static _DELPHI_CONST System::Int8 CEF_PERMISSION_TYPE_NONE = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_PERMISSION_TYPE_AR_SESSION = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_PERMISSION_TYPE_CAMERA_PAN_TILT_ZOOM = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CEF_PERMISSION_TYPE_CAMERA_STREAM = System::Int8(0x4); +static _DELPHI_CONST System::Int8 CEF_PERMISSION_TYPE_CAPTURED_SURFACE_CONTROL = System::Int8(0x8); +static _DELPHI_CONST System::Int8 CEF_PERMISSION_TYPE_CLIPBOARD = System::Int8(0x10); +static _DELPHI_CONST System::Int8 CEF_PERMISSION_TYPE_TOP_LEVEL_STORAGE_ACCESS = System::Int8(0x20); +static _DELPHI_CONST System::Int8 CEF_PERMISSION_TYPE_DISK_QUOTA = System::Int8(0x40); +static _DELPHI_CONST System::Byte CEF_PERMISSION_TYPE_LOCAL_FONTS = System::Byte(0x80); +static _DELPHI_CONST System::Word CEF_PERMISSION_TYPE_GEOLOCATION = System::Word(0x100); +static _DELPHI_CONST System::Word CEF_PERMISSION_TYPE_HAND_TRACKING = System::Word(0x200); +static _DELPHI_CONST System::Word CEF_PERMISSION_TYPE_IDENTITY_PROVIDER = System::Word(0x400); +static _DELPHI_CONST System::Word CEF_PERMISSION_TYPE_IDLE_DETECTION = System::Word(0x800); +static _DELPHI_CONST System::Word CEF_PERMISSION_TYPE_MIC_STREAM = System::Word(0x1000); +static _DELPHI_CONST System::Word CEF_PERMISSION_TYPE_MIDI_SYSEX = System::Word(0x2000); +static _DELPHI_CONST System::Word CEF_PERMISSION_TYPE_MULTIPLE_DOWNLOADS = System::Word(0x4000); +static _DELPHI_CONST System::Word CEF_PERMISSION_TYPE_NOTIFICATIONS = System::Word(0x8000); +static _DELPHI_CONST int CEF_PERMISSION_TYPE_KEYBOARD_LOCK = int(0x10000); +static _DELPHI_CONST int CEF_PERMISSION_TYPE_POINTER_LOCK = int(0x20000); +static _DELPHI_CONST int CEF_PERMISSION_TYPE_PROTECTED_MEDIA_IDENTIFIER = int(0x40000); +static _DELPHI_CONST int CEF_PERMISSION_TYPE_REGISTER_PROTOCOL_HANDLER = int(0x80000); +static _DELPHI_CONST int CEF_PERMISSION_TYPE_STORAGE_ACCESS = int(0x100000); +static _DELPHI_CONST int CEF_PERMISSION_TYPE_VR_SESSION = int(0x200000); +static _DELPHI_CONST int CEF_PERMISSION_TYPE_WEB_APP_INSTALLATION = int(0x400000); +static _DELPHI_CONST int CEF_PERMISSION_TYPE_WINDOW_MANAGEMENT = int(0x800000); +static _DELPHI_CONST int CEF_PERMISSION_TYPE_FILE_SYSTEM_ACCESS = int(0x1000000); +static _DELPHI_CONST int CEF_PERMISSION_TYPE_LOCAL_NETWORK_ACCESS = int(0x2000000); +static _DELPHI_CONST System::Int8 CEF_API_HASH_PLATFORM = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_API_HASH_UNIVERSAL = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_COMMIT_HASH = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_NONE = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_FILE_FAILED = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_FILE_ACCESS_DENIED = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_FILE_NO_SPACE = System::Int8(0x3); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_FILE_NAME_TOO_LONG = System::Int8(0x5); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_FILE_TOO_LARGE = System::Int8(0x6); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_FILE_VIRUS_INFECTED = System::Int8(0x7); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_FILE_TRANSIENT_ERROR = System::Int8(0xa); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_FILE_BLOCKED = System::Int8(0xb); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_FILE_SECURITY_CHECK_FAILED = System::Int8(0xc); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_FILE_TOO_SHORT = System::Int8(0xd); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_FILE_HASH_MISMATCH = System::Int8(0xe); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_FILE_SAME_AS_SOURCE = System::Int8(0xf); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_NETWORK_FAILED = System::Int8(0x14); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_NETWORK_TIMEOUT = System::Int8(0x15); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_NETWORK_DISCONNECTED = System::Int8(0x16); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_NETWORK_SERVER_DOWN = System::Int8(0x17); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_NETWORK_INVALID_REQUEST = System::Int8(0x18); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_SERVER_FAILED = System::Int8(0x1e); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_SERVER_NO_RANGE = System::Int8(0x1f); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_SERVER_BAD_CONTENT = System::Int8(0x21); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_SERVER_UNAUTHORIZED = System::Int8(0x22); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_SERVER_CERT_PROBLEM = System::Int8(0x23); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_SERVER_FORBIDDEN = System::Int8(0x24); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_SERVER_UNREACHABLE = System::Int8(0x25); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_SERVER_CONTENT_LENGTH_MISMATCH = System::Int8(0x26); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_SERVER_CROSS_ORIGIN_REDIRECT = System::Int8(0x27); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_USER_CANCELED = System::Int8(0x28); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_USER_SHUTDOWN = System::Int8(0x29); +static _DELPHI_CONST System::Int8 CEF_DOWNLOAD_INTERRUPT_REASON_CRASH = System::Int8(0x32); +static _DELPHI_CONST System::Int8 LOG_ITEMS_DEFAULT = System::Int8(0x0); +static _DELPHI_CONST System::Int8 LOG_ITEMS_NONE = System::Int8(0x1); +static _DELPHI_CONST System::Int8 LOG_ITEMS_FLAG_PROCESS_ID = System::Int8(0x2); +static _DELPHI_CONST System::Int8 LOG_ITEMS_FLAG_THREAD_ID = System::Int8(0x4); +static _DELPHI_CONST System::Int8 LOG_ITEMS_FLAG_TIME_STAMP = System::Int8(0x8); +static _DELPHI_CONST System::Int8 LOG_ITEMS_FLAG_TICK_COUNT = System::Int8(0x10); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_NORMAL_EXIT = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_KILLED = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_HUNG = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_KILLED_BAD_MESSAGE = System::Int8(0x3); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_GPU_DEAD_ON_ARRIVAL = System::Int8(0x4); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_CHROME_FIRST = System::Int8(0x5); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_INVALID_CMDLINE_URL = System::Int8(0x5); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_BAD_PROCESS_TYPE = System::Int8(0x6); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_MISSING_DATA = System::Int8(0x7); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_SHELL_INTEGRATION_FAILED = System::Int8(0x8); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_MACHINE_LEVEL_INSTALL_EXISTS = System::Int8(0x9); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_UNINSTALL_CHROME_ALIVE = System::Int8(0xa); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_UNINSTALL_USER_CANCEL = System::Int8(0xb); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_UNINSTALL_DELETE_PROFILE = System::Int8(0xc); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_UNSUPPORTED_PARAM = System::Int8(0xd); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_IMPORTER_HUNG = System::Int8(0xe); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_RESPAWN_FAILED = System::Int8(0xf); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_NORMAL_EXIT_EXP1 = System::Int8(0x10); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_NORMAL_EXIT_EXP2 = System::Int8(0x11); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_NORMAL_EXIT_EXP3 = System::Int8(0x12); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_NORMAL_EXIT_EXP4 = System::Int8(0x13); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_NORMAL_EXIT_CANCEL = System::Int8(0x14); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_PROFILE_IN_USE = System::Int8(0x15); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_PACK_EXTENSION_ERROR = System::Int8(0x16); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_UNINSTALL_EXTENSION_ERROR = System::Int8(0x17); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_NORMAL_EXIT_PROCESS_NOTIFIED = System::Int8(0x18); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_NOTUSED_1 = System::Int8(0x19); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_INSTALL_FROM_WEBSTORE_ERROR_2 = System::Int8(0x1a); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_NOTUSED_2 = System::Int8(0x1b); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_EULA_REFUSED = System::Int8(0x1c); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_SXS_MIGRATION_FAILED_NOT_USED = System::Int8(0x1d); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_ACTION_DISALLOWED_BY_POLICY = System::Int8(0x1e); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_INVALID_SANDBOX_STATE = System::Int8(0x1f); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_CLOUD_POLICY_ENROLLMENT_FAILED = System::Int8(0x20); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_DOWNGRADE_AND_RELAUNCH = System::Int8(0x21); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_GPU_EXIT_ON_CONTEXT_LOST = System::Int8(0x22); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_NORMAL_EXIT_UPGRADE_RELAUNCHED = System::Int8(0x23); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_NORMAL_EXIT_PACK_EXTENSION_SUCCESS = System::Int8(0x24); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_SYSTEM_RESOURCE_EXHAUSTED = System::Int8(0x25); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_NORMAL_EXIT_AUTO_DE_ELEVATED = System::Int8(0x26); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_TERMINATED_BY_OTHER_PROCESS_ON_COMMIT_FAILURE = System::Int8(0x27); +static _DELPHI_CONST System::Int8 CEF_RESULT_CODE_CHROME_LAST = System::Int8(0x28); +static _DELPHI_CONST System::Word CEF_RESULT_CODE_SANDBOX_FATAL_FIRST = System::Word(0x1b5e); +static _DELPHI_CONST System::Word CEF_RESULT_CODE_SANDBOX_FATAL_INTEGRITY = System::Word(0x1b5e); +static _DELPHI_CONST System::Word CEF_RESULT_CODE_SANDBOX_FATAL_DROPTOKEN = System::Word(0x1b5f); +static _DELPHI_CONST System::Word CEF_RESULT_CODE_SANDBOX_FATAL_FLUSHANDLES = System::Word(0x1b60); +static _DELPHI_CONST System::Word CEF_RESULT_CODE_SANDBOX_FATAL_CACHEDISABLE = System::Word(0x1b61); +static _DELPHI_CONST System::Word CEF_RESULT_CODE_SANDBOX_FATAL_CLOSEHANDLES = System::Word(0x1b62); +static _DELPHI_CONST System::Word CEF_RESULT_CODE_SANDBOX_FATAL_MITIGATION = System::Word(0x1b63); +static _DELPHI_CONST System::Word CEF_RESULT_CODE_SANDBOX_FATAL_MEMORY_EXCEEDED = System::Word(0x1b64); +static _DELPHI_CONST System::Word CEF_RESULT_CODE_SANDBOX_FATAL_WARMUP = System::Word(0x1b65); +static _DELPHI_CONST System::Word CEF_RESULT_CODE_SANDBOX_FATAL_BROKER_SHUTDOWN_HUNG = System::Word(0x1b66); +static _DELPHI_CONST System::Word CEF_RESULT_CODE_SANDBOX_FATAL_LAST = System::Word(0x1b67); +static _DELPHI_CONST System::Word CEF_RESULT_CODE_NUM_VALUES = System::Word(0x1b68); +#define ABOUTBLANK_URI L"about:blank" +#define DEVTOOLS_WINDOWNAME L"DevTools" +static _DELPHI_CONST System::Int8 CEF_PROXYTYPE_DIRECT = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_PROXYTYPE_AUTODETECT = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_PROXYTYPE_SYSTEM = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CEF_PROXYTYPE_FIXED_SERVERS = System::Int8(0x3); +static _DELPHI_CONST System::Int8 CEF_PROXYTYPE_PAC_SCRIPT = System::Int8(0x4); +static _DELPHI_CONST System::Int8 CEF_LOG_SEVERITY_VERBOSE = System::Int8(-1); +static _DELPHI_CONST System::Int8 CEF_LOG_SEVERITY_INFO = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_LOG_SEVERITY_WARNING = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_LOG_SEVERITY_ERROR = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CEF_LOG_SEVERITY_FATAL = System::Int8(0x3); +static _DELPHI_CONST System::Int8 CEF_MAX_CONNECTIONS_PER_PROXY_DEFAULT_VALUE = System::Int8(0x20); +static _DELPHI_CONST System::Int8 CEF_MAX_CONNECTIONS_PER_PROXY_MIN_VALUE = System::Int8(0x7); +static _DELPHI_CONST System::Int8 CEF_MAX_CONNECTIONS_PER_PROXY_MAX_VALUE = System::Int8(0x63); +static _DELPHI_CONST System::Int8 CEF_COOKIE_PREF_DEFAULT = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_COOKIE_PREF_ALLOW = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_COOKIE_PREF_BLOCK = System::Int8(0x2); +static _DELPHI_CONST System::Word CEF_DEFAULT_ENABLEFOCUSDELAY = System::Word(0x1f4); +static _DELPHI_CONST System::Int8 YOUTUBE_RESTRICT_OFF = System::Int8(0x0); +static _DELPHI_CONST System::Int8 YOUTUBE_RESTRICT_MODERATE = System::Int8(0x1); +static _DELPHI_CONST System::Int8 YOUTUBE_RESTRICT_STRICT = System::Int8(0x2); +static _DELPHI_CONST System::Int8 ZOOM_STEP_25 = System::Int8(0x0); +static _DELPHI_CONST System::Int8 ZOOM_STEP_33 = System::Int8(0x1); +static _DELPHI_CONST System::Int8 ZOOM_STEP_50 = System::Int8(0x2); +static _DELPHI_CONST System::Int8 ZOOM_STEP_67 = System::Int8(0x3); +static _DELPHI_CONST System::Int8 ZOOM_STEP_75 = System::Int8(0x4); +static _DELPHI_CONST System::Int8 ZOOM_STEP_90 = System::Int8(0x5); +static _DELPHI_CONST System::Int8 ZOOM_STEP_100 = System::Int8(0x6); +static _DELPHI_CONST System::Int8 ZOOM_STEP_110 = System::Int8(0x7); +static _DELPHI_CONST System::Int8 ZOOM_STEP_125 = System::Int8(0x8); +static _DELPHI_CONST System::Int8 ZOOM_STEP_150 = System::Int8(0x9); +static _DELPHI_CONST System::Int8 ZOOM_STEP_175 = System::Int8(0xa); +static _DELPHI_CONST System::Int8 ZOOM_STEP_200 = System::Int8(0xb); +static _DELPHI_CONST System::Int8 ZOOM_STEP_250 = System::Int8(0xc); +static _DELPHI_CONST System::Int8 ZOOM_STEP_300 = System::Int8(0xd); +static _DELPHI_CONST System::Int8 ZOOM_STEP_400 = System::Int8(0xe); +static _DELPHI_CONST System::Int8 ZOOM_STEP_500 = System::Int8(0xf); +static _DELPHI_CONST System::Int8 ZOOM_STEP_UNK = System::Int8(0x10); +static _DELPHI_CONST System::Int8 ZOOM_STEP_MIN = System::Int8(0x0); +static _DELPHI_CONST System::Int8 ZOOM_STEP_MAX = System::Int8(0xf); +static _DELPHI_CONST System::Int8 ZOOM_STEP_DEF = System::Int8(0x6); +static _DELPHI_CONST System::Int8 ZOOM_PCT_DELTA = System::Int8(0x5); +extern DELPHI_PACKAGE System::StaticArray ZoomStepValues; +static _DELPHI_CONST System::Word CEF_PREFERENCES_SAVED = System::Word(0x8a00); +static _DELPHI_CONST System::Word CEF_DOONCLOSE = System::Word(0x8a01); +static _DELPHI_CONST System::Word CEF_STARTDRAGGING = System::Word(0x8a02); +static _DELPHI_CONST System::Word CEF_AFTERCREATED = System::Word(0x8a03); +static _DELPHI_CONST System::Word CEF_PENDINGRESIZE = System::Word(0x8a04); +static _DELPHI_CONST System::Word CEF_PUMPHAVEWORK = System::Word(0x8a05); +static _DELPHI_CONST System::Word CEF_DESTROY = System::Word(0x8a06); +static _DELPHI_CONST System::Word CEF_DOONBEFORECLOSE = System::Word(0x8a07); +static _DELPHI_CONST System::Word CEF_PENDINGINVALIDATE = System::Word(0x8a08); +static _DELPHI_CONST System::Word CEF_IMERANGECHANGED = System::Word(0x8a09); +static _DELPHI_CONST System::Word CEF_SENTINEL_START = System::Word(0x8a0a); +static _DELPHI_CONST System::Word CEF_SENTINEL_DOCLOSE = System::Word(0x8a0b); +static _DELPHI_CONST System::Word CEF_BEFORECLOSE = System::Word(0x8a0c); +static _DELPHI_CONST System::Word CEF_INVALIDATE = System::Word(0x8a0d); +static _DELPHI_CONST System::Word CEF_FOCUSENABLED = System::Word(0x8a0e); +static _DELPHI_CONST System::Int8 CEF_OSR_FRAMERATE_DEFAULT = System::Int8(0x1e); +static _DELPHI_CONST System::Int8 CEF_OSR_SHARED_TEXTURES_FRAMERATE_DEFAULT = System::Int8(0x3c); +static _DELPHI_CONST System::Int8 CEF_TIMER_MINIMUM = System::Int8(0xa); +static _DELPHI_CONST int CEF_TIMER_MAXIMUM = int(0x7fffffff); +static _DELPHI_CONST System::Int8 CEF_TIMER_MAXDELAY = System::Int8(0x21); +static _DELPHI_CONST System::Int8 CEF_TIMER_DEPLETEWORK_CYCLES = System::Int8(0xa); +static _DELPHI_CONST System::Int8 CEF_TIMER_DEPLETEWORK_DELAY = System::Int8(0x32); +#define CEF4DELPHI_URL L"https://github.com/salvadordf/CEF4Delphi" +#define CRLF L"\r\n" +#define CEF_URLS_URL L"chrome://chrome-urls" +#define CEF_VERSION_URL L"chrome://version" +#define CEF_FLAGS_URL L"chrome://flags" +#define CEF_SETTINGS_URL L"chrome://settings" +#define CEF_DOWNLOADS_URL L"chrome://downloads" +#define CEF_EXTENSIONS_URL L"chrome://extensions" +#define CEF_INSPECT_URL L"chrome://inspect" +#define CEF_GPU_URL L"chrome://gpu" +#define CEF_PREFS_URL L"chrome://prefs-internals" +#define CEF_CERTMANAGER_URL L"chrome://certificate-manager" +#define CEF_MEMORY_URL L"chrome://memory-internals" +static _DELPHI_CONST System::Word CEF_IMAGE_FILE_MACHINE_I386 = System::Word(0x14c); +static _DELPHI_CONST System::Word CEF_IMAGE_FILE_MACHINE_AMD64 = System::Word(0x8664); +//static _DELPHI_CONST System::Int8 USER_DEFAULT_SCREEN_DPI = System::Int8(0x60); +static _DELPHI_CONST System::Int8 CEF_MOUSETOUCH_EVENT_MODIFIERS_NONE = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_MOUSETOUCH_EVENT_MODIFIERS_ALT = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_MOUSETOUCH_EVENT_MODIFIERS_CTRL = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CEF_MOUSETOUCH_EVENT_MODIFIERS_METACMD = System::Int8(0x4); +static _DELPHI_CONST System::Int8 CEF_MOUSETOUCH_EVENT_MODIFIERS_SHIFT = System::Int8(0x8); +static _DELPHI_CONST System::Int8 CEF_PRESSED_MOUSE_BUTTONS_NONE = System::Int8(0x0); +static _DELPHI_CONST System::Int8 CEF_PRESSED_MOUSE_BUTTONS_LEFT = System::Int8(0x1); +static _DELPHI_CONST System::Int8 CEF_PRESSED_MOUSE_BUTTONS_RIGHT = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CEF_PRESSED_MOUSE_BUTTONS_MIDDLE = System::Int8(0x4); +static _DELPHI_CONST System::Int8 CEF_PRESSED_MOUSE_BUTTONS_BACK = System::Int8(0x8); +static _DELPHI_CONST System::Int8 CEF_PRESSED_MOUSE_BUTTONS_FORWARD = System::Int8(0x10); +static _DELPHI_CONST System::Word CHROMIUM_NONBROWSERSHUTDOWNPRIORITY = System::Word(0x280); +static _DELPHI_CONST int CEF_ONEDAYINMILLISECONDS = int(0x5265c00); +} /* namespace Ucefconstants */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFCONSTANTS) +using namespace Ucefconstants; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFConstantsHPP diff --git a/CEF4Delphi/win32/hpps/uCEFContextMenuHandler.hpp b/CEF4Delphi/win32/hpps/uCEFContextMenuHandler.hpp new file mode 100644 index 0000000..f5bf66e --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFContextMenuHandler.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFContextMenuParams.hpp b/CEF4Delphi/win32/hpps/uCEFContextMenuParams.hpp new file mode 100644 index 0000000..cf8b267 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFContextMenuParams.hpp @@ -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 +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFCookieAccessFilter.hpp b/CEF4Delphi/win32/hpps/uCEFCookieAccessFilter.hpp new file mode 100644 index 0000000..8d944b8 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFCookieAccessFilter.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFCookieManager.hpp b/CEF4Delphi/win32/hpps/uCEFCookieManager.hpp new file mode 100644 index 0000000..6857e4a --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFCookieManager.hpp @@ -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 +#include +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFCookieVisitor.hpp b/CEF4Delphi/win32/hpps/uCEFCookieVisitor.hpp new file mode 100644 index 0000000..9cdc165 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFCookieVisitor.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFCustomStreamReader.hpp b/CEF4Delphi/win32/hpps/uCEFCustomStreamReader.hpp new file mode 100644 index 0000000..1079379 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFCustomStreamReader.hpp @@ -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 +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFDeleteCookiesCallback.hpp b/CEF4Delphi/win32/hpps/uCEFDeleteCookiesCallback.hpp new file mode 100644 index 0000000..ca4c8e5 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFDeleteCookiesCallback.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFDevToolsMessageObserver.hpp b/CEF4Delphi/win32/hpps/uCEFDevToolsMessageObserver.hpp new file mode 100644 index 0000000..f47cad1 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFDevToolsMessageObserver.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFDialogHandler.hpp b/CEF4Delphi/win32/hpps/uCEFDialogHandler.hpp new file mode 100644 index 0000000..4bbfc9b --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFDialogHandler.hpp @@ -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 +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFDictionaryValue.hpp b/CEF4Delphi/win32/hpps/uCEFDictionaryValue.hpp new file mode 100644 index 0000000..36dc1b1 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFDictionaryValue.hpp @@ -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 +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFDisplay.hpp b/CEF4Delphi/win32/hpps/uCEFDisplay.hpp new file mode 100644 index 0000000..28876c8 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFDisplay.hpp @@ -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 +#include +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFDisplayHandler.hpp b/CEF4Delphi/win32/hpps/uCEFDisplayHandler.hpp new file mode 100644 index 0000000..4ca737c --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFDisplayHandler.hpp @@ -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 +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFDomDocument.hpp b/CEF4Delphi/win32/hpps/uCEFDomDocument.hpp new file mode 100644 index 0000000..8605540 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFDomDocument.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFDomNode.hpp b/CEF4Delphi/win32/hpps/uCEFDomNode.hpp new file mode 100644 index 0000000..9312162 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFDomNode.hpp @@ -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 +#include +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFDomVisitor.hpp b/CEF4Delphi/win32/hpps/uCEFDomVisitor.hpp new file mode 100644 index 0000000..8820807 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFDomVisitor.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFDownLoadItem.hpp b/CEF4Delphi/win32/hpps/uCEFDownLoadItem.hpp new file mode 100644 index 0000000..526cc75 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFDownLoadItem.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFDownloadHandler.hpp b/CEF4Delphi/win32/hpps/uCEFDownloadHandler.hpp new file mode 100644 index 0000000..01794d9 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFDownloadHandler.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFDownloadImageCallBack.hpp b/CEF4Delphi/win32/hpps/uCEFDownloadImageCallBack.hpp new file mode 100644 index 0000000..c50350b --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFDownloadImageCallBack.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFDownloadItemCallback.hpp b/CEF4Delphi/win32/hpps/uCEFDownloadItemCallback.hpp new file mode 100644 index 0000000..2684ed2 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFDownloadItemCallback.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFDragAndDropMgr.hpp b/CEF4Delphi/win32/hpps/uCEFDragAndDropMgr.hpp new file mode 100644 index 0000000..352c3b3 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFDragAndDropMgr.hpp @@ -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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFDragData.hpp b/CEF4Delphi/win32/hpps/uCEFDragData.hpp new file mode 100644 index 0000000..10d4edb --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFDragData.hpp @@ -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 +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFDragHandler.hpp b/CEF4Delphi/win32/hpps/uCEFDragHandler.hpp new file mode 100644 index 0000000..8bea36f --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFDragHandler.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFEndTracingCallback.hpp b/CEF4Delphi/win32/hpps/uCEFEndTracingCallback.hpp new file mode 100644 index 0000000..efe7b73 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFEndTracingCallback.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFFileDialogCallback.hpp b/CEF4Delphi/win32/hpps/uCEFFileDialogCallback.hpp new file mode 100644 index 0000000..2be181a --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFFileDialogCallback.hpp @@ -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 +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFFileDialogInfo.hpp b/CEF4Delphi/win32/hpps/uCEFFileDialogInfo.hpp new file mode 100644 index 0000000..f4d34b3 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFFileDialogInfo.hpp @@ -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 +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFFillLayout.hpp b/CEF4Delphi/win32/hpps/uCEFFillLayout.hpp new file mode 100644 index 0000000..867d349 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFFillLayout.hpp @@ -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 +#include +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFFindHandler.hpp b/CEF4Delphi/win32/hpps/uCEFFindHandler.hpp new file mode 100644 index 0000000..a63ee84 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFFindHandler.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFFocusHandler.hpp b/CEF4Delphi/win32/hpps/uCEFFocusHandler.hpp new file mode 100644 index 0000000..a67234d --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFFocusHandler.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFFrame.hpp b/CEF4Delphi/win32/hpps/uCEFFrame.hpp new file mode 100644 index 0000000..bb05caa --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFFrame.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFFrameHandler.hpp b/CEF4Delphi/win32/hpps/uCEFFrameHandler.hpp new file mode 100644 index 0000000..d8f4517 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFFrameHandler.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFImage.hpp b/CEF4Delphi/win32/hpps/uCEFImage.hpp new file mode 100644 index 0000000..260f3b4 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFImage.hpp @@ -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 +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFInterfaces.hpp b/CEF4Delphi/win32/hpps/uCEFInterfaces.hpp new file mode 100644 index 0000000..bc14093 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFInterfaces.hpp @@ -0,0 +1,3073 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFInterfaces.pas' rev: 37.00 (Windows) + +#ifndef uCEFInterfacesHPP +#define uCEFInterfacesHPP + +#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 +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefinterfaces +{ +//-- forward type declarations ----------------------------------------------- +struct TCefMediaSinkInfo; +struct TCefMediaRouteInfo; +struct TCefMediaSourceInfo; +__interface DELPHIINTERFACE TCefEndTracingCallbackProc; +typedef System::DelphiInterface _di_TCefEndTracingCallbackProc; +__interface DELPHIINTERFACE TCefFastTaskProc; +typedef System::DelphiInterface _di_TCefFastTaskProc; +__interface DELPHIINTERFACE TCefv8ArrayBufferReleaseCallbackProc; +typedef System::DelphiInterface _di_TCefv8ArrayBufferReleaseCallbackProc; +__interface DELPHIINTERFACE TCefWebPluginIsUnstableProc; +typedef System::DelphiInterface _di_TCefWebPluginIsUnstableProc; +__interface DELPHIINTERFACE TCefV8AccessorGetterProc; +typedef System::DelphiInterface _di_TCefV8AccessorGetterProc; +__interface DELPHIINTERFACE TCefV8AccessorSetterProc; +typedef System::DelphiInterface _di_TCefV8AccessorSetterProc; +__interface DELPHIINTERFACE TCefV8InterceptorGetterByNameProc; +typedef System::DelphiInterface _di_TCefV8InterceptorGetterByNameProc; +__interface DELPHIINTERFACE TCefV8InterceptorSetterByNameProc; +typedef System::DelphiInterface _di_TCefV8InterceptorSetterByNameProc; +__interface DELPHIINTERFACE TCefV8InterceptorGetterByIndexProc; +typedef System::DelphiInterface _di_TCefV8InterceptorGetterByIndexProc; +__interface DELPHIINTERFACE TCefV8InterceptorSetterByIndexProc; +typedef System::DelphiInterface _di_TCefV8InterceptorSetterByIndexProc; +__interface DELPHIINTERFACE TOnPdfPrintFinishedProc; +typedef System::DelphiInterface _di_TOnPdfPrintFinishedProc; +__interface DELPHIINTERFACE TCefDomVisitorProc; +typedef System::DelphiInterface _di_TCefDomVisitorProc; +__interface DELPHIINTERFACE TCefDomVisitorProc2; +typedef System::DelphiInterface _di_TCefDomVisitorProc2; +__interface DELPHIINTERFACE TCefDomVisitorProc3; +typedef System::DelphiInterface _di_TCefDomVisitorProc3; +__interface DELPHIINTERFACE TCefStringVisitorProc; +typedef System::DelphiInterface _di_TCefStringVisitorProc; +__interface DELPHIINTERFACE TCefRunFileDialogCallbackProc; +typedef System::DelphiInterface _di_TCefRunFileDialogCallbackProc; +__interface DELPHIINTERFACE TCefCompletionCallbackProc; +typedef System::DelphiInterface _di_TCefCompletionCallbackProc; +__interface DELPHIINTERFACE TCefSetCookieCallbackProc; +typedef System::DelphiInterface _di_TCefSetCookieCallbackProc; +__interface DELPHIINTERFACE TCefDeleteCookiesCallbackProc; +typedef System::DelphiInterface _di_TCefDeleteCookiesCallbackProc; +__interface DELPHIINTERFACE TCefNavigationEntryVisitorProc; +typedef System::DelphiInterface _di_TCefNavigationEntryVisitorProc; +__interface DELPHIINTERFACE TOnDownloadImageFinishedProc; +typedef System::DelphiInterface _di_TOnDownloadImageFinishedProc; +__interface DELPHIINTERFACE TCefCookieVisitorProc; +typedef System::DelphiInterface _di_TCefCookieVisitorProc; +__interface DELPHIINTERFACE TCefMediaRouteCreateCallbackProc; +typedef System::DelphiInterface _di_TCefMediaRouteCreateCallbackProc; +__interface DELPHIINTERFACE TCefMediaSinkDeviceInfoCallbackProc; +typedef System::DelphiInterface _di_TCefMediaSinkDeviceInfoCallbackProc; +__interface DELPHIINTERFACE ICefStringList; +typedef System::DelphiInterface _di_ICefStringList; +__interface DELPHIINTERFACE ICefStringMap; +typedef System::DelphiInterface _di_ICefStringMap; +__interface DELPHIINTERFACE ICefStringMultimap; +typedef System::DelphiInterface _di_ICefStringMultimap; +__interface DELPHIINTERFACE IApplicationCoreEvents; +typedef System::DelphiInterface _di_IApplicationCoreEvents; +__interface DELPHIINTERFACE IChromiumEvents; +typedef System::DelphiInterface _di_IChromiumEvents; +__interface DELPHIINTERFACE IServerEvents; +typedef System::DelphiInterface _di_IServerEvents; +__interface DELPHIINTERFACE ICEFUrlRequestClientEvents; +typedef System::DelphiInterface _di_ICEFUrlRequestClientEvents; +__interface DELPHIINTERFACE ICefViewDelegateEvents; +typedef System::DelphiInterface _di_ICefViewDelegateEvents; +__interface DELPHIINTERFACE ICefTextfieldDelegateEvents; +typedef System::DelphiInterface _di_ICefTextfieldDelegateEvents; +__interface DELPHIINTERFACE ICefBrowserViewDelegateEvents; +typedef System::DelphiInterface _di_ICefBrowserViewDelegateEvents; +__interface DELPHIINTERFACE ICefButtonDelegateEvents; +typedef System::DelphiInterface _di_ICefButtonDelegateEvents; +__interface DELPHIINTERFACE ICefMenuButtonDelegateEvents; +typedef System::DelphiInterface _di_ICefMenuButtonDelegateEvents; +__interface DELPHIINTERFACE ICefPanelDelegateEvents; +typedef System::DelphiInterface _di_ICefPanelDelegateEvents; +__interface DELPHIINTERFACE ICefWindowDelegateEvents; +typedef System::DelphiInterface _di_ICefWindowDelegateEvents; +__interface DELPHIINTERFACE ICefBaseRefCounted; +typedef System::DelphiInterface _di_ICefBaseRefCounted; +__interface DELPHIINTERFACE ICefCustomUserData; +typedef System::DelphiInterface _di_ICefCustomUserData; +__interface DELPHIINTERFACE ICefRunFileDialogCallback; +typedef System::DelphiInterface _di_ICefRunFileDialogCallback; +__interface DELPHIINTERFACE ICefNavigationEntryVisitor; +typedef System::DelphiInterface _di_ICefNavigationEntryVisitor; +__interface DELPHIINTERFACE ICefPdfPrintCallback; +typedef System::DelphiInterface _di_ICefPdfPrintCallback; +__interface DELPHIINTERFACE ICefDownloadImageCallback; +typedef System::DelphiInterface _di_ICefDownloadImageCallback; +__interface DELPHIINTERFACE ICefBrowserHost; +typedef System::DelphiInterface _di_ICefBrowserHost; +__interface DELPHIINTERFACE ICefProcessMessage; +typedef System::DelphiInterface _di_ICefProcessMessage; +__interface DELPHIINTERFACE ICefBrowser; +typedef System::DelphiInterface _di_ICefBrowser; +__interface DELPHIINTERFACE ICefPostDataElement; +typedef System::DelphiInterface _di_ICefPostDataElement; +__interface DELPHIINTERFACE ICefPostData; +typedef System::DelphiInterface _di_ICefPostData; +__interface DELPHIINTERFACE ICefRequest; +typedef System::DelphiInterface _di_ICefRequest; +__interface DELPHIINTERFACE ICefStringVisitor; +typedef System::DelphiInterface _di_ICefStringVisitor; +__interface DELPHIINTERFACE ICefFrame; +typedef System::DelphiInterface _di_ICefFrame; +__interface DELPHIINTERFACE ICefFrameHandler; +typedef System::DelphiInterface _di_ICefFrameHandler; +__interface DELPHIINTERFACE ICefCustomStreamReader; +typedef System::DelphiInterface _di_ICefCustomStreamReader; +__interface DELPHIINTERFACE ICefStreamReader; +typedef System::DelphiInterface _di_ICefStreamReader; +__interface DELPHIINTERFACE ICefReadHandler; +typedef System::DelphiInterface _di_ICefReadHandler; +__interface DELPHIINTERFACE ICefWriteHandler; +typedef System::DelphiInterface _di_ICefWriteHandler; +__interface DELPHIINTERFACE ICefStreamWriter; +typedef System::DelphiInterface _di_ICefStreamWriter; +__interface DELPHIINTERFACE ICefResponse; +typedef System::DelphiInterface _di_ICefResponse; +__interface DELPHIINTERFACE ICefDownloadItem; +typedef System::DelphiInterface _di_ICefDownloadItem; +__interface DELPHIINTERFACE ICefBeforeDownloadCallback; +typedef System::DelphiInterface _di_ICefBeforeDownloadCallback; +__interface DELPHIINTERFACE ICefDownloadItemCallback; +typedef System::DelphiInterface _di_ICefDownloadItemCallback; +__interface DELPHIINTERFACE ICefDownloadHandler; +typedef System::DelphiInterface _di_ICefDownloadHandler; +__interface DELPHIINTERFACE ICefV8Exception; +typedef System::DelphiInterface _di_ICefV8Exception; +__interface DELPHIINTERFACE ICefv8ArrayBufferReleaseCallback; +typedef System::DelphiInterface _di_ICefv8ArrayBufferReleaseCallback; +__interface DELPHIINTERFACE ICefv8Context; +typedef System::DelphiInterface _di_ICefv8Context; +__interface DELPHIINTERFACE ICefv8Handler; +typedef System::DelphiInterface _di_ICefv8Handler; +__interface DELPHIINTERFACE ICefV8Interceptor; +typedef System::DelphiInterface _di_ICefV8Interceptor; +__interface DELPHIINTERFACE ICefV8Accessor; +typedef System::DelphiInterface _di_ICefV8Accessor; +__interface DELPHIINTERFACE ICefTask; +typedef System::DelphiInterface _di_ICefTask; +__interface DELPHIINTERFACE ICefTaskManager; +typedef System::DelphiInterface _di_ICefTaskManager; +__interface DELPHIINTERFACE ICefTaskRunner; +typedef System::DelphiInterface _di_ICefTaskRunner; +__interface DELPHIINTERFACE ICefThread; +typedef System::DelphiInterface _di_ICefThread; +__interface DELPHIINTERFACE ICefWaitableEvent; +typedef System::DelphiInterface _di_ICefWaitableEvent; +__interface DELPHIINTERFACE ICefv8Value; +typedef System::DelphiInterface _di_ICefv8Value; +__interface DELPHIINTERFACE ICefV8StackFrame; +typedef System::DelphiInterface _di_ICefV8StackFrame; +__interface DELPHIINTERFACE ICefV8StackTrace; +typedef System::DelphiInterface _di_ICefV8StackTrace; +__interface DELPHIINTERFACE ICefXmlReader; +typedef System::DelphiInterface _di_ICefXmlReader; +__interface DELPHIINTERFACE ICefZipReader; +typedef System::DelphiInterface _di_ICefZipReader; +__interface DELPHIINTERFACE ICefDomNode; +typedef System::DelphiInterface _di_ICefDomNode; +__interface DELPHIINTERFACE ICefDomDocument; +typedef System::DelphiInterface _di_ICefDomDocument; +__interface DELPHIINTERFACE ICefDomVisitor; +typedef System::DelphiInterface _di_ICefDomVisitor; +__interface DELPHIINTERFACE ICefCookieVisitor; +typedef System::DelphiInterface _di_ICefCookieVisitor; +__interface DELPHIINTERFACE ICefCommandLine; +typedef System::DelphiInterface _di_ICefCommandLine; +__interface DELPHIINTERFACE ICefRegistration; +typedef System::DelphiInterface _di_ICefRegistration; +__interface DELPHIINTERFACE ICefDevToolsMessageObserver; +typedef System::DelphiInterface _di_ICefDevToolsMessageObserver; +__interface DELPHIINTERFACE ICefMediaRouter; +typedef System::DelphiInterface _di_ICefMediaRouter; +__interface DELPHIINTERFACE ICefMediaObserver; +typedef System::DelphiInterface _di_ICefMediaObserver; +__interface DELPHIINTERFACE ICefMediaRoute; +typedef System::DelphiInterface _di_ICefMediaRoute; +__interface DELPHIINTERFACE ICefMediaRouteCreateCallback; +typedef System::DelphiInterface _di_ICefMediaRouteCreateCallback; +__interface DELPHIINTERFACE ICefMediaSinkDeviceInfoCallback; +typedef System::DelphiInterface _di_ICefMediaSinkDeviceInfoCallback; +__interface DELPHIINTERFACE ICefMediaSink; +typedef System::DelphiInterface _di_ICefMediaSink; +__interface DELPHIINTERFACE ICefMediaSource; +typedef System::DelphiInterface _di_ICefMediaSource; +__interface DELPHIINTERFACE ICefResourceBundleHandler; +typedef System::DelphiInterface _di_ICefResourceBundleHandler; +__interface DELPHIINTERFACE ICefBrowserProcessHandler; +typedef System::DelphiInterface _di_ICefBrowserProcessHandler; +__interface DELPHIINTERFACE ICefRenderProcessHandler; +typedef System::DelphiInterface _di_ICefRenderProcessHandler; +__interface DELPHIINTERFACE ICefApp; +typedef System::DelphiInterface _di_ICefApp; +__interface DELPHIINTERFACE ICefCompletionCallback; +typedef System::DelphiInterface _di_ICefCompletionCallback; +__interface DELPHIINTERFACE ICefSetCookieCallback; +typedef System::DelphiInterface _di_ICefSetCookieCallback; +__interface DELPHIINTERFACE ICefDeleteCookiesCallback; +typedef System::DelphiInterface _di_ICefDeleteCookiesCallback; +__interface DELPHIINTERFACE ICefCookieManager; +typedef System::DelphiInterface _di_ICefCookieManager; +__interface DELPHIINTERFACE ICefCallback; +typedef System::DelphiInterface _di_ICefCallback; +__interface DELPHIINTERFACE ICefResourceSkipCallback; +typedef System::DelphiInterface _di_ICefResourceSkipCallback; +__interface DELPHIINTERFACE ICefResourceReadCallback; +typedef System::DelphiInterface _di_ICefResourceReadCallback; +__interface DELPHIINTERFACE ICefResourceHandler; +typedef System::DelphiInterface _di_ICefResourceHandler; +__interface DELPHIINTERFACE ICefSchemeHandlerFactory; +typedef System::DelphiInterface _di_ICefSchemeHandlerFactory; +__interface DELPHIINTERFACE ICefAuthCallback; +typedef System::DelphiInterface _di_ICefAuthCallback; +__interface DELPHIINTERFACE ICefJsDialogCallback; +typedef System::DelphiInterface _di_ICefJsDialogCallback; +__interface DELPHIINTERFACE ICefContextMenuParams; +typedef System::DelphiInterface _di_ICefContextMenuParams; +__interface DELPHIINTERFACE ICefMenuModel; +typedef System::DelphiInterface _di_ICefMenuModel; +__interface DELPHIINTERFACE ICefValue; +typedef System::DelphiInterface _di_ICefValue; +__interface DELPHIINTERFACE ICefBinaryValue; +typedef System::DelphiInterface _di_ICefBinaryValue; +__interface DELPHIINTERFACE ICefDictionaryValue; +typedef System::DelphiInterface _di_ICefDictionaryValue; +__interface DELPHIINTERFACE ICefListValue; +typedef System::DelphiInterface _di_ICefListValue; +__interface DELPHIINTERFACE ICefLifeSpanHandler; +typedef System::DelphiInterface _di_ICefLifeSpanHandler; +__interface DELPHIINTERFACE ICefCommandHandler; +typedef System::DelphiInterface _di_ICefCommandHandler; +__interface DELPHIINTERFACE ICefLoadHandler; +typedef System::DelphiInterface _di_ICefLoadHandler; +__interface DELPHIINTERFACE ICefResponseFilter; +typedef System::DelphiInterface _di_ICefResponseFilter; +__interface DELPHIINTERFACE ICefRequestHandler; +typedef System::DelphiInterface _di_ICefRequestHandler; +__interface DELPHIINTERFACE ICefResourceRequestHandler; +typedef System::DelphiInterface _di_ICefResourceRequestHandler; +__interface DELPHIINTERFACE ICefCookieAccessFilter; +typedef System::DelphiInterface _di_ICefCookieAccessFilter; +__interface DELPHIINTERFACE ICefDisplayHandler; +typedef System::DelphiInterface _di_ICefDisplayHandler; +__interface DELPHIINTERFACE ICefFocusHandler; +typedef System::DelphiInterface _di_ICefFocusHandler; +__interface DELPHIINTERFACE ICefKeyboardHandler; +typedef System::DelphiInterface _di_ICefKeyboardHandler; +__interface DELPHIINTERFACE ICefJsDialogHandler; +typedef System::DelphiInterface _di_ICefJsDialogHandler; +__interface DELPHIINTERFACE ICefAudioHandler; +typedef System::DelphiInterface _di_ICefAudioHandler; +__interface DELPHIINTERFACE ICefRunContextMenuCallback; +typedef System::DelphiInterface _di_ICefRunContextMenuCallback; +__interface DELPHIINTERFACE ICefRunQuickMenuCallback; +typedef System::DelphiInterface _di_ICefRunQuickMenuCallback; +__interface DELPHIINTERFACE ICefContextMenuHandler; +typedef System::DelphiInterface _di_ICefContextMenuHandler; +__interface DELPHIINTERFACE ICefAccessibilityHandler; +typedef System::DelphiInterface _di_ICefAccessibilityHandler; +__interface DELPHIINTERFACE ICefDialogHandler; +typedef System::DelphiInterface _di_ICefDialogHandler; +__interface DELPHIINTERFACE ICefRenderHandler; +typedef System::DelphiInterface _di_ICefRenderHandler; +__interface DELPHIINTERFACE ICefClient; +typedef System::DelphiInterface _di_ICefClient; +__interface DELPHIINTERFACE ICefUrlRequest; +typedef System::DelphiInterface _di_ICefUrlRequest; +__interface DELPHIINTERFACE ICefUrlrequestClient; +typedef System::DelphiInterface _di_ICefUrlrequestClient; +__interface DELPHIINTERFACE ICefEndTracingCallback; +typedef System::DelphiInterface _di_ICefEndTracingCallback; +__interface DELPHIINTERFACE ICefFileDialogCallback; +typedef System::DelphiInterface _di_ICefFileDialogCallback; +__interface DELPHIINTERFACE ICefUnresponsiveProcessCallback; +typedef System::DelphiInterface _di_ICefUnresponsiveProcessCallback; +__interface DELPHIINTERFACE ICefDragData; +typedef System::DelphiInterface _di_ICefDragData; +__interface DELPHIINTERFACE ICefDragHandler; +typedef System::DelphiInterface _di_ICefDragHandler; +__interface DELPHIINTERFACE ICefFindHandler; +typedef System::DelphiInterface _di_ICefFindHandler; +__interface DELPHIINTERFACE ICefRequestContextHandler; +typedef System::DelphiInterface _di_ICefRequestContextHandler; +__interface DELPHIINTERFACE ICefResolveCallback; +typedef System::DelphiInterface _di_ICefResolveCallback; +__interface DELPHIINTERFACE ICefPreferenceObserver; +typedef System::DelphiInterface _di_ICefPreferenceObserver; +__interface DELPHIINTERFACE ICefPreferenceManager; +typedef System::DelphiInterface _di_ICefPreferenceManager; +__interface DELPHIINTERFACE ICefSettingObserver; +typedef System::DelphiInterface _di_ICefSettingObserver; +__interface DELPHIINTERFACE ICefRequestContext; +typedef System::DelphiInterface _di_ICefRequestContext; +__interface DELPHIINTERFACE ICefPrintSettings; +typedef System::DelphiInterface _di_ICefPrintSettings; +__interface DELPHIINTERFACE ICefPrintDialogCallback; +typedef System::DelphiInterface _di_ICefPrintDialogCallback; +__interface DELPHIINTERFACE ICefPrintJobCallback; +typedef System::DelphiInterface _di_ICefPrintJobCallback; +__interface DELPHIINTERFACE ICefPrintHandler; +typedef System::DelphiInterface _di_ICefPrintHandler; +__interface DELPHIINTERFACE ICefNavigationEntry; +typedef System::DelphiInterface _di_ICefNavigationEntry; +__interface DELPHIINTERFACE ICefX509CertPrincipal; +typedef System::DelphiInterface _di_ICefX509CertPrincipal; +__interface DELPHIINTERFACE ICefX509Certificate; +typedef System::DelphiInterface _di_ICefX509Certificate; +__interface DELPHIINTERFACE ICefSslInfo; +typedef System::DelphiInterface _di_ICefSslInfo; +__interface DELPHIINTERFACE ICefSSLStatus; +typedef System::DelphiInterface _di_ICefSSLStatus; +__interface DELPHIINTERFACE ICefSelectClientCertificateCallback; +typedef System::DelphiInterface _di_ICefSelectClientCertificateCallback; +__interface DELPHIINTERFACE ICefResourceBundle; +typedef System::DelphiInterface _di_ICefResourceBundle; +__interface DELPHIINTERFACE ICefImage; +typedef System::DelphiInterface _di_ICefImage; +__interface DELPHIINTERFACE ICefMenuModelDelegate; +typedef System::DelphiInterface _di_ICefMenuModelDelegate; +__interface DELPHIINTERFACE ICefServer; +typedef System::DelphiInterface _di_ICefServer; +__interface DELPHIINTERFACE ICefServerHandler; +typedef System::DelphiInterface _di_ICefServerHandler; +__interface DELPHIINTERFACE ICefMediaAccessCallback; +typedef System::DelphiInterface _di_ICefMediaAccessCallback; +__interface DELPHIINTERFACE ICefPermissionPromptCallback; +typedef System::DelphiInterface _di_ICefPermissionPromptCallback; +__interface DELPHIINTERFACE ICefPermissionHandler; +typedef System::DelphiInterface _di_ICefPermissionHandler; +__interface DELPHIINTERFACE ICefSharedMemoryRegion; +typedef System::DelphiInterface _di_ICefSharedMemoryRegion; +__interface DELPHIINTERFACE ICefSharedProcessMessageBuilder; +typedef System::DelphiInterface _di_ICefSharedProcessMessageBuilder; +__interface DELPHIINTERFACE ICefDisplay; +typedef System::DelphiInterface _di_ICefDisplay; +__interface DELPHIINTERFACE ICefLayout; +typedef System::DelphiInterface _di_ICefLayout; +__interface DELPHIINTERFACE ICefBoxLayout; +typedef System::DelphiInterface _di_ICefBoxLayout; +__interface DELPHIINTERFACE ICefFillLayout; +typedef System::DelphiInterface _di_ICefFillLayout; +__interface DELPHIINTERFACE ICefOverlayController; +typedef System::DelphiInterface _di_ICefOverlayController; +__interface DELPHIINTERFACE ICefView; +typedef System::DelphiInterface _di_ICefView; +__interface DELPHIINTERFACE ICefViewDelegate; +typedef System::DelphiInterface _di_ICefViewDelegate; +__interface DELPHIINTERFACE ICefTextfield; +typedef System::DelphiInterface _di_ICefTextfield; +__interface DELPHIINTERFACE ICefTextfieldDelegate; +typedef System::DelphiInterface _di_ICefTextfieldDelegate; +__interface DELPHIINTERFACE ICefScrollView; +typedef System::DelphiInterface _di_ICefScrollView; +__interface DELPHIINTERFACE ICefPanel; +typedef System::DelphiInterface _di_ICefPanel; +__interface DELPHIINTERFACE ICefPanelDelegate; +typedef System::DelphiInterface _di_ICefPanelDelegate; +__interface DELPHIINTERFACE ICefBrowserView; +typedef System::DelphiInterface _di_ICefBrowserView; +__interface DELPHIINTERFACE ICefBrowserViewDelegate; +typedef System::DelphiInterface _di_ICefBrowserViewDelegate; +__interface DELPHIINTERFACE ICefButton; +typedef System::DelphiInterface _di_ICefButton; +__interface DELPHIINTERFACE ICefButtonDelegate; +typedef System::DelphiInterface _di_ICefButtonDelegate; +__interface DELPHIINTERFACE ICefLabelButton; +typedef System::DelphiInterface _di_ICefLabelButton; +__interface DELPHIINTERFACE ICefMenuButton; +typedef System::DelphiInterface _di_ICefMenuButton; +__interface DELPHIINTERFACE ICefMenuButtonPressedLock; +typedef System::DelphiInterface _di_ICefMenuButtonPressedLock; +__interface DELPHIINTERFACE ICefMenuButtonDelegate; +typedef System::DelphiInterface _di_ICefMenuButtonDelegate; +__interface DELPHIINTERFACE ICefWindow; +typedef System::DelphiInterface _di_ICefWindow; +__interface DELPHIINTERFACE ICefWindowDelegate; +typedef System::DelphiInterface _di_ICefWindowDelegate; +//-- type declarations ------------------------------------------------------- +typedef System::DynamicArray<_di_ICefv8Value> TCefv8ValueArray; + +typedef System::DynamicArray<_di_ICefX509Certificate> TCefX509CertificateArray; + +typedef System::DynamicArray<_di_ICefBinaryValue> TCefBinaryValueArray; + +typedef System::DynamicArray<_di_ICefPostDataElement> TCefPostDataElementArray; + +typedef System::DynamicArray<_di_ICefMediaRoute> TCefMediaRouteArray; + +typedef System::DynamicArray<_di_ICefMediaSink> TCefMediaSinkArray; + +typedef System::DynamicArray<_di_ICefDisplay> TCefDisplayArray; + +struct DECLSPEC_DRECORD TCefMediaSinkInfo +{ +public: + Uceftypes::ustring ID; + Uceftypes::ustring Name; + Uceftypes::TCefMediaSinkIconType IconType; + Uceftypes::TCefMediaType SinkType; + _di_ICefMediaSink SinkIntf; +}; + + +typedef System::DynamicArray TCefMediaSinkInfoArray; + +struct DECLSPEC_DRECORD TCefMediaRouteInfo +{ +public: + Uceftypes::ustring ID; + Uceftypes::ustring SourceID; + Uceftypes::ustring SinkID; + _di_ICefMediaRoute RouteIntf; +}; + + +typedef System::DynamicArray TCefMediaRouteInfoArray; + +struct DECLSPEC_DRECORD TCefMediaSourceInfo +{ +public: + Uceftypes::ustring ID; + bool Valid; + Uceftypes::TCefMediaType SourceType; + _di_ICefMediaSource SourceIntf; +}; + + +typedef System::DynamicArray TCefMediaSourceInfoArray; + +__interface TCefEndTracingCallbackProc : public System::IInterface +{ + virtual void __fastcall Invoke(const Uceftypes::ustring tracingFile) = 0 ; +}; + +__interface TCefFastTaskProc : public System::IInterface +{ + virtual void __fastcall Invoke() = 0 ; +}; + +__interface TCefv8ArrayBufferReleaseCallbackProc : public System::IInterface +{ + virtual void __fastcall Invoke(void * buffer) = 0 ; +}; + +__interface TCefWebPluginIsUnstableProc : public System::IInterface +{ + virtual void __fastcall Invoke(const Uceftypes::ustring path, bool unstable) = 0 ; +}; + +__interface TCefV8AccessorGetterProc : public System::IInterface +{ + virtual bool __fastcall Invoke(const Uceftypes::ustring name, const _di_ICefv8Value object_, _di_ICefv8Value &value, Uceftypes::ustring &exception) = 0 ; +}; + +__interface TCefV8AccessorSetterProc : public System::IInterface +{ + virtual bool __fastcall Invoke(const Uceftypes::ustring name, const _di_ICefv8Value object_, const _di_ICefv8Value value, Uceftypes::ustring &exception) = 0 ; +}; + +__interface TCefV8InterceptorGetterByNameProc : public System::IInterface +{ + virtual bool __fastcall Invoke(const Uceftypes::ustring name, const _di_ICefv8Value object_, _di_ICefv8Value &value, Uceftypes::ustring &exception) = 0 ; +}; + +__interface TCefV8InterceptorSetterByNameProc : public System::IInterface +{ + virtual bool __fastcall Invoke(const Uceftypes::ustring name, const _di_ICefv8Value object_, const _di_ICefv8Value value, Uceftypes::ustring &exception) = 0 ; +}; + +__interface TCefV8InterceptorGetterByIndexProc : public System::IInterface +{ + virtual bool __fastcall Invoke(int index, const _di_ICefv8Value object_, _di_ICefv8Value &value, Uceftypes::ustring &exception) = 0 ; +}; + +__interface TCefV8InterceptorSetterByIndexProc : public System::IInterface +{ + virtual bool __fastcall Invoke(int index, const _di_ICefv8Value object_, const _di_ICefv8Value value, Uceftypes::ustring &exception) = 0 ; +}; + +__interface TOnPdfPrintFinishedProc : public System::IInterface +{ + virtual void __fastcall Invoke(const Uceftypes::ustring path, bool ok) = 0 ; +}; + +__interface TCefDomVisitorProc : public System::IInterface +{ + virtual void __fastcall Invoke(const _di_ICefDomDocument document) = 0 ; +}; + +__interface TCefDomVisitorProc2 : public System::IInterface +{ + virtual void __fastcall Invoke(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefDomDocument document) = 0 ; +}; + +__interface TCefDomVisitorProc3 : public System::IInterface +{ + virtual void __fastcall Invoke(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefDomDocument document, const Uceftypes::ustring aValue) = 0 ; +}; + +__interface TCefStringVisitorProc : public System::IInterface +{ + virtual void __fastcall Invoke(const Uceftypes::ustring str) = 0 ; +}; + +__interface TCefRunFileDialogCallbackProc : public System::IInterface +{ + virtual void __fastcall Invoke(System::Classes::TStrings* const filePaths) = 0 ; +}; + +__interface TCefCompletionCallbackProc : public System::IInterface +{ + virtual void __fastcall Invoke() = 0 ; +}; + +__interface TCefSetCookieCallbackProc : public System::IInterface +{ + virtual void __fastcall Invoke(bool success) = 0 ; +}; + +__interface TCefDeleteCookiesCallbackProc : public System::IInterface +{ + virtual void __fastcall Invoke(int numDeleted) = 0 ; +}; + +__interface TCefNavigationEntryVisitorProc : public System::IInterface +{ + virtual bool __fastcall Invoke(const _di_ICefNavigationEntry entry, bool current, int index, int total) = 0 ; +}; + +__interface TOnDownloadImageFinishedProc : public System::IInterface +{ + virtual void __fastcall Invoke(const Uceftypes::ustring imageUrl, int httpStatusCode, const _di_ICefImage image) = 0 ; +}; + +__interface TCefCookieVisitorProc : public System::IInterface +{ + virtual bool __fastcall Invoke(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) = 0 ; +}; + +__interface TCefMediaRouteCreateCallbackProc : public System::IInterface +{ + virtual void __fastcall Invoke(Uceftypes::TCefMediaRouterCreateResult result, const Uceftypes::ustring error, const _di_ICefMediaRoute route) = 0 ; +}; + +__interface TCefMediaSinkDeviceInfoCallbackProc : public System::IInterface +{ + virtual void __fastcall Invoke(const Uceftypes::ustring ip_address, int port, const Uceftypes::ustring model_name) = 0 ; +}; + +__interface INTERFACE_UUID("{DB24F301-2F64-48D6-A72E-33697748147E}") ICefStringList : public System::IInterface +{ + virtual Uceftypes::TCefStringList __fastcall GetHandle() = 0 ; + virtual System::NativeUInt __fastcall GetSize() = 0 ; + virtual Uceftypes::ustring __fastcall GetValue(System::NativeUInt Index) = 0 ; + virtual void __fastcall Append(const Uceftypes::ustring Value) = 0 ; + virtual void __fastcall Clear() = 0 ; + virtual Uceftypes::TCefStringList __fastcall Copy() = 0 ; + virtual void __fastcall CopyToStrings(System::Classes::TStrings* const aStrings) = 0 ; + virtual void __fastcall AddStrings(System::Classes::TStrings* const aStrings) = 0 ; + __property Uceftypes::TCefStringList Handle = {read=GetHandle}; + __property System::NativeUInt Size = {read=GetSize}; + __property Uceftypes::ustring Value[System::NativeUInt index] = {read=GetValue}; +}; + +__interface INTERFACE_UUID("{A33EBC01-B23A-4918-86A4-E24A243B342F}") ICefStringMap : public System::IInterface +{ + virtual Uceftypes::TCefStringMap __fastcall GetHandle() = 0 ; + virtual System::NativeUInt __fastcall GetSize() = 0 ; + virtual Uceftypes::ustring __fastcall Find(const Uceftypes::ustring Key) = 0 ; + virtual Uceftypes::ustring __fastcall GetKey(System::NativeUInt Index) = 0 ; + virtual Uceftypes::ustring __fastcall GetValue(System::NativeUInt Index) = 0 ; + virtual bool __fastcall Append(const Uceftypes::ustring Key, const Uceftypes::ustring Value) = 0 ; + virtual void __fastcall Clear() = 0 ; + __property Uceftypes::TCefStringMap Handle = {read=GetHandle}; + __property System::NativeUInt Size = {read=GetSize}; + __property Uceftypes::ustring Key[System::NativeUInt index] = {read=GetKey}; + __property Uceftypes::ustring Value[System::NativeUInt index] = {read=GetValue}; +}; + +__interface INTERFACE_UUID("{583ED0C2-A9D6-4034-A7C9-20EC7E47F0C7}") ICefStringMultimap : public System::IInterface +{ + virtual Uceftypes::TCefStringMultimap __fastcall GetHandle() = 0 ; + virtual System::NativeUInt __fastcall GetSize() = 0 ; + virtual System::NativeUInt __fastcall FindCount(const Uceftypes::ustring Key) = 0 ; + virtual Uceftypes::ustring __fastcall GetEnumerate(const Uceftypes::ustring Key, System::NativeUInt ValueIndex) = 0 ; + virtual Uceftypes::ustring __fastcall GetKey(System::NativeUInt Index) = 0 ; + virtual Uceftypes::ustring __fastcall GetValue(System::NativeUInt Index) = 0 ; + virtual bool __fastcall Append(const Uceftypes::ustring Key, const Uceftypes::ustring Value) = 0 ; + virtual void __fastcall Clear() = 0 ; + __property Uceftypes::TCefStringMultimap Handle = {read=GetHandle}; + __property System::NativeUInt Size = {read=GetSize}; + __property Uceftypes::ustring Key[System::NativeUInt index] = {read=GetKey}; + __property Uceftypes::ustring Value[System::NativeUInt index] = {read=GetValue}; + __property Uceftypes::ustring Enumerate[const Uceftypes::ustring aKey][System::NativeUInt aValueIndex] = {read=GetEnumerate}; +}; + +__interface INTERFACE_UUID("{55E99E25-A05D-46D5-B3A4-C8C2E71C1F4D}") IApplicationCoreEvents : public System::IInterface +{ + virtual void __fastcall doOnBeforeCommandLineProcessing(const Uceftypes::ustring processType, const _di_ICefCommandLine commandLine) = 0 ; + virtual void __fastcall doOnRegisterCustomSchemes(Ucefschemeregistrar::TCefSchemeRegistrarRef* const registrar) = 0 ; + virtual void __fastcall doOnRegisterCustomPreferences(Uceftypes::TCefPreferencesType type_, Uceftypes::PCefPreferenceRegistrar registrar) = 0 ; + virtual void __fastcall doOnContextInitialized() = 0 ; + virtual void __fastcall doOnBeforeChildProcessLaunch(const _di_ICefCommandLine commandLine) = 0 ; + virtual void __fastcall doOnAlreadyRunningAppRelaunch(const _di_ICefCommandLine commandLine, const Uceftypes::ustring current_directory, bool &aResult) = 0 ; + virtual void __fastcall doOnScheduleMessagePumpWork(const __int64 delayMs) = 0 ; + virtual void __fastcall doGetDefaultClient(_di_ICefClient &aClient) = 0 ; + virtual void __fastcall doGetDefaultRequestContextHandler(_di_ICefRequestContextHandler &aRequestContextHandler) = 0 ; + virtual bool __fastcall doGetLocalizedString(int stringid, Uceftypes::ustring &stringVal) = 0 ; + virtual bool __fastcall doGetDataResource(int resourceId, void * &data, System::NativeUInt &dataSize) = 0 ; + virtual bool __fastcall doGetDataResourceForScale(int resourceId, Uceftypes::TCefScaleFactor scaleFactor, void * &data, System::NativeUInt &dataSize) = 0 ; + virtual void __fastcall doOnWebKitInitialized() = 0 ; + virtual void __fastcall doOnBrowserCreated(const _di_ICefBrowser browser, const _di_ICefDictionaryValue extra_info) = 0 ; + virtual void __fastcall doOnBrowserDestroyed(const _di_ICefBrowser browser) = 0 ; + virtual void __fastcall doOnContextCreated(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefv8Context context) = 0 ; + virtual void __fastcall doOnContextReleased(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefv8Context context) = 0 ; + virtual void __fastcall doOnUncaughtException(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefv8Context context, const _di_ICefV8Exception V8Exception, const _di_ICefV8StackTrace stackTrace) = 0 ; + virtual void __fastcall doOnFocusedNodeChanged(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefDomNode node) = 0 ; + virtual void __fastcall doOnProcessMessageReceived(const _di_ICefBrowser browser, const _di_ICefFrame frame, Uceftypes::TCefProcessId sourceProcess, const _di_ICefProcessMessage aMessage, bool &aHandled) = 0 ; + virtual void __fastcall doOnLoadingStateChange(const _di_ICefBrowser browser, bool isLoading, bool canGoBack, bool canGoForward) = 0 ; + virtual void __fastcall doOnLoadStart(const _di_ICefBrowser browser, const _di_ICefFrame frame, Uceftypes::TCefTransitionType transitionType) = 0 ; + virtual void __fastcall doOnLoadEnd(const _di_ICefBrowser browser, const _di_ICefFrame frame, int httpStatusCode) = 0 ; + virtual void __fastcall doOnLoadError(const _di_ICefBrowser browser, const _di_ICefFrame frame, Uceftypes::TCefErrorCode errorCode, const Uceftypes::ustring errorText, const Uceftypes::ustring failedUrl) = 0 ; +}; + +__interface INTERFACE_UUID("{0C139DB1-0349-4D7F-8155-76FEA6A0126D}") IChromiumEvents : public System::IInterface +{ + virtual void __fastcall GetSettings(Uceftypes::TCefBrowserSettings &settings) = 0 ; + virtual bool __fastcall doOnProcessMessageReceived(const _di_ICefBrowser browser, const _di_ICefFrame frame, Uceftypes::TCefProcessId sourceProcess, const _di_ICefProcessMessage message) = 0 ; + virtual void __fastcall doOnLoadingStateChange(const _di_ICefBrowser browser, bool isLoading, bool canGoBack, bool canGoForward) = 0 ; + virtual void __fastcall doOnLoadStart(const _di_ICefBrowser browser, const _di_ICefFrame frame, Uceftypes::TCefTransitionType transitionType) = 0 ; + virtual void __fastcall doOnLoadEnd(const _di_ICefBrowser browser, const _di_ICefFrame frame, int httpStatusCode) = 0 ; + virtual void __fastcall doOnLoadError(const _di_ICefBrowser browser, const _di_ICefFrame frame, Uceftypes::TCefErrorCode errorCode, const Uceftypes::ustring errorText, const Uceftypes::ustring failedUrl) = 0 ; + virtual void __fastcall doOnTakeFocus(const _di_ICefBrowser browser, bool next) = 0 ; + virtual bool __fastcall doOnSetFocus(const _di_ICefBrowser browser, Uceftypes::TCefFocusSource source) = 0 ; + virtual void __fastcall doOnGotFocus(const _di_ICefBrowser browser) = 0 ; + virtual void __fastcall doOnBeforeContextMenu(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefContextMenuParams params, const _di_ICefMenuModel model) = 0 ; + virtual bool __fastcall doRunContextMenu(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefContextMenuParams params, const _di_ICefMenuModel model, const _di_ICefRunContextMenuCallback callback) = 0 ; + virtual bool __fastcall doOnContextMenuCommand(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefContextMenuParams params, int commandId, Uceftypes::TCefEventFlags eventFlags) = 0 ; + virtual void __fastcall doOnContextMenuDismissed(const _di_ICefBrowser browser, const _di_ICefFrame frame) = 0 ; + virtual bool __fastcall doRunQuickMenu(const _di_ICefBrowser browser, const _di_ICefFrame frame, Uceftypes::PCefPoint location, Uceftypes::PCefSize size, Uceftypes::TCefQuickMenuEditStateFlags edit_state_flags, const _di_ICefRunQuickMenuCallback callback) = 0 ; + virtual bool __fastcall doOnQuickMenuCommand(const _di_ICefBrowser browser, const _di_ICefFrame frame, int command_id, Uceftypes::TCefEventFlags event_flags) = 0 ; + virtual void __fastcall doOnQuickMenuDismissed(const _di_ICefBrowser browser, const _di_ICefFrame frame) = 0 ; + virtual bool __fastcall doOnPreKeyEvent(const _di_ICefBrowser browser, const Uceftypes::PCefKeyEvent event, Uceftypes::TCefEventHandle osEvent, /* out */ bool &isKeyboardShortcut) = 0 ; + virtual bool __fastcall doOnKeyEvent(const _di_ICefBrowser browser, const Uceftypes::PCefKeyEvent event, Uceftypes::TCefEventHandle osEvent) = 0 ; + virtual void __fastcall doOnAddressChange(const _di_ICefBrowser browser, const _di_ICefFrame frame, const Uceftypes::ustring url) = 0 ; + virtual void __fastcall doOnTitleChange(const _di_ICefBrowser browser, const Uceftypes::ustring title) = 0 ; + virtual void __fastcall doOnFaviconUrlChange(const _di_ICefBrowser browser, System::Classes::TStrings* const iconUrls) = 0 ; + virtual void __fastcall doOnFullScreenModeChange(const _di_ICefBrowser browser, bool fullscreen) = 0 ; + virtual bool __fastcall doOnTooltip(const _di_ICefBrowser browser, Uceftypes::ustring &text) = 0 ; + virtual void __fastcall doOnStatusMessage(const _di_ICefBrowser browser, const Uceftypes::ustring value) = 0 ; + virtual bool __fastcall doOnConsoleMessage(const _di_ICefBrowser browser, Uceftypes::TCefLogSeverity level, const Uceftypes::ustring message, const Uceftypes::ustring source, int line) = 0 ; + virtual bool __fastcall doOnAutoResize(const _di_ICefBrowser browser, const Uceftypes::PCefSize new_size) = 0 ; + virtual void __fastcall doOnLoadingProgressChange(const _di_ICefBrowser browser, const double progress) = 0 ; + virtual void __fastcall doOnCursorChange(const _di_ICefBrowser browser, Uceftypes::TCefCursorHandle cursor_, Uceftypes::TCefCursorType cursorType, const Uceftypes::PCefCursorInfo customCursorInfo, bool &aResult) = 0 ; + virtual void __fastcall doOnMediaAccessChange(const _di_ICefBrowser browser, bool has_video_access, bool has_audio_access) = 0 ; + virtual bool __fastcall doOnContentsBoundsChange(const _di_ICefBrowser browser, const Uceftypes::PCefRect new_bounds) = 0 ; + virtual bool __fastcall doOnGetRootWindowScreenRect(const _di_ICefBrowser browser, Uceftypes::PCefRect rect_) = 0 ; + virtual bool __fastcall doOnCanDownload(const _di_ICefBrowser browser, const Uceftypes::ustring url, const Uceftypes::ustring request_method) = 0 ; + virtual bool __fastcall doOnBeforeDownload(const _di_ICefBrowser browser, const _di_ICefDownloadItem downloadItem, const Uceftypes::ustring suggestedName, const _di_ICefBeforeDownloadCallback callback) = 0 ; + virtual void __fastcall doOnDownloadUpdated(const _di_ICefBrowser browser, const _di_ICefDownloadItem downloadItem, const _di_ICefDownloadItemCallback callback) = 0 ; + virtual bool __fastcall doOnJsdialog(const _di_ICefBrowser browser, const Uceftypes::ustring originUrl, Uceftypes::TCefJsDialogType dialogType, const Uceftypes::ustring messageText, const Uceftypes::ustring defaultPromptText, const _di_ICefJsDialogCallback callback, /* out */ bool &suppressMessage) = 0 ; + virtual bool __fastcall doOnBeforeUnloadDialog(const _di_ICefBrowser browser, const Uceftypes::ustring messageText, bool isReload, const _di_ICefJsDialogCallback callback) = 0 ; + virtual void __fastcall doOnResetDialogState(const _di_ICefBrowser browser) = 0 ; + virtual void __fastcall doOnDialogClosed(const _di_ICefBrowser browser) = 0 ; + virtual bool __fastcall doOnBeforePopup(const _di_ICefBrowser browser, const _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, _di_ICefClient &client, Uceftypes::TCefBrowserSettings &settings, _di_ICefDictionaryValue &extra_info, bool &noJavascriptAccess) = 0 ; + virtual void __fastcall doOnBeforePopupAborted(const _di_ICefBrowser browser, int popup_id) = 0 ; + virtual void __fastcall doOnBeforeDevToolsPopup(const _di_ICefBrowser browser, Uceftypes::TCefWindowInfo &windowInfo, _di_ICefClient &client, Uceftypes::TCefBrowserSettings &settings, _di_ICefDictionaryValue &extra_info, bool &use_default_window) = 0 ; + virtual void __fastcall doOnAfterCreated(const _di_ICefBrowser browser) = 0 ; + virtual void __fastcall doOnBeforeClose(const _di_ICefBrowser browser) = 0 ; + virtual bool __fastcall doOnClose(const _di_ICefBrowser browser) = 0 ; + virtual bool __fastcall doOnBeforeBrowse(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefRequest request, bool user_gesture, bool isRedirect) = 0 ; + virtual bool __fastcall doOnOpenUrlFromTab(const _di_ICefBrowser browser, const _di_ICefFrame frame, const Uceftypes::ustring targetUrl, Uceftypes::TCefWindowOpenDisposition targetDisposition, bool userGesture) = 0 ; + virtual void __fastcall doGetResourceRequestHandler_ReqHdlr(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefRequest request, bool is_navigation, bool is_download, const Uceftypes::ustring request_initiator, bool &disable_default_handling, _di_ICefResourceRequestHandler &aResourceRequestHandler) = 0 ; + virtual bool __fastcall doOnGetAuthCredentials(const _di_ICefBrowser browser, const Uceftypes::ustring originUrl, bool isProxy, const Uceftypes::ustring host, int port, const Uceftypes::ustring realm, const Uceftypes::ustring scheme, const _di_ICefAuthCallback callback) = 0 ; + virtual bool __fastcall doOnCertificateError(const _di_ICefBrowser browser, Uceftypes::TCefErrorCode certError, const Uceftypes::ustring requestUrl, const _di_ICefSslInfo sslInfo, const _di_ICefCallback callback) = 0 ; + virtual bool __fastcall doOnSelectClientCertificate(const _di_ICefBrowser browser, bool isProxy, const Uceftypes::ustring host, int port, System::NativeUInt certificatesCount, const TCefX509CertificateArray certificates, const _di_ICefSelectClientCertificateCallback callback) = 0 ; + virtual void __fastcall doOnRenderViewReady(const _di_ICefBrowser browser) = 0 ; + virtual bool __fastcall doOnRenderProcessUnresponsive(const _di_ICefBrowser browser, const _di_ICefUnresponsiveProcessCallback callback) = 0 ; + virtual void __fastcall doOnRenderProcessResponsive(const _di_ICefBrowser browser) = 0 ; + virtual void __fastcall doOnRenderProcessTerminated(const _di_ICefBrowser browser, Uceftypes::TCefTerminationStatus status, int error_code, const Uceftypes::ustring error_string) = 0 ; + virtual void __fastcall doOnDocumentAvailableInMainFrame(const _di_ICefBrowser browser) = 0 ; + virtual Uceftypes::TCefReturnValue __fastcall doOnBeforeResourceLoad(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefRequest request, const _di_ICefCallback callback) = 0 ; + virtual void __fastcall doOnGetResourceHandler(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefRequest request, _di_ICefResourceHandler &aResourceHandler) = 0 ; + virtual void __fastcall doOnResourceRedirect(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefRequest request, const _di_ICefResponse response, Uceftypes::ustring &newUrl) = 0 ; + virtual bool __fastcall doOnResourceResponse(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefRequest request, const _di_ICefResponse response) = 0 ; + virtual void __fastcall doOnGetResourceResponseFilter(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefRequest request, const _di_ICefResponse response, _di_ICefResponseFilter &aResponseFilter) = 0 ; + virtual void __fastcall doOnResourceLoadComplete(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefRequest request, const _di_ICefResponse response, Uceftypes::TCefUrlRequestStatus status, __int64 receivedContentLength) = 0 ; + virtual void __fastcall doOnProtocolExecution(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefRequest request, bool &allowOsExecution) = 0 ; + virtual bool __fastcall doCanSendCookie(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefRequest request, const Uceftypes::PCefCookie cookie) = 0 ; + virtual bool __fastcall doCanSaveCookie(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefRequest request, const _di_ICefResponse response, const Uceftypes::PCefCookie cookie) = 0 ; + virtual bool __fastcall doOnFileDialog(const _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 _di_ICefFileDialogCallback callback) = 0 ; + virtual void __fastcall doOnGetAccessibilityHandler(_di_ICefAccessibilityHandler &aAccessibilityHandler) = 0 ; + virtual bool __fastcall doOnGetRootScreenRect(const _di_ICefBrowser browser, Uceftypes::TCefRect &rect) = 0 ; + virtual void __fastcall doOnGetViewRect(const _di_ICefBrowser browser, Uceftypes::TCefRect &rect) = 0 ; + virtual bool __fastcall doOnGetScreenPoint(const _di_ICefBrowser browser, int viewX, int viewY, int &screenX, int &screenY) = 0 ; + virtual bool __fastcall doOnGetScreenInfo(const _di_ICefBrowser browser, Uceftypes::TCefScreenInfo &screenInfo) = 0 ; + virtual void __fastcall doOnPopupShow(const _di_ICefBrowser browser, bool show) = 0 ; + virtual void __fastcall doOnPopupSize(const _di_ICefBrowser browser, const Uceftypes::PCefRect rect) = 0 ; + virtual void __fastcall doOnPaint(const _di_ICefBrowser browser, Uceftypes::TCefPaintElementType type_, System::NativeUInt dirtyRectsCount, const Uceftypes::PCefRectArray dirtyRects, const void * buffer, int width, int height) = 0 ; + virtual void __fastcall doOnAcceleratedPaint(const _di_ICefBrowser browser, Uceftypes::TCefPaintElementType type_, System::NativeUInt dirtyRectsCount, const Uceftypes::PCefRectArray dirtyRects, const Uceftypes::PCefAcceleratedPaintInfo info) = 0 ; + virtual void __fastcall doGetTouchHandleSize(const _di_ICefBrowser browser, Uceftypes::TCefHorizontalAlignment orientation, Uceftypes::TCefSize &size) = 0 ; + virtual void __fastcall doOnTouchHandleStateChanged(const _di_ICefBrowser browser, const Uceftypes::TCefTouchHandleState &state) = 0 ; + virtual bool __fastcall doOnStartDragging(const _di_ICefBrowser browser, const _di_ICefDragData dragData, Uceftypes::TCefDragOperations allowedOps, int x, int y) = 0 ; + virtual void __fastcall doOnUpdateDragCursor(const _di_ICefBrowser browser, Uceftypes::TCefDragOperation operation) = 0 ; + virtual void __fastcall doOnScrollOffsetChanged(const _di_ICefBrowser browser, double x, double y) = 0 ; + virtual void __fastcall doOnIMECompositionRangeChanged(const _di_ICefBrowser browser, const Uceftypes::PCefRange selected_range, System::NativeUInt character_boundsCount, const Uceftypes::PCefRect character_bounds) = 0 ; + virtual void __fastcall doOnTextSelectionChanged(const _di_ICefBrowser browser, const Uceftypes::ustring selected_text, const Uceftypes::PCefRange selected_range) = 0 ; + virtual void __fastcall doOnVirtualKeyboardRequested(const _di_ICefBrowser browser, Uceftypes::TCefTextInpuMode input_mode) = 0 ; + virtual bool __fastcall doOnDragEnter(const _di_ICefBrowser browser, const _di_ICefDragData dragData, Uceftypes::TCefDragOperations mask) = 0 ; + virtual void __fastcall doOnDraggableRegionsChanged(const _di_ICefBrowser browser, const _di_ICefFrame frame, System::NativeUInt regionsCount, const Uceftypes::PCefDraggableRegionArray regions) = 0 ; + virtual void __fastcall doOnFindResult(const _di_ICefBrowser browser, int identifier, int count, const Uceftypes::PCefRect selectionRect, int activeMatchOrdinal, bool finalUpdate) = 0 ; + virtual void __fastcall doOnRequestContextInitialized(const _di_ICefRequestContext request_context) = 0 ; + virtual void __fastcall doGetResourceRequestHandler_ReqCtxHdlr(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefRequest request, bool is_navigation, bool is_download, const Uceftypes::ustring request_initiator, bool &disable_default_handling, _di_ICefResourceRequestHandler &aResourceRequestHandler) = 0 ; + virtual void __fastcall doOnSinks(const TCefMediaSinkArray sinks) = 0 ; + virtual void __fastcall doOnRoutes(const TCefMediaRouteArray routes) = 0 ; + virtual void __fastcall doOnRouteStateChanged(const _di_ICefMediaRoute route, Uceftypes::TCefMediaRouteConnectionState state) = 0 ; + virtual void __fastcall doOnRouteMessageReceived(const _di_ICefMediaRoute route, const Uceftypes::ustring message_) = 0 ; + virtual void __fastcall doOnGetAudioParameters(const _di_ICefBrowser browser, Uceftypes::TCefAudioParameters ¶ms, bool &aResult) = 0 ; + virtual void __fastcall doOnAudioStreamStarted(const _di_ICefBrowser browser, const Uceftypes::TCefAudioParameters ¶ms, int channels) = 0 ; + virtual void __fastcall doOnAudioStreamPacket(const _di_ICefBrowser browser, const Uceftypes::PPSingle data, int frames, __int64 pts) = 0 ; + virtual void __fastcall doOnAudioStreamStopped(const _di_ICefBrowser browser) = 0 ; + virtual void __fastcall doOnAudioStreamError(const _di_ICefBrowser browser, const Uceftypes::ustring message_) = 0 ; + virtual void __fastcall doOnDevToolsMessage(const _di_ICefBrowser browser, const void * message_, System::NativeUInt message_size, bool &aHandled) = 0 ; + virtual void __fastcall doOnDevToolsMethodResult(const _di_ICefBrowser browser, int message_id, bool success, const void * result, System::NativeUInt result_size) = 0 ; + virtual void __fastcall doOnDevToolsEvent(const _di_ICefBrowser browser, const Uceftypes::ustring method, const void * params, System::NativeUInt params_size) = 0 ; + virtual void __fastcall doOnDevToolsAgentAttached(const _di_ICefBrowser browser) = 0 ; + virtual void __fastcall doOnDevToolsAgentDetached(const _di_ICefBrowser browser) = 0 ; + virtual void __fastcall doOnPrintStart(const _di_ICefBrowser browser) = 0 ; + virtual void __fastcall doOnPrintSettings(const _di_ICefBrowser browser, const _di_ICefPrintSettings settings, bool getDefaults) = 0 ; + virtual void __fastcall doOnPrintDialog(const _di_ICefBrowser browser, bool hasSelection, const _di_ICefPrintDialogCallback callback, bool &aResult) = 0 ; + virtual void __fastcall doOnPrintJob(const _di_ICefBrowser browser, const Uceftypes::ustring documentName, const Uceftypes::ustring PDFFilePath, const _di_ICefPrintJobCallback callback, bool &aResult) = 0 ; + virtual void __fastcall doOnPrintReset(const _di_ICefBrowser browser) = 0 ; + virtual void __fastcall doOnGetPDFPaperSize(const _di_ICefBrowser browser, int deviceUnitsPerInch, Uceftypes::TCefSize &aResult) = 0 ; + virtual void __fastcall doOnFrameCreated(const _di_ICefBrowser browser, const _di_ICefFrame frame) = 0 ; + virtual void __fastcall doOnFrameDestroyed(const _di_ICefBrowser browser, const _di_ICefFrame frame) = 0 ; + virtual void __fastcall doOnFrameAttached(const _di_ICefBrowser browser, const _di_ICefFrame frame, bool reattached) = 0 ; + virtual void __fastcall doOnFrameDetached(const _di_ICefBrowser browser, const _di_ICefFrame frame) = 0 ; + virtual void __fastcall doOnMainFrameChanged(const _di_ICefBrowser browser, const _di_ICefFrame old_frame, const _di_ICefFrame new_frame) = 0 ; + virtual bool __fastcall doOnChromeCommand(const _di_ICefBrowser browser, int command_id, Uceftypes::TCefWindowOpenDisposition disposition) = 0 ; + virtual bool __fastcall doOnIsChromeAppMenuItemVisible(const _di_ICefBrowser browser, int command_id) = 0 ; + virtual bool __fastcall doOnIsChromeAppMenuItemEnabled(const _di_ICefBrowser browser, int command_id) = 0 ; + virtual bool __fastcall doOnIsChromePageActionIconVisible(Uceftypes::TCefChromePageActionIconType icon_type) = 0 ; + virtual bool __fastcall doOnIsChromeToolbarButtonVisible(Uceftypes::TCefChromeToolbarButtonType button_type) = 0 ; + virtual bool __fastcall doOnRequestMediaAccessPermission(const _di_ICefBrowser browser, const _di_ICefFrame frame, const Uceftypes::ustring requesting_origin, unsigned requested_permissions, const _di_ICefMediaAccessCallback callback) = 0 ; + virtual bool __fastcall doOnShowPermissionPrompt(const _di_ICefBrowser browser, unsigned __int64 prompt_id, const Uceftypes::ustring requesting_origin, unsigned requested_permissions, const _di_ICefPermissionPromptCallback callback) = 0 ; + virtual void __fastcall doOnDismissPermissionPrompt(const _di_ICefBrowser browser, unsigned __int64 prompt_id, Uceftypes::TCefPermissionRequestResult result) = 0 ; + virtual void __fastcall doOnPreferenceChanged(const Uceftypes::ustring name) = 0 ; + virtual void __fastcall doOnSettingChanged(const Uceftypes::ustring requesting_url, const Uceftypes::ustring top_level_url, Uceftypes::TCefContentSettingTypes content_type) = 0 ; + virtual void __fastcall doCookiesDeleted(int numDeleted) = 0 ; + virtual void __fastcall doPdfPrintFinished(bool aResultOK) = 0 ; + virtual void __fastcall doTextResultAvailable(const Uceftypes::ustring aText) = 0 ; + virtual void __fastcall doUpdatePreferences(const _di_ICefBrowser aBrowser) = 0 ; + virtual void __fastcall doUpdateOwnPreferences() = 0 ; + virtual bool __fastcall doSavePreferences() = 0 ; + virtual void __fastcall doResolvedHostAvailable(Uceftypes::TCefErrorCode result, System::Classes::TStrings* const resolvedIps) = 0 ; + virtual bool __fastcall doNavigationVisitorResultAvailable(const _di_ICefNavigationEntry entry, bool current, int index, int total) = 0 ; + virtual void __fastcall doDownloadImageFinished(const Uceftypes::ustring imageUrl, int httpStatusCode, const _di_ICefImage image) = 0 ; + virtual void __fastcall doOnCookiesStoreFlushed() = 0 ; + virtual void __fastcall doCertificateExceptionsCleared() = 0 ; + virtual void __fastcall doHttpAuthCredentialsCleared() = 0 ; + virtual void __fastcall doAllConnectionsClosed() = 0 ; + virtual void __fastcall doOnExecuteTaskOnCefThread(unsigned aTaskID) = 0 ; + virtual void __fastcall doOnCookiesVisited(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) = 0 ; + virtual void __fastcall doOnCookieVisitorDestroyed(int aID) = 0 ; + virtual void __fastcall doOnCookieSet(bool aSuccess, int aID) = 0 ; + virtual void __fastcall doUpdateZoomStep(bool aInc) = 0 ; + virtual void __fastcall doUpdateZoomPct(bool aInc) = 0 ; + virtual void __fastcall doSetZoomLevel(const double aValue) = 0 ; + virtual void __fastcall doSetZoomPct(const double aValue) = 0 ; + virtual void __fastcall doSetZoomStep(System::Byte aValue) = 0 ; + virtual void __fastcall doReadZoom() = 0 ; + virtual void __fastcall doMediaRouteCreateFinished(Uceftypes::TCefMediaRouterCreateResult result, const Uceftypes::ustring error, const _di_ICefMediaRoute route) = 0 ; + virtual void __fastcall doOnMediaSinkDeviceInfo(const Uceftypes::ustring ip_address, int port, const Uceftypes::ustring model_name) = 0 ; + virtual void __fastcall doBrowserNavigation(Uceftypes::TCefBrowserNavigation aTask) = 0 ; + virtual void __fastcall doSetAudioMuted(bool aValue) = 0 ; + virtual void __fastcall doToggleAudioMuted() = 0 ; + virtual void __fastcall doEnableFocus() = 0 ; + virtual bool __fastcall doTryCloseBrowser() = 0 ; + virtual void __fastcall doAddPreferenceObserver(const Uceftypes::ustring name) = 0 ; + virtual bool __fastcall MustCreateAudioHandler() = 0 ; + virtual bool __fastcall MustCreateCommandHandler() = 0 ; + virtual bool __fastcall MustCreateLoadHandler() = 0 ; + virtual bool __fastcall MustCreateFocusHandler() = 0 ; + virtual bool __fastcall MustCreateContextMenuHandler() = 0 ; + virtual bool __fastcall MustCreateDialogHandler() = 0 ; + virtual bool __fastcall MustCreateKeyboardHandler() = 0 ; + virtual bool __fastcall MustCreateDisplayHandler() = 0 ; + virtual bool __fastcall MustCreateDownloadHandler() = 0 ; + virtual bool __fastcall MustCreateJsDialogHandler() = 0 ; + virtual bool __fastcall MustCreateLifeSpanHandler() = 0 ; + virtual bool __fastcall MustCreateRenderHandler() = 0 ; + virtual bool __fastcall MustCreateRequestHandler() = 0 ; + virtual bool __fastcall MustCreateDragHandler() = 0 ; + virtual bool __fastcall MustCreateFindHandler() = 0 ; + virtual bool __fastcall MustCreateResourceRequestHandler() = 0 ; + virtual bool __fastcall MustCreateCookieAccessFilter() = 0 ; + virtual bool __fastcall MustCreateMediaObserver() = 0 ; + virtual bool __fastcall MustCreatePrintHandler() = 0 ; + virtual bool __fastcall MustCreateFrameHandler() = 0 ; + virtual bool __fastcall MustCreatePermissionHandler() = 0 ; + virtual int __fastcall GetComponentID() = 0 ; + __property int ComponentID = {read=GetComponentID}; +}; + +__interface INTERFACE_UUID("{06A1B3C6-0967-4F6C-A751-8AA3A29E2FF5}") IServerEvents : public System::IInterface +{ + virtual void __fastcall doOnServerCreated(const _di_ICefServer server) = 0 ; + virtual void __fastcall doOnServerDestroyed(const _di_ICefServer server) = 0 ; + virtual void __fastcall doOnClientConnected(const _di_ICefServer server, int connection_id) = 0 ; + virtual void __fastcall doOnClientDisconnected(const _di_ICefServer server, int connection_id) = 0 ; + virtual void __fastcall doOnHttpRequest(const _di_ICefServer server, int connection_id, const Uceftypes::ustring client_address, const _di_ICefRequest request) = 0 ; + virtual void __fastcall doOnWebSocketRequest(const _di_ICefServer server, int connection_id, const Uceftypes::ustring client_address, const _di_ICefRequest request, const _di_ICefCallback callback) = 0 ; + virtual void __fastcall doOnWebSocketConnected(const _di_ICefServer server, int connection_id) = 0 ; + virtual void __fastcall doOnWebSocketMessage(const _di_ICefServer server, int connection_id, const void * data, System::NativeUInt data_size) = 0 ; +}; + +__interface INTERFACE_UUID("{1AA800A7-56A1-43CA-A224-49368F18BDD8}") ICEFUrlRequestClientEvents : public System::IInterface +{ + virtual void __fastcall doOnRequestComplete(const _di_ICefUrlRequest request) = 0 ; + virtual void __fastcall doOnUploadProgress(const _di_ICefUrlRequest request, __int64 current, __int64 total) = 0 ; + virtual void __fastcall doOnDownloadProgress(const _di_ICefUrlRequest request, __int64 current, __int64 total) = 0 ; + virtual void __fastcall doOnDownloadData(const _di_ICefUrlRequest request, void * data, System::NativeUInt dataLength) = 0 ; + virtual bool __fastcall doOnGetAuthCredentials(bool isProxy, const Uceftypes::ustring host, int port, const Uceftypes::ustring realm, const Uceftypes::ustring scheme, const _di_ICefAuthCallback callback) = 0 ; + virtual void __fastcall doOnCreateURLRequest() = 0 ; + virtual int __fastcall GetComponentID() = 0 ; + __property int ComponentID = {read=GetComponentID}; +}; + +__interface INTERFACE_UUID("{74DDDB37-8F08-4672-BDB6-55CA2CD374ED}") ICefViewDelegateEvents : public System::IInterface +{ + virtual void __fastcall doOnGetPreferredSize(const _di_ICefView view, Uceftypes::TCefSize &aResult) = 0 ; + virtual void __fastcall doOnGetMinimumSize(const _di_ICefView view, Uceftypes::TCefSize &aResult) = 0 ; + virtual void __fastcall doOnGetMaximumSize(const _di_ICefView view, Uceftypes::TCefSize &aResult) = 0 ; + virtual void __fastcall doOnGetHeightForWidth(const _di_ICefView view, int width, int &aResult) = 0 ; + virtual void __fastcall doOnParentViewChanged(const _di_ICefView view, bool added, const _di_ICefView parent) = 0 ; + virtual void __fastcall doOnChildViewChanged(const _di_ICefView view, bool added, const _di_ICefView child) = 0 ; + virtual void __fastcall doOnWindowChanged(const _di_ICefView view, bool added) = 0 ; + virtual void __fastcall doOnLayoutChanged(const _di_ICefView view, const Uceftypes::TCefRect &new_bounds) = 0 ; + virtual void __fastcall doOnFocus(const _di_ICefView view) = 0 ; + virtual void __fastcall doOnBlur(const _di_ICefView view) = 0 ; + virtual void __fastcall doOnThemeChanged(const _di_ICefView view) = 0 ; + virtual void __fastcall doCreateCustomView() = 0 ; + virtual int __fastcall GetComponentID() = 0 ; + __property int ComponentID = {read=GetComponentID}; +}; + +__interface INTERFACE_UUID("{682480E0-C786-4E65-B950-4FF2B13B97B9}") ICefTextfieldDelegateEvents : public ICefViewDelegateEvents +{ + virtual void __fastcall doOnKeyEvent(const _di_ICefTextfield textfield, const Uceftypes::TCefKeyEvent &event, bool &aResult) = 0 ; + virtual void __fastcall doOnAfterUserAction(const _di_ICefTextfield textfield) = 0 ; +}; + +__interface INTERFACE_UUID("{AB94B875-63C6-4FEF-BB30-0816402ABA1C}") ICefBrowserViewDelegateEvents : public ICefViewDelegateEvents +{ + virtual void __fastcall doOnBrowserCreated(const _di_ICefBrowserView browser_view, const _di_ICefBrowser browser) = 0 ; + virtual void __fastcall doOnBrowserDestroyed(const _di_ICefBrowserView browser_view, const _di_ICefBrowser browser) = 0 ; + virtual void __fastcall doOnGetDelegateForPopupBrowserView(const _di_ICefBrowserView browser_view, const Uceftypes::TCefBrowserSettings &settings, const _di_ICefClient client, bool is_devtools, _di_ICefBrowserViewDelegate &aResult) = 0 ; + virtual void __fastcall doOnPopupBrowserViewCreated(const _di_ICefBrowserView browser_view, const _di_ICefBrowserView popup_browser_view, bool is_devtools, bool &aResult) = 0 ; + virtual void __fastcall doOnGetChromeToolbarType(const _di_ICefBrowserView browser_view, Uceftypes::TCefChromeToolbarType &aChromeToolbarType) = 0 ; + virtual void __fastcall doOnUseFramelessWindowForPictureInPicture(const _di_ICefBrowserView browser_view, bool &aResult) = 0 ; + virtual void __fastcall doOnGestureCommand(const _di_ICefBrowserView browser_view, Uceftypes::TCefGestureCommand gesture_command, bool &aResult) = 0 ; + virtual void __fastcall doOnGetBrowserRuntimeStyle(Uceftypes::TCefRuntimeStyle &aResult) = 0 ; + virtual void __fastcall doOnAllowMoveForPictureInPicture(const _di_ICefBrowserView browser_view, bool &aResult) = 0 ; +}; + +__interface INTERFACE_UUID("{E8DF70BE-5DEB-42CF-AF86-B0FF1040498E}") ICefButtonDelegateEvents : public ICefViewDelegateEvents +{ + virtual void __fastcall doOnButtonPressed(const _di_ICefButton button) = 0 ; + virtual void __fastcall doOnButtonStateChanged(const _di_ICefButton button) = 0 ; +}; + +__interface INTERFACE_UUID("{DA36DD60-7609-4576-BB8E-6A55FD48C680}") ICefMenuButtonDelegateEvents : public ICefButtonDelegateEvents +{ + virtual void __fastcall doOnMenuButtonPressed(const _di_ICefMenuButton menu_button, const Uceftypes::TCefPoint &screen_point, const _di_ICefMenuButtonPressedLock button_pressed_lock) = 0 ; +}; + +__interface INTERFACE_UUID("{F1F2963F-82C3-48F0-9B9C-7C213BACB96B}") ICefPanelDelegateEvents : public ICefViewDelegateEvents +{ + +}; + +__interface INTERFACE_UUID("{05C19A41-E75D-459E-AD4D-C8A0CA4A49D3}") ICefWindowDelegateEvents : public ICefPanelDelegateEvents +{ + virtual void __fastcall doOnWindowCreated(const _di_ICefWindow window_) = 0 ; + virtual void __fastcall doOnWindowClosing(const _di_ICefWindow window_) = 0 ; + virtual void __fastcall doOnWindowDestroyed(const _di_ICefWindow window_) = 0 ; + virtual void __fastcall doOnWindowActivationChanged(const _di_ICefWindow window_, bool active) = 0 ; + virtual void __fastcall doOnWindowBoundsChanged(const _di_ICefWindow window_, const Uceftypes::TCefRect &new_bounds) = 0 ; + virtual void __fastcall doOnWindowFullscreenTransition(const _di_ICefWindow window_, bool is_completed) = 0 ; + virtual void __fastcall doOnGetParentWindow(const _di_ICefWindow window_, bool &is_menu, bool &can_activate_menu, _di_ICefWindow &aResult) = 0 ; + virtual void __fastcall doOnIsWindowModalDialog(const _di_ICefWindow window_, bool &aResult) = 0 ; + virtual void __fastcall doOnGetInitialBounds(const _di_ICefWindow window_, Uceftypes::TCefRect &aResult) = 0 ; + virtual void __fastcall doOnGetInitialShowState(const _di_ICefWindow window_, Uceftypes::TCefShowState &aResult) = 0 ; + virtual void __fastcall doOnIsFrameless(const _di_ICefWindow window_, bool &aResult) = 0 ; + virtual void __fastcall doOnWithStandardWindowButtons(const _di_ICefWindow window_, bool &aResult) = 0 ; + virtual void __fastcall doOnGetTitlebarHeight(const _di_ICefWindow window_, float &titlebar_height, bool &aResult) = 0 ; + virtual void __fastcall doOnAcceptsFirstMouse(const _di_ICefWindow window_, Uceftypes::TCefState &aResult) = 0 ; + virtual void __fastcall doOnCanResize(const _di_ICefWindow window_, bool &aResult) = 0 ; + virtual void __fastcall doOnCanMaximize(const _di_ICefWindow window_, bool &aResult) = 0 ; + virtual void __fastcall doOnCanMinimize(const _di_ICefWindow window_, bool &aResult) = 0 ; + virtual void __fastcall doOnCanClose(const _di_ICefWindow window_, bool &aResult) = 0 ; + virtual void __fastcall doOnAccelerator(const _di_ICefWindow window_, int command_id, bool &aResult) = 0 ; + virtual void __fastcall doOnKeyEvent(const _di_ICefWindow window_, const Uceftypes::TCefKeyEvent &event, bool &aResult) = 0 ; + virtual void __fastcall doOnThemeColorsChanged(const _di_ICefWindow window_, int chrome_theme) = 0 ; + virtual void __fastcall doOnGetWindowRuntimeStyle(Uceftypes::TCefRuntimeStyle &aResult) = 0 ; + virtual void __fastcall doOnGetLinuxWindowProperties(const _di_ICefWindow window_, Uceftypes::TLinuxWindowProperties &properties, bool &aResult) = 0 ; +}; + +__interface INTERFACE_UUID("{1F9A7B44-DCDC-4477-9180-3ADD44BDEB7B}") ICefBaseRefCounted : public System::IInterface +{ + virtual void * __fastcall Wrap() = 0 ; + virtual bool __fastcall SameAs(void * aData) = 0 /* overload */; + virtual bool __fastcall SameAs(const _di_ICefBaseRefCounted aBaseRefCounted) = 0 /* overload */; + virtual bool __fastcall HasOneRef() = 0 ; + virtual bool __fastcall HasAtLeastOneRef() = 0 ; + virtual void __fastcall DestroyOtherRefs() = 0 ; +}; + +__interface INTERFACE_UUID("{BEC09DE3-AB0A-4F5E-8461-5F9F4520FDEF}") ICefCustomUserData : public ICefBaseRefCounted +{ + virtual void * __fastcall GetUserDataType() = 0 ; + virtual void * __fastcall GetUserData() = 0 ; + __property void * UserDataType = {read=GetUserDataType}; + __property void * UserData = {read=GetUserData}; +}; + +__interface INTERFACE_UUID("{59FCECC6-E897-45BA-873B-F09586C4BE47}") ICefRunFileDialogCallback : public ICefBaseRefCounted +{ + virtual void __fastcall OnFileDialogDismissed(System::Classes::TStrings* const filePaths) = 0 ; +}; + +__interface INTERFACE_UUID("{CC4D6BC9-0168-4C2C-98BA-45E9AA9CD619}") ICefNavigationEntryVisitor : public ICefBaseRefCounted +{ + virtual bool __fastcall Visit(const _di_ICefNavigationEntry entry, bool current, int index, int total) = 0 ; +}; + +__interface INTERFACE_UUID("{F1CC58E9-2C30-4932-91AE-467C8D8EFB8E}") ICefPdfPrintCallback : public ICefBaseRefCounted +{ + virtual void __fastcall OnPdfPrintFinished(const Uceftypes::ustring path, bool ok) = 0 ; +}; + +__interface INTERFACE_UUID("{0C6E9032-27DF-4584-95C6-DC3C7CB63727}") ICefDownloadImageCallback : public ICefBaseRefCounted +{ + virtual void __fastcall OnDownloadImageFinished(const Uceftypes::ustring imageUrl, int httpStatusCode, const _di_ICefImage image) = 0 ; +}; + +__interface INTERFACE_UUID("{53AE02FF-EF5D-48C3-A43E-069DA9535424}") ICefBrowserHost : public ICefBaseRefCounted +{ + virtual _di_ICefBrowser __fastcall GetBrowser() = 0 ; + virtual void __fastcall CloseBrowser(bool forceClose) = 0 ; + virtual bool __fastcall TryCloseBrowser() = 0 ; + virtual bool __fastcall IsReadyToBeClosed() = 0 ; + virtual void __fastcall SetFocus(bool focus) = 0 ; + virtual Uceftypes::TCefWindowHandle __fastcall GetWindowHandle() = 0 ; + virtual Uceftypes::TCefWindowHandle __fastcall GetOpenerWindowHandle() = 0 ; + virtual int __fastcall GetOpenerIdentifier() = 0 ; + virtual bool __fastcall HasView() = 0 ; + virtual _di_ICefClient __fastcall GetClient() = 0 ; + virtual _di_ICefRequestContext __fastcall GetRequestContext() = 0 ; + virtual bool __fastcall CanZoom(Uceftypes::TCefZoomCommand command) = 0 ; + virtual void __fastcall Zoom(Uceftypes::TCefZoomCommand command) = 0 ; + virtual double __fastcall GetDefaultZoomLevel() = 0 ; + virtual double __fastcall GetZoomLevel() = 0 ; + virtual void __fastcall SetZoomLevel(const double zoomLevel) = 0 ; + virtual void __fastcall RunFileDialog(Uceftypes::TCefFileDialogMode mode, const Uceftypes::ustring title, const Uceftypes::ustring defaultFilePath, System::Classes::TStrings* const acceptFilters, const _di_ICefRunFileDialogCallback callback) = 0 ; + virtual void __fastcall RunFileDialogProc(Uceftypes::TCefFileDialogMode mode, const Uceftypes::ustring title, const Uceftypes::ustring defaultFilePath, System::Classes::TStrings* const acceptFilters, const _di_TCefRunFileDialogCallbackProc callback) = 0 ; + virtual void __fastcall StartDownload(const Uceftypes::ustring url) = 0 ; + virtual void __fastcall DownloadImage(const Uceftypes::ustring imageUrl, bool isFavicon, unsigned maxImageSize, bool bypassCache, const _di_ICefDownloadImageCallback callback) = 0 ; + virtual void __fastcall Print() = 0 ; + virtual void __fastcall PrintToPdf(const Uceftypes::ustring path, Uceftypes::PCefPdfPrintSettings settings, const _di_ICefPdfPrintCallback callback) = 0 ; + virtual void __fastcall PrintToPdfProc(const Uceftypes::ustring path, Uceftypes::PCefPdfPrintSettings settings, const _di_TOnPdfPrintFinishedProc callback) = 0 ; + virtual void __fastcall Find(const Uceftypes::ustring searchText, bool forward_, bool matchCase, bool findNext) = 0 ; + virtual void __fastcall StopFinding(bool clearSelection) = 0 ; + virtual void __fastcall ShowDevTools(const Uceftypes::PCefWindowInfo windowInfo, const _di_ICefClient client, const Uceftypes::PCefBrowserSettings settings, Uceftypes::PCefPoint inspectElementAt) = 0 ; + virtual void __fastcall CloseDevTools() = 0 ; + virtual bool __fastcall HasDevTools() = 0 ; + virtual bool __fastcall SendDevToolsMessage(const Uceftypes::ustring message_) = 0 ; + virtual int __fastcall ExecuteDevToolsMethod(int message_id, const Uceftypes::ustring method, const _di_ICefDictionaryValue params) = 0 ; + virtual _di_ICefRegistration __fastcall AddDevToolsMessageObserver(const _di_ICefDevToolsMessageObserver observer) = 0 ; + virtual void __fastcall GetNavigationEntries(const _di_ICefNavigationEntryVisitor visitor, bool currentOnly) = 0 ; + virtual void __fastcall GetNavigationEntriesProc(const _di_TCefNavigationEntryVisitorProc proc, bool currentOnly) = 0 ; + virtual void __fastcall ReplaceMisspelling(const Uceftypes::ustring word) = 0 ; + virtual void __fastcall AddWordToDictionary(const Uceftypes::ustring word) = 0 ; + virtual bool __fastcall IsWindowRenderingDisabled() = 0 ; + virtual void __fastcall WasResized() = 0 ; + virtual void __fastcall WasHidden(bool hidden) = 0 ; + virtual void __fastcall NotifyScreenInfoChanged() = 0 ; + virtual void __fastcall Invalidate(Uceftypes::TCefPaintElementType kind) = 0 ; + virtual void __fastcall SendExternalBeginFrame() = 0 ; + virtual void __fastcall SendKeyEvent(const Uceftypes::PCefKeyEvent event) = 0 ; + virtual void __fastcall SendMouseClickEvent(const Uceftypes::PCefMouseEvent event, Uceftypes::TCefMouseButtonType type_, bool mouseUp, int clickCount) = 0 ; + virtual void __fastcall SendMouseMoveEvent(const Uceftypes::PCefMouseEvent event, bool mouseLeave) = 0 ; + virtual void __fastcall SendMouseWheelEvent(const Uceftypes::PCefMouseEvent event, int deltaX, int deltaY) = 0 ; + virtual void __fastcall SendTouchEvent(const Uceftypes::PCefTouchEvent event) = 0 ; + virtual void __fastcall SendCaptureLostEvent() = 0 ; + virtual void __fastcall NotifyMoveOrResizeStarted() = 0 ; + virtual int __fastcall GetWindowlessFrameRate() = 0 ; + virtual void __fastcall SetWindowlessFrameRate(int frameRate) = 0 ; + virtual void __fastcall IMESetComposition(const Uceftypes::ustring text, const Uceftypes::TCefCompositionUnderlineDynArray underlines, const Uceftypes::PCefRange replacement_range, const Uceftypes::PCefRange selection_range) = 0 ; + virtual void __fastcall IMECommitText(const Uceftypes::ustring text, const Uceftypes::PCefRange replacement_range, int relative_cursor_pos) = 0 ; + virtual void __fastcall IMEFinishComposingText(bool keep_selection) = 0 ; + virtual void __fastcall IMECancelComposition() = 0 ; + virtual void __fastcall DragTargetDragEnter(const _di_ICefDragData dragData, const Uceftypes::PCefMouseEvent event, Uceftypes::TCefDragOperations allowedOps) = 0 ; + virtual void __fastcall DragTargetDragOver(const Uceftypes::PCefMouseEvent event, Uceftypes::TCefDragOperations allowedOps) = 0 ; + virtual void __fastcall DragTargetDragLeave() = 0 ; + virtual void __fastcall DragTargetDrop(const Uceftypes::PCefMouseEvent event) = 0 ; + virtual void __fastcall DragSourceEndedAt(int x, int y, Uceftypes::TCefDragOperation op) = 0 ; + virtual void __fastcall DragSourceSystemDragEnded() = 0 ; + virtual _di_ICefNavigationEntry __fastcall GetVisibleNavigationEntry() = 0 ; + virtual void __fastcall SetAccessibilityState(Uceftypes::TCefState accessibilityState) = 0 ; + virtual void __fastcall SetAutoResizeEnabled(bool enabled, const Uceftypes::PCefSize min_size, const Uceftypes::PCefSize max_size) = 0 ; + virtual void __fastcall SetAudioMuted(bool mute) = 0 ; + virtual bool __fastcall IsAudioMuted() = 0 ; + virtual bool __fastcall IsFullscreen() = 0 ; + virtual void __fastcall ExitFullscreen(bool will_cause_resize) = 0 ; + virtual bool __fastcall CanExecuteChromeCommand(int command_id) = 0 ; + virtual void __fastcall ExecuteChromeCommand(int command_id, Uceftypes::TCefWindowOpenDisposition disposition) = 0 ; + virtual bool __fastcall IsRenderProcessUnresponsive() = 0 ; + virtual Uceftypes::TCefRuntimeStyle __fastcall GetRuntimeStyle() = 0 ; + __property _di_ICefBrowser Browser = {read=GetBrowser}; + __property Uceftypes::TCefWindowHandle WindowHandle = {read=GetWindowHandle}; + __property Uceftypes::TCefWindowHandle OpenerWindowHandle = {read=GetOpenerWindowHandle}; + __property int OpenerIdentifier = {read=GetOpenerIdentifier}; + __property double ZoomLevel = {read=GetZoomLevel, write=SetZoomLevel}; + __property double DefaultZoomLevel = {read=GetDefaultZoomLevel}; + __property _di_ICefRequestContext RequestContext = {read=GetRequestContext}; + __property _di_ICefNavigationEntry VisibleNavigationEntry = {read=GetVisibleNavigationEntry}; + __property Uceftypes::TCefRuntimeStyle RuntimeStyle = {read=GetRuntimeStyle}; +}; + +__interface INTERFACE_UUID("{E0B1001A-8777-425A-869B-29D40B8B93B1}") ICefProcessMessage : public ICefBaseRefCounted +{ + virtual bool __fastcall IsValid() = 0 ; + virtual bool __fastcall IsReadOnly() = 0 ; + virtual _di_ICefProcessMessage __fastcall Copy() = 0 ; + virtual Uceftypes::ustring __fastcall GetName() = 0 ; + virtual _di_ICefListValue __fastcall GetArgumentList() = 0 ; + virtual _di_ICefSharedMemoryRegion __fastcall GetSharedMemoryRegion() = 0 ; + __property Uceftypes::ustring Name = {read=GetName}; + __property _di_ICefListValue ArgumentList = {read=GetArgumentList}; + __property _di_ICefSharedMemoryRegion SharedMemoryRegion = {read=GetSharedMemoryRegion}; +}; + +__interface INTERFACE_UUID("{BA003C2E-CF15-458F-9D4A-FE3CEFCF3EEF}") ICefBrowser : public ICefBaseRefCounted +{ + virtual bool __fastcall IsValid() = 0 ; + virtual _di_ICefBrowserHost __fastcall GetHost() = 0 ; + virtual bool __fastcall CanGoBack() = 0 ; + virtual void __fastcall GoBack() = 0 ; + virtual bool __fastcall CanGoForward() = 0 ; + virtual void __fastcall GoForward() = 0 ; + virtual bool __fastcall IsLoading() = 0 ; + virtual void __fastcall Reload() = 0 ; + virtual void __fastcall ReloadIgnoreCache() = 0 ; + virtual void __fastcall StopLoad() = 0 ; + virtual int __fastcall GetIdentifier() = 0 ; + virtual bool __fastcall IsSame(const _di_ICefBrowser that) = 0 ; + virtual bool __fastcall IsPopup() = 0 ; + virtual bool __fastcall HasDocument() = 0 ; + virtual _di_ICefFrame __fastcall GetMainFrame() = 0 ; + virtual _di_ICefFrame __fastcall GetFocusedFrame() = 0 ; + virtual _di_ICefFrame __fastcall GetFrameByIdentifier(const Uceftypes::ustring identifier) = 0 ; + virtual _di_ICefFrame __fastcall GetFrameByName(const Uceftypes::ustring name) = 0 ; + virtual System::NativeUInt __fastcall GetFrameCount() = 0 ; + virtual bool __fastcall GetFrameIdentifiers(System::Classes::TStrings* &aFrameIdentifiers) = 0 ; + virtual bool __fastcall GetFrameNames(System::Classes::TStrings* &aFrameNames) = 0 ; + __property _di_ICefFrame MainFrame = {read=GetMainFrame}; + __property _di_ICefFrame FocusedFrame = {read=GetFocusedFrame}; + __property System::NativeUInt FrameCount = {read=GetFrameCount}; + __property _di_ICefBrowserHost Host = {read=GetHost}; + __property int Identifier = {read=GetIdentifier}; +}; + +__interface INTERFACE_UUID("{3353D1B8-0300-4ADC-8D74-4FF31C77D13C}") ICefPostDataElement : public ICefBaseRefCounted +{ + virtual bool __fastcall IsReadOnly() = 0 ; + virtual void __fastcall SetToEmpty() = 0 ; + virtual void __fastcall SetToFile(const Uceftypes::ustring fileName) = 0 ; + virtual void __fastcall SetToBytes(System::NativeUInt size, const void * bytes) = 0 ; + virtual Uceftypes::TCefPostDataElementType __fastcall GetType() = 0 ; + virtual Uceftypes::ustring __fastcall GetFile() = 0 ; + virtual System::NativeUInt __fastcall GetBytesCount() = 0 ; + virtual System::NativeUInt __fastcall GetBytes(System::NativeUInt size, void * bytes) = 0 ; +}; + +__interface INTERFACE_UUID("{1E677630-9339-4732-BB99-D6FE4DE4AEC0}") ICefPostData : public ICefBaseRefCounted +{ + virtual bool __fastcall IsReadOnly() = 0 ; + virtual bool __fastcall HasExcludedElements() = 0 ; + virtual System::NativeUInt __fastcall GetElementCount() = 0 ; + virtual void __fastcall GetElements(System::NativeUInt elementsCount, TCefPostDataElementArray &elements) = 0 ; + virtual bool __fastcall RemoveElement(const _di_ICefPostDataElement element) = 0 ; + virtual bool __fastcall AddElement(const _di_ICefPostDataElement element) = 0 ; + virtual void __fastcall RemoveElements() = 0 ; +}; + +__interface INTERFACE_UUID("{FB4718D3-7D13-4979-9F4C-D7F6C0EC592A}") ICefRequest : public ICefBaseRefCounted +{ + virtual bool __fastcall IsReadOnly() = 0 ; + virtual Uceftypes::ustring __fastcall GetUrl() = 0 ; + virtual void __fastcall SetUrl(const Uceftypes::ustring value) = 0 ; + virtual Uceftypes::ustring __fastcall GetMethod() = 0 ; + virtual void __fastcall SetMethod(const Uceftypes::ustring value) = 0 ; + virtual void __fastcall SetReferrer(const Uceftypes::ustring referrerUrl, Uceftypes::TCefReferrerPolicy policy) = 0 ; + virtual Uceftypes::ustring __fastcall GetReferrerUrl() = 0 ; + virtual Uceftypes::TCefReferrerPolicy __fastcall GetReferrerPolicy() = 0 ; + virtual _di_ICefPostData __fastcall GetPostData() = 0 ; + virtual void __fastcall SetPostData(const _di_ICefPostData value) = 0 ; + virtual void __fastcall GetHeaderMap(const _di_ICefStringMultimap HeaderMap) = 0 ; + virtual void __fastcall SetHeaderMap(const _di_ICefStringMultimap HeaderMap) = 0 ; + virtual Uceftypes::ustring __fastcall GetHeaderByName(const Uceftypes::ustring name) = 0 ; + virtual void __fastcall SetHeaderByName(const Uceftypes::ustring name, const Uceftypes::ustring value, bool overwrite) = 0 ; + virtual Uceftypes::TCefUrlRequestFlags __fastcall GetFlags() = 0 ; + virtual void __fastcall SetFlags(Uceftypes::TCefUrlRequestFlags flags) = 0 ; + virtual Uceftypes::ustring __fastcall GetFirstPartyForCookies() = 0 ; + virtual void __fastcall SetFirstPartyForCookies(const Uceftypes::ustring url) = 0 ; + virtual void __fastcall Assign(const Uceftypes::ustring url, const Uceftypes::ustring method, const _di_ICefPostData postData, const _di_ICefStringMultimap headerMap) = 0 ; + virtual Uceftypes::TCefResourceType __fastcall GetResourceType() = 0 ; + virtual Uceftypes::TCefTransitionType __fastcall GetTransitionType() = 0 ; + virtual unsigned __int64 __fastcall GetIdentifier() = 0 ; + __property Uceftypes::ustring Url = {read=GetUrl, write=SetUrl}; + __property Uceftypes::ustring Method = {read=GetMethod, write=SetMethod}; + __property Uceftypes::ustring ReferrerUrl = {read=GetReferrerUrl}; + __property Uceftypes::TCefReferrerPolicy ReferrerPolicy = {read=GetReferrerPolicy}; + __property _di_ICefPostData PostData = {read=GetPostData, write=SetPostData}; + __property Uceftypes::TCefUrlRequestFlags Flags = {read=GetFlags, write=SetFlags}; + __property Uceftypes::ustring FirstPartyForCookies = {read=GetFirstPartyForCookies, write=SetFirstPartyForCookies}; + __property Uceftypes::TCefResourceType ResourceType = {read=GetResourceType}; + __property Uceftypes::TCefTransitionType TransitionType = {read=GetTransitionType}; + __property unsigned __int64 Identifier = {read=GetIdentifier}; +}; + +__interface INTERFACE_UUID("{63ED4D6C-2FC8-4537-964B-B84C008F6158}") ICefStringVisitor : public ICefBaseRefCounted +{ + virtual void __fastcall Visit(const Uceftypes::ustring str) = 0 ; +}; + +__interface INTERFACE_UUID("{8FD3D3A6-EA3A-4A72-8501-0276BD5C3D1D}") ICefFrame : public ICefBaseRefCounted +{ + virtual bool __fastcall IsValid() = 0 ; + virtual void __fastcall Undo() = 0 ; + virtual void __fastcall Redo() = 0 ; + virtual void __fastcall Cut() = 0 ; + virtual void __fastcall Copy() = 0 ; + virtual void __fastcall Paste() = 0 ; + virtual void __fastcall PasteAndMatchStyle() = 0 ; + virtual void __fastcall Del() = 0 ; + virtual void __fastcall SelectAll() = 0 ; + virtual void __fastcall ViewSource() = 0 ; + virtual void __fastcall GetSource(const _di_ICefStringVisitor visitor) = 0 ; + virtual void __fastcall GetSourceProc(const _di_TCefStringVisitorProc proc) = 0 ; + virtual void __fastcall GetText(const _di_ICefStringVisitor visitor) = 0 ; + virtual void __fastcall GetTextProc(const _di_TCefStringVisitorProc proc) = 0 ; + virtual void __fastcall LoadRequest(const _di_ICefRequest request) = 0 ; + virtual void __fastcall LoadUrl(const Uceftypes::ustring url) = 0 ; + virtual void __fastcall ExecuteJavaScript(const Uceftypes::ustring code, const Uceftypes::ustring scriptUrl, int startLine) = 0 ; + virtual bool __fastcall IsMain() = 0 ; + virtual bool __fastcall IsFocused() = 0 ; + virtual Uceftypes::ustring __fastcall GetName() = 0 ; + virtual Uceftypes::ustring __fastcall GetIdentifier() = 0 ; + virtual _di_ICefFrame __fastcall GetParent() = 0 ; + virtual Uceftypes::ustring __fastcall GetUrl() = 0 ; + virtual _di_ICefBrowser __fastcall GetBrowser() = 0 ; + virtual _di_ICefv8Context __fastcall GetV8Context() = 0 ; + virtual void __fastcall VisitDom(const _di_ICefDomVisitor visitor) = 0 ; + virtual void __fastcall VisitDomProc(const _di_TCefDomVisitorProc proc) = 0 ; + virtual _di_ICefUrlRequest __fastcall CreateUrlRequest(const _di_ICefRequest request, const _di_ICefUrlrequestClient client) = 0 ; + virtual void __fastcall SendProcessMessage(Uceftypes::TCefProcessId targetProcess, const _di_ICefProcessMessage message_) = 0 ; + __property Uceftypes::ustring Name = {read=GetName}; + __property Uceftypes::ustring Url = {read=GetUrl}; + __property _di_ICefBrowser Browser = {read=GetBrowser}; + __property _di_ICefFrame Parent = {read=GetParent}; + __property Uceftypes::ustring Identifier = {read=GetIdentifier}; +}; + +__interface INTERFACE_UUID("{B437128C-F7CB-4F75-83CF-A257B98C0B6E}") ICefFrameHandler : public ICefBaseRefCounted +{ + virtual void __fastcall OnFrameCreated(const _di_ICefBrowser browser, const _di_ICefFrame frame) = 0 ; + virtual void __fastcall OnFrameDestroyed(const _di_ICefBrowser browser, const _di_ICefFrame frame) = 0 ; + virtual void __fastcall OnFrameAttached(const _di_ICefBrowser browser, const _di_ICefFrame frame, bool reattached) = 0 ; + virtual void __fastcall OnFrameDetached(const _di_ICefBrowser browser, const _di_ICefFrame frame) = 0 ; + virtual void __fastcall OnMainFrameChanged(const _di_ICefBrowser browser, const _di_ICefFrame old_frame, const _di_ICefFrame new_frame) = 0 ; + virtual void __fastcall RemoveReferences() = 0 ; +}; + +__interface INTERFACE_UUID("{BBCFF23A-6FE7-4C28-B13E-6D2ACA5C83B7}") ICefCustomStreamReader : public ICefBaseRefCounted +{ + virtual System::NativeUInt __fastcall Read(void * ptr, System::NativeUInt size, System::NativeUInt n) = 0 ; + virtual int __fastcall Seek(__int64 offset, int whence) = 0 ; + virtual __int64 __fastcall Tell() = 0 ; + virtual bool __fastcall Eof() = 0 ; + virtual bool __fastcall MayBlock() = 0 ; +}; + +__interface INTERFACE_UUID("{DD5361CB-E558-49C5-A4BD-D1CE84ADB277}") ICefStreamReader : public ICefBaseRefCounted +{ + virtual System::NativeUInt __fastcall Read(void * ptr, System::NativeUInt size, System::NativeUInt n) = 0 ; + virtual int __fastcall Seek(__int64 offset, int whence) = 0 ; + virtual __int64 __fastcall Tell() = 0 ; + virtual bool __fastcall Eof() = 0 ; + virtual bool __fastcall MayBlock() = 0 ; +}; + +__interface INTERFACE_UUID("{10152506-B2F8-4765-BBBC-9CA8A85A2C87}") ICefReadHandler : public ICefBaseRefCounted +{ + virtual System::NativeUInt __fastcall Read(void * ptr, System::NativeUInt size, System::NativeUInt n) = 0 ; + virtual int __fastcall Seek(__int64 offset, int whence) = 0 ; + virtual __int64 __fastcall Tell() = 0 ; + virtual bool __fastcall Eof() = 0 ; + virtual bool __fastcall MayBlock() = 0 ; +}; + +__interface INTERFACE_UUID("{F2431888-4EAB-421E-9EC3-320BE695AF30}") ICefWriteHandler : public ICefBaseRefCounted +{ + virtual System::NativeUInt __fastcall Write(const void * ptr, System::NativeUInt size, System::NativeUInt n) = 0 ; + virtual int __fastcall Seek(__int64 offset, int whence) = 0 ; + virtual __int64 __fastcall Tell() = 0 ; + virtual int __fastcall Flush() = 0 ; + virtual bool __fastcall MayBlock() = 0 ; +}; + +__interface INTERFACE_UUID("{4AA6C477-7D8A-4D5A-A704-67F900A827E7}") ICefStreamWriter : public ICefBaseRefCounted +{ + virtual System::NativeUInt __fastcall Write(const void * ptr, System::NativeUInt size, System::NativeUInt n) = 0 ; + virtual int __fastcall Seek(__int64 offset, int whence) = 0 ; + virtual __int64 __fastcall Tell() = 0 ; + virtual int __fastcall Flush() = 0 ; + virtual bool __fastcall MayBlock() = 0 ; +}; + +__interface INTERFACE_UUID("{E9C896E4-59A8-4B96-AB5E-6EA3A498B7F1}") ICefResponse : public ICefBaseRefCounted +{ + virtual bool __fastcall IsReadOnly() = 0 ; + virtual Uceftypes::TCefErrorCode __fastcall GetError() = 0 ; + virtual void __fastcall SetError(Uceftypes::TCefErrorCode error) = 0 ; + virtual int __fastcall GetStatus() = 0 ; + virtual void __fastcall SetStatus(int status) = 0 ; + virtual Uceftypes::ustring __fastcall GetStatusText() = 0 ; + virtual void __fastcall SetStatusText(const Uceftypes::ustring StatusText) = 0 ; + virtual Uceftypes::ustring __fastcall GetMimeType() = 0 ; + virtual void __fastcall SetMimeType(const Uceftypes::ustring mimetype) = 0 ; + virtual Uceftypes::ustring __fastcall GetCharset() = 0 ; + virtual void __fastcall SetCharset(const Uceftypes::ustring charset) = 0 ; + virtual Uceftypes::ustring __fastcall GetHeaderByName(const Uceftypes::ustring name) = 0 ; + virtual void __fastcall SetHeaderByName(const Uceftypes::ustring name, const Uceftypes::ustring value, bool overwrite) = 0 ; + virtual void __fastcall GetHeaderMap(const _di_ICefStringMultimap headerMap) = 0 ; + virtual void __fastcall SetHeaderMap(const _di_ICefStringMultimap headerMap) = 0 ; + virtual Uceftypes::ustring __fastcall GetURL() = 0 ; + virtual void __fastcall SetURL(const Uceftypes::ustring url) = 0 ; + __property int Status = {read=GetStatus, write=SetStatus}; + __property Uceftypes::ustring StatusText = {read=GetStatusText, write=SetStatusText}; + __property Uceftypes::ustring MimeType = {read=GetMimeType, write=SetMimeType}; + __property Uceftypes::ustring Charset = {read=GetCharset, write=SetCharset}; + __property Uceftypes::TCefErrorCode Error = {read=GetError, write=SetError}; + __property Uceftypes::ustring URL = {read=GetURL, write=SetURL}; +}; + +__interface INTERFACE_UUID("{B34BD320-A82E-4185-8E84-B98E5EEC803F}") ICefDownloadItem : public ICefBaseRefCounted +{ + virtual bool __fastcall IsValid() = 0 ; + virtual bool __fastcall IsInProgress() = 0 ; + virtual bool __fastcall IsComplete() = 0 ; + virtual bool __fastcall IsCanceled() = 0 ; + virtual bool __fastcall IsInterrupted() = 0 ; + virtual Uceftypes::TCefDownloadInterruptReason __fastcall GetInterruptReason() = 0 ; + virtual __int64 __fastcall GetCurrentSpeed() = 0 ; + virtual int __fastcall GetPercentComplete() = 0 ; + virtual __int64 __fastcall GetTotalBytes() = 0 ; + virtual __int64 __fastcall GetReceivedBytes() = 0 ; + virtual System::TDateTime __fastcall GetStartTime() = 0 ; + virtual System::TDateTime __fastcall GetEndTime() = 0 ; + virtual Uceftypes::ustring __fastcall GetFullPath() = 0 ; + virtual unsigned __fastcall GetId() = 0 ; + virtual Uceftypes::ustring __fastcall GetUrl() = 0 ; + virtual Uceftypes::ustring __fastcall GetOriginalUrl() = 0 ; + virtual Uceftypes::ustring __fastcall GetSuggestedFileName() = 0 ; + virtual Uceftypes::ustring __fastcall GetContentDisposition() = 0 ; + virtual Uceftypes::ustring __fastcall GetMimeType() = 0 ; + __property __int64 CurrentSpeed = {read=GetCurrentSpeed}; + __property int PercentComplete = {read=GetPercentComplete}; + __property __int64 TotalBytes = {read=GetTotalBytes}; + __property __int64 ReceivedBytes = {read=GetReceivedBytes}; + __property System::TDateTime StartTime = {read=GetStartTime}; + __property System::TDateTime EndTime = {read=GetEndTime}; + __property Uceftypes::ustring FullPath = {read=GetFullPath}; + __property unsigned Id = {read=GetId}; + __property Uceftypes::ustring Url = {read=GetUrl}; + __property Uceftypes::ustring OriginalUrl = {read=GetOriginalUrl}; + __property Uceftypes::ustring SuggestedFileName = {read=GetSuggestedFileName}; + __property Uceftypes::ustring ContentDisposition = {read=GetContentDisposition}; + __property Uceftypes::ustring MimeType = {read=GetMimeType}; + __property Uceftypes::TCefDownloadInterruptReason InterruptReason = {read=GetInterruptReason}; +}; + +__interface INTERFACE_UUID("{5A81AF75-CBA2-444D-AD8E-522160F36433}") ICefBeforeDownloadCallback : public ICefBaseRefCounted +{ + virtual void __fastcall Cont(const Uceftypes::ustring downloadPath, bool showDialog) = 0 ; +}; + +__interface INTERFACE_UUID("{498F103F-BE64-4D5F-86B7-B37EC69E1735}") ICefDownloadItemCallback : public ICefBaseRefCounted +{ + virtual void __fastcall Cancel() = 0 ; + virtual void __fastcall Pause() = 0 ; + virtual void __fastcall Resume() = 0 ; +}; + +__interface INTERFACE_UUID("{3137F90A-5DC5-43C1-858D-A269F28EF4F1}") ICefDownloadHandler : public ICefBaseRefCounted +{ + virtual bool __fastcall CanDownload(const _di_ICefBrowser browser, const Uceftypes::ustring url, const Uceftypes::ustring request_method) = 0 ; + virtual bool __fastcall OnBeforeDownload(const _di_ICefBrowser browser, const _di_ICefDownloadItem downloadItem, const Uceftypes::ustring suggestedName, const _di_ICefBeforeDownloadCallback callback) = 0 ; + virtual void __fastcall OnDownloadUpdated(const _di_ICefBrowser browser, const _di_ICefDownloadItem downloadItem, const _di_ICefDownloadItemCallback callback) = 0 ; + virtual void __fastcall RemoveReferences() = 0 ; +}; + +__interface INTERFACE_UUID("{7E422CF0-05AC-4A60-A029-F45105DCE6A4}") ICefV8Exception : public ICefBaseRefCounted +{ + virtual Uceftypes::ustring __fastcall GetMessage() = 0 ; + virtual Uceftypes::ustring __fastcall GetSourceLine() = 0 ; + virtual Uceftypes::ustring __fastcall GetScriptResourceName() = 0 ; + virtual int __fastcall GetLineNumber() = 0 ; + virtual int __fastcall GetStartPosition() = 0 ; + virtual int __fastcall GetEndPosition() = 0 ; + virtual int __fastcall GetStartColumn() = 0 ; + virtual int __fastcall GetEndColumn() = 0 ; + __property Uceftypes::ustring Message = {read=GetMessage}; + __property Uceftypes::ustring SourceLine = {read=GetSourceLine}; + __property Uceftypes::ustring ScriptResourceName = {read=GetScriptResourceName}; + __property int LineNumber = {read=GetLineNumber}; + __property int StartPosition = {read=GetStartPosition}; + __property int EndPosition = {read=GetEndPosition}; + __property int StartColumn = {read=GetStartColumn}; + __property int EndColumn = {read=GetEndColumn}; +}; + +__interface INTERFACE_UUID("{4EAAB422-D046-43DF-B1F0-5503116A5816}") ICefv8ArrayBufferReleaseCallback : public ICefBaseRefCounted +{ + virtual void __fastcall ReleaseBuffer(void * buffer) = 0 ; +}; + +__interface INTERFACE_UUID("{2295A11A-8773-41F2-AD42-308C215062D9}") ICefv8Context : public ICefBaseRefCounted +{ + virtual _di_ICefTaskRunner __fastcall GetTaskRunner() = 0 ; + virtual bool __fastcall IsValid() = 0 ; + virtual _di_ICefBrowser __fastcall GetBrowser() = 0 ; + virtual _di_ICefFrame __fastcall GetFrame() = 0 ; + virtual _di_ICefv8Value __fastcall GetGlobal() = 0 ; + virtual bool __fastcall Enter() = 0 ; + virtual bool __fastcall Exit() = 0 ; + virtual bool __fastcall IsSame(const _di_ICefv8Context that) = 0 ; + virtual bool __fastcall Eval(const Uceftypes::ustring code, const Uceftypes::ustring script_url, int start_line, _di_ICefv8Value &retval, _di_ICefV8Exception &exception) = 0 ; + __property _di_ICefBrowser Browser = {read=GetBrowser}; + __property _di_ICefFrame Frame = {read=GetFrame}; + __property _di_ICefv8Value Global = {read=GetGlobal}; +}; + +__interface INTERFACE_UUID("{F94CDC60-FDCB-422D-96D5-D2A775BD5D73}") ICefv8Handler : public ICefBaseRefCounted +{ + virtual bool __fastcall Execute(const Uceftypes::ustring name, const _di_ICefv8Value object_, const TCefv8ValueArray arguments, _di_ICefv8Value &retval, Uceftypes::ustring &exception) = 0 ; +}; + +__interface INTERFACE_UUID("{B3B8FD7C-A916-4B25-93A2-2892AC324F21}") ICefV8Interceptor : public ICefBaseRefCounted +{ + virtual bool __fastcall GetByName(const Uceftypes::ustring name, const _di_ICefv8Value object_, _di_ICefv8Value &retval, Uceftypes::ustring &exception) = 0 ; + virtual bool __fastcall GetByIndex(int index, const _di_ICefv8Value object_, _di_ICefv8Value &retval, Uceftypes::ustring &exception) = 0 ; + virtual bool __fastcall SetByName(const Uceftypes::ustring name, const _di_ICefv8Value object_, const _di_ICefv8Value value, Uceftypes::ustring &exception) = 0 ; + virtual bool __fastcall SetByIndex(int index, const _di_ICefv8Value object_, const _di_ICefv8Value value, Uceftypes::ustring &exception) = 0 ; +}; + +__interface INTERFACE_UUID("{DCA6D4A2-726A-4E24-AA64-5E8C731D868A}") ICefV8Accessor : public ICefBaseRefCounted +{ + virtual bool __fastcall Get(const Uceftypes::ustring name, const _di_ICefv8Value object_, _di_ICefv8Value &retval, Uceftypes::ustring &exception) = 0 ; + virtual bool __fastcall Set_(const Uceftypes::ustring name, const _di_ICefv8Value object_, const _di_ICefv8Value value, Uceftypes::ustring &exception) = 0 ; +}; + +__interface INTERFACE_UUID("{0D965470-4A86-47CE-BD39-A8770021AD7E}") ICefTask : public ICefBaseRefCounted +{ + virtual void __fastcall Execute() = 0 ; +}; + +__interface INTERFACE_UUID("{913B6FE7-1543-407D-9A23-8C232103965B}") ICefTaskManager : public ICefBaseRefCounted +{ + virtual System::NativeUInt __fastcall GetTasksCount() = 0 ; + virtual bool __fastcall GetTaskIdsList(Uceftypes::TCefCustomInt64Array &task_ids) = 0 ; + virtual bool __fastcall GetTaskInfo(const __int64 task_id, Uceftypes::TCustomTaskInfo &info) = 0 ; + virtual bool __fastcall KillTask(__int64 task_id) = 0 ; + virtual __int64 __fastcall GetTaskIdForBrowserId(int browser_id) = 0 ; +}; + +__interface INTERFACE_UUID("{6A500FA3-77B7-4418-8EA8-6337EED1337B}") ICefTaskRunner : public ICefBaseRefCounted +{ + virtual bool __fastcall IsSame(const _di_ICefTaskRunner that) = 0 ; + virtual bool __fastcall BelongsToCurrentThread() = 0 ; + virtual bool __fastcall BelongsToThread(Uceftypes::TCefThreadId threadId) = 0 ; + virtual bool __fastcall PostTask(const _di_ICefTask task) = 0 ; + virtual bool __fastcall PostDelayedTask(const _di_ICefTask task, __int64 delayMs) = 0 ; +}; + +__interface INTERFACE_UUID("{26B30EA5-F44A-4C40-97DF-67FD9E73A4FF}") ICefThread : public ICefBaseRefCounted +{ + virtual _di_ICefTaskRunner __fastcall GetTaskRunner() = 0 ; + virtual Uceftypes::TCefPlatformThreadId __fastcall GetPlatformThreadID() = 0 ; + virtual void __fastcall Stop() = 0 ; + virtual bool __fastcall IsRunning() = 0 ; +}; + +__interface INTERFACE_UUID("{965C90C9-3DAE-457F-AA64-E04FF508094A}") ICefWaitableEvent : public ICefBaseRefCounted +{ + virtual void __fastcall Reset() = 0 ; + virtual void __fastcall Signal() = 0 ; + virtual bool __fastcall IsSignaled() = 0 ; + virtual void __fastcall Wait() = 0 ; + virtual bool __fastcall TimedWait(__int64 max_ms) = 0 ; +}; + +__interface INTERFACE_UUID("{52319B8D-75A8-422C-BD4B-16FA08CC7F42}") ICefv8Value : public ICefBaseRefCounted +{ + virtual bool __fastcall IsValid() = 0 ; + virtual bool __fastcall IsUndefined() = 0 ; + virtual bool __fastcall IsNull() = 0 ; + virtual bool __fastcall IsBool() = 0 ; + virtual bool __fastcall IsInt() = 0 ; + virtual bool __fastcall IsUInt() = 0 ; + virtual bool __fastcall IsDouble() = 0 ; + virtual bool __fastcall IsDate() = 0 ; + virtual bool __fastcall IsString() = 0 ; + virtual bool __fastcall IsObject() = 0 ; + virtual bool __fastcall IsArray() = 0 ; + virtual bool __fastcall IsArrayBuffer() = 0 ; + virtual bool __fastcall IsFunction() = 0 ; + virtual bool __fastcall IsPromise() = 0 ; + virtual bool __fastcall IsSame(const _di_ICefv8Value that) = 0 ; + virtual bool __fastcall GetBoolValue() = 0 ; + virtual int __fastcall GetIntValue() = 0 ; + virtual unsigned __fastcall GetUIntValue() = 0 ; + virtual double __fastcall GetDoubleValue() = 0 ; + virtual System::TDateTime __fastcall GetDateValue() = 0 ; + virtual Uceftypes::ustring __fastcall GetStringValue() = 0 ; + virtual bool __fastcall IsUserCreated() = 0 ; + virtual bool __fastcall HasException() = 0 ; + virtual _di_ICefV8Exception __fastcall GetException() = 0 ; + virtual bool __fastcall ClearException() = 0 ; + virtual bool __fastcall WillRethrowExceptions() = 0 ; + virtual bool __fastcall SetRethrowExceptions(bool rethrow) = 0 ; + virtual bool __fastcall HasValueByKey(const Uceftypes::ustring key) = 0 ; + virtual bool __fastcall HasValueByIndex(int index) = 0 ; + virtual bool __fastcall DeleteValueByKey(const Uceftypes::ustring key) = 0 ; + virtual bool __fastcall DeleteValueByIndex(int index) = 0 ; + virtual _di_ICefv8Value __fastcall GetValueByKey(const Uceftypes::ustring key) = 0 ; + virtual _di_ICefv8Value __fastcall GetValueByIndex(int index) = 0 ; + virtual bool __fastcall SetValueByKey(const Uceftypes::ustring key, const _di_ICefv8Value value, Uceftypes::TCefV8PropertyAttributes attribute) = 0 ; + virtual bool __fastcall SetValueByIndex(int index, const _di_ICefv8Value value) = 0 ; + virtual bool __fastcall SetValueByAccessor(const Uceftypes::ustring key, Uceftypes::TCefV8PropertyAttributes attribute) = 0 ; + virtual int __fastcall GetKeys(System::Classes::TStrings* const keys) = 0 ; + virtual bool __fastcall SetUserData(const _di_ICefCustomUserData data) = 0 ; + virtual _di_ICefCustomUserData __fastcall GetUserData() = 0 ; + virtual int __fastcall GetExternallyAllocatedMemory() = 0 ; + virtual int __fastcall AdjustExternallyAllocatedMemory(int changeInBytes) = 0 ; + virtual int __fastcall GetArrayLength() = 0 ; + virtual _di_ICefv8ArrayBufferReleaseCallback __fastcall GetArrayBufferReleaseCallback() = 0 ; + virtual bool __fastcall NeuterArrayBuffer() = 0 ; + virtual System::NativeUInt __fastcall GetArrayBufferByteLength() = 0 ; + virtual void * __fastcall GetArrayBufferData() = 0 ; + virtual Uceftypes::ustring __fastcall GetFunctionName() = 0 ; + virtual _di_ICefv8Handler __fastcall GetFunctionHandler() = 0 ; + virtual _di_ICefv8Value __fastcall ExecuteFunction(const _di_ICefv8Value obj, const TCefv8ValueArray arguments) = 0 ; + virtual _di_ICefv8Value __fastcall ExecuteFunctionWithContext(const _di_ICefv8Context context, const _di_ICefv8Value obj, const TCefv8ValueArray arguments) = 0 ; + virtual bool __fastcall ResolvePromise(const _di_ICefv8Value arg) = 0 ; + virtual bool __fastcall RejectPromise(const Uceftypes::ustring errorMsg) = 0 ; +}; + +__interface INTERFACE_UUID("{BA1FFBF4-E9F2-4842-A827-DC220F324286}") ICefV8StackFrame : public ICefBaseRefCounted +{ + virtual bool __fastcall IsValid() = 0 ; + virtual Uceftypes::ustring __fastcall GetScriptName() = 0 ; + virtual Uceftypes::ustring __fastcall GetScriptNameOrSourceUrl() = 0 ; + virtual Uceftypes::ustring __fastcall GetFunctionName() = 0 ; + virtual int __fastcall GetLineNumber() = 0 ; + virtual int __fastcall GetColumn() = 0 ; + virtual bool __fastcall IsEval() = 0 ; + virtual bool __fastcall IsConstructor() = 0 ; + __property Uceftypes::ustring ScriptName = {read=GetScriptName}; + __property Uceftypes::ustring ScriptNameOrSourceUrl = {read=GetScriptNameOrSourceUrl}; + __property Uceftypes::ustring FunctionName = {read=GetFunctionName}; + __property int LineNumber = {read=GetLineNumber}; + __property int Column = {read=GetColumn}; +}; + +__interface INTERFACE_UUID("{32111C84-B7F7-4E3A-92B9-7CA1D0ADB613}") ICefV8StackTrace : public ICefBaseRefCounted +{ + virtual bool __fastcall IsValid() = 0 ; + virtual int __fastcall GetFrameCount() = 0 ; + virtual _di_ICefV8StackFrame __fastcall GetFrame(int index) = 0 ; + __property int FrameCount = {read=GetFrameCount}; + __property _di_ICefV8StackFrame Frame[int index] = {read=GetFrame}; +}; + +__interface INTERFACE_UUID("{0DE686C3-A8D7-45D2-82FD-92F7F4E62A90}") ICefXmlReader : public ICefBaseRefCounted +{ + virtual bool __fastcall MoveToNextNode() = 0 ; + virtual bool __fastcall Close() = 0 ; + virtual bool __fastcall HasError() = 0 ; + virtual Uceftypes::ustring __fastcall GetError() = 0 ; + virtual Uceftypes::TCefXmlNodeType __fastcall GetType() = 0 ; + virtual int __fastcall GetDepth() = 0 ; + virtual Uceftypes::ustring __fastcall GetLocalName() = 0 ; + virtual Uceftypes::ustring __fastcall GetPrefix() = 0 ; + virtual Uceftypes::ustring __fastcall GetQualifiedName() = 0 ; + virtual Uceftypes::ustring __fastcall GetNamespaceUri() = 0 ; + virtual Uceftypes::ustring __fastcall GetBaseUri() = 0 ; + virtual Uceftypes::ustring __fastcall GetXmlLang() = 0 ; + virtual bool __fastcall IsEmptyElement() = 0 ; + virtual bool __fastcall HasValue() = 0 ; + virtual Uceftypes::ustring __fastcall GetValue() = 0 ; + virtual bool __fastcall HasAttributes() = 0 ; + virtual System::NativeUInt __fastcall GetAttributeCount() = 0 ; + virtual Uceftypes::ustring __fastcall GetAttributeByIndex(int index) = 0 ; + virtual Uceftypes::ustring __fastcall GetAttributeByQName(const Uceftypes::ustring qualifiedName) = 0 ; + virtual Uceftypes::ustring __fastcall GetAttributeByLName(const Uceftypes::ustring localName, const Uceftypes::ustring namespaceURI) = 0 ; + virtual Uceftypes::ustring __fastcall GetInnerXml() = 0 ; + virtual Uceftypes::ustring __fastcall GetOuterXml() = 0 ; + virtual int __fastcall GetLineNumber() = 0 ; + virtual bool __fastcall MoveToAttributeByIndex(int index) = 0 ; + virtual bool __fastcall MoveToAttributeByQName(const Uceftypes::ustring qualifiedName) = 0 ; + virtual bool __fastcall MoveToAttributeByLName(const Uceftypes::ustring localName, const Uceftypes::ustring namespaceURI) = 0 ; + virtual bool __fastcall MoveToFirstAttribute() = 0 ; + virtual bool __fastcall MoveToNextAttribute() = 0 ; + virtual bool __fastcall MoveToCarryingElement() = 0 ; +}; + +__interface INTERFACE_UUID("{3B6C591F-9877-42B3-8892-AA7B27DA34A8}") ICefZipReader : public ICefBaseRefCounted +{ + virtual bool __fastcall MoveToFirstFile() = 0 ; + virtual bool __fastcall MoveToNextFile() = 0 ; + virtual bool __fastcall MoveToFile(const Uceftypes::ustring fileName, bool caseSensitive) = 0 ; + virtual bool __fastcall Close() = 0 ; + virtual Uceftypes::ustring __fastcall GetFileName() = 0 ; + virtual __int64 __fastcall GetFileSize() = 0 ; + virtual Uceftypes::TCefBaseTime __fastcall GetFileLastModified() = 0 ; + virtual bool __fastcall OpenFile(const Uceftypes::ustring password) = 0 ; + virtual bool __fastcall CloseFile() = 0 ; + virtual int __fastcall ReadFile(void * buffer, System::NativeUInt bufferSize) = 0 ; + virtual __int64 __fastcall Tell() = 0 ; + virtual bool __fastcall Eof() = 0 ; +}; + +__interface INTERFACE_UUID("{96C03C9E-9C98-491A-8DAD-1947332232D6}") ICefDomNode : public ICefBaseRefCounted +{ + virtual Uceftypes::TCefDomNodeType __fastcall GetType() = 0 ; + virtual bool __fastcall IsText() = 0 ; + virtual bool __fastcall IsElement() = 0 ; + virtual bool __fastcall IsEditable() = 0 ; + virtual bool __fastcall IsFormControlElement() = 0 ; + virtual Uceftypes::TCefDomFormControlType __fastcall GetFormControlElementType() = 0 ; + virtual bool __fastcall IsSame(const _di_ICefDomNode that) = 0 ; + virtual Uceftypes::ustring __fastcall GetName() = 0 ; + virtual Uceftypes::ustring __fastcall GetValue() = 0 ; + virtual bool __fastcall SetValue(const Uceftypes::ustring value) = 0 ; + virtual Uceftypes::ustring __fastcall GetAsMarkup() = 0 ; + virtual _di_ICefDomDocument __fastcall GetDocument() = 0 ; + virtual _di_ICefDomNode __fastcall GetParent() = 0 ; + virtual _di_ICefDomNode __fastcall GetPreviousSibling() = 0 ; + virtual _di_ICefDomNode __fastcall GetNextSibling() = 0 ; + virtual bool __fastcall HasChildren() = 0 ; + virtual _di_ICefDomNode __fastcall GetFirstChild() = 0 ; + virtual _di_ICefDomNode __fastcall GetLastChild() = 0 ; + virtual Uceftypes::ustring __fastcall GetElementTagName() = 0 ; + virtual bool __fastcall HasElementAttributes() = 0 ; + virtual bool __fastcall HasElementAttribute(const Uceftypes::ustring attrName) = 0 ; + virtual Uceftypes::ustring __fastcall GetElementAttribute(const Uceftypes::ustring attrName) = 0 ; + virtual void __fastcall GetElementAttributes(const _di_ICefStringMap attrMap) = 0 /* overload */; + virtual void __fastcall GetElementAttributes(System::Classes::TStrings* &attrList) = 0 /* overload */; + virtual bool __fastcall SetElementAttribute(const Uceftypes::ustring attrName, const Uceftypes::ustring value) = 0 ; + virtual Uceftypes::ustring __fastcall GetElementInnerText() = 0 ; + virtual Uceftypes::TCefRect __fastcall GetElementBounds() = 0 ; + __property Uceftypes::TCefDomNodeType NodeType = {read=GetType}; + __property Uceftypes::ustring Name = {read=GetName}; + __property Uceftypes::ustring AsMarkup = {read=GetAsMarkup}; + __property _di_ICefDomDocument Document = {read=GetDocument}; + __property _di_ICefDomNode Parent = {read=GetParent}; + __property _di_ICefDomNode PreviousSibling = {read=GetPreviousSibling}; + __property _di_ICefDomNode NextSibling = {read=GetNextSibling}; + __property _di_ICefDomNode FirstChild = {read=GetFirstChild}; + __property _di_ICefDomNode LastChild = {read=GetLastChild}; + __property Uceftypes::ustring ElementTagName = {read=GetElementTagName}; + __property Uceftypes::ustring ElementInnerText = {read=GetElementInnerText}; + __property Uceftypes::TCefRect ElementBounds = {read=GetElementBounds}; +}; + +__interface INTERFACE_UUID("{08E74052-45AF-4F69-A578-98A5C3959426}") ICefDomDocument : public ICefBaseRefCounted +{ + virtual Uceftypes::TCefDomDocumentType __fastcall GetType() = 0 ; + virtual _di_ICefDomNode __fastcall GetDocument() = 0 ; + virtual _di_ICefDomNode __fastcall GetBody() = 0 ; + virtual _di_ICefDomNode __fastcall GetHead() = 0 ; + virtual Uceftypes::ustring __fastcall GetTitle() = 0 ; + virtual _di_ICefDomNode __fastcall GetElementById(const Uceftypes::ustring id) = 0 ; + virtual _di_ICefDomNode __fastcall GetFocusedNode() = 0 ; + virtual bool __fastcall HasSelection() = 0 ; + virtual int __fastcall GetSelectionStartOffset() = 0 ; + virtual int __fastcall GetSelectionEndOffset() = 0 ; + virtual Uceftypes::ustring __fastcall GetSelectionAsMarkup() = 0 ; + virtual Uceftypes::ustring __fastcall GetSelectionAsText() = 0 ; + virtual Uceftypes::ustring __fastcall GetBaseUrl() = 0 ; + virtual Uceftypes::ustring __fastcall GetCompleteUrl(const Uceftypes::ustring partialURL) = 0 ; + __property Uceftypes::TCefDomDocumentType DocType = {read=GetType}; + __property _di_ICefDomNode Document = {read=GetDocument}; + __property _di_ICefDomNode Body = {read=GetBody}; + __property _di_ICefDomNode Head = {read=GetHead}; + __property Uceftypes::ustring Title = {read=GetTitle}; + __property _di_ICefDomNode FocusedNode = {read=GetFocusedNode}; + __property int SelectionStartOffset = {read=GetSelectionStartOffset}; + __property int SelectionEndOffset = {read=GetSelectionEndOffset}; + __property Uceftypes::ustring SelectionAsMarkup = {read=GetSelectionAsMarkup}; + __property Uceftypes::ustring SelectionAsText = {read=GetSelectionAsText}; + __property Uceftypes::ustring BaseUrl = {read=GetBaseUrl}; +}; + +__interface INTERFACE_UUID("{30398428-3196-4531-B968-2DDBED36F6B0}") ICefDomVisitor : public ICefBaseRefCounted +{ + virtual void __fastcall visit(const _di_ICefDomDocument document) = 0 ; +}; + +__interface INTERFACE_UUID("{8378CF1B-84AB-4FDB-9B86-34DDABCCC402}") ICefCookieVisitor : public ICefBaseRefCounted +{ + 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) = 0 ; +}; + +__interface INTERFACE_UUID("{6B43D21B-0F2C-4B94-B4E6-4AF0D7669D8E}") ICefCommandLine : public ICefBaseRefCounted +{ + virtual bool __fastcall IsValid() = 0 ; + virtual bool __fastcall IsReadOnly() = 0 ; + virtual _di_ICefCommandLine __fastcall Copy() = 0 ; + virtual void __fastcall InitFromArgv(int argc, const System::PPAnsiChar argv) = 0 ; + virtual void __fastcall InitFromString(const Uceftypes::ustring commandLine) = 0 ; + virtual void __fastcall Reset() = 0 ; + virtual Uceftypes::ustring __fastcall GetCommandLineString() = 0 ; + virtual void __fastcall GetArgv(System::Classes::TStrings* &args) = 0 ; + virtual Uceftypes::ustring __fastcall GetProgram() = 0 ; + virtual void __fastcall SetProgram(const Uceftypes::ustring prog) = 0 ; + virtual bool __fastcall HasSwitches() = 0 ; + virtual bool __fastcall HasSwitch(const Uceftypes::ustring name) = 0 ; + virtual Uceftypes::ustring __fastcall GetSwitchValue(const Uceftypes::ustring name) = 0 ; + virtual bool __fastcall GetSwitches(System::Classes::TStrings* &switches) = 0 /* overload */; + virtual bool __fastcall GetSwitches(System::Classes::TStringList* &SwitchKeys, System::Classes::TStringList* &SwitchValues) = 0 /* overload */; + virtual void __fastcall AppendSwitch(const Uceftypes::ustring name) = 0 ; + virtual void __fastcall AppendSwitchWithValue(const Uceftypes::ustring name, const Uceftypes::ustring value) = 0 ; + virtual bool __fastcall HasArguments() = 0 ; + virtual void __fastcall GetArguments(System::Classes::TStrings* &arguments) = 0 ; + virtual void __fastcall AppendArgument(const Uceftypes::ustring argument) = 0 ; + virtual void __fastcall PrependWrapper(const Uceftypes::ustring wrapper) = 0 ; + virtual void __fastcall RemoveSwitch(const Uceftypes::ustring name_) = 0 ; + __property Uceftypes::ustring CommandLineString = {read=GetCommandLineString}; +}; + +__interface INTERFACE_UUID("{9226018F-7A56-4F2E-AF01-43268E33EE6B}") ICefRegistration : public ICefBaseRefCounted +{ + +}; + +__interface INTERFACE_UUID("{76E5BB2B-7F69-4BC9-94C7-B55C61CE630F}") ICefDevToolsMessageObserver : public ICefBaseRefCounted +{ + virtual void __fastcall OnDevToolsMessage(const _di_ICefBrowser browser, const void * message_, System::NativeUInt message_size, bool &aHandled) = 0 ; + virtual void __fastcall OnDevToolsMethodResult(const _di_ICefBrowser browser, int message_id, bool success, const void * result, System::NativeUInt result_size) = 0 ; + virtual void __fastcall OnDevToolsEvent(const _di_ICefBrowser browser, const Uceftypes::ustring method, const void * params, System::NativeUInt params_size) = 0 ; + virtual void __fastcall OnDevToolsAgentAttached(const _di_ICefBrowser browser) = 0 ; + virtual void __fastcall OnDevToolsAgentDetached(const _di_ICefBrowser browser) = 0 ; +}; + +__interface INTERFACE_UUID("{F18C3880-CB8D-48F9-9D74-DCFF4B9E88DF}") ICefMediaRouter : public ICefBaseRefCounted +{ + virtual _di_ICefRegistration __fastcall AddObserver(const _di_ICefMediaObserver observer) = 0 ; + virtual _di_ICefMediaSource __fastcall GetSource(const Uceftypes::ustring urn) = 0 ; + virtual void __fastcall NotifyCurrentSinks() = 0 ; + virtual void __fastcall CreateRoute(const _di_ICefMediaSource source, const _di_ICefMediaSink sink, const _di_ICefMediaRouteCreateCallback callback) = 0 ; + virtual void __fastcall NotifyCurrentRoutes() = 0 ; +}; + +__interface INTERFACE_UUID("{0B27C8D1-63E3-4F69-939F-DCAD518654A3}") ICefMediaObserver : public ICefBaseRefCounted +{ + virtual void __fastcall OnSinks(const TCefMediaSinkArray sinks) = 0 ; + virtual void __fastcall OnRoutes(const TCefMediaRouteArray routes) = 0 ; + virtual void __fastcall OnRouteStateChanged(const _di_ICefMediaRoute route, Uceftypes::TCefMediaRouteConnectionState state) = 0 ; + virtual void __fastcall OnRouteMessageReceived(const _di_ICefMediaRoute route, const Uceftypes::ustring message_) = 0 ; +}; + +__interface INTERFACE_UUID("{D8959122-DD19-4933-B4D9-DF829062A0D3}") ICefMediaRoute : public ICefBaseRefCounted +{ + virtual Uceftypes::ustring __fastcall GetId() = 0 ; + virtual _di_ICefMediaSource __fastcall GetSource() = 0 ; + virtual _di_ICefMediaSink __fastcall GetSink() = 0 ; + virtual void __fastcall SendRouteMessage(const Uceftypes::ustring message_) = 0 ; + virtual void __fastcall Terminate() = 0 ; + __property Uceftypes::ustring ID = {read=GetId}; + __property _di_ICefMediaSource Source = {read=GetSource}; + __property _di_ICefMediaSink Sink = {read=GetSink}; +}; + +__interface INTERFACE_UUID("{8848CBFE-36AC-4AC8-BC10-386B69FB27BE}") ICefMediaRouteCreateCallback : public ICefBaseRefCounted +{ + virtual void __fastcall OnMediaRouteCreateFinished(Uceftypes::TCefMediaRouterCreateResult result, const Uceftypes::ustring error, const _di_ICefMediaRoute route) = 0 ; +}; + +__interface INTERFACE_UUID("{633898DD-4169-45D0-ADDD-6E68B3686E0D}") ICefMediaSinkDeviceInfoCallback : public ICefBaseRefCounted +{ + virtual void __fastcall OnMediaSinkDeviceInfo(const Uceftypes::ustring ip_address, int port, const Uceftypes::ustring model_name) = 0 ; +}; + +__interface INTERFACE_UUID("{EDA1A4B2-2A4C-42DD-A7DF-901BF93D908D}") ICefMediaSink : public ICefBaseRefCounted +{ + virtual Uceftypes::ustring __fastcall GetId() = 0 ; + virtual Uceftypes::ustring __fastcall GetName() = 0 ; + virtual Uceftypes::TCefMediaSinkIconType __fastcall GetIconType() = 0 ; + virtual void __fastcall GetDeviceInfo(const _di_ICefMediaSinkDeviceInfoCallback callback) = 0 ; + virtual bool __fastcall IsCastSink() = 0 ; + virtual bool __fastcall IsDialSink() = 0 ; + virtual bool __fastcall IsCompatibleWith(const _di_ICefMediaSource source) = 0 ; + __property Uceftypes::ustring ID = {read=GetId}; + __property Uceftypes::ustring Name = {read=GetName}; + __property Uceftypes::TCefMediaSinkIconType IconType = {read=GetIconType}; +}; + +__interface INTERFACE_UUID("{734ED6E4-6498-43ED-AAA4-6B993EDC30BE}") ICefMediaSource : public ICefBaseRefCounted +{ + virtual Uceftypes::ustring __fastcall GetId() = 0 ; + virtual bool __fastcall IsCastSource() = 0 ; + virtual bool __fastcall IsDialSource() = 0 ; + __property Uceftypes::ustring ID = {read=GetId}; +}; + +__interface INTERFACE_UUID("{09C264FD-7E03-41E3-87B3-4234E82B5EA2}") ICefResourceBundleHandler : public ICefBaseRefCounted +{ + virtual bool __fastcall GetLocalizedString(int stringId, Uceftypes::ustring &stringVal) = 0 ; + virtual bool __fastcall GetDataResource(int resourceId, void * &data, System::NativeUInt &dataSize) = 0 ; + virtual bool __fastcall GetDataResourceForScale(int resourceId, Uceftypes::TCefScaleFactor scaleFactor, void * &data, System::NativeUInt &dataSize) = 0 ; + virtual void __fastcall RemoveReferences() = 0 ; +}; + +__interface INTERFACE_UUID("{27291B7A-C0AE-4EE0-9115-15C810E22F6C}") ICefBrowserProcessHandler : public ICefBaseRefCounted +{ + virtual void __fastcall OnRegisterCustomPreferences(Uceftypes::TCefPreferencesType type_, Uceftypes::PCefPreferenceRegistrar registrar) = 0 ; + virtual void __fastcall OnContextInitialized() = 0 ; + virtual void __fastcall OnBeforeChildProcessLaunch(const _di_ICefCommandLine commandLine) = 0 ; + virtual void __fastcall OnAlreadyRunningAppRelaunch(const _di_ICefCommandLine commandLine, const Uceftypes::ustring current_directory, bool &aResult) = 0 ; + virtual void __fastcall OnScheduleMessagePumpWork(const __int64 delayMs) = 0 ; + virtual void __fastcall GetDefaultClient(_di_ICefClient &aClient) = 0 ; + virtual void __fastcall GetDefaultRequestContextHandler(_di_ICefRequestContextHandler &aRequestContextHandler) = 0 ; + virtual void __fastcall RemoveReferences() = 0 ; +}; + +__interface INTERFACE_UUID("{FADEE3BC-BF66-430A-BA5D-1EE3782ECC58}") ICefRenderProcessHandler : public ICefBaseRefCounted +{ + virtual void __fastcall OnWebKitInitialized() = 0 ; + virtual void __fastcall OnBrowserCreated(const _di_ICefBrowser browser, const _di_ICefDictionaryValue extra_info) = 0 ; + virtual void __fastcall OnBrowserDestroyed(const _di_ICefBrowser browser) = 0 ; + virtual _di_ICefLoadHandler __fastcall GetLoadHandler() = 0 ; + virtual void __fastcall OnContextCreated(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefv8Context context) = 0 ; + virtual void __fastcall OnContextReleased(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefv8Context context) = 0 ; + virtual void __fastcall OnUncaughtException(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefv8Context context, const _di_ICefV8Exception V8Exception, const _di_ICefV8StackTrace stackTrace) = 0 ; + virtual void __fastcall OnFocusedNodeChanged(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefDomNode node) = 0 ; + virtual bool __fastcall OnProcessMessageReceived(const _di_ICefBrowser browser, const _di_ICefFrame frame, Uceftypes::TCefProcessId sourceProcess, const _di_ICefProcessMessage aMessage) = 0 ; + virtual void __fastcall RemoveReferences() = 0 ; +}; + +__interface INTERFACE_UUID("{970CA670-9070-4642-B188-7D8A22DAEED4}") ICefApp : public ICefBaseRefCounted +{ + virtual void __fastcall OnBeforeCommandLineProcessing(const Uceftypes::ustring processType, const _di_ICefCommandLine commandLine) = 0 ; + virtual void __fastcall OnRegisterCustomSchemes(Ucefschemeregistrar::TCefSchemeRegistrarRef* const registrar) = 0 ; + virtual void __fastcall GetResourceBundleHandler(_di_ICefResourceBundleHandler &aHandler) = 0 ; + virtual void __fastcall GetBrowserProcessHandler(_di_ICefBrowserProcessHandler &aHandler) = 0 ; + virtual void __fastcall GetRenderProcessHandler(_di_ICefRenderProcessHandler &aHandler) = 0 ; + virtual void __fastcall RemoveReferences() = 0 ; +}; + +__interface INTERFACE_UUID("{A8ECCFBB-FEE0-446F-AB32-AD69A7478D57}") ICefCompletionCallback : public ICefBaseRefCounted +{ + virtual void __fastcall OnComplete() = 0 ; +}; + +__interface INTERFACE_UUID("{16E14B6F-CB0A-4F9D-A008-239E0BC7B892}") ICefSetCookieCallback : public ICefBaseRefCounted +{ + virtual void __fastcall OnComplete(bool success) = 0 ; +}; + +__interface INTERFACE_UUID("{758B79A1-B9E8-4F0D-94A0-DCE5AFADE33D}") ICefDeleteCookiesCallback : public ICefBaseRefCounted +{ + virtual void __fastcall OnComplete(int numDeleted) = 0 ; +}; + +__interface INTERFACE_UUID("{CC1749E6-9AD3-4283-8430-AF6CBF3E8785}") ICefCookieManager : public ICefBaseRefCounted +{ + virtual bool __fastcall VisitAllCookies(const _di_ICefCookieVisitor visitor) = 0 ; + virtual bool __fastcall VisitAllCookiesProc(const _di_TCefCookieVisitorProc visitor) = 0 ; + virtual bool __fastcall VisitUrlCookies(const Uceftypes::ustring url, bool includeHttpOnly, const _di_ICefCookieVisitor visitor) = 0 ; + virtual bool __fastcall VisitUrlCookiesProc(const Uceftypes::ustring url, bool includeHttpOnly, const _di_TCefCookieVisitorProc visitor) = 0 ; + virtual 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 _di_ICefSetCookieCallback callback) = 0 ; + virtual 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 _di_TCefSetCookieCallbackProc callback) = 0 ; + virtual bool __fastcall DeleteCookies(const Uceftypes::ustring url, const Uceftypes::ustring cookieName, const _di_ICefDeleteCookiesCallback callback) = 0 ; + virtual bool __fastcall DeleteCookiesProc(const Uceftypes::ustring url, const Uceftypes::ustring cookieName, const _di_TCefDeleteCookiesCallbackProc callback) = 0 ; + virtual bool __fastcall FlushStore(const _di_ICefCompletionCallback callback) = 0 ; + virtual bool __fastcall FlushStoreProc(const _di_TCefCompletionCallbackProc proc) = 0 ; +}; + +__interface INTERFACE_UUID("{1B8C449F-E2D6-4B78-9BBA-6F47E8BCDF37}") ICefCallback : public ICefBaseRefCounted +{ + virtual void __fastcall Cont() = 0 ; + virtual void __fastcall Cancel() = 0 ; +}; + +__interface INTERFACE_UUID("{5ADDE93E-5858-41FD-81E8-ED8BF710D92A}") ICefResourceSkipCallback : public ICefBaseRefCounted +{ + virtual void __fastcall Cont(__int64 bytes_skipped) = 0 ; +}; + +__interface INTERFACE_UUID("{7669335F-7A4B-4657-86CA-C02B12369602}") ICefResourceReadCallback : public ICefBaseRefCounted +{ + virtual void __fastcall Cont(__int64 bytes_read) = 0 ; +}; + +__interface INTERFACE_UUID("{BD3EA208-AAAD-488C-BFF2-76993022F2B5}") ICefResourceHandler : public ICefBaseRefCounted +{ + virtual bool __fastcall open(const _di_ICefRequest request, bool &handle_request, const _di_ICefCallback callback) = 0 ; + virtual bool __fastcall ProcessRequest(const _di_ICefRequest request, const _di_ICefCallback callback) = 0 ; + virtual void __fastcall GetResponseHeaders(const _di_ICefResponse response, /* out */ __int64 &responseLength, /* out */ Uceftypes::ustring &redirectUrl) = 0 ; + virtual bool __fastcall skip(__int64 bytes_to_skip, __int64 &bytes_skipped, const _di_ICefResourceSkipCallback callback) = 0 ; + virtual bool __fastcall read(const void * data_out, int bytes_to_read, int &bytes_read, const _di_ICefResourceReadCallback callback) = 0 ; + virtual bool __fastcall ReadResponse(const void * dataOut, int bytesToRead, int &bytesRead, const _di_ICefCallback callback) = 0 ; + virtual void __fastcall Cancel() = 0 ; +}; + +__interface INTERFACE_UUID("{4D9B7960-B73B-4EBD-9ABE-6C1C43C245EB}") ICefSchemeHandlerFactory : public ICefBaseRefCounted +{ + virtual _di_ICefResourceHandler __fastcall New(const _di_ICefBrowser browser, const _di_ICefFrame frame, const Uceftypes::ustring schemeName, const _di_ICefRequest request) = 0 ; +}; + +__interface INTERFACE_UUID("{500C2023-BF4D-4FF7-9C04-165E5C389131}") ICefAuthCallback : public ICefBaseRefCounted +{ + virtual void __fastcall Cont(const Uceftypes::ustring username, const Uceftypes::ustring password) = 0 ; + virtual void __fastcall Cancel() = 0 ; +}; + +__interface INTERFACE_UUID("{187B2156-9947-4108-87AB-32E559E1B026}") ICefJsDialogCallback : public ICefBaseRefCounted +{ + virtual void __fastcall Cont(bool success, const Uceftypes::ustring userInput) = 0 ; +}; + +__interface INTERFACE_UUID("{E31BFA9E-D4E2-49B7-A05D-20018C8794EB}") ICefContextMenuParams : public ICefBaseRefCounted +{ + virtual int __fastcall GetXCoord() = 0 ; + virtual int __fastcall GetYCoord() = 0 ; + virtual Uceftypes::TCefContextMenuTypeFlags __fastcall GetTypeFlags() = 0 ; + virtual Uceftypes::ustring __fastcall GetLinkUrl() = 0 ; + virtual Uceftypes::ustring __fastcall GetUnfilteredLinkUrl() = 0 ; + virtual Uceftypes::ustring __fastcall GetSourceUrl() = 0 ; + virtual bool __fastcall HasImageContents() = 0 ; + virtual Uceftypes::ustring __fastcall GetTitleText() = 0 ; + virtual Uceftypes::ustring __fastcall GetPageUrl() = 0 ; + virtual Uceftypes::ustring __fastcall GetFrameUrl() = 0 ; + virtual Uceftypes::ustring __fastcall GetFrameCharset() = 0 ; + virtual Uceftypes::TCefContextMenuMediaType __fastcall GetMediaType() = 0 ; + virtual Uceftypes::TCefContextMenuMediaStateFlags __fastcall GetMediaStateFlags() = 0 ; + virtual Uceftypes::ustring __fastcall GetSelectionText() = 0 ; + virtual Uceftypes::ustring __fastcall GetMisspelledWord() = 0 ; + virtual bool __fastcall GetDictionarySuggestions(System::Classes::TStringList* const suggestions) = 0 ; + virtual bool __fastcall IsEditable() = 0 ; + virtual bool __fastcall IsSpellCheckEnabled() = 0 ; + virtual Uceftypes::TCefContextMenuEditStateFlags __fastcall GetEditStateFlags() = 0 ; + virtual bool __fastcall IsCustomMenu() = 0 ; + __property int XCoord = {read=GetXCoord}; + __property int YCoord = {read=GetYCoord}; + __property Uceftypes::TCefContextMenuTypeFlags TypeFlags = {read=GetTypeFlags}; + __property Uceftypes::ustring LinkUrl = {read=GetLinkUrl}; + __property Uceftypes::ustring UnfilteredLinkUrl = {read=GetUnfilteredLinkUrl}; + __property Uceftypes::ustring SourceUrl = {read=GetSourceUrl}; + __property Uceftypes::ustring TitleText = {read=GetTitleText}; + __property Uceftypes::ustring PageUrl = {read=GetPageUrl}; + __property Uceftypes::ustring FrameUrl = {read=GetFrameUrl}; + __property Uceftypes::ustring FrameCharset = {read=GetFrameCharset}; + __property Uceftypes::TCefContextMenuMediaType MediaType = {read=GetMediaType}; + __property Uceftypes::TCefContextMenuMediaStateFlags MediaStateFlags = {read=GetMediaStateFlags}; + __property Uceftypes::ustring SelectionText = {read=GetSelectionText}; + __property Uceftypes::ustring MisspelledWord = {read=GetMisspelledWord}; + __property Uceftypes::TCefContextMenuEditStateFlags EditStateFlags = {read=GetEditStateFlags}; +}; + +__interface INTERFACE_UUID("{40AF19D3-8B4E-44B8-8F89-DEB5907FC495}") ICefMenuModel : public ICefBaseRefCounted +{ + virtual bool __fastcall IsSubMenu() = 0 ; + virtual bool __fastcall Clear() = 0 ; + virtual System::NativeUInt __fastcall GetCount() = 0 ; + virtual bool __fastcall AddSeparator() = 0 ; + virtual bool __fastcall AddItem(int commandId, const Uceftypes::ustring text) = 0 ; + virtual bool __fastcall AddCheckItem(int commandId, const Uceftypes::ustring text) = 0 ; + virtual bool __fastcall AddRadioItem(int commandId, const Uceftypes::ustring text, int groupId) = 0 ; + virtual _di_ICefMenuModel __fastcall AddSubMenu(int commandId, const Uceftypes::ustring text) = 0 ; + virtual bool __fastcall InsertSeparatorAt(System::NativeUInt index) = 0 ; + virtual bool __fastcall InsertItemAt(System::NativeUInt index, int commandId, const Uceftypes::ustring text) = 0 ; + virtual bool __fastcall InsertCheckItemAt(System::NativeUInt index, int commandId, const Uceftypes::ustring text) = 0 ; + virtual bool __fastcall InsertRadioItemAt(System::NativeUInt index, int commandId, const Uceftypes::ustring text, int groupId) = 0 ; + virtual _di_ICefMenuModel __fastcall InsertSubMenuAt(System::NativeUInt index, int commandId, const Uceftypes::ustring text) = 0 ; + virtual bool __fastcall Remove(int commandId) = 0 ; + virtual bool __fastcall RemoveAt(System::NativeUInt index) = 0 ; + virtual int __fastcall GetIndexOf(int commandId) = 0 ; + virtual int __fastcall GetCommandIdAt(System::NativeUInt index) = 0 ; + virtual bool __fastcall SetCommandIdAt(System::NativeUInt index, int commandId) = 0 ; + virtual Uceftypes::ustring __fastcall GetLabel(int commandId) = 0 ; + virtual Uceftypes::ustring __fastcall GetLabelAt(System::NativeUInt index) = 0 ; + virtual bool __fastcall SetLabel(int commandId, const Uceftypes::ustring text) = 0 ; + virtual bool __fastcall SetLabelAt(System::NativeUInt index, const Uceftypes::ustring text) = 0 ; + virtual Uceftypes::TCefMenuItemType __fastcall GetType(int commandId) = 0 ; + virtual Uceftypes::TCefMenuItemType __fastcall GetTypeAt(System::NativeUInt index) = 0 ; + virtual int __fastcall GetGroupId(int commandId) = 0 ; + virtual int __fastcall GetGroupIdAt(System::NativeUInt index) = 0 ; + virtual bool __fastcall SetGroupId(int commandId, int groupId) = 0 ; + virtual bool __fastcall SetGroupIdAt(System::NativeUInt index, int groupId) = 0 ; + virtual _di_ICefMenuModel __fastcall GetSubMenu(int commandId) = 0 ; + virtual _di_ICefMenuModel __fastcall GetSubMenuAt(System::NativeUInt index) = 0 ; + virtual bool __fastcall IsVisible(int commandId) = 0 ; + virtual bool __fastcall isVisibleAt(System::NativeUInt index) = 0 ; + virtual bool __fastcall SetVisible(int commandId, bool visible) = 0 ; + virtual bool __fastcall SetVisibleAt(System::NativeUInt index, bool visible) = 0 ; + virtual bool __fastcall IsEnabled(int commandId) = 0 ; + virtual bool __fastcall IsEnabledAt(System::NativeUInt index) = 0 ; + virtual bool __fastcall SetEnabled(int commandId, bool enabled) = 0 ; + virtual bool __fastcall SetEnabledAt(System::NativeUInt index, bool enabled) = 0 ; + virtual bool __fastcall IsChecked(int commandId) = 0 ; + virtual bool __fastcall IsCheckedAt(System::NativeUInt index) = 0 ; + virtual bool __fastcall setChecked(int commandId, bool checked) = 0 ; + virtual bool __fastcall setCheckedAt(System::NativeUInt index, bool checked) = 0 ; + virtual bool __fastcall HasAccelerator(int commandId) = 0 ; + virtual bool __fastcall HasAcceleratorAt(System::NativeUInt index) = 0 ; + virtual bool __fastcall SetAccelerator(int commandId, int keyCode, bool shiftPressed, bool ctrlPressed, bool altPressed) = 0 ; + virtual bool __fastcall SetAcceleratorAt(System::NativeUInt index, int keyCode, bool shiftPressed, bool ctrlPressed, bool altPressed) = 0 ; + virtual bool __fastcall RemoveAccelerator(int commandId) = 0 ; + virtual bool __fastcall RemoveAcceleratorAt(System::NativeUInt index) = 0 ; + virtual bool __fastcall GetAccelerator(int commandId, /* out */ int &keyCode, /* out */ bool &shiftPressed, /* out */ bool &ctrlPressed, /* out */ bool &altPressed) = 0 ; + virtual bool __fastcall GetAcceleratorAt(System::NativeUInt index, /* out */ int &keyCode, /* out */ bool &shiftPressed, /* out */ bool &ctrlPressed, /* out */ bool &altPressed) = 0 ; + virtual bool __fastcall SetColor(int commandId, Uceftypes::TCefMenuColorType colorType, Uceftypes::TCefColor color) = 0 ; + virtual bool __fastcall SetColorAt(int index, Uceftypes::TCefMenuColorType colorType, Uceftypes::TCefColor color) = 0 ; + virtual bool __fastcall GetColor(int commandId, Uceftypes::TCefMenuColorType colorType, /* out */ Uceftypes::TCefColor &color) = 0 ; + virtual bool __fastcall GetColorAt(int index, Uceftypes::TCefMenuColorType colorType, /* out */ Uceftypes::TCefColor &color) = 0 ; + virtual bool __fastcall SetFontList(int commandId, const Uceftypes::ustring fontList) = 0 ; + virtual bool __fastcall SetFontListAt(int index, const Uceftypes::ustring fontList) = 0 ; +}; + +__interface INTERFACE_UUID("{66F9F439-B12B-4EC3-A945-91AE4EF4D4BA}") ICefValue : public ICefBaseRefCounted +{ + virtual bool __fastcall IsValid() = 0 ; + virtual bool __fastcall IsOwned() = 0 ; + virtual bool __fastcall IsReadOnly() = 0 ; + virtual bool __fastcall IsSame(const _di_ICefValue that) = 0 ; + virtual bool __fastcall IsEqual(const _di_ICefValue that) = 0 ; + virtual _di_ICefValue __fastcall Copy() = 0 ; + virtual Uceftypes::TCefValueType __fastcall GetType() = 0 ; + virtual bool __fastcall GetBool() = 0 ; + virtual int __fastcall GetInt() = 0 ; + virtual double __fastcall GetDouble() = 0 ; + virtual Uceftypes::ustring __fastcall GetString() = 0 ; + virtual _di_ICefBinaryValue __fastcall GetBinary() = 0 ; + virtual _di_ICefDictionaryValue __fastcall GetDictionary() = 0 ; + virtual _di_ICefListValue __fastcall GetList() = 0 ; + virtual bool __fastcall SetNull() = 0 ; + virtual bool __fastcall SetBool(bool value) = 0 ; + virtual bool __fastcall SetInt(int value) = 0 ; + virtual bool __fastcall SetDouble(double value) = 0 ; + virtual bool __fastcall SetString(const Uceftypes::ustring value) = 0 ; + virtual bool __fastcall SetBinary(const _di_ICefBinaryValue value) = 0 ; + virtual bool __fastcall SetDictionary(const _di_ICefDictionaryValue value) = 0 ; + virtual bool __fastcall SetList(const _di_ICefListValue value) = 0 ; +}; + +__interface INTERFACE_UUID("{974AA40A-9C5C-4726-81F0-9F0D46D7C5B3}") ICefBinaryValue : public ICefBaseRefCounted +{ + virtual bool __fastcall IsValid() = 0 ; + virtual bool __fastcall IsOwned() = 0 ; + virtual bool __fastcall IsSame(const _di_ICefBinaryValue that) = 0 ; + virtual bool __fastcall IsEqual(const _di_ICefBinaryValue that) = 0 ; + virtual _di_ICefBinaryValue __fastcall Copy() = 0 ; + virtual void * __fastcall GetRawData() = 0 ; + virtual System::NativeUInt __fastcall GetSize() = 0 ; + virtual System::NativeUInt __fastcall GetData(void * buffer, System::NativeUInt bufferSize, System::NativeUInt dataOffset) = 0 ; + __property System::NativeUInt Size = {read=GetSize}; +}; + +__interface INTERFACE_UUID("{B9638559-54DC-498C-8185-233EEF12BC69}") ICefDictionaryValue : public ICefBaseRefCounted +{ + virtual bool __fastcall IsValid() = 0 ; + virtual bool __fastcall isOwned() = 0 ; + virtual bool __fastcall IsReadOnly() = 0 ; + virtual bool __fastcall IsSame(const _di_ICefDictionaryValue that) = 0 ; + virtual bool __fastcall IsEqual(const _di_ICefDictionaryValue that) = 0 ; + virtual _di_ICefDictionaryValue __fastcall Copy(bool excludeEmptyChildren) = 0 ; + virtual System::NativeUInt __fastcall GetSize() = 0 ; + virtual bool __fastcall Clear() = 0 ; + virtual bool __fastcall HasKey(const Uceftypes::ustring key) = 0 ; + virtual bool __fastcall GetKeys(System::Classes::TStrings* const keys) = 0 ; + virtual bool __fastcall Remove(const Uceftypes::ustring key) = 0 ; + virtual Uceftypes::TCefValueType __fastcall GetType(const Uceftypes::ustring key) = 0 ; + virtual _di_ICefValue __fastcall GetValue(const Uceftypes::ustring key) = 0 ; + virtual bool __fastcall GetBool(const Uceftypes::ustring key) = 0 ; + virtual int __fastcall GetInt(const Uceftypes::ustring key) = 0 ; + virtual double __fastcall GetDouble(const Uceftypes::ustring key) = 0 ; + virtual Uceftypes::ustring __fastcall GetString(const Uceftypes::ustring key) = 0 ; + virtual _di_ICefBinaryValue __fastcall GetBinary(const Uceftypes::ustring key) = 0 ; + virtual _di_ICefDictionaryValue __fastcall GetDictionary(const Uceftypes::ustring key) = 0 ; + virtual _di_ICefListValue __fastcall GetList(const Uceftypes::ustring key) = 0 ; + virtual bool __fastcall SetValue(const Uceftypes::ustring key, const _di_ICefValue value) = 0 ; + virtual bool __fastcall SetNull(const Uceftypes::ustring key) = 0 ; + virtual bool __fastcall SetBool(const Uceftypes::ustring key, bool value) = 0 ; + virtual bool __fastcall SetInt(const Uceftypes::ustring key, int value) = 0 ; + virtual bool __fastcall SetDouble(const Uceftypes::ustring key, double value) = 0 ; + virtual bool __fastcall SetString(const Uceftypes::ustring key, const Uceftypes::ustring value) = 0 ; + virtual bool __fastcall SetBinary(const Uceftypes::ustring key, const _di_ICefBinaryValue value) = 0 ; + virtual bool __fastcall SetDictionary(const Uceftypes::ustring key, const _di_ICefDictionaryValue value) = 0 ; + virtual bool __fastcall SetList(const Uceftypes::ustring key, const _di_ICefListValue value) = 0 ; +}; + +__interface INTERFACE_UUID("{09174B9D-0CC6-4360-BBB0-3CC0117F70F6}") ICefListValue : public ICefBaseRefCounted +{ + virtual bool __fastcall IsValid() = 0 ; + virtual bool __fastcall IsOwned() = 0 ; + virtual bool __fastcall IsReadOnly() = 0 ; + virtual bool __fastcall IsSame(const _di_ICefListValue that) = 0 ; + virtual bool __fastcall IsEqual(const _di_ICefListValue that) = 0 ; + virtual _di_ICefListValue __fastcall Copy() = 0 ; + virtual bool __fastcall SetSize(System::NativeUInt size) = 0 ; + virtual System::NativeUInt __fastcall GetSize() = 0 ; + virtual bool __fastcall Clear() = 0 ; + virtual bool __fastcall Remove(System::NativeUInt index) = 0 ; + virtual Uceftypes::TCefValueType __fastcall GetType(System::NativeUInt index) = 0 ; + virtual _di_ICefValue __fastcall GetValue(System::NativeUInt index) = 0 ; + virtual bool __fastcall GetBool(System::NativeUInt index) = 0 ; + virtual int __fastcall GetInt(System::NativeUInt index) = 0 ; + virtual double __fastcall GetDouble(System::NativeUInt index) = 0 ; + virtual Uceftypes::ustring __fastcall GetString(System::NativeUInt index) = 0 ; + virtual _di_ICefBinaryValue __fastcall GetBinary(System::NativeUInt index) = 0 ; + virtual _di_ICefDictionaryValue __fastcall GetDictionary(System::NativeUInt index) = 0 ; + virtual _di_ICefListValue __fastcall GetList(System::NativeUInt index) = 0 ; + virtual bool __fastcall SetValue(System::NativeUInt index, const _di_ICefValue value) = 0 ; + virtual bool __fastcall SetNull(System::NativeUInt index) = 0 ; + virtual bool __fastcall SetBool(System::NativeUInt index, bool value) = 0 ; + virtual bool __fastcall SetInt(System::NativeUInt index, int value) = 0 ; + virtual bool __fastcall SetDouble(System::NativeUInt index, double value) = 0 ; + virtual bool __fastcall SetString(System::NativeUInt index, const Uceftypes::ustring value) = 0 ; + virtual bool __fastcall SetBinary(System::NativeUInt index, const _di_ICefBinaryValue value) = 0 ; + virtual bool __fastcall SetDictionary(System::NativeUInt index, const _di_ICefDictionaryValue value) = 0 ; + virtual bool __fastcall SetList(System::NativeUInt index, const _di_ICefListValue value) = 0 ; +}; + +__interface INTERFACE_UUID("{0A3EB782-A319-4C35-9B46-09B2834D7169}") ICefLifeSpanHandler : public ICefBaseRefCounted +{ + virtual bool __fastcall OnBeforePopup(const _di_ICefBrowser browser, const _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, _di_ICefClient &client, Uceftypes::TCefBrowserSettings &settings, _di_ICefDictionaryValue &extra_info, bool &noJavascriptAccess) = 0 ; + virtual void __fastcall OnBeforePopupAborted(const _di_ICefBrowser browser, int popup_id) = 0 ; + virtual void __fastcall OnBeforeDevToolsPopup(const _di_ICefBrowser browser, Uceftypes::TCefWindowInfo &windowInfo, _di_ICefClient &client, Uceftypes::TCefBrowserSettings &settings, _di_ICefDictionaryValue &extra_info, bool &use_default_window) = 0 ; + virtual void __fastcall OnAfterCreated(const _di_ICefBrowser browser) = 0 ; + virtual bool __fastcall DoClose(const _di_ICefBrowser browser) = 0 ; + virtual void __fastcall OnBeforeClose(const _di_ICefBrowser browser) = 0 ; + virtual void __fastcall RemoveReferences() = 0 ; +}; + +__interface INTERFACE_UUID("{7C931B93-53DC-4607-AABB-2CB4AEF7FB96}") ICefCommandHandler : public ICefBaseRefCounted +{ + virtual bool __fastcall OnChromeCommand(const _di_ICefBrowser browser, int command_id, Uceftypes::TCefWindowOpenDisposition disposition) = 0 ; + virtual bool __fastcall OnIsChromeAppMenuItemVisible(const _di_ICefBrowser browser, int command_id) = 0 ; + virtual bool __fastcall OnIsChromeAppMenuItemEnabled(const _di_ICefBrowser browser, int command_id) = 0 ; + virtual bool __fastcall OnIsChromePageActionIconVisible(Uceftypes::TCefChromePageActionIconType icon_type) = 0 ; + virtual bool __fastcall OnIsChromeToolbarButtonVisible(Uceftypes::TCefChromeToolbarButtonType button_type) = 0 ; + virtual void __fastcall RemoveReferences() = 0 ; +}; + +__interface INTERFACE_UUID("{2C63FB82-345D-4A5B-9858-5AE7A85C9F49}") ICefLoadHandler : public ICefBaseRefCounted +{ + virtual void __fastcall OnLoadingStateChange(const _di_ICefBrowser browser, bool isLoading, bool canGoBack, bool canGoForward) = 0 ; + virtual void __fastcall OnLoadStart(const _di_ICefBrowser browser, const _di_ICefFrame frame, Uceftypes::TCefTransitionType transitionType) = 0 ; + virtual void __fastcall OnLoadEnd(const _di_ICefBrowser browser, const _di_ICefFrame frame, int httpStatusCode) = 0 ; + virtual void __fastcall OnLoadError(const _di_ICefBrowser browser, const _di_ICefFrame frame, Uceftypes::TCefErrorCode errorCode, const Uceftypes::ustring errorText, const Uceftypes::ustring failedUrl) = 0 ; + virtual void __fastcall RemoveReferences() = 0 ; +}; + +__interface INTERFACE_UUID("{5013BC3C-F1AE-407A-A571-A4C6B1D6831E}") ICefResponseFilter : public ICefBaseRefCounted +{ + virtual bool __fastcall InitFilter() = 0 ; + virtual Uceftypes::TCefResponseFilterStatus __fastcall Filter(void * data_in, System::NativeUInt data_in_size, System::NativeUInt &data_in_read, void * data_out, System::NativeUInt data_out_size, System::NativeUInt &data_out_written) = 0 ; +}; + +__interface INTERFACE_UUID("{050877A9-D1F8-4EB3-B58E-50DC3E3D39FD}") ICefRequestHandler : public ICefBaseRefCounted +{ + virtual bool __fastcall OnBeforeBrowse(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefRequest request, bool user_gesture, bool isRedirect) = 0 ; + virtual bool __fastcall OnOpenUrlFromTab(const _di_ICefBrowser browser, const _di_ICefFrame frame, const Uceftypes::ustring targetUrl, Uceftypes::TCefWindowOpenDisposition targetDisposition, bool userGesture) = 0 ; + virtual void __fastcall GetResourceRequestHandler(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefRequest request, bool is_navigation, bool is_download, const Uceftypes::ustring request_initiator, bool &disable_default_handling, _di_ICefResourceRequestHandler &aResourceRequestHandler) = 0 ; + virtual bool __fastcall GetAuthCredentials(const _di_ICefBrowser browser, const Uceftypes::ustring originUrl, bool isProxy, const Uceftypes::ustring host, int port, const Uceftypes::ustring realm, const Uceftypes::ustring scheme, const _di_ICefAuthCallback callback) = 0 ; + virtual bool __fastcall OnCertificateError(const _di_ICefBrowser browser, Uceftypes::TCefErrorCode certError, const Uceftypes::ustring requestUrl, const _di_ICefSslInfo sslInfo, const _di_ICefCallback callback) = 0 ; + virtual bool __fastcall OnSelectClientCertificate(const _di_ICefBrowser browser, bool isProxy, const Uceftypes::ustring host, int port, System::NativeUInt certificatesCount, const TCefX509CertificateArray certificates, const _di_ICefSelectClientCertificateCallback callback) = 0 ; + virtual void __fastcall OnRenderViewReady(const _di_ICefBrowser browser) = 0 ; + virtual bool __fastcall OnRenderProcessUnresponsive(const _di_ICefBrowser browser, const _di_ICefUnresponsiveProcessCallback callback) = 0 ; + virtual void __fastcall OnRenderProcessResponsive(const _di_ICefBrowser browser) = 0 ; + virtual void __fastcall OnRenderProcessTerminated(const _di_ICefBrowser browser, Uceftypes::TCefTerminationStatus status, int error_code, const Uceftypes::ustring error_string) = 0 ; + virtual void __fastcall OnDocumentAvailableInMainFrame(const _di_ICefBrowser browser) = 0 ; + virtual void __fastcall RemoveReferences() = 0 ; +}; + +__interface INTERFACE_UUID("{CFA42A38-EA91-4A95-95CE-178BCD412411}") ICefResourceRequestHandler : public ICefBaseRefCounted +{ + virtual void __fastcall GetCookieAccessFilter(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefRequest request, _di_ICefCookieAccessFilter &aFilter) = 0 ; + virtual Uceftypes::TCefReturnValue __fastcall OnBeforeResourceLoad(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefRequest request, const _di_ICefCallback callback) = 0 ; + virtual void __fastcall GetResourceHandler(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefRequest request, _di_ICefResourceHandler &aResourceHandler) = 0 ; + virtual void __fastcall OnResourceRedirect(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefRequest request, const _di_ICefResponse response, Uceftypes::ustring &newUrl) = 0 ; + virtual bool __fastcall OnResourceResponse(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefRequest request, const _di_ICefResponse response) = 0 ; + virtual void __fastcall GetResourceResponseFilter(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefRequest request, const _di_ICefResponse response, _di_ICefResponseFilter &aResourceFilter) = 0 ; + virtual void __fastcall OnResourceLoadComplete(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefRequest request, const _di_ICefResponse response, Uceftypes::TCefUrlRequestStatus status, __int64 receivedContentLength) = 0 ; + virtual void __fastcall OnProtocolExecution(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefRequest request, bool &allowOsExecution) = 0 ; + virtual void __fastcall RemoveReferences() = 0 ; +}; + +__interface INTERFACE_UUID("{65ECD862-F55F-46E4-8AC3-2AE90DCC86F5}") ICefCookieAccessFilter : public ICefBaseRefCounted +{ + virtual bool __fastcall CanSendCookie(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefRequest request, const Uceftypes::PCefCookie cookie) = 0 ; + virtual bool __fastcall CanSaveCookie(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefRequest request, const _di_ICefResponse response, const Uceftypes::PCefCookie cookie) = 0 ; + virtual void __fastcall RemoveReferences() = 0 ; +}; + +__interface INTERFACE_UUID("{1EC7C76D-6969-41D1-B26D-079BCFF054C4}") ICefDisplayHandler : public ICefBaseRefCounted +{ + virtual void __fastcall OnAddressChange(const _di_ICefBrowser browser, const _di_ICefFrame frame, const Uceftypes::ustring url) = 0 ; + virtual void __fastcall OnTitleChange(const _di_ICefBrowser browser, const Uceftypes::ustring title) = 0 ; + virtual void __fastcall OnFaviconUrlChange(const _di_ICefBrowser browser, System::Classes::TStrings* const icon_urls) = 0 ; + virtual void __fastcall OnFullScreenModeChange(const _di_ICefBrowser browser, bool fullscreen) = 0 ; + virtual bool __fastcall OnTooltip(const _di_ICefBrowser browser, Uceftypes::ustring &text) = 0 ; + virtual void __fastcall OnStatusMessage(const _di_ICefBrowser browser, const Uceftypes::ustring value) = 0 ; + virtual bool __fastcall OnConsoleMessage(const _di_ICefBrowser browser, Uceftypes::TCefLogSeverity level, const Uceftypes::ustring message_, const Uceftypes::ustring source, int line) = 0 ; + virtual bool __fastcall OnAutoResize(const _di_ICefBrowser browser, const Uceftypes::PCefSize new_size) = 0 ; + virtual void __fastcall OnLoadingProgressChange(const _di_ICefBrowser browser, const double progress) = 0 ; + virtual void __fastcall OnCursorChange(const _di_ICefBrowser browser, Uceftypes::TCefCursorHandle cursor_, Uceftypes::TCefCursorType CursorType, const Uceftypes::PCefCursorInfo customCursorInfo, bool &aResult) = 0 ; + virtual void __fastcall OnMediaAccessChange(const _di_ICefBrowser browser, bool has_video_access, bool has_audio_access) = 0 ; + virtual bool __fastcall OnContentsBoundsChange(const _di_ICefBrowser browser, const Uceftypes::PCefRect new_bounds) = 0 ; + virtual bool __fastcall GetRootWindowScreenRect(const _di_ICefBrowser browser, Uceftypes::PCefRect rect) = 0 ; + virtual void __fastcall RemoveReferences() = 0 ; +}; + +__interface INTERFACE_UUID("{BB7FA3FA-7B1A-4ADC-8E50-12A24018DD90}") ICefFocusHandler : public ICefBaseRefCounted +{ + virtual void __fastcall OnTakeFocus(const _di_ICefBrowser browser, bool next) = 0 ; + virtual bool __fastcall OnSetFocus(const _di_ICefBrowser browser, Uceftypes::TCefFocusSource source) = 0 ; + virtual void __fastcall OnGotFocus(const _di_ICefBrowser browser) = 0 ; + virtual void __fastcall RemoveReferences() = 0 ; +}; + +__interface INTERFACE_UUID("{0512F4EC-ED88-44C9-90D3-5C6D03D3B146}") ICefKeyboardHandler : public ICefBaseRefCounted +{ + virtual bool __fastcall OnPreKeyEvent(const _di_ICefBrowser browser, const Uceftypes::PCefKeyEvent event, Uceftypes::TCefEventHandle osEvent, /* out */ bool &isKeyboardShortcut) = 0 ; + virtual bool __fastcall OnKeyEvent(const _di_ICefBrowser browser, const Uceftypes::PCefKeyEvent event, Uceftypes::TCefEventHandle osEvent) = 0 ; + virtual void __fastcall RemoveReferences() = 0 ; +}; + +__interface INTERFACE_UUID("{64E18F86-DAC5-4ED1-8589-44DE45B9DB56}") ICefJsDialogHandler : public ICefBaseRefCounted +{ + virtual bool __fastcall OnJsdialog(const _di_ICefBrowser browser, const Uceftypes::ustring originUrl, Uceftypes::TCefJsDialogType dialogType, const Uceftypes::ustring messageText, const Uceftypes::ustring defaultPromptText, const _di_ICefJsDialogCallback callback, /* out */ bool &suppressMessage) = 0 ; + virtual bool __fastcall OnBeforeUnloadDialog(const _di_ICefBrowser browser, const Uceftypes::ustring messageText, bool isReload, const _di_ICefJsDialogCallback callback) = 0 ; + virtual void __fastcall OnResetDialogState(const _di_ICefBrowser browser) = 0 ; + virtual void __fastcall OnDialogClosed(const _di_ICefBrowser browser) = 0 ; + virtual void __fastcall RemoveReferences() = 0 ; +}; + +__interface INTERFACE_UUID("{8963271A-0B94-4279-82C8-FB2EA7B3CDEC}") ICefAudioHandler : public ICefBaseRefCounted +{ + virtual void __fastcall OnGetAudioParameters(const _di_ICefBrowser browser, Uceftypes::TCefAudioParameters ¶ms, bool &aResult) = 0 ; + virtual void __fastcall OnAudioStreamStarted(const _di_ICefBrowser browser, const Uceftypes::TCefAudioParameters ¶ms, int channels) = 0 ; + virtual void __fastcall OnAudioStreamPacket(const _di_ICefBrowser browser, const Uceftypes::PPSingle data, int frames, __int64 pts) = 0 ; + virtual void __fastcall OnAudioStreamStopped(const _di_ICefBrowser browser) = 0 ; + virtual void __fastcall OnAudioStreamError(const _di_ICefBrowser browser, const Uceftypes::ustring message_) = 0 ; + virtual void __fastcall RemoveReferences() = 0 ; +}; + +__interface INTERFACE_UUID("{44C3C6E3-B64D-4F6E-A318-4A0F3A72EB00}") ICefRunContextMenuCallback : public ICefBaseRefCounted +{ + virtual void __fastcall Cont(int commandId, Uceftypes::TCefEventFlags eventFlags) = 0 ; + virtual void __fastcall Cancel() = 0 ; +}; + +__interface INTERFACE_UUID("{11AD68BF-0055-4106-8F6B-B576F90D812F}") ICefRunQuickMenuCallback : public ICefBaseRefCounted +{ + virtual void __fastcall Cont(int command_id, Uceftypes::TCefEventFlags event_flags) = 0 ; + virtual void __fastcall Cancel() = 0 ; +}; + +__interface INTERFACE_UUID("{C2951895-4087-49D5-BA18-4D9BA4F5EDD7}") ICefContextMenuHandler : public ICefBaseRefCounted +{ + virtual void __fastcall OnBeforeContextMenu(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefContextMenuParams params, const _di_ICefMenuModel model) = 0 ; + virtual bool __fastcall RunContextMenu(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefContextMenuParams params, const _di_ICefMenuModel model, const _di_ICefRunContextMenuCallback callback) = 0 ; + virtual bool __fastcall OnContextMenuCommand(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefContextMenuParams params, int commandId, Uceftypes::TCefEventFlags eventFlags) = 0 ; + virtual void __fastcall OnContextMenuDismissed(const _di_ICefBrowser browser, const _di_ICefFrame frame) = 0 ; + virtual bool __fastcall RunQuickMenu(const _di_ICefBrowser browser, const _di_ICefFrame frame, Uceftypes::PCefPoint location, Uceftypes::PCefSize size, Uceftypes::TCefQuickMenuEditStateFlags edit_state_flags, const _di_ICefRunQuickMenuCallback callback) = 0 ; + virtual bool __fastcall OnQuickMenuCommand(const _di_ICefBrowser browser, const _di_ICefFrame frame, int command_id, Uceftypes::TCefEventFlags event_flags) = 0 ; + virtual void __fastcall OnQuickMenuDismissed(const _di_ICefBrowser browser, const _di_ICefFrame frame) = 0 ; + virtual void __fastcall RemoveReferences() = 0 ; +}; + +__interface INTERFACE_UUID("{1878C3C7-7692-44AB-BFE0-6C387106816B}") ICefAccessibilityHandler : public ICefBaseRefCounted +{ + virtual void __fastcall OnAccessibilityTreeChange(const _di_ICefValue value) = 0 ; + virtual void __fastcall OnAccessibilityLocationChange(const _di_ICefValue value) = 0 ; +}; + +__interface INTERFACE_UUID("{7763F4B2-8BE1-4E80-AC43-8B825850DC67}") ICefDialogHandler : public ICefBaseRefCounted +{ + virtual bool __fastcall OnFileDialog(const _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 _di_ICefFileDialogCallback callback) = 0 ; + virtual void __fastcall RemoveReferences() = 0 ; +}; + +__interface INTERFACE_UUID("{1FC1C22B-085A-4741-9366-5249B88EC410}") ICefRenderHandler : public ICefBaseRefCounted +{ + virtual void __fastcall GetAccessibilityHandler(_di_ICefAccessibilityHandler &aAccessibilityHandler) = 0 ; + virtual bool __fastcall GetRootScreenRect(const _di_ICefBrowser browser, Uceftypes::TCefRect &rect) = 0 ; + virtual void __fastcall GetViewRect(const _di_ICefBrowser browser, Uceftypes::TCefRect &rect) = 0 ; + virtual bool __fastcall GetScreenPoint(const _di_ICefBrowser browser, int viewX, int viewY, int &screenX, int &screenY) = 0 ; + virtual bool __fastcall GetScreenInfo(const _di_ICefBrowser browser, Uceftypes::TCefScreenInfo &screenInfo) = 0 ; + virtual void __fastcall OnPopupShow(const _di_ICefBrowser browser, bool show) = 0 ; + virtual void __fastcall OnPopupSize(const _di_ICefBrowser browser, const Uceftypes::PCefRect rect) = 0 ; + virtual void __fastcall OnPaint(const _di_ICefBrowser browser, Uceftypes::TCefPaintElementType kind, System::NativeUInt dirtyRectsCount, const Uceftypes::PCefRectArray dirtyRects, const void * buffer, int width, int height) = 0 ; + virtual void __fastcall OnAcceleratedPaint(const _di_ICefBrowser browser, Uceftypes::TCefPaintElementType kind, System::NativeUInt dirtyRectsCount, const Uceftypes::PCefRectArray dirtyRects, const Uceftypes::PCefAcceleratedPaintInfo info) = 0 ; + virtual void __fastcall GetTouchHandleSize(const _di_ICefBrowser browser, Uceftypes::TCefHorizontalAlignment orientation, Uceftypes::TCefSize &size) = 0 ; + virtual void __fastcall OnTouchHandleStateChanged(const _di_ICefBrowser browser, const Uceftypes::TCefTouchHandleState &state) = 0 ; + virtual bool __fastcall OnStartDragging(const _di_ICefBrowser browser, const _di_ICefDragData dragData, Uceftypes::TCefDragOperations allowedOps, int x, int y) = 0 ; + virtual void __fastcall OnUpdateDragCursor(const _di_ICefBrowser browser, Uceftypes::TCefDragOperation operation) = 0 ; + virtual void __fastcall OnScrollOffsetChanged(const _di_ICefBrowser browser, double x, double y) = 0 ; + virtual void __fastcall OnIMECompositionRangeChanged(const _di_ICefBrowser browser, const Uceftypes::PCefRange selected_range, System::NativeUInt character_boundsCount, const Uceftypes::PCefRect character_bounds) = 0 ; + virtual void __fastcall OnTextSelectionChanged(const _di_ICefBrowser browser, const Uceftypes::ustring selected_text, const Uceftypes::PCefRange selected_range) = 0 ; + virtual void __fastcall OnVirtualKeyboardRequested(const _di_ICefBrowser browser, Uceftypes::TCefTextInpuMode input_mode) = 0 ; + virtual void __fastcall RemoveReferences() = 0 ; +}; + +__interface INTERFACE_UUID("{1D502075-2FF0-4E13-A112-9E541CD811F4}") ICefClient : public ICefBaseRefCounted +{ + virtual void __fastcall GetAudioHandler(_di_ICefAudioHandler &aHandler) = 0 ; + virtual void __fastcall GetCommandHandler(_di_ICefCommandHandler &aHandler) = 0 ; + virtual void __fastcall GetContextMenuHandler(_di_ICefContextMenuHandler &aHandler) = 0 ; + virtual void __fastcall GetDialogHandler(_di_ICefDialogHandler &aHandler) = 0 ; + virtual void __fastcall GetDisplayHandler(_di_ICefDisplayHandler &aHandler) = 0 ; + virtual void __fastcall GetDownloadHandler(_di_ICefDownloadHandler &aHandler) = 0 ; + virtual void __fastcall GetDragHandler(_di_ICefDragHandler &aHandler) = 0 ; + virtual void __fastcall GetFindHandler(_di_ICefFindHandler &aHandler) = 0 ; + virtual void __fastcall GetFocusHandler(_di_ICefFocusHandler &aHandler) = 0 ; + virtual void __fastcall GetFrameHandler(_di_ICefFrameHandler &aHandler) = 0 ; + virtual void __fastcall GetPermissionHandler(_di_ICefPermissionHandler &aHandler) = 0 ; + virtual void __fastcall GetJsdialogHandler(_di_ICefJsDialogHandler &aHandler) = 0 ; + virtual void __fastcall GetKeyboardHandler(_di_ICefKeyboardHandler &aHandler) = 0 ; + virtual void __fastcall GetLifeSpanHandler(_di_ICefLifeSpanHandler &aHandler) = 0 ; + virtual void __fastcall GetLoadHandler(_di_ICefLoadHandler &aHandler) = 0 ; + virtual void __fastcall GetPrintHandler(_di_ICefPrintHandler &aHandler) = 0 ; + virtual void __fastcall GetRenderHandler(_di_ICefRenderHandler &aHandler) = 0 ; + virtual void __fastcall GetRequestHandler(_di_ICefRequestHandler &aHandler) = 0 ; + virtual bool __fastcall OnProcessMessageReceived(const _di_ICefBrowser browser, const _di_ICefFrame frame, Uceftypes::TCefProcessId sourceProcess, const _di_ICefProcessMessage message_) = 0 ; + virtual void __fastcall RemoveReferences() = 0 ; +}; + +__interface INTERFACE_UUID("{59226AC1-A0FA-4D59-9DF4-A65C42391A67}") ICefUrlRequest : public ICefBaseRefCounted +{ + virtual _di_ICefRequest __fastcall GetRequest() = 0 ; + virtual _di_ICefUrlrequestClient __fastcall GetClient() = 0 ; + virtual Uceftypes::TCefUrlRequestStatus __fastcall GetRequestStatus() = 0 ; + virtual int __fastcall GetRequestError() = 0 ; + virtual _di_ICefResponse __fastcall GetResponse() = 0 ; + virtual bool __fastcall GetResponseWasCached() = 0 ; + virtual void __fastcall Cancel() = 0 ; + __property _di_ICefRequest Request = {read=GetRequest}; + __property _di_ICefUrlrequestClient Client = {read=GetClient}; + __property Uceftypes::TCefUrlRequestStatus RequestStatus = {read=GetRequestStatus}; + __property int RequestError = {read=GetRequestError}; + __property _di_ICefResponse Response = {read=GetResponse}; + __property bool ResponseWasCached = {read=GetResponseWasCached}; +}; + +__interface INTERFACE_UUID("{114155BD-C248-4651-9A4F-26F3F9A4F737}") ICefUrlrequestClient : public ICefBaseRefCounted +{ + virtual void __fastcall OnRequestComplete(const _di_ICefUrlRequest request) = 0 ; + virtual void __fastcall OnUploadProgress(const _di_ICefUrlRequest request, __int64 current, __int64 total) = 0 ; + virtual void __fastcall OnDownloadProgress(const _di_ICefUrlRequest request, __int64 current, __int64 total) = 0 ; + virtual void __fastcall OnDownloadData(const _di_ICefUrlRequest request, void * data, System::NativeUInt dataLength) = 0 ; + virtual bool __fastcall OnGetAuthCredentials(bool isProxy, const Uceftypes::ustring host, int port, const Uceftypes::ustring realm, const Uceftypes::ustring scheme, const _di_ICefAuthCallback callback) = 0 ; + virtual void __fastcall RemoveReferences() = 0 ; +}; + +__interface INTERFACE_UUID("{79020EBE-9D1D-49A6-9714-8778FE8929F2}") ICefEndTracingCallback : public ICefBaseRefCounted +{ + virtual void __fastcall OnEndTracingComplete(const Uceftypes::ustring tracingFile) = 0 ; +}; + +__interface INTERFACE_UUID("{1AF659AB-4522-4E39-9C52-184000D8E3C7}") ICefFileDialogCallback : public ICefBaseRefCounted +{ + virtual void __fastcall Cont(System::Classes::TStrings* const filePaths) = 0 ; + virtual void __fastcall Cancel() = 0 ; +}; + +__interface INTERFACE_UUID("{3E4F2B66-5AAF-4906-B946-C114D0E43C13}") ICefUnresponsiveProcessCallback : public ICefBaseRefCounted +{ + virtual void __fastcall Wait() = 0 ; + virtual void __fastcall Terminate() = 0 ; +}; + +__interface INTERFACE_UUID("{FBB6A487-F633-4055-AB3E-6619EDE75683}") ICefDragData : public ICefBaseRefCounted +{ + virtual _di_ICefDragData __fastcall Clone() = 0 ; + virtual bool __fastcall IsReadOnly() = 0 ; + virtual bool __fastcall IsLink() = 0 ; + virtual bool __fastcall IsFragment() = 0 ; + virtual bool __fastcall IsFile() = 0 ; + virtual Uceftypes::ustring __fastcall GetLinkUrl() = 0 ; + virtual Uceftypes::ustring __fastcall GetLinkTitle() = 0 ; + virtual Uceftypes::ustring __fastcall GetLinkMetadata() = 0 ; + virtual Uceftypes::ustring __fastcall GetFragmentText() = 0 ; + virtual Uceftypes::ustring __fastcall GetFragmentHtml() = 0 ; + virtual Uceftypes::ustring __fastcall GetFragmentBaseUrl() = 0 ; + virtual Uceftypes::ustring __fastcall GetFileName() = 0 ; + virtual System::NativeUInt __fastcall GetFileContents(const _di_ICefStreamWriter writer) = 0 ; + virtual int __fastcall GetFileNames(System::Classes::TStrings* &names) = 0 ; + virtual int __fastcall GetFilePaths(System::Classes::TStrings* &paths) = 0 ; + virtual void __fastcall SetLinkUrl(const Uceftypes::ustring url) = 0 ; + virtual void __fastcall SetLinkTitle(const Uceftypes::ustring title) = 0 ; + virtual void __fastcall SetLinkMetadata(const Uceftypes::ustring data) = 0 ; + virtual void __fastcall SetFragmentText(const Uceftypes::ustring text) = 0 ; + virtual void __fastcall SetFragmentHtml(const Uceftypes::ustring html) = 0 ; + virtual void __fastcall SetFragmentBaseUrl(const Uceftypes::ustring baseUrl) = 0 ; + virtual void __fastcall ResetFileContents() = 0 ; + virtual void __fastcall AddFile(const Uceftypes::ustring path, const Uceftypes::ustring displayName) = 0 ; + virtual void __fastcall ClearFilenames() = 0 ; + virtual _di_ICefImage __fastcall GetImage() = 0 ; + virtual Uceftypes::TCefPoint __fastcall GetImageHotspot() = 0 ; + virtual bool __fastcall HasImage() = 0 ; +}; + +__interface INTERFACE_UUID("{59A89579-5B18-489F-A25C-5CC25FF831FC}") ICefDragHandler : public ICefBaseRefCounted +{ + virtual bool __fastcall OnDragEnter(const _di_ICefBrowser browser, const _di_ICefDragData dragData, Uceftypes::TCefDragOperations mask) = 0 ; + virtual void __fastcall OnDraggableRegionsChanged(const _di_ICefBrowser browser, const _di_ICefFrame frame, System::NativeUInt regionsCount, const Uceftypes::PCefDraggableRegionArray regions) = 0 ; + virtual void __fastcall RemoveReferences() = 0 ; +}; + +__interface INTERFACE_UUID("{F20DF234-BD43-42B3-A80B-D354A9E5B787}") ICefFindHandler : public ICefBaseRefCounted +{ + virtual void __fastcall OnFindResult(const _di_ICefBrowser browser, int identifier, int count, const Uceftypes::PCefRect selectionRect, int activeMatchOrdinal, bool finalUpdate) = 0 ; + virtual void __fastcall RemoveReferences() = 0 ; +}; + +__interface INTERFACE_UUID("{76EB1FA7-78DF-4FD5-ABB3-1CDD3E73A140}") ICefRequestContextHandler : public ICefBaseRefCounted +{ + virtual void __fastcall OnRequestContextInitialized(const _di_ICefRequestContext request_context) = 0 ; + virtual void __fastcall GetResourceRequestHandler(const _di_ICefBrowser browser, const _di_ICefFrame frame, const _di_ICefRequest request, bool is_navigation, bool is_download, const Uceftypes::ustring request_initiator, bool &disable_default_handling, _di_ICefResourceRequestHandler &aResourceRequestHandler) = 0 ; + virtual void __fastcall RemoveReferences() = 0 ; +}; + +__interface INTERFACE_UUID("{0C0EA252-7968-4163-A1BE-A1453576DD06}") ICefResolveCallback : public ICefBaseRefCounted +{ + virtual void __fastcall OnResolveCompleted(Uceftypes::TCefErrorCode result, System::Classes::TStrings* const resolvedIps) = 0 ; +}; + +__interface INTERFACE_UUID("{874985B5-2DA9-47E6-9E5F-4151BAF5A444}") ICefPreferenceObserver : public ICefBaseRefCounted +{ + virtual void __fastcall OnPreferenceChanged(const Uceftypes::ustring name) = 0 ; +}; + +__interface INTERFACE_UUID("{E8231D35-D028-4E64-BFDB-7E4596027DEC}") ICefPreferenceManager : public ICefBaseRefCounted +{ + virtual bool __fastcall HasPreference(const Uceftypes::ustring name) = 0 ; + virtual _di_ICefValue __fastcall GetPreference(const Uceftypes::ustring name) = 0 ; + virtual _di_ICefDictionaryValue __fastcall GetAllPreferences(bool includeDefaults) = 0 ; + virtual bool __fastcall CanSetPreference(const Uceftypes::ustring name) = 0 ; + virtual bool __fastcall SetPreference(const Uceftypes::ustring name, const _di_ICefValue value, /* out */ Uceftypes::ustring &error) = 0 ; + virtual _di_ICefRegistration __fastcall AddPreferenceObserver(const Uceftypes::ustring name, const _di_ICefPreferenceObserver observer) = 0 ; +}; + +__interface INTERFACE_UUID("{84E0FD25-F337-451F-9661-3D2E5844882C}") ICefSettingObserver : public ICefBaseRefCounted +{ + virtual void __fastcall OnSettingChanged(const Uceftypes::ustring requesting_url, const Uceftypes::ustring top_level_url, Uceftypes::TCefContentSettingTypes content_type) = 0 ; +}; + +__interface INTERFACE_UUID("{5830847A-2971-4BD5-ABE6-21451F8923F7}") ICefRequestContext : public ICefPreferenceManager +{ + virtual bool __fastcall IsSame(const _di_ICefRequestContext other) = 0 ; + virtual bool __fastcall IsSharingWith(const _di_ICefRequestContext other) = 0 ; + virtual bool __fastcall IsGlobal() = 0 ; + virtual _di_ICefRequestContextHandler __fastcall GetHandler() = 0 ; + virtual Uceftypes::ustring __fastcall GetCachePath() = 0 ; + virtual _di_ICefCookieManager __fastcall GetCookieManager(const _di_ICefCompletionCallback callback) = 0 ; + virtual _di_ICefCookieManager __fastcall GetCookieManagerProc(const _di_TCefCompletionCallbackProc callback) = 0 ; + virtual bool __fastcall RegisterSchemeHandlerFactory(const Uceftypes::ustring schemeName, const Uceftypes::ustring domainName, const _di_ICefSchemeHandlerFactory factory) = 0 ; + virtual bool __fastcall ClearSchemeHandlerFactories() = 0 ; + virtual void __fastcall ClearCertificateExceptions(const _di_ICefCompletionCallback callback) = 0 ; + virtual void __fastcall ClearHttpAuthCredentials(const _di_ICefCompletionCallback callback) = 0 ; + virtual void __fastcall CloseAllConnections(const _di_ICefCompletionCallback callback) = 0 ; + virtual void __fastcall ResolveHost(const Uceftypes::ustring origin, const _di_ICefResolveCallback callback) = 0 ; + virtual _di_ICefMediaRouter __fastcall GetMediaRouter(const _di_ICefCompletionCallback callback) = 0 ; + virtual _di_ICefValue __fastcall GetWebsiteSetting(const Uceftypes::ustring requesting_url, const Uceftypes::ustring top_level_url, Uceftypes::TCefContentSettingTypes content_type) = 0 ; + virtual void __fastcall SetWebsiteSetting(const Uceftypes::ustring requesting_url, const Uceftypes::ustring top_level_url, Uceftypes::TCefContentSettingTypes content_type, const _di_ICefValue value) = 0 ; + virtual Uceftypes::TCefContentSettingValues __fastcall GetContentSetting(const Uceftypes::ustring requesting_url, const Uceftypes::ustring top_level_url, Uceftypes::TCefContentSettingTypes content_type) = 0 ; + virtual void __fastcall SetContentSetting(const Uceftypes::ustring requesting_url, const Uceftypes::ustring top_level_url, Uceftypes::TCefContentSettingTypes content_type, Uceftypes::TCefContentSettingValues value) = 0 ; + virtual void __fastcall SetChromeColorScheme(Uceftypes::TCefColorVariant variant, Uceftypes::TCefColor user_color) = 0 ; + virtual Uceftypes::TCefColorVariant __fastcall GetChromeColorSchemeMode() = 0 ; + virtual Uceftypes::TCefColor __fastcall GetChromeColorSchemeColor() = 0 ; + virtual Uceftypes::TCefColorVariant __fastcall GetChromeColorSchemeVariant() = 0 ; + virtual _di_ICefRegistration __fastcall AddSettingObserver(const _di_ICefSettingObserver observer) = 0 ; + __property Uceftypes::ustring CachePath = {read=GetCachePath}; + __property bool IsGlobalContext = {read=IsGlobal}; + __property Uceftypes::TCefColorVariant ChromeColorSchemeMode = {read=GetChromeColorSchemeMode}; + __property Uceftypes::TCefColor ChromeColorSchemeColor = {read=GetChromeColorSchemeColor}; + __property Uceftypes::TCefColorVariant ChromeColorSchemeVariant = {read=GetChromeColorSchemeVariant}; +}; + +__interface INTERFACE_UUID("{ACBD2395-E9C1-49E5-B7F3-344DAA4A0F12}") ICefPrintSettings : public ICefBaseRefCounted +{ + virtual bool __fastcall IsValid() = 0 ; + virtual bool __fastcall IsReadOnly() = 0 ; + virtual void __fastcall SetOrientation(bool landscape) = 0 ; + virtual bool __fastcall IsLandscape() = 0 ; + virtual void __fastcall SetPrinterPrintableArea(const Uceftypes::PCefSize physicalSizeDeviceUnits, const Uceftypes::PCefRect printableAreaDeviceUnits, bool landscapeNeedsFlip) = 0 ; + virtual void __fastcall SetDeviceName(const Uceftypes::ustring name) = 0 ; + virtual Uceftypes::ustring __fastcall GetDeviceName() = 0 ; + virtual void __fastcall SetDpi(int dpi) = 0 ; + virtual int __fastcall GetDpi() = 0 ; + virtual void __fastcall SetPageRanges(const Uceftypes::TCefRangeArray ranges) = 0 ; + virtual System::NativeUInt __fastcall GetPageRangesCount() = 0 ; + virtual void __fastcall GetPageRanges(/* out */ Uceftypes::TCefRangeArray &ranges) = 0 ; + virtual void __fastcall SetSelectionOnly(bool selectionOnly) = 0 ; + virtual bool __fastcall IsSelectionOnly() = 0 ; + virtual void __fastcall SetCollate(bool collate) = 0 ; + virtual bool __fastcall WillCollate() = 0 ; + virtual void __fastcall SetColorModel(Uceftypes::TCefColorModel model) = 0 ; + virtual Uceftypes::TCefColorModel __fastcall GetColorModel() = 0 ; + virtual void __fastcall SetCopies(int copies) = 0 ; + virtual int __fastcall GetCopies() = 0 ; + virtual void __fastcall SetDuplexMode(Uceftypes::TCefDuplexMode mode) = 0 ; + virtual Uceftypes::TCefDuplexMode __fastcall GetDuplexMode() = 0 ; + __property bool Landscape = {read=IsLandscape, write=SetOrientation}; + __property Uceftypes::ustring DeviceName = {read=GetDeviceName, write=SetDeviceName}; + __property int Dpi = {read=GetDpi, write=SetDpi}; + __property bool SelectionOnly = {read=IsSelectionOnly, write=SetSelectionOnly}; + __property bool Collate = {read=WillCollate, write=SetCollate}; + __property Uceftypes::TCefColorModel ColorModel = {read=GetColorModel, write=SetColorModel}; + __property int Copies = {read=GetCopies, write=SetCopies}; + __property Uceftypes::TCefDuplexMode DuplexMode = {read=GetDuplexMode, write=SetDuplexMode}; +}; + +__interface INTERFACE_UUID("{1D7FB71E-0019-4A80-95ED-91DDD019253B}") ICefPrintDialogCallback : public ICefBaseRefCounted +{ + virtual void __fastcall cont(const _di_ICefPrintSettings settings) = 0 ; + virtual void __fastcall cancel() = 0 ; +}; + +__interface INTERFACE_UUID("{5554852A-052C-464B-A868-B618C7E7E2FD}") ICefPrintJobCallback : public ICefBaseRefCounted +{ + virtual void __fastcall cont() = 0 ; +}; + +__interface INTERFACE_UUID("{2831D5C9-6E2B-4A30-A65A-0F4435371EFC}") ICefPrintHandler : public ICefBaseRefCounted +{ + virtual void __fastcall OnPrintStart(const _di_ICefBrowser browser) = 0 ; + virtual void __fastcall OnPrintSettings(const _di_ICefBrowser browser, const _di_ICefPrintSettings settings, bool getDefaults) = 0 ; + virtual void __fastcall OnPrintDialog(const _di_ICefBrowser browser, bool hasSelection, const _di_ICefPrintDialogCallback callback, bool &aResult) = 0 ; + virtual void __fastcall OnPrintJob(const _di_ICefBrowser browser, const Uceftypes::ustring documentName, const Uceftypes::ustring PDFFilePath, const _di_ICefPrintJobCallback callback, bool &aResult) = 0 ; + virtual void __fastcall OnPrintReset(const _di_ICefBrowser browser) = 0 ; + virtual void __fastcall GetPDFPaperSize(const _di_ICefBrowser browser, int deviceUnitsPerInch, Uceftypes::TCefSize &aResult) = 0 ; + virtual void __fastcall RemoveReferences() = 0 ; +}; + +__interface INTERFACE_UUID("{D17B4B37-AA45-42D9-B4E4-AAB6FE2AB297}") ICefNavigationEntry : public ICefBaseRefCounted +{ + virtual bool __fastcall IsValid() = 0 ; + virtual Uceftypes::ustring __fastcall GetUrl() = 0 ; + virtual Uceftypes::ustring __fastcall GetDisplayUrl() = 0 ; + virtual Uceftypes::ustring __fastcall GetOriginalUrl() = 0 ; + virtual Uceftypes::ustring __fastcall GetTitle() = 0 ; + virtual Uceftypes::TCefTransitionType __fastcall GetTransitionType() = 0 ; + virtual bool __fastcall HasPostData() = 0 ; + virtual System::TDateTime __fastcall GetCompletionTime() = 0 ; + virtual int __fastcall GetHttpStatusCode() = 0 ; + virtual _di_ICefSSLStatus __fastcall GetSSLStatus() = 0 ; + __property Uceftypes::ustring Url = {read=GetUrl}; + __property Uceftypes::ustring DisplayUrl = {read=GetDisplayUrl}; + __property Uceftypes::ustring OriginalUrl = {read=GetOriginalUrl}; + __property Uceftypes::ustring Title = {read=GetTitle}; + __property Uceftypes::TCefTransitionType TransitionType = {read=GetTransitionType}; + __property System::TDateTime CompletionTime = {read=GetCompletionTime}; + __property int HttpStatusCode = {read=GetHttpStatusCode}; + __property _di_ICefSSLStatus SSLStatus = {read=GetSSLStatus}; +}; + +__interface INTERFACE_UUID("{CD3621ED-7D68-4A1F-95B5-190C7001B65F}") ICefX509CertPrincipal : public ICefBaseRefCounted +{ + virtual Uceftypes::ustring __fastcall GetDisplayName() = 0 ; + virtual Uceftypes::ustring __fastcall GetCommonName() = 0 ; + virtual Uceftypes::ustring __fastcall GetLocalityName() = 0 ; + virtual Uceftypes::ustring __fastcall GetStateOrProvinceName() = 0 ; + virtual Uceftypes::ustring __fastcall GetCountryName() = 0 ; + virtual void __fastcall GetOrganizationNames(System::Classes::TStrings* const names) = 0 ; + virtual void __fastcall GetOrganizationUnitNames(System::Classes::TStrings* const names) = 0 ; +}; + +__interface INTERFACE_UUID("{C897979D-F068-4428-82DF-4221612FF7E0}") ICefX509Certificate : public ICefBaseRefCounted +{ + virtual _di_ICefX509CertPrincipal __fastcall GetSubject() = 0 ; + virtual _di_ICefX509CertPrincipal __fastcall GetIssuer() = 0 ; + virtual _di_ICefBinaryValue __fastcall GetSerialNumber() = 0 ; + virtual Uceftypes::TCefBaseTime __fastcall GetValidStart() = 0 ; + virtual Uceftypes::TCefBaseTime __fastcall GetValidExpiry() = 0 ; + virtual System::TDateTime __fastcall GetValidStartAsDateTime() = 0 ; + virtual System::TDateTime __fastcall GetValidExpiryAsDateTime() = 0 ; + virtual _di_ICefBinaryValue __fastcall GetDerEncoded() = 0 ; + virtual _di_ICefBinaryValue __fastcall GetPemEncoded() = 0 ; + virtual System::NativeUInt __fastcall GetIssuerChainSize() = 0 ; + virtual void __fastcall GetDEREncodedIssuerChain(System::NativeUInt chainCount, TCefBinaryValueArray &chain) = 0 ; + virtual void __fastcall GetPEMEncodedIssuerChain(System::NativeUInt chainCount, TCefBinaryValueArray &chain) = 0 ; +}; + +__interface INTERFACE_UUID("{67EC86BD-DE7D-453D-908F-AD15626C514F}") ICefSslInfo : public ICefBaseRefCounted +{ + virtual Uceftypes::TCefCertStatus __fastcall GetCertStatus() = 0 ; + virtual _di_ICefX509Certificate __fastcall GetX509Certificate() = 0 ; +}; + +__interface INTERFACE_UUID("{E3F004F2-03D5-46A2-91D0-510C50F3B225}") ICefSSLStatus : public ICefBaseRefCounted +{ + virtual bool __fastcall IsSecureConnection() = 0 ; + virtual Uceftypes::TCefCertStatus __fastcall GetCertStatus() = 0 ; + virtual Uceftypes::TCefSSLVersion __fastcall GetSSLVersion() = 0 ; + virtual Uceftypes::TCefSSLContentStatus __fastcall GetContentStatus() = 0 ; + virtual _di_ICefX509Certificate __fastcall GetX509Certificate() = 0 ; +}; + +__interface INTERFACE_UUID("{003E3D09-ADE8-4C6E-A174-079D3D616608}") ICefSelectClientCertificateCallback : public ICefBaseRefCounted +{ + virtual void __fastcall Select(const _di_ICefX509Certificate cert) = 0 ; +}; + +__interface INTERFACE_UUID("{3213CF97-C854-452B-B615-39192F8D07DC}") ICefResourceBundle : public ICefBaseRefCounted +{ + virtual Uceftypes::ustring __fastcall GetLocalizedString(int stringId) = 0 ; + virtual _di_ICefBinaryValue __fastcall GetDataResource(int resourceId) = 0 ; + virtual _di_ICefBinaryValue __fastcall GetDataResourceForScale(int resourceId, Uceftypes::TCefScaleFactor scaleFactor) = 0 ; +}; + +__interface INTERFACE_UUID("{E2C2F424-26A2-4498-BB45-DA23219831BE}") ICefImage : public ICefBaseRefCounted +{ + virtual bool __fastcall IsEmpty() = 0 ; + virtual bool __fastcall IsSame(const _di_ICefImage that) = 0 ; + virtual bool __fastcall AddBitmap(float scaleFactor, int pixelWidth, int pixelHeight, Uceftypes::TCefColorType colorType, Uceftypes::TCefAlphaType alphaType, const void * pixelData, System::NativeUInt pixelDataSize) = 0 ; + virtual bool __fastcall AddPng(float scaleFactor, const void * pngData, System::NativeUInt pngDataSize) = 0 ; + virtual bool __fastcall AddJpeg(float scaleFactor, const void * jpegData, System::NativeUInt jpegDataSize) = 0 ; + virtual System::NativeUInt __fastcall GetWidth() = 0 ; + virtual System::NativeUInt __fastcall GetHeight() = 0 ; + virtual bool __fastcall HasRepresentation(float scaleFactor) = 0 ; + virtual bool __fastcall RemoveRepresentation(float scaleFactor) = 0 ; + virtual bool __fastcall GetRepresentationInfo(float scaleFactor, float &actualScaleFactor, int &pixelWidth, int &pixelHeight) = 0 ; + virtual _di_ICefBinaryValue __fastcall GetAsBitmap(float scaleFactor, Uceftypes::TCefColorType colorType, Uceftypes::TCefAlphaType alphaType, int &pixelWidth, int &pixelHeight) = 0 ; + virtual _di_ICefBinaryValue __fastcall GetAsPng(float scaleFactor, bool withTransparency, int &pixelWidth, int &pixelHeight) = 0 ; + virtual _di_ICefBinaryValue __fastcall GetAsJpeg(float scaleFactor, int quality, int &pixelWidth, int &pixelHeight) = 0 ; + __property System::NativeUInt Width = {read=GetWidth}; + __property System::NativeUInt Height = {read=GetHeight}; +}; + +__interface INTERFACE_UUID("{1430D202-2795-433E-9A35-C79A0996F316}") ICefMenuModelDelegate : public ICefBaseRefCounted +{ + virtual void __fastcall ExecuteCommand(const _di_ICefMenuModel menuModel, int commandId, Uceftypes::TCefEventFlags eventFlags) = 0 ; + virtual void __fastcall MouseOutsideMenu(const _di_ICefMenuModel menuModel, const Uceftypes::PCefPoint screenPoint) = 0 ; + virtual void __fastcall UnhandledOpenSubmenu(const _di_ICefMenuModel menuModel, bool isRTL) = 0 ; + virtual void __fastcall UnhandledCloseSubmenu(const _di_ICefMenuModel menuModel, bool isRTL) = 0 ; + virtual void __fastcall MenuWillShow(const _di_ICefMenuModel menuModel) = 0 ; + virtual void __fastcall MenuClosed(const _di_ICefMenuModel menuModel) = 0 ; + virtual bool __fastcall FormatLabel(const _di_ICefMenuModel menuModel, Uceftypes::ustring &label_) = 0 ; +}; + +__interface INTERFACE_UUID("{41D41764-A74B-4552-B166-C77E70549047}") ICefServer : public ICefBaseRefCounted +{ + virtual _di_ICefTaskRunner __fastcall GetTaskRunner() = 0 ; + virtual void __fastcall Shutdown() = 0 ; + virtual bool __fastcall IsRunning() = 0 ; + virtual Uceftypes::ustring __fastcall GetAddress() = 0 ; + virtual bool __fastcall HasConnection() = 0 ; + virtual bool __fastcall IsValidConnection(int connection_id) = 0 ; + virtual void __fastcall SendHttp200response(int connection_id, const Uceftypes::ustring content_type, const void * data, System::NativeUInt data_size) = 0 ; + virtual void __fastcall SendHttp404response(int connection_id) = 0 ; + virtual void __fastcall SendHttp500response(int connection_id, const Uceftypes::ustring error_message) = 0 ; + virtual void __fastcall SendHttpResponse(int connection_id, int response_code, const Uceftypes::ustring content_type, __int64 content_length, const _di_ICefStringMultimap extra_headers) = 0 ; + virtual void __fastcall SendRawData(int connection_id, const void * data, System::NativeUInt data_size) = 0 ; + virtual void __fastcall CloseConnection(int connection_id) = 0 ; + virtual void __fastcall SendWebSocketMessage(int connection_id, const void * data, System::NativeUInt data_size) = 0 ; +}; + +__interface INTERFACE_UUID("{AFB64A63-44C9-44CD-959B-D8E20F549879}") ICefServerHandler : public ICefBaseRefCounted +{ + virtual void __fastcall OnServerCreated(const _di_ICefServer server) = 0 ; + virtual void __fastcall OnServerDestroyed(const _di_ICefServer server) = 0 ; + virtual void __fastcall OnClientConnected(const _di_ICefServer server, int connection_id) = 0 ; + virtual void __fastcall OnClientDisconnected(const _di_ICefServer server, int connection_id) = 0 ; + virtual void __fastcall OnHttpRequest(const _di_ICefServer server, int connection_id, const Uceftypes::ustring client_address, const _di_ICefRequest request) = 0 ; + virtual void __fastcall OnWebSocketRequest(const _di_ICefServer server, int connection_id, const Uceftypes::ustring client_address, const _di_ICefRequest request, const _di_ICefCallback callback) = 0 ; + virtual void __fastcall OnWebSocketConnected(const _di_ICefServer server, int connection_id) = 0 ; + virtual void __fastcall OnWebSocketMessage(const _di_ICefServer server, int connection_id, const void * data, System::NativeUInt data_size) = 0 ; +}; + +__interface INTERFACE_UUID("{66F6F5F4-8489-408B-B9ED-6B705C2E2010}") ICefMediaAccessCallback : public ICefBaseRefCounted +{ + virtual void __fastcall cont(Uceftypes::TCefMediaAccessPermissionTypes allowed_permissions) = 0 ; + virtual void __fastcall cancel() = 0 ; +}; + +__interface INTERFACE_UUID("{F8827C7D-7B14-499E-B38A-5F9FEB1FD6A6}") ICefPermissionPromptCallback : public ICefBaseRefCounted +{ + virtual void __fastcall cont(Uceftypes::TCefPermissionRequestResult result) = 0 ; +}; + +__interface INTERFACE_UUID("{DC079268-FB08-44DA-B216-35C5C339B341}") ICefPermissionHandler : public ICefBaseRefCounted +{ + virtual bool __fastcall OnRequestMediaAccessPermission(const _di_ICefBrowser browser, const _di_ICefFrame frame, const Uceftypes::ustring requesting_origin, unsigned requested_permissions, const _di_ICefMediaAccessCallback callback) = 0 ; + virtual bool __fastcall OnShowPermissionPrompt(const _di_ICefBrowser browser, unsigned __int64 prompt_id, const Uceftypes::ustring requesting_origin, unsigned requested_permissions, const _di_ICefPermissionPromptCallback callback) = 0 ; + virtual void __fastcall OnDismissPermissionPrompt(const _di_ICefBrowser browser, unsigned __int64 prompt_id, Uceftypes::TCefPermissionRequestResult result) = 0 ; + virtual void __fastcall RemoveReferences() = 0 ; +}; + +__interface INTERFACE_UUID("{2828D0E1-44D0-4C6F-8C63-5CA6036DDA82}") ICefSharedMemoryRegion : public ICefBaseRefCounted +{ + virtual bool __fastcall IsValid() = 0 ; + virtual System::NativeUInt __fastcall Size() = 0 ; + virtual void * __fastcall Memory() = 0 ; +}; + +__interface INTERFACE_UUID("{B2AF627F-33FA-44F1-B943-FC4F120C84F8}") ICefSharedProcessMessageBuilder : public ICefBaseRefCounted +{ + virtual bool __fastcall IsValid() = 0 ; + virtual System::NativeUInt __fastcall Size() = 0 ; + virtual void * __fastcall Memory() = 0 ; + virtual _di_ICefProcessMessage __fastcall Build() = 0 ; +}; + +__interface INTERFACE_UUID("{EC2D3606-DB4C-4894-8D38-B8F99E091965}") ICefDisplay : public ICefBaseRefCounted +{ + virtual __int64 __fastcall GetID() = 0 ; + virtual float __fastcall GetDeviceScaleFactor() = 0 ; + virtual void __fastcall ConvertPointToPixels(Uceftypes::TCefPoint &point) = 0 ; + virtual void __fastcall ConvertPointFromPixels(Uceftypes::TCefPoint &point) = 0 ; + virtual Uceftypes::TCefRect __fastcall GetBounds() = 0 ; + virtual Uceftypes::TCefRect __fastcall GetWorkArea() = 0 ; + virtual int __fastcall GetRotation() = 0 ; + __property __int64 ID = {read=GetID}; + __property float DeviceScaleFactor = {read=GetDeviceScaleFactor}; + __property Uceftypes::TCefRect Bounds = {read=GetBounds}; + __property Uceftypes::TCefRect WorkArea = {read=GetWorkArea}; + __property int Rotation = {read=GetRotation}; +}; + +__interface INTERFACE_UUID("{0EC7AE4B-1672-4D0B-B617-0BDA72F3C7F4}") ICefLayout : public ICefBaseRefCounted +{ + virtual _di_ICefBoxLayout __fastcall AsBoxLayout() = 0 ; + virtual _di_ICefFillLayout __fastcall AsFillLayout() = 0 ; + virtual bool __fastcall IsValid() = 0 ; + __property bool Valid = {read=IsValid}; +}; + +__interface INTERFACE_UUID("{E59FCCAE-A371-4C21-98D3-93D3217016AE}") ICefBoxLayout : public ICefLayout +{ + virtual void __fastcall SetFlexForView(const _di_ICefView view, int flex) = 0 ; + virtual void __fastcall ClearFlexForView(const _di_ICefView view) = 0 ; +}; + +__interface INTERFACE_UUID("{3DB214F2-7F27-4306-82C9-8166160422B1}") ICefFillLayout : public ICefLayout +{ + +}; + +__interface INTERFACE_UUID("{13E1F3D2-32FF-4D30-A30E-D67B6A4846AB}") ICefOverlayController : public ICefBaseRefCounted +{ + virtual bool __fastcall IsValid() = 0 ; + virtual bool __fastcall IsSame(const _di_ICefOverlayController that) = 0 ; + virtual _di_ICefView __fastcall GetContentsView() = 0 ; + virtual _di_ICefWindow __fastcall GetWindow() = 0 ; + virtual Uceftypes::TCefDockingMode __fastcall GetDockingMode() = 0 ; + virtual void __fastcall DestroyOverlay() = 0 ; + virtual void __fastcall SetBounds(const Uceftypes::TCefRect &bounds) = 0 ; + virtual Uceftypes::TCefRect __fastcall GetBounds() = 0 ; + virtual Uceftypes::TCefRect __fastcall GetBoundsInScreen() = 0 ; + virtual void __fastcall SetSize(const Uceftypes::TCefSize &size) = 0 ; + virtual Uceftypes::TCefSize __fastcall GetSize() = 0 ; + virtual void __fastcall SetPosition(const Uceftypes::TCefPoint &position) = 0 ; + virtual Uceftypes::TCefPoint __fastcall GetPosition() = 0 ; + virtual void __fastcall SetInsets(const Uceftypes::TCefInsets &insets) = 0 ; + virtual Uceftypes::TCefInsets __fastcall GetInsets() = 0 ; + virtual void __fastcall SizeToPreferredSize() = 0 ; + virtual void __fastcall SetVisible(bool visible) = 0 ; + virtual bool __fastcall IsVisible() = 0 ; + virtual bool __fastcall IsDrawn() = 0 ; + __property _di_ICefView ContentsView = {read=GetContentsView}; + __property _di_ICefWindow Window = {read=GetWindow}; + __property Uceftypes::TCefDockingMode DockingMode = {read=GetDockingMode}; + __property Uceftypes::TCefRect Bounds = {read=GetBounds, write=SetBounds}; + __property Uceftypes::TCefRect BoundsInScreen = {read=GetBoundsInScreen}; + __property Uceftypes::TCefSize Size = {read=GetSize, write=SetSize}; + __property Uceftypes::TCefPoint Position = {read=GetPosition, write=SetPosition}; + __property Uceftypes::TCefInsets Insets = {read=GetInsets, write=SetInsets}; + __property bool Visible = {read=IsVisible, write=SetVisible}; + __property bool Drawn = {read=IsDrawn}; +}; + +__interface INTERFACE_UUID("{E9AF950A-F4E8-420C-BD1F-F26F4FDFA48D}") ICefView : public ICefBaseRefCounted +{ + virtual _di_ICefBrowserView __fastcall AsBrowserView() = 0 ; + virtual _di_ICefButton __fastcall AsButton() = 0 ; + virtual _di_ICefPanel __fastcall AsPanel() = 0 ; + virtual _di_ICefScrollView __fastcall AsScrollView() = 0 ; + virtual _di_ICefTextfield __fastcall AsTextfield() = 0 ; + virtual Uceftypes::ustring __fastcall GetTypeString() = 0 ; + virtual Uceftypes::ustring __fastcall ToStringEx(bool include_children) = 0 ; + virtual bool __fastcall IsValid() = 0 ; + virtual bool __fastcall IsAttached() = 0 ; + virtual bool __fastcall IsSame(const _di_ICefView that) = 0 ; + virtual _di_ICefViewDelegate __fastcall GetDelegate() = 0 ; + virtual _di_ICefWindow __fastcall GetWindow() = 0 ; + virtual int __fastcall GetID() = 0 ; + virtual void __fastcall SetID(int id_) = 0 ; + virtual int __fastcall GetGroupID() = 0 ; + virtual void __fastcall SetGroupID(int group_id) = 0 ; + virtual _di_ICefView __fastcall GetParentView() = 0 ; + virtual _di_ICefView __fastcall GetViewForID(int id_) = 0 ; + virtual void __fastcall SetBounds(const Uceftypes::TCefRect &bounds_) = 0 ; + virtual Uceftypes::TCefRect __fastcall GetBounds() = 0 ; + virtual Uceftypes::TCefRect __fastcall GetBoundsInScreen() = 0 ; + virtual void __fastcall SetSize(const Uceftypes::TCefSize &size_) = 0 ; + virtual Uceftypes::TCefSize __fastcall GetSize() = 0 ; + virtual void __fastcall SetPosition(const Uceftypes::TCefPoint &position_) = 0 ; + virtual Uceftypes::TCefPoint __fastcall GetPosition() = 0 ; + virtual void __fastcall SetInsets(const Uceftypes::TCefInsets &insets) = 0 ; + virtual Uceftypes::TCefInsets __fastcall GetInsets() = 0 ; + virtual Uceftypes::TCefSize __fastcall GetPreferredSize() = 0 ; + virtual void __fastcall SizeToPreferredSize() = 0 ; + virtual Uceftypes::TCefSize __fastcall GetMinimumSize() = 0 ; + virtual Uceftypes::TCefSize __fastcall GetMaximumSize() = 0 ; + virtual int __fastcall GetHeightForWidth(int width) = 0 ; + virtual void __fastcall InvalidateLayout() = 0 ; + virtual void __fastcall SetVisible(bool visible_) = 0 ; + virtual bool __fastcall IsVisible() = 0 ; + virtual bool __fastcall IsDrawn() = 0 ; + virtual void __fastcall SetEnabled(bool enabled_) = 0 ; + virtual bool __fastcall IsEnabled() = 0 ; + virtual void __fastcall SetFocusable(bool focusable_) = 0 ; + virtual bool __fastcall IsFocusable() = 0 ; + virtual bool __fastcall IsAccessibilityFocusable() = 0 ; + virtual bool __fastcall HasFocus() = 0 ; + virtual void __fastcall RequestFocus() = 0 ; + virtual void __fastcall SetBackgroundColor(Uceftypes::TCefColor color) = 0 ; + virtual Uceftypes::TCefColor __fastcall GetBackgroundColor() = 0 ; + virtual Uceftypes::TCefColor __fastcall GetThemeColor(int color_id) = 0 ; + virtual bool __fastcall ConvertPointToScreen(Uceftypes::TCefPoint &point) = 0 ; + virtual bool __fastcall ConvertPointFromScreen(Uceftypes::TCefPoint &point) = 0 ; + virtual bool __fastcall ConvertPointToWindow(Uceftypes::TCefPoint &point) = 0 ; + virtual bool __fastcall ConvertPointFromWindow(Uceftypes::TCefPoint &point) = 0 ; + virtual bool __fastcall ConvertPointToView(const _di_ICefView view, Uceftypes::TCefPoint &point) = 0 ; + virtual bool __fastcall ConvertPointFromView(const _di_ICefView view, Uceftypes::TCefPoint &point) = 0 ; + __property bool Valid = {read=IsValid}; + __property bool Attached = {read=IsAttached}; + __property _di_ICefViewDelegate Delegate = {read=GetDelegate}; + __property _di_ICefWindow Window = {read=GetWindow}; + __property _di_ICefView ParentView = {read=GetParentView}; + __property Uceftypes::TCefRect BoundsInScreen = {read=GetBoundsInScreen}; + __property Uceftypes::TCefSize PreferredSize = {read=GetPreferredSize}; + __property Uceftypes::TCefSize MinimumSize = {read=GetMinimumSize}; + __property Uceftypes::TCefSize MaximumSize = {read=GetMaximumSize}; + __property bool Visible = {read=IsVisible, write=SetVisible}; + __property bool Drawn = {read=IsDrawn}; + __property bool Enabled = {read=IsEnabled, write=SetEnabled}; + __property bool Focusable = {read=IsFocusable, write=SetFocusable}; + __property bool AccessibilityFocusable = {read=IsAccessibilityFocusable}; + __property Uceftypes::TCefColor BackgroundColor = {read=GetBackgroundColor, write=SetBackgroundColor}; + __property int ID = {read=GetID, write=SetID}; + __property int GroupID = {read=GetGroupID, write=SetGroupID}; + __property Uceftypes::TCefRect Bounds = {read=GetBounds, write=SetBounds}; + __property Uceftypes::TCefSize Size = {read=GetSize, write=SetSize}; + __property Uceftypes::TCefPoint Position = {read=GetPosition, write=SetPosition}; + __property Uceftypes::TCefInsets Insets = {read=GetInsets, write=SetInsets}; + __property Uceftypes::ustring TypeString = {read=GetTypeString}; +}; + +__interface INTERFACE_UUID("{5F900206-B969-4E51-B56C-0FF38D749C72}") ICefViewDelegate : public ICefBaseRefCounted +{ + virtual void __fastcall OnGetPreferredSize(const _di_ICefView view, Uceftypes::TCefSize &aResult) = 0 ; + virtual void __fastcall OnGetMinimumSize(const _di_ICefView view, Uceftypes::TCefSize &aResult) = 0 ; + virtual void __fastcall OnGetMaximumSize(const _di_ICefView view, Uceftypes::TCefSize &aResult) = 0 ; + virtual void __fastcall OnGetHeightForWidth(const _di_ICefView view, int width, int &aResult) = 0 ; + virtual void __fastcall OnParentViewChanged(const _di_ICefView view, bool added, const _di_ICefView parent) = 0 ; + virtual void __fastcall OnChildViewChanged(const _di_ICefView view, bool added, const _di_ICefView child) = 0 ; + virtual void __fastcall OnWindowChanged(const _di_ICefView view, bool added) = 0 ; + virtual void __fastcall OnLayoutChanged(const _di_ICefView view, const Uceftypes::TCefRect &new_bounds) = 0 ; + virtual void __fastcall OnFocus(const _di_ICefView view) = 0 ; + virtual void __fastcall OnBlur(const _di_ICefView view) = 0 ; + virtual void __fastcall OnThemeChanged(const _di_ICefView view) = 0 ; +}; + +__interface INTERFACE_UUID("{B5E30155-DEA5-4CBF-BC9D-578CBCA586D9}") ICefTextfield : public ICefView +{ + virtual void __fastcall SetPasswordInput(bool password_input) = 0 ; + virtual bool __fastcall IsPasswordInput() = 0 ; + virtual void __fastcall SetReadOnly(bool read_only) = 0 ; + virtual bool __fastcall IsReadOnly() = 0 ; + virtual Uceftypes::ustring __fastcall GetText() = 0 ; + virtual void __fastcall SetText(const Uceftypes::ustring text_) = 0 ; + virtual void __fastcall AppendText(const Uceftypes::ustring text_) = 0 ; + virtual void __fastcall InsertOrReplaceText(const Uceftypes::ustring text_) = 0 ; + virtual bool __fastcall HasSelection() = 0 ; + virtual Uceftypes::ustring __fastcall GetSelectedText() = 0 ; + virtual void __fastcall SelectAll(bool reversed) = 0 ; + virtual void __fastcall ClearSelection() = 0 ; + virtual Uceftypes::TCefRange __fastcall GetSelectedRange() = 0 ; + virtual void __fastcall SelectRange(const Uceftypes::TCefRange &range) = 0 ; + virtual System::NativeUInt __fastcall GetCursorPosition() = 0 ; + virtual void __fastcall SetTextColor(Uceftypes::TCefColor color) = 0 ; + virtual Uceftypes::TCefColor __fastcall GetTextColor() = 0 ; + virtual void __fastcall SetSelectionTextColor(Uceftypes::TCefColor color) = 0 ; + virtual Uceftypes::TCefColor __fastcall GetSelectionTextColor() = 0 ; + virtual void __fastcall SetSelectionBackgroundColor(Uceftypes::TCefColor color) = 0 ; + virtual Uceftypes::TCefColor __fastcall GetSelectionBackgroundColor() = 0 ; + virtual void __fastcall SetFontList(const Uceftypes::ustring font_list) = 0 ; + virtual void __fastcall ApplyTextColor(Uceftypes::TCefColor color, const Uceftypes::TCefRange &range) = 0 ; + virtual void __fastcall ApplyTextStyle(Uceftypes::TCefTextStyle style, bool add, const Uceftypes::TCefRange &range) = 0 ; + virtual bool __fastcall IsCommandEnabled(Uceftypes::TCefTextFieldCommands command_id) = 0 ; + virtual void __fastcall ExecuteCommand(Uceftypes::TCefTextFieldCommands command_id) = 0 ; + virtual void __fastcall ClearEditHistory() = 0 ; + virtual void __fastcall SetPlaceholderText(const Uceftypes::ustring text_) = 0 ; + virtual Uceftypes::ustring __fastcall GetPlaceholderText() = 0 ; + virtual void __fastcall SetPlaceholderTextColor(Uceftypes::TCefColor color) = 0 ; + virtual void __fastcall SetAccessibleName(const Uceftypes::ustring name) = 0 ; + __property bool PasswordInput = {read=IsPasswordInput, write=SetPasswordInput}; + __property bool ReadOnly = {read=IsReadOnly, write=SetReadOnly}; + __property Uceftypes::ustring Text = {read=GetText, write=SetText}; + __property Uceftypes::ustring SelectedText = {read=GetSelectedText}; + __property Uceftypes::TCefColor TextColor = {read=GetTextColor, write=SetTextColor}; + __property Uceftypes::TCefColor SelectionTextColor = {read=GetSelectionTextColor, write=SetSelectionTextColor}; + __property Uceftypes::TCefColor SelectionBackgroundColor = {read=GetSelectionBackgroundColor, write=SetSelectionBackgroundColor}; + __property Uceftypes::ustring PlaceholderText = {read=GetPlaceholderText, write=SetPlaceholderText}; +}; + +__interface INTERFACE_UUID("{72612994-92BB-4DE9-BB38-6F49FB45F94B}") ICefTextfieldDelegate : public ICefViewDelegate +{ + virtual void __fastcall OnKeyEvent(const _di_ICefTextfield textfield, const Uceftypes::TCefKeyEvent &event, bool &aResult) = 0 ; + virtual void __fastcall OnAfterUserAction(const _di_ICefTextfield textfield) = 0 ; +}; + +__interface INTERFACE_UUID("{55DF2883-0574-4F10-B6F5-DE4730964B5B}") ICefScrollView : public ICefView +{ + virtual void __fastcall SetContentView(const _di_ICefView view) = 0 ; + virtual _di_ICefView __fastcall GetContentView() = 0 ; + virtual Uceftypes::TCefRect __fastcall GetVisibleContentRect() = 0 ; + virtual bool __fastcall HasHorizontalScrollbar() = 0 ; + virtual int __fastcall GetHorizontalScrollbarHeight() = 0 ; + virtual bool __fastcall HasVerticalScrollbar() = 0 ; + virtual int __fastcall GetVerticalScrollbarWidth() = 0 ; + __property _di_ICefView ContentView = {read=GetContentView, write=SetContentView}; + __property Uceftypes::TCefRect VisibleContentRect = {read=GetVisibleContentRect}; + __property int HorizontalScrollbarHeight = {read=GetHorizontalScrollbarHeight}; + __property int VerticalScrollbarWidth = {read=GetVerticalScrollbarWidth}; +}; + +__interface INTERFACE_UUID("{6F2F680A-3637-4438-81B8-79AD6C02252D}") ICefPanel : public ICefView +{ + virtual _di_ICefWindow __fastcall GetAsWindow() = 0 ; + virtual _di_ICefFillLayout __fastcall SetToFillLayout() = 0 ; + virtual _di_ICefBoxLayout __fastcall SetToBoxLayout(const Uceftypes::TCefBoxLayoutSettings &settings) = 0 ; + virtual _di_ICefLayout __fastcall GetLayout() = 0 ; + virtual void __fastcall Layout() = 0 ; + virtual void __fastcall AddChildView(const _di_ICefView view) = 0 ; + virtual void __fastcall AddChildViewAt(const _di_ICefView view, int index) = 0 ; + virtual void __fastcall ReorderChildView(const _di_ICefView view, int index) = 0 ; + virtual void __fastcall RemoveChildView(const _di_ICefView view) = 0 ; + virtual void __fastcall RemoveAllChildViews() = 0 ; + virtual System::NativeUInt __fastcall GetChildViewCount() = 0 ; + virtual _di_ICefView __fastcall GetChildViewAt(int index) = 0 ; + __property _di_ICefWindow AsWindow = {read=GetAsWindow}; +}; + +__interface INTERFACE_UUID("{305D453F-FEBA-48ED-AE33-5D978823EA96}") ICefPanelDelegate : public ICefViewDelegate +{ + +}; + +__interface INTERFACE_UUID("{A617EE5D-B933-4E14-9FC0-7E88E9B6C051}") ICefBrowserView : public ICefView +{ + virtual _di_ICefBrowser __fastcall GetBrowser() = 0 ; + virtual _di_ICefView __fastcall GetChromeToolbar() = 0 ; + virtual void __fastcall SetPreferAccelerators(bool prefer_accelerators) = 0 ; + virtual Uceftypes::TCefRuntimeStyle __fastcall GetRuntimeStyle() = 0 ; + __property Uceftypes::TCefRuntimeStyle RuntimeStyle = {read=GetRuntimeStyle}; +}; + +__interface INTERFACE_UUID("{578A0DD4-2E7D-4061-B4DB-7C3CDC7A90C0}") ICefBrowserViewDelegate : public ICefViewDelegate +{ + virtual void __fastcall OnBrowserCreated(const _di_ICefBrowserView browser_view, const _di_ICefBrowser browser) = 0 ; + virtual void __fastcall OnBrowserDestroyed(const _di_ICefBrowserView browser_view, const _di_ICefBrowser browser) = 0 ; + virtual void __fastcall OnGetDelegateForPopupBrowserView(const _di_ICefBrowserView browser_view, const Uceftypes::TCefBrowserSettings &settings, const _di_ICefClient client, bool is_devtools, _di_ICefBrowserViewDelegate &aResult) = 0 ; + virtual void __fastcall OnPopupBrowserViewCreated(const _di_ICefBrowserView browser_view, const _di_ICefBrowserView popup_browser_view, bool is_devtools, bool &aResult) = 0 ; + virtual void __fastcall OnGetChromeToolbarType(const _di_ICefBrowserView browser_view, Uceftypes::TCefChromeToolbarType &aResult) = 0 ; + virtual void __fastcall OnUseFramelessWindowForPictureInPicture(const _di_ICefBrowserView browser_view, bool &aResult) = 0 ; + virtual void __fastcall OnGestureCommand(const _di_ICefBrowserView browser_view, Uceftypes::TCefGestureCommand gesture_command, bool &aResult) = 0 ; + virtual void __fastcall OnGetBrowserRuntimeStyle(Uceftypes::TCefRuntimeStyle &aResult) = 0 ; + virtual void __fastcall OnAllowMoveForPictureInPicture(const _di_ICefBrowserView browser_view, bool &aResult) = 0 ; +}; + +__interface INTERFACE_UUID("{D3D2E8A0-9F9C-4BD8-B495-655976534281}") ICefButton : public ICefView +{ + virtual _di_ICefLabelButton __fastcall AsLabelButton() = 0 ; + virtual void __fastcall SetState(Uceftypes::TCefButtonState state_) = 0 ; + virtual Uceftypes::TCefButtonState __fastcall GetState() = 0 ; + virtual void __fastcall SetInkDropEnabled(bool enabled_) = 0 ; + virtual void __fastcall SetTooltipText(const Uceftypes::ustring tooltip_text) = 0 ; + virtual void __fastcall SetAccessibleName(const Uceftypes::ustring name) = 0 ; + __property Uceftypes::TCefButtonState State = {read=GetState, write=SetState}; +}; + +__interface INTERFACE_UUID("{EA1EB5A4-DFB0-4A13-A23B-54FAF9401B39}") ICefButtonDelegate : public ICefViewDelegate +{ + virtual void __fastcall OnButtonPressed(const _di_ICefButton button) = 0 ; + virtual void __fastcall OnButtonStateChanged(const _di_ICefButton button) = 0 ; +}; + +__interface INTERFACE_UUID("{A99FD4F3-7EE6-4796-8BF6-EC367D51EED8}") ICefLabelButton : public ICefButton +{ + virtual _di_ICefMenuButton __fastcall AsMenuButton() = 0 ; + virtual void __fastcall SetText(const Uceftypes::ustring text_) = 0 ; + virtual Uceftypes::ustring __fastcall GetText() = 0 ; + virtual void __fastcall SetImage(Uceftypes::TCefButtonState button_state, const _di_ICefImage image) = 0 ; + virtual _di_ICefImage __fastcall GetImage(Uceftypes::TCefButtonState button_state) = 0 ; + virtual void __fastcall SetTextColor(Uceftypes::TCefButtonState for_state, Uceftypes::TCefColor color) = 0 ; + virtual void __fastcall SetEnabledTextColors(Uceftypes::TCefColor color) = 0 ; + virtual void __fastcall SetFontList(const Uceftypes::ustring font_list) = 0 ; + virtual void __fastcall SetHorizontalAlignment(Uceftypes::TCefHorizontalAlignment alignment) = 0 ; + virtual void __fastcall SetMinimumSize(const Uceftypes::TCefSize &size_) = 0 ; + virtual void __fastcall SetMaximumSize(const Uceftypes::TCefSize &size_) = 0 ; + __property Uceftypes::ustring Text = {read=GetText, write=SetText}; +}; + +__interface INTERFACE_UUID("{62BFE81A-7810-400B-83C6-76D1DF133710}") ICefMenuButton : public ICefLabelButton +{ + virtual void __fastcall ShowMenu(const _di_ICefMenuModel menu_model, const Uceftypes::TCefPoint &screen_point, Uceftypes::TCefMenuAnchorPosition anchor_position) = 0 ; + virtual void __fastcall TriggerMenu() = 0 ; +}; + +__interface INTERFACE_UUID("{71498C53-0B1D-4A05-98A0-3E589F2A1683}") ICefMenuButtonPressedLock : public ICefBaseRefCounted +{ + +}; + +__interface INTERFACE_UUID("{D0E89A75-463A-4766-8701-BD8D24B11E9F}") ICefMenuButtonDelegate : public ICefButtonDelegate +{ + virtual void __fastcall OnMenuButtonPressed(const _di_ICefMenuButton menu_button, const Uceftypes::TCefPoint &screen_point, const _di_ICefMenuButtonPressedLock button_pressed_lock) = 0 ; +}; + +__interface INTERFACE_UUID("{C450C974-BF0A-4968-A6BE-153CEAD10DA6}") ICefWindow : public ICefPanel +{ + virtual void __fastcall Show() = 0 ; + virtual void __fastcall ShowAsBrowserModalDialog(const _di_ICefBrowserView browser_view) = 0 ; + virtual void __fastcall Hide() = 0 ; + virtual void __fastcall CenterWindow(const Uceftypes::TCefSize &size_) = 0 ; + virtual void __fastcall Close() = 0 ; + virtual bool __fastcall IsClosed() = 0 ; + virtual void __fastcall Activate() = 0 ; + virtual void __fastcall Deactivate() = 0 ; + virtual bool __fastcall IsActive() = 0 ; + virtual void __fastcall BringToTop() = 0 ; + virtual void __fastcall SetAlwaysOnTop(bool on_top) = 0 ; + virtual bool __fastcall IsAlwaysOnTop() = 0 ; + virtual void __fastcall Maximize() = 0 ; + virtual void __fastcall Minimize() = 0 ; + virtual void __fastcall Restore() = 0 ; + virtual void __fastcall SetFullscreen(bool fullscreen) = 0 ; + virtual bool __fastcall IsMaximized() = 0 ; + virtual bool __fastcall IsMinimized() = 0 ; + virtual bool __fastcall IsFullscreen() = 0 ; + virtual _di_ICefView __fastcall GetFocusedView() = 0 ; + virtual void __fastcall SetTitle(const Uceftypes::ustring title_) = 0 ; + virtual Uceftypes::ustring __fastcall GetTitle() = 0 ; + virtual void __fastcall SetWindowIcon(const _di_ICefImage image) = 0 ; + virtual _di_ICefImage __fastcall GetWindowIcon() = 0 ; + virtual void __fastcall SetWindowAppIcon(const _di_ICefImage image) = 0 ; + virtual _di_ICefImage __fastcall GetWindowAppIcon() = 0 ; + virtual _di_ICefOverlayController __fastcall AddOverlayView(const _di_ICefView view, Uceftypes::TCefDockingMode docking_mode, bool can_activate) = 0 ; + virtual void __fastcall ShowMenu(const _di_ICefMenuModel menu_model, const Uceftypes::TCefPoint &screen_point, Uceftypes::TCefMenuAnchorPosition anchor_position) = 0 ; + virtual void __fastcall CancelMenu() = 0 ; + virtual _di_ICefDisplay __fastcall GetDisplay() = 0 ; + virtual Uceftypes::TCefRect __fastcall GetClientAreaBoundsInScreen() = 0 ; + virtual void __fastcall SetDraggableRegions(System::NativeUInt regionsCount, const Uceftypes::PCefDraggableRegionArray regions) = 0 ; + virtual Uceftypes::TCefWindowHandle __fastcall GetWindowHandle() = 0 ; + virtual void __fastcall SendKeyPress(int key_code, unsigned event_flags) = 0 ; + virtual void __fastcall SendMouseMove(int screen_x, int screen_y) = 0 ; + virtual void __fastcall SendMouseEvents(Uceftypes::TCefMouseButtonType button, bool mouse_down, bool mouse_up) = 0 ; + virtual void __fastcall SetAccelerator(int command_id, int key_code, bool shift_pressed, bool ctrl_pressed, bool alt_pressed, bool high_priority) = 0 ; + virtual void __fastcall RemoveAccelerator(int command_id) = 0 ; + virtual void __fastcall RemoveAllAccelerators() = 0 ; + virtual void __fastcall SetThemeColor(int color_id, Uceftypes::TCefColor color) = 0 ; + virtual void __fastcall ThemeChanged() = 0 ; + virtual Uceftypes::TCefRuntimeStyle __fastcall GetRuntimeStyle() = 0 ; + __property _di_ICefView FocusedView = {read=GetFocusedView}; + __property Uceftypes::ustring Title = {read=GetTitle, write=SetTitle}; + __property _di_ICefImage WindowIcon = {read=GetWindowIcon, write=SetWindowIcon}; + __property _di_ICefImage WindowAppIcon = {read=GetWindowAppIcon, write=SetWindowAppIcon}; + __property _di_ICefDisplay Display = {read=GetDisplay}; + __property Uceftypes::TCefRect ClientAreaBoundsInScreen = {read=GetClientAreaBoundsInScreen}; + __property Uceftypes::TCefWindowHandle WindowHandle = {read=GetWindowHandle}; + __property Uceftypes::TCefRuntimeStyle RuntimeStyle = {read=GetRuntimeStyle}; +}; + +__interface INTERFACE_UUID("{52D4EE2C-303B-42B6-A35F-30D03834A23F}") ICefWindowDelegate : public ICefPanelDelegate +{ + virtual void __fastcall OnWindowCreated(const _di_ICefWindow window_) = 0 ; + virtual void __fastcall OnWindowClosing(const _di_ICefWindow window_) = 0 ; + virtual void __fastcall OnWindowDestroyed(const _di_ICefWindow window_) = 0 ; + virtual void __fastcall OnWindowActivationChanged(const _di_ICefWindow window_, bool active) = 0 ; + virtual void __fastcall OnWindowBoundsChanged(const _di_ICefWindow window_, const Uceftypes::TCefRect &new_bounds) = 0 ; + virtual void __fastcall OnWindowFullscreenTransition(const _di_ICefWindow window_, bool is_completed) = 0 ; + virtual void __fastcall OnGetParentWindow(const _di_ICefWindow window_, bool &is_menu, bool &can_activate_menu, _di_ICefWindow &aResult) = 0 ; + virtual void __fastcall OnIsWindowModalDialog(const _di_ICefWindow window_, bool &aResult) = 0 ; + virtual void __fastcall OnGetInitialBounds(const _di_ICefWindow window_, Uceftypes::TCefRect &aResult) = 0 ; + virtual void __fastcall OnGetInitialShowState(const _di_ICefWindow window_, Uceftypes::TCefShowState &aResult) = 0 ; + virtual void __fastcall OnIsFrameless(const _di_ICefWindow window_, bool &aResult) = 0 ; + virtual void __fastcall OnWithStandardWindowButtons(const _di_ICefWindow window_, bool &aResult) = 0 ; + virtual void __fastcall OnGetTitlebarHeight(const _di_ICefWindow window_, float &titlebar_height, bool &aResult) = 0 ; + virtual void __fastcall OnAcceptsFirstMouse(const _di_ICefWindow window_, Uceftypes::TCefState &aResult) = 0 ; + virtual void __fastcall OnCanResize(const _di_ICefWindow window_, bool &aResult) = 0 ; + virtual void __fastcall OnCanMaximize(const _di_ICefWindow window_, bool &aResult) = 0 ; + virtual void __fastcall OnCanMinimize(const _di_ICefWindow window_, bool &aResult) = 0 ; + virtual void __fastcall OnCanClose(const _di_ICefWindow window_, bool &aResult) = 0 ; + virtual void __fastcall OnAccelerator(const _di_ICefWindow window_, int command_id, bool &aResult) = 0 ; + virtual void __fastcall OnKeyEvent(const _di_ICefWindow window_, const Uceftypes::TCefKeyEvent &event, bool &aResult) = 0 ; + virtual void __fastcall OnThemeColorsChanged(const _di_ICefWindow window_, int chrome_theme) = 0 ; + virtual void __fastcall OnGetWindowRuntimeStyle(Uceftypes::TCefRuntimeStyle &aResult) = 0 ; + virtual void __fastcall OnGetLinuxWindowProperties(const _di_ICefWindow window_, Uceftypes::TLinuxWindowProperties &properties, bool &aResult) = 0 ; +}; + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefinterfaces */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFINTERFACES) +using namespace Ucefinterfaces; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFInterfacesHPP diff --git a/CEF4Delphi/win32/hpps/uCEFJsDialogCallback.hpp b/CEF4Delphi/win32/hpps/uCEFJsDialogCallback.hpp new file mode 100644 index 0000000..a73ff4b --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFJsDialogCallback.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFJsDialogHandler.hpp b/CEF4Delphi/win32/hpps/uCEFJsDialogHandler.hpp new file mode 100644 index 0000000..926dcd2 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFJsDialogHandler.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFJson.hpp b/CEF4Delphi/win32/hpps/uCEFJson.hpp new file mode 100644 index 0000000..1b352de --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFJson.hpp @@ -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 +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFKeyboardHandler.hpp b/CEF4Delphi/win32/hpps/uCEFKeyboardHandler.hpp new file mode 100644 index 0000000..6b00dc0 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFKeyboardHandler.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFLabelButton.hpp b/CEF4Delphi/win32/hpps/uCEFLabelButton.hpp new file mode 100644 index 0000000..c153fc7 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFLabelButton.hpp @@ -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 +#include +#include +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFLabelButtonComponent.hpp b/CEF4Delphi/win32/hpps/uCEFLabelButtonComponent.hpp new file mode 100644 index 0000000..fba980e --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFLabelButtonComponent.hpp @@ -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 +#include +#include +#include +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFLayout.hpp b/CEF4Delphi/win32/hpps/uCEFLayout.hpp new file mode 100644 index 0000000..7b72715 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFLayout.hpp @@ -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 +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFLibFunctions.hpp b/CEF4Delphi/win32/hpps/uCEFLibFunctions.hpp new file mode 100644 index 0000000..86c41de --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFLibFunctions.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFLifeSpanHandler.hpp b/CEF4Delphi/win32/hpps/uCEFLifeSpanHandler.hpp new file mode 100644 index 0000000..2949aba --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFLifeSpanHandler.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFLinkedWinControlBase.hpp b/CEF4Delphi/win32/hpps/uCEFLinkedWinControlBase.hpp new file mode 100644 index 0000000..a332c11 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFLinkedWinControlBase.hpp @@ -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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFLinkedWindowParent.hpp b/CEF4Delphi/win32/hpps/uCEFLinkedWindowParent.hpp new file mode 100644 index 0000000..de62b27 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFLinkedWindowParent.hpp @@ -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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFListValue.hpp b/CEF4Delphi/win32/hpps/uCEFListValue.hpp new file mode 100644 index 0000000..a4fc956 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFListValue.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFLoadHandler.hpp b/CEF4Delphi/win32/hpps/uCEFLoadHandler.hpp new file mode 100644 index 0000000..33a0829 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFLoadHandler.hpp @@ -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 +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFMediaAccessCallback.hpp b/CEF4Delphi/win32/hpps/uCEFMediaAccessCallback.hpp new file mode 100644 index 0000000..1d2a082 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFMediaAccessCallback.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFMediaObserver.hpp b/CEF4Delphi/win32/hpps/uCEFMediaObserver.hpp new file mode 100644 index 0000000..988dbc0 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFMediaObserver.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFMediaRoute.hpp b/CEF4Delphi/win32/hpps/uCEFMediaRoute.hpp new file mode 100644 index 0000000..b12b988 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFMediaRoute.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFMediaRouteCreateCallback.hpp b/CEF4Delphi/win32/hpps/uCEFMediaRouteCreateCallback.hpp new file mode 100644 index 0000000..9b1a94a --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFMediaRouteCreateCallback.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFMediaRouter.hpp b/CEF4Delphi/win32/hpps/uCEFMediaRouter.hpp new file mode 100644 index 0000000..b867252 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFMediaRouter.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFMediaSink.hpp b/CEF4Delphi/win32/hpps/uCEFMediaSink.hpp new file mode 100644 index 0000000..f8762e4 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFMediaSink.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFMediaSinkDeviceInfoCallback.hpp b/CEF4Delphi/win32/hpps/uCEFMediaSinkDeviceInfoCallback.hpp new file mode 100644 index 0000000..882e38e --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFMediaSinkDeviceInfoCallback.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFMediaSource.hpp b/CEF4Delphi/win32/hpps/uCEFMediaSource.hpp new file mode 100644 index 0000000..1b24dd9 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFMediaSource.hpp @@ -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 +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFMenuButton.hpp b/CEF4Delphi/win32/hpps/uCEFMenuButton.hpp new file mode 100644 index 0000000..7699293 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFMenuButton.hpp @@ -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 +#include +#include +#include +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFMenuButtonComponent.hpp b/CEF4Delphi/win32/hpps/uCEFMenuButtonComponent.hpp new file mode 100644 index 0000000..7f17a18 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFMenuButtonComponent.hpp @@ -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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFMenuButtonDelegate.hpp b/CEF4Delphi/win32/hpps/uCEFMenuButtonDelegate.hpp new file mode 100644 index 0000000..dd37a9a --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFMenuButtonDelegate.hpp @@ -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 +#include +#include +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFMenuButtonPressedLock.hpp b/CEF4Delphi/win32/hpps/uCEFMenuButtonPressedLock.hpp new file mode 100644 index 0000000..125f93a --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFMenuButtonPressedLock.hpp @@ -0,0 +1,73 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFMenuButtonPressedLock.pas' rev: 37.00 (Windows) + +#ifndef uCEFMenuButtonPressedLockHPP +#define uCEFMenuButtonPressedLockHPP + +#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 +#include +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefmenubuttonpressedlock +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefMenuButtonPressedLockRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefMenuButtonPressedLockRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +public: + __classmethod Ucefinterfaces::_di_ICefMenuButtonPressedLock __fastcall UnWrap(void * data); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefMenuButtonPressedLockRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefMenuButtonPressedLockRef() { } + +private: + void *__ICefMenuButtonPressedLock; // Ucefinterfaces::ICefMenuButtonPressedLock + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {71498C53-0B1D-4A05-98A0-3E589F2A1683} + operator Ucefinterfaces::_di_ICefMenuButtonPressedLock() + { + Ucefinterfaces::_di_ICefMenuButtonPressedLock intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefMenuButtonPressedLock*(void) { return (Ucefinterfaces::ICefMenuButtonPressedLock*)&__ICefMenuButtonPressedLock; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefmenubuttonpressedlock */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFMENUBUTTONPRESSEDLOCK) +using namespace Ucefmenubuttonpressedlock; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFMenuButtonPressedLockHPP diff --git a/CEF4Delphi/win32/hpps/uCEFMenuModel.hpp b/CEF4Delphi/win32/hpps/uCEFMenuModel.hpp new file mode 100644 index 0000000..c3811dc --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFMenuModel.hpp @@ -0,0 +1,130 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFMenuModel.pas' rev: 37.00 (Windows) + +#ifndef uCEFMenuModelHPP +#define uCEFMenuModelHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefmenumodel +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefMenuModelRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefMenuModelRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + bool __fastcall IsSubMenu(); + bool __fastcall Clear(); + System::NativeUInt __fastcall GetCount(); + bool __fastcall AddSeparator(); + bool __fastcall AddItem(int commandId, const Uceftypes::ustring text); + bool __fastcall AddCheckItem(int commandId, const Uceftypes::ustring text); + bool __fastcall AddRadioItem(int commandId, const Uceftypes::ustring text, int groupId); + Ucefinterfaces::_di_ICefMenuModel __fastcall AddSubMenu(int commandId, const Uceftypes::ustring text); + bool __fastcall InsertSeparatorAt(System::NativeUInt index); + bool __fastcall InsertItemAt(System::NativeUInt index, int commandId, const Uceftypes::ustring text); + bool __fastcall InsertCheckItemAt(System::NativeUInt index, int commandId, const Uceftypes::ustring text); + bool __fastcall InsertRadioItemAt(System::NativeUInt index, int commandId, const Uceftypes::ustring text, int groupId); + Ucefinterfaces::_di_ICefMenuModel __fastcall InsertSubMenuAt(System::NativeUInt index, int commandId, const Uceftypes::ustring text); + bool __fastcall Remove(int commandId); + bool __fastcall RemoveAt(System::NativeUInt index); + int __fastcall GetIndexOf(int commandId); + int __fastcall GetCommandIdAt(System::NativeUInt index); + bool __fastcall SetCommandIdAt(System::NativeUInt index, int commandId); + Uceftypes::ustring __fastcall GetLabel(int commandId); + Uceftypes::ustring __fastcall GetLabelAt(System::NativeUInt index); + bool __fastcall SetLabel(int commandId, const Uceftypes::ustring text); + bool __fastcall SetLabelAt(System::NativeUInt index, const Uceftypes::ustring text); + Uceftypes::TCefMenuItemType __fastcall GetType(int commandId); + Uceftypes::TCefMenuItemType __fastcall GetTypeAt(System::NativeUInt index); + int __fastcall GetGroupId(int commandId); + int __fastcall GetGroupIdAt(System::NativeUInt index); + bool __fastcall SetGroupId(int commandId, int groupId); + bool __fastcall SetGroupIdAt(System::NativeUInt index, int groupId); + Ucefinterfaces::_di_ICefMenuModel __fastcall GetSubMenu(int commandId); + Ucefinterfaces::_di_ICefMenuModel __fastcall GetSubMenuAt(System::NativeUInt index); + bool __fastcall IsVisible(int commandId); + bool __fastcall isVisibleAt(System::NativeUInt index); + bool __fastcall SetVisible(int commandId, bool visible); + bool __fastcall SetVisibleAt(System::NativeUInt index, bool visible); + bool __fastcall IsEnabled(int commandId); + bool __fastcall IsEnabledAt(System::NativeUInt index); + bool __fastcall SetEnabled(int commandId, bool enabled); + bool __fastcall SetEnabledAt(System::NativeUInt index, bool enabled); + bool __fastcall IsChecked(int commandId); + bool __fastcall IsCheckedAt(System::NativeUInt index); + bool __fastcall setChecked(int commandId, bool checked); + bool __fastcall setCheckedAt(System::NativeUInt index, bool checked); + bool __fastcall HasAccelerator(int commandId); + bool __fastcall HasAcceleratorAt(System::NativeUInt index); + bool __fastcall SetAccelerator(int commandId, int keyCode, bool shiftPressed, bool ctrlPressed, bool altPressed); + bool __fastcall SetAcceleratorAt(System::NativeUInt index, int keyCode, bool shiftPressed, bool ctrlPressed, bool altPressed); + bool __fastcall RemoveAccelerator(int commandId); + bool __fastcall RemoveAcceleratorAt(System::NativeUInt index); + bool __fastcall GetAccelerator(int commandId, /* out */ int &keyCode, /* out */ bool &shiftPressed, /* out */ bool &ctrlPressed, /* out */ bool &altPressed); + bool __fastcall GetAcceleratorAt(System::NativeUInt index, /* out */ int &keyCode, /* out */ bool &shiftPressed, /* out */ bool &ctrlPressed, /* out */ bool &altPressed); + bool __fastcall SetColor(int commandId, Uceftypes::TCefMenuColorType colorType, Uceftypes::TCefColor color); + bool __fastcall SetColorAt(int index, Uceftypes::TCefMenuColorType colorType, Uceftypes::TCefColor color); + bool __fastcall GetColor(int commandId, Uceftypes::TCefMenuColorType colorType, /* out */ Uceftypes::TCefColor &color); + bool __fastcall GetColorAt(int index, Uceftypes::TCefMenuColorType colorType, /* out */ Uceftypes::TCefColor &color); + bool __fastcall SetFontList(int commandId, const Uceftypes::ustring fontList); + bool __fastcall SetFontListAt(int index, const Uceftypes::ustring fontList); + +public: + __classmethod Ucefinterfaces::_di_ICefMenuModel __fastcall UnWrap(void * data); + __classmethod Ucefinterfaces::_di_ICefMenuModel __fastcall New(const Ucefinterfaces::_di_ICefMenuModelDelegate delegate); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefMenuModelRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefMenuModelRef() { } + +private: + void *__ICefMenuModel; // Ucefinterfaces::ICefMenuModel + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {40AF19D3-8B4E-44B8-8F89-DEB5907FC495} + operator Ucefinterfaces::_di_ICefMenuModel() + { + Ucefinterfaces::_di_ICefMenuModel intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefMenuModel*(void) { return (Ucefinterfaces::ICefMenuModel*)&__ICefMenuModel; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefmenumodel */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFMENUMODEL) +using namespace Ucefmenumodel; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFMenuModelHPP diff --git a/CEF4Delphi/win32/hpps/uCEFMenuModelDelegate.hpp b/CEF4Delphi/win32/hpps/uCEFMenuModelDelegate.hpp new file mode 100644 index 0000000..33dcdb4 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFMenuModelDelegate.hpp @@ -0,0 +1,80 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFMenuModelDelegate.pas' rev: 37.00 (Windows) + +#ifndef uCEFMenuModelDelegateHPP +#define uCEFMenuModelDelegateHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefmenumodeldelegate +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefMenuModelDelegateOwn; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefMenuModelDelegateOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited; + +protected: + virtual void __fastcall ExecuteCommand(const Ucefinterfaces::_di_ICefMenuModel menuModel, int commandId, Uceftypes::TCefEventFlags eventFlags); + virtual void __fastcall MouseOutsideMenu(const Ucefinterfaces::_di_ICefMenuModel menuModel, const Uceftypes::PCefPoint screenPoint); + virtual void __fastcall UnhandledOpenSubmenu(const Ucefinterfaces::_di_ICefMenuModel menuModel, bool isRTL); + virtual void __fastcall UnhandledCloseSubmenu(const Ucefinterfaces::_di_ICefMenuModel menuModel, bool isRTL); + virtual void __fastcall MenuWillShow(const Ucefinterfaces::_di_ICefMenuModel menuModel); + virtual void __fastcall MenuClosed(const Ucefinterfaces::_di_ICefMenuModel menuModel); + virtual bool __fastcall FormatLabel(const Ucefinterfaces::_di_ICefMenuModel menuModel, Uceftypes::ustring &label_); + +public: + __fastcall virtual TCefMenuModelDelegateOwn(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefMenuModelDelegateOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefMenuModelDelegateOwn() { } + +private: + void *__ICefMenuModelDelegate; // Ucefinterfaces::ICefMenuModelDelegate + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {1430D202-2795-433E-9A35-C79A0996F316} + operator Ucefinterfaces::_di_ICefMenuModelDelegate() + { + Ucefinterfaces::_di_ICefMenuModelDelegate intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefMenuModelDelegate*(void) { return (Ucefinterfaces::ICefMenuModelDelegate*)&__ICefMenuModelDelegate; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefmenumodeldelegate */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFMENUMODELDELEGATE) +using namespace Ucefmenumodeldelegate; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFMenuModelDelegateHPP diff --git a/CEF4Delphi/win32/hpps/uCEFMiscFunctions.hpp b/CEF4Delphi/win32/hpps/uCEFMiscFunctions.hpp new file mode 100644 index 0000000..2c3bab0 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFMiscFunctions.hpp @@ -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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +//-- 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 diff --git a/CEF4Delphi/win32/hpps/uCEFNavigationEntry.hpp b/CEF4Delphi/win32/hpps/uCEFNavigationEntry.hpp new file mode 100644 index 0000000..654fa3a --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFNavigationEntry.hpp @@ -0,0 +1,83 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFNavigationEntry.pas' rev: 37.00 (Windows) + +#ifndef uCEFNavigationEntryHPP +#define uCEFNavigationEntryHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefnavigationentry +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefNavigationEntryRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefNavigationEntryRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + bool __fastcall IsValid(); + Uceftypes::ustring __fastcall GetUrl(); + Uceftypes::ustring __fastcall GetDisplayUrl(); + Uceftypes::ustring __fastcall GetOriginalUrl(); + Uceftypes::ustring __fastcall GetTitle(); + Uceftypes::TCefTransitionType __fastcall GetTransitionType(); + bool __fastcall HasPostData(); + System::TDateTime __fastcall GetCompletionTime(); + int __fastcall GetHttpStatusCode(); + Ucefinterfaces::_di_ICefSSLStatus __fastcall GetSSLStatus(); + +public: + __classmethod Ucefinterfaces::_di_ICefNavigationEntry __fastcall UnWrap(void * data); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefNavigationEntryRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefNavigationEntryRef() { } + +private: + void *__ICefNavigationEntry; // Ucefinterfaces::ICefNavigationEntry + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {D17B4B37-AA45-42D9-B4E4-AAB6FE2AB297} + operator Ucefinterfaces::_di_ICefNavigationEntry() + { + Ucefinterfaces::_di_ICefNavigationEntry intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefNavigationEntry*(void) { return (Ucefinterfaces::ICefNavigationEntry*)&__ICefNavigationEntry; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefnavigationentry */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFNAVIGATIONENTRY) +using namespace Ucefnavigationentry; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFNavigationEntryHPP diff --git a/CEF4Delphi/win32/hpps/uCEFNavigationEntryVisitor.hpp b/CEF4Delphi/win32/hpps/uCEFNavigationEntryVisitor.hpp new file mode 100644 index 0000000..95d70ae --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFNavigationEntryVisitor.hpp @@ -0,0 +1,113 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFNavigationEntryVisitor.pas' rev: 37.00 (Windows) + +#ifndef uCEFNavigationEntryVisitorHPP +#define uCEFNavigationEntryVisitorHPP + +#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 +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefnavigationentryvisitor +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefNavigationEntryVisitorOwn; +class DELPHICLASS TCefFastNavigationEntryVisitor; +class DELPHICLASS TCustomCefNavigationEntryVisitor; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefNavigationEntryVisitorOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited; + +protected: + virtual bool __fastcall Visit(const Ucefinterfaces::_di_ICefNavigationEntry entry, bool current, int index, int total); + +public: + __fastcall TCefNavigationEntryVisitorOwn(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefNavigationEntryVisitorOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefNavigationEntryVisitorOwn() { } + +private: + void *__ICefNavigationEntryVisitor; // Ucefinterfaces::ICefNavigationEntryVisitor + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {CC4D6BC9-0168-4C2C-98BA-45E9AA9CD619} + operator Ucefinterfaces::_di_ICefNavigationEntryVisitor() + { + Ucefinterfaces::_di_ICefNavigationEntryVisitor intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefNavigationEntryVisitor*(void) { return (Ucefinterfaces::ICefNavigationEntryVisitor*)&__ICefNavigationEntryVisitor; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefFastNavigationEntryVisitor : public TCefNavigationEntryVisitorOwn +{ + typedef TCefNavigationEntryVisitorOwn inherited; + +protected: + Ucefinterfaces::_di_TCefNavigationEntryVisitorProc FVisitor; + virtual bool __fastcall Visit(const Ucefinterfaces::_di_ICefNavigationEntry entry, bool current, int index, int total); + +public: + __fastcall TCefFastNavigationEntryVisitor(const Ucefinterfaces::_di_TCefNavigationEntryVisitorProc proc); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefFastNavigationEntryVisitor(unsigned size, bool owned) : TCefNavigationEntryVisitorOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefFastNavigationEntryVisitor() { } + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCustomCefNavigationEntryVisitor : public TCefNavigationEntryVisitorOwn +{ + typedef TCefNavigationEntryVisitorOwn inherited; + +protected: + void *FEvents; + virtual bool __fastcall Visit(const Ucefinterfaces::_di_ICefNavigationEntry entry, bool current, int index, int total); + +public: + __fastcall TCustomCefNavigationEntryVisitor(const Ucefinterfaces::_di_IChromiumEvents aEvents); + __fastcall virtual ~TCustomCefNavigationEntryVisitor(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomCefNavigationEntryVisitor(unsigned size, bool owned) : TCefNavigationEntryVisitorOwn(size, owned) { } + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefnavigationentryvisitor */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFNAVIGATIONENTRYVISITOR) +using namespace Ucefnavigationentryvisitor; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFNavigationEntryVisitorHPP diff --git a/CEF4Delphi/win32/hpps/uCEFOAuth2Helper.hpp b/CEF4Delphi/win32/hpps/uCEFOAuth2Helper.hpp new file mode 100644 index 0000000..664fcf4 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFOAuth2Helper.hpp @@ -0,0 +1,125 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFOAuth2Helper.pas' rev: 37.00 (Windows) + +#ifndef uCEFOAuth2HelperHPP +#define uCEFOAuth2HelperHPP + +#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 +#include +#include +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefoauth2helper +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCEFOAuth2Helper; +//-- type declarations ------------------------------------------------------- +enum DECLSPEC_DENUM TOAuthChallengeMethod : unsigned char { cmPlain, cmSHA256 }; + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCEFOAuth2Helper : public System::TObject +{ + typedef System::TObject inherited; + +protected: + Uceftypes::ustring FRedirectHost; + int FRedirectPort; + Uceftypes::ustring FAuthEndpoint; + Uceftypes::ustring FTokenEndpoint; + Uceftypes::ustring FClientID; + Uceftypes::ustring FClientSecret; + Uceftypes::ustring FAuthCode; + Uceftypes::ustring FError; + Uceftypes::ustring FErrorDescription; + Uceftypes::ustring FCodeVerifier; + Uceftypes::ustring FCodeChallenge; + Uceftypes::ustring FScope; + Uceftypes::ustring FAccessToken; + Uceftypes::ustring FIDToken; + Uceftypes::ustring FState; + Uceftypes::ustring FIncState; + Uceftypes::ustring FRefreshToken; + int FTokenExpiry; + Uceftypes::ustring FTokenType; + Uceftypes::ustring FLoginHint; + TOAuthChallengeMethod FChallengeMethod; + virtual Uceftypes::ustring __fastcall GetRedirectURI(); + virtual Uceftypes::ustring __fastcall GetAuthCodeURI(); + virtual Uceftypes::ustring __fastcall GetRefreshParams(); + virtual Uceftypes::ustring __fastcall GetTokeExchangeParams(); + virtual bool __fastcall GetValidState(); + virtual void __fastcall GenerateRandomCodeChallenge(); + virtual void __fastcall GenerateRandomState(); + Uceftypes::ustring __fastcall GenerateRandomString(unsigned aLength); + void __fastcall ParseQueryPair(const Uceftypes::ustring aPair); + Uceftypes::ustring __fastcall ReadJSONString(const Ucefinterfaces::_di_ICefDictionaryValue aDictionary, const Uceftypes::ustring aKey); + int __fastcall ReadJSONInteger(const Ucefinterfaces::_di_ICefDictionaryValue aDictionary, const Uceftypes::ustring aKey); + Uceftypes::TCefCustomByteArray __fastcall CalculateSHA256Hash(const Uceftypes::ustring aString); + +public: + __fastcall TCEFOAuth2Helper(); + virtual void __fastcall Initialize(); + virtual bool __fastcall ParseTokenExchangeResponse(const Uceftypes::ustring aResponse); + virtual bool __fastcall ParseRefreshTokenResponse(const Uceftypes::ustring aResponse); + virtual bool __fastcall ParseCodeRequestResponse(const Uceftypes::ustring aURL); + __property Uceftypes::ustring AuthEndpoint = {read=FAuthEndpoint, write=FAuthEndpoint}; + __property Uceftypes::ustring TokenEndpoint = {read=FTokenEndpoint, write=FTokenEndpoint}; + __property Uceftypes::ustring ClientID = {read=FClientID, write=FClientID}; + __property Uceftypes::ustring ClientSecret = {read=FClientSecret, write=FClientSecret}; + __property Uceftypes::ustring RedirectHost = {read=FRedirectHost, write=FRedirectHost}; + __property int RedirectPort = {read=FRedirectPort, write=FRedirectPort, nodefault}; + __property TOAuthChallengeMethod ChallengeMethod = {read=FChallengeMethod, write=FChallengeMethod, nodefault}; + __property Uceftypes::ustring Scope = {read=FScope, write=FScope}; + __property Uceftypes::ustring Error = {read=FError}; + __property Uceftypes::ustring ErrorDescription = {read=FErrorDescription}; + __property Uceftypes::ustring AccessToken = {read=FAccessToken}; + __property Uceftypes::ustring IDToken = {read=FIDToken}; + __property Uceftypes::ustring RefreshToken = {read=FRefreshToken}; + __property int TokenExpiry = {read=FTokenExpiry, nodefault}; + __property Uceftypes::ustring TokenType = {read=FTokenType}; + __property Uceftypes::ustring CodeVerifier = {read=FCodeVerifier}; + __property Uceftypes::ustring CodeChallenge = {read=FCodeChallenge}; + __property Uceftypes::ustring RedirectURI = {read=GetRedirectURI}; + __property Uceftypes::ustring AuthCodeURI = {read=GetAuthCodeURI}; + __property Uceftypes::ustring TokeExchangeParams = {read=GetTokeExchangeParams}; + __property Uceftypes::ustring RefreshParams = {read=GetRefreshParams}; + __property bool ValidState = {read=GetValidState, nodefault}; +public: + /* TObject.Destroy */ inline __fastcall virtual ~TCEFOAuth2Helper() { } + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +#define DEFAULT_REDIRECT_IPV4_HOST L"127.0.0.1" +#define DEFAULT_REDIRECT_IPV6_HOST L"[::1]" +static _DELPHI_CONST System::Word DEFAULT_REDIRECT_PORT = System::Word(0xc350); +#define GOOGLE_DISCOVERY_DOCUMENT L"https://accounts.google.com/.well-known/openid-configurati"\ + L"on" +} /* namespace Ucefoauth2helper */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFOAUTH2HELPER) +using namespace Ucefoauth2helper; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFOAuth2HelperHPP diff --git a/CEF4Delphi/win32/hpps/uCEFOLEDragAndDrop.hpp b/CEF4Delphi/win32/hpps/uCEFOLEDragAndDrop.hpp new file mode 100644 index 0000000..3137fe7 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFOLEDragAndDrop.hpp @@ -0,0 +1,234 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFOLEDragAndDrop.pas' rev: 37.00 (Windows) + +#ifndef uCEFOLEDragAndDropHPP +#define uCEFOLEDragAndDropHPP + +#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 +#include +#include +#include +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefoledraganddrop +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TOLEDragAndDropMgr; +class DELPHICLASS TOLEEnumFormatEtc; +class DELPHICLASS TOLEDropSource; +class DELPHICLASS TOLEDataObject; +class DELPHICLASS TOLEDropTarget; +//-- type declarations ------------------------------------------------------- +typedef System::StaticArray TOLEMediumArray; + +typedef System::StaticArray TOLEFormatArray; + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TOLEDragAndDropMgr : public System::TObject +{ + typedef System::TObject inherited; + +protected: + bool __fastcall GetStorageForBytes(Winapi::Activex::TStgMedium &aMedium, const void * aData, System::NativeUInt aLength); + bool __fastcall GetStorageForString(Winapi::Activex::TStgMedium &aMedium, const System::WideString aData)/* overload */; + bool __fastcall GetStorageForString(Winapi::Activex::TStgMedium &aMedium, const System::AnsiString aData)/* overload */; + bool __fastcall GetStorageForFileDescriptor(Winapi::Activex::TStgMedium &aMedium, const System::UnicodeString aFileName); + +public: + 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); +public: + /* TObject.Create */ inline __fastcall TOLEDragAndDropMgr() : System::TObject() { } + /* TObject.Destroy */ inline __fastcall virtual ~TOLEDragAndDropMgr() { } + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TOLEEnumFormatEtc : public System::TInterfacedObject +{ + typedef System::TInterfacedObject inherited; + +protected: + int FIndex; + int FNumFormats; + TOLEFormatArray FFormatArray; + void __fastcall CopyFromFormatArray(const TOLEFormatArray &aSrcFormatArray); + void __fastcall CopyFormatEtc(Winapi::Activex::TFormatEtc &aDstFormatEtc, const Winapi::Activex::TFormatEtc &aSrcFormatEtc); + +public: + __fastcall TOLEEnumFormatEtc()/* overload */; + __fastcall TOLEEnumFormatEtc(const TOLEFormatArray &aFormatArray, int aNumFormats, int aIndex)/* overload */; + __fastcall virtual ~TOLEEnumFormatEtc(); + HRESULT __stdcall Next(System::LongInt Celt, /* out */ void *Rgelt, System::PLongInt pCeltFetched); + HRESULT __stdcall Skip(System::LongInt Celt); + HRESULT __stdcall Reset(); + HRESULT __stdcall Clone(/* out */ _di_IEnumFORMATETC &Enum); +private: + void *__IEnumFORMATETC; // IEnumFORMATETC + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {00000103-0000-0000-C000-000000000046} + operator _di_IEnumFORMATETC() + { + _di_IEnumFORMATETC intf; + this->GetInterface(intf); + return intf; + } + #else + operator IEnumFORMATETC*(void) { return (IEnumFORMATETC*)&__IEnumFORMATETC; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TOLEDropSource : public System::TInterfacedObject +{ + typedef System::TInterfacedObject inherited; + +public: + HRESULT __stdcall QueryContinueDrag(System::LongBool fEscapePressed, System::LongInt grfKeyState); + HRESULT __stdcall GiveFeedback(System::LongInt dwEffect); +public: + /* TObject.Create */ inline __fastcall TOLEDropSource() : System::TInterfacedObject() { } + /* TObject.Destroy */ inline __fastcall virtual ~TOLEDropSource() { } + +private: + void *__IDropSource; // IDropSource + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {00000121-0000-0000-C000-000000000046} + operator _di_IDropSource() + { + _di_IDropSource intf; + this->GetInterface(intf); + return intf; + } + #else + operator IDropSource*(void) { return (IDropSource*)&__IDropSource; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TOLEDataObject : public System::TInterfacedObject +{ + typedef System::TInterfacedObject inherited; + +protected: + int FNumFormats; + TOLEFormatArray FFormatArray; + TOLEMediumArray FMediumArray; + bool FAsync; + bool FInOperation; + int __fastcall LookupFormatEtc(const Winapi::Activex::TFormatEtc &aFormatEtc); + unsigned __fastcall DupGlobalMem(unsigned hMem); + +public: + __fastcall TOLEDataObject(const TOLEFormatArray &aFormatArray, const TOLEMediumArray &aMediumArray, int aNumFormats); + HRESULT __stdcall GetData(const Winapi::Activex::TFormatEtc &FormatEtcIn, /* out */ Winapi::Activex::TStgMedium &Medium); + HRESULT __stdcall GetDataHere(const Winapi::Activex::TFormatEtc &FormatEtc, /* out */ Winapi::Activex::TStgMedium &Medium); + HRESULT __stdcall QueryGetData(const Winapi::Activex::TFormatEtc &FormatEtc); + HRESULT __stdcall GetCanonicalFormatEtc(const Winapi::Activex::TFormatEtc &FormatEtc, /* out */ Winapi::Activex::TFormatEtc &FormatEtcout); + HRESULT __stdcall SetData(const Winapi::Activex::TFormatEtc &FormatEtc, Winapi::Activex::TStgMedium &Medium, System::LongBool fRelease); + HRESULT __stdcall EnumFormatEtc(System::LongInt dwDirection, /* out */ _di_IEnumFORMATETC &aEnumFormatEtc); + HRESULT __stdcall dAdvise(const Winapi::Activex::TFormatEtc &FormatEtc, System::LongInt advf, const _di_IAdviseSink advsink, /* out */ System::LongInt &dwConnection); + HRESULT __stdcall dUnadvise(System::LongInt dwConnection); + HRESULT __stdcall EnumdAdvise(/* out */ _di_IEnumSTATDATA &EnumAdvise); +public: + /* TObject.Destroy */ inline __fastcall virtual ~TOLEDataObject() { } + +private: + void *__IDataObject; // IDataObject + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {0000010E-0000-0000-C000-000000000046} + operator _di_IDataObject() + { + _di_IDataObject intf; + this->GetInterface(intf); + return intf; + } + #else + operator IDataObject*(void) { return (IDataObject*)&__IDataObject; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TOLEDropTarget : public System::TInterfacedObject +{ + typedef System::TInterfacedObject inherited; + +protected: + TOLEDragAndDropMgr* FManager; + +public: + __fastcall TOLEDropTarget(TOLEDragAndDropMgr* const aManager); + HRESULT __stdcall DragEnter(const _di_IDataObject DataObj, System::LongInt grfKeyState, Winapi::Windows::TPoint pt, System::LongInt &dwEffect); + HRESULT __stdcall DragOver(System::LongInt grfKeyState, Winapi::Windows::TPoint pt, System::LongInt &dwEffect); + HRESULT __stdcall Drop(const _di_IDataObject dataObj, System::LongInt grfKeyState, Winapi::Windows::TPoint pt, System::LongInt &dwEffect); + HRESULT __stdcall DragLeave(); +public: + /* TObject.Destroy */ inline __fastcall virtual ~TOLEDropTarget() { } + +private: + void *__IDropTarget; // IDropTarget + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {00000122-0000-0000-C000-000000000046} + operator _di_IDropTarget() + { + _di_IDropTarget intf; + this->GetInterface(intf); + return intf; + } + #else + operator IDropTarget*(void) { return (IDropTarget*)&__IDropTarget; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +static _DELPHI_CONST System::Int8 CUSTOM_ARRAY_LENGTH = System::Int8(0x19); +} /* namespace Ucefoledraganddrop */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFOLEDRAGANDDROP) +using namespace Ucefoledraganddrop; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFOLEDragAndDropHPP diff --git a/CEF4Delphi/win32/hpps/uCEFOSRIMEHandler.hpp b/CEF4Delphi/win32/hpps/uCEFOSRIMEHandler.hpp new file mode 100644 index 0000000..b7625fa --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFOSRIMEHandler.hpp @@ -0,0 +1,95 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFOSRIMEHandler.pas' rev: 37.00 (Windows) + +#ifndef uCEFOSRIMEHandlerHPP +#define uCEFOSRIMEHandlerHPP + +#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 +#include +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefosrimehandler +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCEFOSRIMEHandler; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCEFOSRIMEHandler : public System::TObject +{ + typedef System::TObject inherited; + +protected: + HWND FHWND; + Uceftypes::TCefRange FCompositionRange; + unsigned FCursorIndex; + Uceftypes::TCefRect FIMERect; + bool FSystemCaret; + System::Word FInputLanguageID; + Uceftypes::TCefRectDynArray FCompositionBounds; + bool FIsComposing; + Winapi::Windows::THandle FIMM32DLL; + System::Word __fastcall GetPrimaryLangID(); + System::Word __fastcall GetSubLangID(); + bool __fastcall GetInitialized(); + void __fastcall GetCompositionInfo(int imc, int aParam, Uceftypes::ustring &composition_text, Uceftypes::TCefCompositionUnderlineDynArray &underlines, int &composition_start); + bool __fastcall GetString(int imc, unsigned aParam, int aType, Uceftypes::ustring &aResult); + bool __fastcall IsSelectionAttribute(char aAttribute); + void __fastcall GetCompositionSelectionRange(int imc, unsigned &target_start, unsigned &target_end); + void __fastcall GetCompositionUnderlines(int imc, unsigned target_start, unsigned target_end, Uceftypes::TCefCompositionUnderlineDynArray &underlines); + +public: + __fastcall TCEFOSRIMEHandler(HWND aHWND); + __fastcall virtual ~TCEFOSRIMEHandler(); + void __fastcall SetInputLanguage(); + void __fastcall CreateImeWindow(); + void __fastcall DestroyImeWindow(); + void __fastcall CleanupComposition(); + void __fastcall ResetComposition(); + bool __fastcall GetResult(int aParam, Uceftypes::ustring &aResult); + bool __fastcall GetComposition(int aParam, Uceftypes::ustring &composition_text, Uceftypes::TCefCompositionUnderlineDynArray &underlines, int &composition_start); + void __fastcall EnableIME(); + void __fastcall DisableIME(); + void __fastcall CancelIME(); + void __fastcall UpdateCaretPosition(unsigned index); + void __fastcall ChangeCompositionRange(const Uceftypes::TCefRange &selection_range, const Uceftypes::TCefRectDynArray character_bounds); + void __fastcall MoveImeWindow(); + __property bool IsComposing = {read=FIsComposing, nodefault}; + __property System::Word InputLanguageID = {read=FInputLanguageID, nodefault}; + __property System::Word PrimaryLangID = {read=GetPrimaryLangID, nodefault}; + __property System::Word SubLangID = {read=GetSubLangID, nodefault}; + __property bool Initialized = {read=GetInitialized, nodefault}; +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +static _DELPHI_CONST unsigned DEFAULT_BLINK_UNDERLINE_COLOR = unsigned(0xff000000); +static _DELPHI_CONST System::Int8 DEFAULT_BLINK_BACKGROUND_COLOR = System::Int8(0x0); +static _DELPHI_CONST Uceftypes::TCefCompositionUnderlineStyle DEFAULT_BLINK_UNDERLINE_STYLE = (Uceftypes::TCefCompositionUnderlineStyle)(0); +static _DELPHI_CONST System::Word KEYBOARD_LAYOUT_EN_US = System::Word(0x409); +} /* namespace Ucefosrimehandler */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFOSRIMEHANDLER) +using namespace Ucefosrimehandler; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFOSRIMEHandlerHPP diff --git a/CEF4Delphi/win32/hpps/uCEFOverlayController.hpp b/CEF4Delphi/win32/hpps/uCEFOverlayController.hpp new file mode 100644 index 0000000..57401fc --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFOverlayController.hpp @@ -0,0 +1,92 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFOverlayController.pas' rev: 37.00 (Windows) + +#ifndef uCEFOverlayControllerHPP +#define uCEFOverlayControllerHPP + +#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 +#include +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefoverlaycontroller +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefOverlayControllerRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefOverlayControllerRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +public: + bool __fastcall IsValid(); + bool __fastcall IsSame(const Ucefinterfaces::_di_ICefOverlayController that); + Ucefinterfaces::_di_ICefView __fastcall GetContentsView(); + Ucefinterfaces::_di_ICefWindow __fastcall GetWindow(); + Uceftypes::TCefDockingMode __fastcall GetDockingMode(); + void __fastcall DestroyOverlay(); + void __fastcall SetBounds(const Uceftypes::TCefRect &bounds); + Uceftypes::TCefRect __fastcall GetBounds(); + Uceftypes::TCefRect __fastcall GetBoundsInScreen(); + void __fastcall SetSize(const Uceftypes::TCefSize &size); + Uceftypes::TCefSize __fastcall GetSize(); + void __fastcall SetPosition(const Uceftypes::TCefPoint &position); + Uceftypes::TCefPoint __fastcall GetPosition(); + void __fastcall SetInsets(const Uceftypes::TCefInsets &insets); + Uceftypes::TCefInsets __fastcall GetInsets(); + void __fastcall SizeToPreferredSize(); + void __fastcall SetVisible(bool visible); + bool __fastcall IsVisible(); + bool __fastcall IsDrawn(); + __classmethod Ucefinterfaces::_di_ICefOverlayController __fastcall UnWrap(void * data); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefOverlayControllerRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefOverlayControllerRef() { } + +private: + void *__ICefOverlayController; // Ucefinterfaces::ICefOverlayController + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {13E1F3D2-32FF-4D30-A30E-D67B6A4846AB} + operator Ucefinterfaces::_di_ICefOverlayController() + { + Ucefinterfaces::_di_ICefOverlayController intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefOverlayController*(void) { return (Ucefinterfaces::ICefOverlayController*)&__ICefOverlayController; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefoverlaycontroller */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFOVERLAYCONTROLLER) +using namespace Ucefoverlaycontroller; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFOverlayControllerHPP diff --git a/CEF4Delphi/win32/hpps/uCEFPDFPrintCallback.hpp b/CEF4Delphi/win32/hpps/uCEFPDFPrintCallback.hpp new file mode 100644 index 0000000..e94b647 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFPDFPrintCallback.hpp @@ -0,0 +1,114 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFPDFPrintCallback.pas' rev: 37.00 (Windows) + +#ifndef uCEFPDFPrintCallbackHPP +#define uCEFPDFPrintCallbackHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefpdfprintcallback +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefPdfPrintCallbackOwn; +class DELPHICLASS TCefFastPdfPrintCallback; +class DELPHICLASS TCefCustomPDFPrintCallBack; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefPdfPrintCallbackOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited; + +protected: + virtual void __fastcall OnPdfPrintFinished(const Uceftypes::ustring path, bool ok) = 0 ; + +public: + __fastcall virtual TCefPdfPrintCallbackOwn(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefPdfPrintCallbackOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefPdfPrintCallbackOwn() { } + +private: + void *__ICefPdfPrintCallback; // Ucefinterfaces::ICefPdfPrintCallback + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {F1CC58E9-2C30-4932-91AE-467C8D8EFB8E} + operator Ucefinterfaces::_di_ICefPdfPrintCallback() + { + Ucefinterfaces::_di_ICefPdfPrintCallback intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefPdfPrintCallback*(void) { return (Ucefinterfaces::ICefPdfPrintCallback*)&__ICefPdfPrintCallback; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefFastPdfPrintCallback : public TCefPdfPrintCallbackOwn +{ + typedef TCefPdfPrintCallbackOwn inherited; + +protected: + Ucefinterfaces::_di_TOnPdfPrintFinishedProc FProc; + virtual void __fastcall OnPdfPrintFinished(const Uceftypes::ustring path, bool ok); + +public: + __fastcall TCefFastPdfPrintCallback(const Ucefinterfaces::_di_TOnPdfPrintFinishedProc proc); + __fastcall virtual ~TCefFastPdfPrintCallback(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefFastPdfPrintCallback(unsigned size, bool owned) : TCefPdfPrintCallbackOwn(size, owned) { } + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefCustomPDFPrintCallBack : public TCefPdfPrintCallbackOwn +{ + typedef TCefPdfPrintCallbackOwn inherited; + +protected: + void *FEvents; + virtual void __fastcall OnPdfPrintFinished(const Uceftypes::ustring path, bool aResultOK); + +public: + __fastcall TCefCustomPDFPrintCallBack(const Ucefinterfaces::_di_IChromiumEvents aEvents); + __fastcall virtual ~TCefCustomPDFPrintCallBack(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefCustomPDFPrintCallBack(unsigned size, bool owned) : TCefPdfPrintCallbackOwn(size, owned) { } + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefpdfprintcallback */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFPDFPRINTCALLBACK) +using namespace Ucefpdfprintcallback; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFPDFPrintCallbackHPP diff --git a/CEF4Delphi/win32/hpps/uCEFPDFPrintOptions.hpp b/CEF4Delphi/win32/hpps/uCEFPDFPrintOptions.hpp new file mode 100644 index 0000000..ede6ce4 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFPDFPrintOptions.hpp @@ -0,0 +1,111 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFPDFPrintOptions.pas' rev: 37.00 (Windows) + +#ifndef uCEFPDFPrintOptionsHPP +#define uCEFPDFPrintOptionsHPP + +#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 +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefpdfprintoptions +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TPDFPrintOptions; +//-- type declarations ------------------------------------------------------- +class PASCALIMPLEMENTATION TPDFPrintOptions : public System::TObject +{ + typedef System::TObject inherited; + +protected: + bool FLandscape; + bool FPrintBackground; + double FScale; + double FPaperWidth; + double FPaperHeight; + bool FPreferCSSPageSize; + Uceftypes::TCefPdfPrintMarginType FMarginType; + double FMarginTop; + double FMarginRight; + double FMarginBottom; + double FMarginLeft; + Uceftypes::ustring FPageRanges; + bool FDisplayHeaderFooter; + Uceftypes::ustring FHeaderTemplate; + Uceftypes::ustring FFooterTemplate; + bool FGenerateTaggedPDF; + bool FGenerateDocumentOutline; + double __fastcall GetScalePct(); + double __fastcall GetPaperWidthMM(); + double __fastcall GetPaperHeightMM(); + double __fastcall GetMarginTopMM(); + double __fastcall GetMarginRightMM(); + double __fastcall GetMarginBottomMM(); + double __fastcall GetMarginLeftMM(); + void __fastcall SetScalePct(const double aValue); + void __fastcall SetPaperWidthMM(const double aValue); + void __fastcall SetPaperHeightMM(const double aValue); + void __fastcall SetMarginTopMM(const double aValue); + void __fastcall SetMarginRightMM(const double aValue); + void __fastcall SetMarginBottomMM(const double aValue); + void __fastcall SetMarginLeftMM(const double aValue); + double __fastcall InchesToMM(const double aInches); + double __fastcall MMToInches(const double aMM); + +public: + __fastcall virtual TPDFPrintOptions(); + void __fastcall CopyToSettings(Uceftypes::TCefPdfPrintSettings &aSettings); + __property bool Landscape = {read=FLandscape, write=FLandscape, nodefault}; + __property bool PrintBackground = {read=FPrintBackground, write=FPrintBackground, nodefault}; + __property bool PreferCSSPageSize = {read=FPreferCSSPageSize, write=FPreferCSSPageSize, nodefault}; + __property Uceftypes::ustring PageRanges = {read=FPageRanges, write=FPageRanges}; + __property bool DisplayHeaderFooter = {read=FDisplayHeaderFooter, write=FDisplayHeaderFooter, nodefault}; + __property Uceftypes::ustring HeaderTemplate = {read=FHeaderTemplate, write=FHeaderTemplate}; + __property Uceftypes::ustring FooterTemplate = {read=FFooterTemplate, write=FFooterTemplate}; + __property bool GenerateTaggedPDF = {read=FGenerateTaggedPDF, write=FGenerateTaggedPDF, nodefault}; + __property bool GenerateDocumentOutline = {read=FGenerateDocumentOutline, write=FGenerateDocumentOutline, nodefault}; + __property double Scale = {read=FScale, write=FScale}; + __property double ScalePct = {read=GetScalePct, write=SetScalePct}; + __property double PaperWidthInch = {read=FPaperWidth, write=FPaperWidth}; + __property double PaperHeightInch = {read=FPaperHeight, write=FPaperHeight}; + __property double PaperWidthMM = {read=GetPaperWidthMM, write=SetPaperWidthMM}; + __property double PaperHeightMM = {read=GetPaperHeightMM, write=SetPaperHeightMM}; + __property Uceftypes::TCefPdfPrintMarginType MarginType = {read=FMarginType, write=FMarginType, nodefault}; + __property double MarginTopInch = {read=FMarginTop, write=FMarginTop}; + __property double MarginRightInch = {read=FMarginRight, write=FMarginRight}; + __property double MarginBottomInch = {read=FMarginBottom, write=FMarginBottom}; + __property double MarginLeftInch = {read=FMarginLeft, write=FMarginLeft}; + __property double MarginTopMM = {read=GetMarginTopMM, write=SetMarginTopMM}; + __property double MarginRightMM = {read=GetMarginRightMM, write=SetMarginRightMM}; + __property double MarginBottomMM = {read=GetMarginBottomMM, write=SetMarginBottomMM}; + __property double MarginLeftMM = {read=GetMarginLeftMM, write=SetMarginLeftMM}; +public: + /* TObject.Destroy */ inline __fastcall virtual ~TPDFPrintOptions() { } + +}; + + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefpdfprintoptions */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFPDFPRINTOPTIONS) +using namespace Ucefpdfprintoptions; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFPDFPrintOptionsHPP diff --git a/CEF4Delphi/win32/hpps/uCEFPanel.hpp b/CEF4Delphi/win32/hpps/uCEFPanel.hpp new file mode 100644 index 0000000..5954f7b --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFPanel.hpp @@ -0,0 +1,89 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFPanel.pas' rev: 37.00 (Windows) + +#ifndef uCEFPanelHPP +#define uCEFPanelHPP + +#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 +#include +#include +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefpanel +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefPanelRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefPanelRef : public Ucefview::TCefViewRef +{ + typedef Ucefview::TCefViewRef inherited; + +protected: + Ucefinterfaces::_di_ICefWindow __fastcall GetAsWindow(); + Ucefinterfaces::_di_ICefFillLayout __fastcall SetToFillLayout(); + Ucefinterfaces::_di_ICefBoxLayout __fastcall SetToBoxLayout(const Uceftypes::TCefBoxLayoutSettings &settings); + Ucefinterfaces::_di_ICefLayout __fastcall GetLayout(); + void __fastcall Layout(); + void __fastcall AddChildView(const Ucefinterfaces::_di_ICefView view); + void __fastcall AddChildViewAt(const Ucefinterfaces::_di_ICefView view, int index); + void __fastcall ReorderChildView(const Ucefinterfaces::_di_ICefView view, int index); + void __fastcall RemoveChildView(const Ucefinterfaces::_di_ICefView view); + void __fastcall RemoveAllChildViews(); + System::NativeUInt __fastcall GetChildViewCount(); + Ucefinterfaces::_di_ICefView __fastcall GetChildViewAt(int index); + +public: + __classmethod Ucefinterfaces::_di_ICefPanel __fastcall UnWrap(void * data); + __classmethod Ucefinterfaces::_di_ICefPanel __fastcall CreatePanel(const Ucefinterfaces::_di_ICefPanelDelegate delegate); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefPanelRef(void * data) : Ucefview::TCefViewRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefPanelRef() { } + +private: + void *__ICefPanel; // Ucefinterfaces::ICefPanel + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {6F2F680A-3637-4438-81B8-79AD6C02252D} + operator Ucefinterfaces::_di_ICefPanel() + { + Ucefinterfaces::_di_ICefPanel intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefPanel*(void) { return (Ucefinterfaces::ICefPanel*)&__ICefPanel; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefpanel */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFPANEL) +using namespace Ucefpanel; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFPanelHPP diff --git a/CEF4Delphi/win32/hpps/uCEFPanelComponent.hpp b/CEF4Delphi/win32/hpps/uCEFPanelComponent.hpp new file mode 100644 index 0000000..88d91d5 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFPanelComponent.hpp @@ -0,0 +1,98 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFPanelComponent.pas' rev: 37.00 (Windows) + +#ifndef uCEFPanelComponentHPP +#define uCEFPanelComponentHPP + +#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 +#include +#include +#include +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefpanelcomponent +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCEFPanelComponent; +//-- type declarations ------------------------------------------------------- +class PASCALIMPLEMENTATION TCEFPanelComponent : public Ucefviewcomponent::TCEFViewComponent +{ + typedef Ucefviewcomponent::TCEFViewComponent inherited; + +protected: + Ucefinterfaces::_di_ICefPanel FPanel; + virtual void __fastcall DestroyView(); + virtual void __fastcall Initialize(); + virtual bool __fastcall GetInitialized(); + virtual Ucefinterfaces::_di_ICefView __fastcall GetAsView(); + virtual Ucefinterfaces::_di_ICefPanel __fastcall GetAsPanel(); + virtual Ucefinterfaces::_di_ICefWindow __fastcall GetAsWindow(); + System::NativeUInt __fastcall GetChildViewCount(); + virtual void __fastcall doCreateCustomView(); + +public: + void __fastcall CreatePanel(); + Ucefinterfaces::_di_ICefFillLayout __fastcall SetToFillLayout(); + Ucefinterfaces::_di_ICefBoxLayout __fastcall SetToBoxLayout(const Uceftypes::TCefBoxLayoutSettings &settings); + Ucefinterfaces::_di_ICefLayout __fastcall GetLayout(); + void __fastcall Layout(); + void __fastcall AddChildView(const Ucefinterfaces::_di_ICefView view); + void __fastcall AddChildViewAt(const Ucefinterfaces::_di_ICefView view, int index); + void __fastcall ReorderChildView(const Ucefinterfaces::_di_ICefView view, int index); + void __fastcall RemoveChildView(const Ucefinterfaces::_di_ICefView view); + void __fastcall RemoveAllChildViews(); + Ucefinterfaces::_di_ICefView __fastcall GetChildViewAt(int index); + __property Ucefinterfaces::_di_ICefWindow AsWindow = {read=GetAsWindow}; + __property System::NativeUInt ChildViewCount = {read=GetChildViewCount, nodefault}; +public: + /* TCEFViewComponent.Create */ inline __fastcall virtual TCEFPanelComponent(System::Classes::TComponent* AOwner) : Ucefviewcomponent::TCEFViewComponent(AOwner) { } + +public: + /* TComponent.Destroy */ inline __fastcall virtual ~TCEFPanelComponent() { } + +private: + void *__ICefPanelDelegateEvents; // Ucefinterfaces::ICefPanelDelegateEvents + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {F1F2963F-82C3-48F0-9B9C-7C213BACB96B} + operator Ucefinterfaces::_di_ICefPanelDelegateEvents() + { + Ucefinterfaces::_di_ICefPanelDelegateEvents intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefPanelDelegateEvents*(void) { return (Ucefinterfaces::ICefPanelDelegateEvents*)&__ICefPanelDelegateEvents; } + #endif + +}; + + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefpanelcomponent */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFPANELCOMPONENT) +using namespace Ucefpanelcomponent; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFPanelComponentHPP diff --git a/CEF4Delphi/win32/hpps/uCEFPanelDelegate.hpp b/CEF4Delphi/win32/hpps/uCEFPanelDelegate.hpp new file mode 100644 index 0000000..839b15b --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFPanelDelegate.hpp @@ -0,0 +1,136 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFPanelDelegate.pas' rev: 37.00 (Windows) + +#ifndef uCEFPanelDelegateHPP +#define uCEFPanelDelegateHPP + +#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 +#include +#include +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefpaneldelegate +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefPanelDelegateRef; +class DELPHICLASS TCefPanelDelegateOwn; +class DELPHICLASS TCustomPanelDelegate; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefPanelDelegateRef : public Ucefviewdelegate::TCefViewDelegateRef +{ + typedef Ucefviewdelegate::TCefViewDelegateRef inherited; + +public: + __classmethod Ucefinterfaces::_di_ICefPanelDelegate __fastcall UnWrap(void * data); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefPanelDelegateRef(void * data) : Ucefviewdelegate::TCefViewDelegateRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefPanelDelegateRef() { } + +private: + void *__ICefPanelDelegate; // Ucefinterfaces::ICefPanelDelegate + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {305D453F-FEBA-48ED-AE33-5D978823EA96} + operator Ucefinterfaces::_di_ICefPanelDelegate() + { + Ucefinterfaces::_di_ICefPanelDelegate intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefPanelDelegate*(void) { return (Ucefinterfaces::ICefPanelDelegate*)&__ICefPanelDelegate; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefPanelDelegateOwn : public Ucefviewdelegate::TCefViewDelegateOwn +{ + typedef Ucefviewdelegate::TCefViewDelegateOwn inherited; + +public: + __fastcall virtual TCefPanelDelegateOwn(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefPanelDelegateOwn(unsigned size, bool owned) : Ucefviewdelegate::TCefViewDelegateOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefPanelDelegateOwn() { } + +private: + void *__ICefPanelDelegate; // Ucefinterfaces::ICefPanelDelegate + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {305D453F-FEBA-48ED-AE33-5D978823EA96} + operator Ucefinterfaces::_di_ICefPanelDelegate() + { + Ucefinterfaces::_di_ICefPanelDelegate intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefPanelDelegate*(void) { return (Ucefinterfaces::ICefPanelDelegate*)&__ICefPanelDelegate; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCustomPanelDelegate : public TCefPanelDelegateOwn +{ + typedef TCefPanelDelegateOwn 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); + +public: + __fastcall TCustomPanelDelegate(const Ucefinterfaces::_di_ICefPanelDelegateEvents events); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomPanelDelegate(unsigned size, bool owned) : TCefPanelDelegateOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCustomPanelDelegate() { } + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefpaneldelegate */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFPANELDELEGATE) +using namespace Ucefpaneldelegate; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFPanelDelegateHPP diff --git a/CEF4Delphi/win32/hpps/uCEFPermissionHandler.hpp b/CEF4Delphi/win32/hpps/uCEFPermissionHandler.hpp new file mode 100644 index 0000000..59ab908 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFPermissionHandler.hpp @@ -0,0 +1,100 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFPermissionHandler.pas' rev: 37.00 (Windows) + +#ifndef uCEFPermissionHandlerHPP +#define uCEFPermissionHandlerHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefpermissionhandler +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefPermissionHandlerOwn; +class DELPHICLASS TCustomPermissionHandler; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefPermissionHandlerOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited; + +protected: + virtual bool __fastcall OnRequestMediaAccessPermission(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Uceftypes::ustring requesting_origin, unsigned requested_permissions, const Ucefinterfaces::_di_ICefMediaAccessCallback callback); + virtual bool __fastcall OnShowPermissionPrompt(const Ucefinterfaces::_di_ICefBrowser browser, unsigned __int64 prompt_id, const Uceftypes::ustring requesting_origin, unsigned requested_permissions, const Ucefinterfaces::_di_ICefPermissionPromptCallback callback); + virtual void __fastcall OnDismissPermissionPrompt(const Ucefinterfaces::_di_ICefBrowser browser, unsigned __int64 prompt_id, Uceftypes::TCefPermissionRequestResult result); + virtual void __fastcall RemoveReferences(); + +public: + __fastcall virtual TCefPermissionHandlerOwn(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefPermissionHandlerOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefPermissionHandlerOwn() { } + +private: + void *__ICefPermissionHandler; // Ucefinterfaces::ICefPermissionHandler + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {DC079268-FB08-44DA-B216-35C5C339B341} + operator Ucefinterfaces::_di_ICefPermissionHandler() + { + Ucefinterfaces::_di_ICefPermissionHandler intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefPermissionHandler*(void) { return (Ucefinterfaces::ICefPermissionHandler*)&__ICefPermissionHandler; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCustomPermissionHandler : public TCefPermissionHandlerOwn +{ + typedef TCefPermissionHandlerOwn inherited; + +protected: + void *FEvents; + virtual bool __fastcall OnRequestMediaAccessPermission(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Uceftypes::ustring requesting_origin, unsigned requested_permissions, const Ucefinterfaces::_di_ICefMediaAccessCallback callback); + virtual bool __fastcall OnShowPermissionPrompt(const Ucefinterfaces::_di_ICefBrowser browser, unsigned __int64 prompt_id, const Uceftypes::ustring requesting_origin, unsigned requested_permissions, const Ucefinterfaces::_di_ICefPermissionPromptCallback callback); + virtual void __fastcall OnDismissPermissionPrompt(const Ucefinterfaces::_di_ICefBrowser browser, unsigned __int64 prompt_id, Uceftypes::TCefPermissionRequestResult result); + virtual void __fastcall RemoveReferences(); + +public: + __fastcall TCustomPermissionHandler(const Ucefinterfaces::_di_IChromiumEvents events); + __fastcall virtual ~TCustomPermissionHandler(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomPermissionHandler(unsigned size, bool owned) : TCefPermissionHandlerOwn(size, owned) { } + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefpermissionhandler */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFPERMISSIONHANDLER) +using namespace Ucefpermissionhandler; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFPermissionHandlerHPP diff --git a/CEF4Delphi/win32/hpps/uCEFPermissionPromptCallback.hpp b/CEF4Delphi/win32/hpps/uCEFPermissionPromptCallback.hpp new file mode 100644 index 0000000..b61cdb2 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFPermissionPromptCallback.hpp @@ -0,0 +1,74 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFPermissionPromptCallback.pas' rev: 37.00 (Windows) + +#ifndef uCEFPermissionPromptCallbackHPP +#define uCEFPermissionPromptCallbackHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefpermissionpromptcallback +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefPermissionPromptCallbackRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefPermissionPromptCallbackRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + void __fastcall cont(Uceftypes::TCefPermissionRequestResult result); + +public: + __classmethod Ucefinterfaces::_di_ICefPermissionPromptCallback __fastcall UnWrap(void * data); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefPermissionPromptCallbackRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefPermissionPromptCallbackRef() { } + +private: + void *__ICefPermissionPromptCallback; // Ucefinterfaces::ICefPermissionPromptCallback + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {F8827C7D-7B14-499E-B38A-5F9FEB1FD6A6} + operator Ucefinterfaces::_di_ICefPermissionPromptCallback() + { + Ucefinterfaces::_di_ICefPermissionPromptCallback intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefPermissionPromptCallback*(void) { return (Ucefinterfaces::ICefPermissionPromptCallback*)&__ICefPermissionPromptCallback; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefpermissionpromptcallback */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFPERMISSIONPROMPTCALLBACK) +using namespace Ucefpermissionpromptcallback; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFPermissionPromptCallbackHPP diff --git a/CEF4Delphi/win32/hpps/uCEFPostData.hpp b/CEF4Delphi/win32/hpps/uCEFPostData.hpp new file mode 100644 index 0000000..2736286 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFPostData.hpp @@ -0,0 +1,83 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFPostData.pas' rev: 37.00 (Windows) + +#ifndef uCEFPostDataHPP +#define uCEFPostDataHPP + +#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 +#include +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefpostdata +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefPostDataRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefPostDataRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + bool __fastcall IsReadOnly(); + bool __fastcall HasExcludedElements(); + System::NativeUInt __fastcall GetElementCount(); + void __fastcall GetElements(System::NativeUInt elementsCount, Ucefinterfaces::TCefPostDataElementArray &elements); + bool __fastcall RemoveElement(const Ucefinterfaces::_di_ICefPostDataElement element); + bool __fastcall AddElement(const Ucefinterfaces::_di_ICefPostDataElement element); + void __fastcall RemoveElements(); + +public: + __classmethod Ucefinterfaces::_di_ICefPostData __fastcall UnWrap(void * data); + __classmethod Ucefinterfaces::_di_ICefPostData __fastcall New(); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefPostDataRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefPostDataRef() { } + +private: + void *__ICefPostData; // Ucefinterfaces::ICefPostData + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {1E677630-9339-4732-BB99-D6FE4DE4AEC0} + operator Ucefinterfaces::_di_ICefPostData() + { + Ucefinterfaces::_di_ICefPostData intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefPostData*(void) { return (Ucefinterfaces::ICefPostData*)&__ICefPostData; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefpostdata */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFPOSTDATA) +using namespace Ucefpostdata; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFPostDataHPP diff --git a/CEF4Delphi/win32/hpps/uCEFPostDataElement.hpp b/CEF4Delphi/win32/hpps/uCEFPostDataElement.hpp new file mode 100644 index 0000000..24fdf8f --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFPostDataElement.hpp @@ -0,0 +1,130 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFPostDataElement.pas' rev: 37.00 (Windows) + +#ifndef uCEFPostDataElementHPP +#define uCEFPostDataElementHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefpostdataelement +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefPostDataElementRef; +class DELPHICLASS TCefPostDataElementOwn; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefPostDataElementRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + bool __fastcall IsReadOnly(); + void __fastcall SetToEmpty(); + void __fastcall SetToFile(const Uceftypes::ustring fileName); + void __fastcall SetToBytes(System::NativeUInt size, const void * bytes); + Uceftypes::TCefPostDataElementType __fastcall GetType(); + Uceftypes::ustring __fastcall GetFile(); + System::NativeUInt __fastcall GetBytesCount(); + System::NativeUInt __fastcall GetBytes(System::NativeUInt size, void * bytes); + +public: + __classmethod Ucefinterfaces::_di_ICefPostDataElement __fastcall UnWrap(void * data); + __classmethod Ucefinterfaces::_di_ICefPostDataElement __fastcall New(); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefPostDataElementRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefPostDataElementRef() { } + +private: + void *__ICefPostDataElement; // Ucefinterfaces::ICefPostDataElement + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {3353D1B8-0300-4ADC-8D74-4FF31C77D13C} + operator Ucefinterfaces::_di_ICefPostDataElement() + { + Ucefinterfaces::_di_ICefPostDataElement intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefPostDataElement*(void) { return (Ucefinterfaces::ICefPostDataElement*)&__ICefPostDataElement; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefPostDataElementOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited; + +protected: + Uceftypes::TCefPostDataElementType FDataType; + void *FValueByte; + Uceftypes::TCefString FValueStr; + System::NativeUInt FSize; + bool FReadOnly; + void __fastcall Clear(); + virtual bool __fastcall IsReadOnly(); + virtual void __fastcall SetToEmpty(); + virtual void __fastcall SetToFile(const Uceftypes::ustring fileName); + virtual void __fastcall SetToBytes(System::NativeUInt size, const void * bytes); + virtual Uceftypes::TCefPostDataElementType __fastcall GetType(); + virtual Uceftypes::ustring __fastcall GetFile(); + virtual System::NativeUInt __fastcall GetBytesCount(); + virtual System::NativeUInt __fastcall GetBytes(System::NativeUInt size, void * bytes); + +public: + __fastcall virtual TCefPostDataElementOwn(bool readonly); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefPostDataElementOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefPostDataElementOwn() { } + +private: + void *__ICefPostDataElement; // Ucefinterfaces::ICefPostDataElement + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {3353D1B8-0300-4ADC-8D74-4FF31C77D13C} + operator Ucefinterfaces::_di_ICefPostDataElement() + { + Ucefinterfaces::_di_ICefPostDataElement intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefPostDataElement*(void) { return (Ucefinterfaces::ICefPostDataElement*)&__ICefPostDataElement; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefpostdataelement */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFPOSTDATAELEMENT) +using namespace Ucefpostdataelement; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFPostDataElementHPP diff --git a/CEF4Delphi/win32/hpps/uCEFPreferenceManager.hpp b/CEF4Delphi/win32/hpps/uCEFPreferenceManager.hpp new file mode 100644 index 0000000..cf03fd8 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFPreferenceManager.hpp @@ -0,0 +1,84 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFPreferenceManager.pas' rev: 37.00 (Windows) + +#ifndef uCEFPreferenceManagerHPP +#define uCEFPreferenceManagerHPP + +#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 +#include +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefpreferencemanager +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefPreferenceManagerRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefPreferenceManagerRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + bool __fastcall HasPreference(const Uceftypes::ustring name); + Ucefinterfaces::_di_ICefValue __fastcall GetPreference(const Uceftypes::ustring name); + Ucefinterfaces::_di_ICefDictionaryValue __fastcall GetAllPreferences(bool includeDefaults); + bool __fastcall CanSetPreference(const Uceftypes::ustring name); + bool __fastcall SetPreference(const Uceftypes::ustring name, const Ucefinterfaces::_di_ICefValue value, /* out */ Uceftypes::ustring &error); + Ucefinterfaces::_di_ICefRegistration __fastcall AddPreferenceObserver(const Uceftypes::ustring name, const Ucefinterfaces::_di_ICefPreferenceObserver observer); + +public: + __classmethod Ucefinterfaces::_di_ICefPreferenceManager __fastcall UnWrap(void * data); + __classmethod Ucefinterfaces::_di_ICefPreferenceManager __fastcall Global(); + __classmethod void __fastcall GetChromeVariationsAsSwitches(System::Classes::TStrings* const switches); + __classmethod void __fastcall GetChromeVariationsAsStrings(System::Classes::TStrings* const strings); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefPreferenceManagerRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefPreferenceManagerRef() { } + +private: + void *__ICefPreferenceManager; // Ucefinterfaces::ICefPreferenceManager + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {E8231D35-D028-4E64-BFDB-7E4596027DEC} + operator Ucefinterfaces::_di_ICefPreferenceManager() + { + Ucefinterfaces::_di_ICefPreferenceManager intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefPreferenceManager*(void) { return (Ucefinterfaces::ICefPreferenceManager*)&__ICefPreferenceManager; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefpreferencemanager */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFPREFERENCEMANAGER) +using namespace Ucefpreferencemanager; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFPreferenceManagerHPP diff --git a/CEF4Delphi/win32/hpps/uCEFPreferenceObserver.hpp b/CEF4Delphi/win32/hpps/uCEFPreferenceObserver.hpp new file mode 100644 index 0000000..9548bf8 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFPreferenceObserver.hpp @@ -0,0 +1,139 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFPreferenceObserver.pas' rev: 37.00 (Windows) + +#ifndef uCEFPreferenceObserverHPP +#define uCEFPreferenceObserverHPP + +#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 +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefpreferenceobserver +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefPreferenceObserverOwn; +class DELPHICLASS TCustomPreferenceObserver; +class DELPHICLASS TPreferenceInfo; +class DELPHICLASS TPreferenceInfoList; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefPreferenceObserverOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited; + +protected: + virtual void __fastcall OnPreferenceChanged(const Uceftypes::ustring name); + virtual void __fastcall RemoveReferences(); + +public: + __fastcall virtual TCefPreferenceObserverOwn(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefPreferenceObserverOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefPreferenceObserverOwn() { } + +private: + void *__ICefPreferenceObserver; // Ucefinterfaces::ICefPreferenceObserver + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {874985B5-2DA9-47E6-9E5F-4151BAF5A444} + operator Ucefinterfaces::_di_ICefPreferenceObserver() + { + Ucefinterfaces::_di_ICefPreferenceObserver intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefPreferenceObserver*(void) { return (Ucefinterfaces::ICefPreferenceObserver*)&__ICefPreferenceObserver; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCustomPreferenceObserver : public TCefPreferenceObserverOwn +{ + typedef TCefPreferenceObserverOwn inherited; + +protected: + void *FEvents; + virtual void __fastcall OnPreferenceChanged(const Uceftypes::ustring name); + virtual void __fastcall RemoveReferences(); + +public: + __fastcall virtual TCustomPreferenceObserver(const Ucefinterfaces::_di_IChromiumEvents events); + __fastcall virtual ~TCustomPreferenceObserver(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomPreferenceObserver(unsigned size, bool owned) : TCefPreferenceObserverOwn(size, owned) { } + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TPreferenceInfo : public System::TObject +{ + typedef System::TObject inherited; + +protected: + Ucefinterfaces::_di_ICefPreferenceObserver FObserver; + Ucefinterfaces::_di_ICefRegistration FRegistration; + Uceftypes::ustring FName; + +public: + __fastcall TPreferenceInfo(const Uceftypes::ustring aName, const Ucefinterfaces::_di_IChromiumEvents events); + __fastcall virtual ~TPreferenceInfo(); + __property Uceftypes::ustring PrefName = {read=FName}; + __property Ucefinterfaces::_di_ICefPreferenceObserver Observer = {read=FObserver}; + __property Ucefinterfaces::_di_ICefRegistration Registration = {read=FRegistration, write=FRegistration}; +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TPreferenceInfoList : public System::Classes::TList +{ + typedef System::Classes::TList inherited; + +protected: + int __fastcall SearchPreference(const Uceftypes::ustring aName); + +public: + __fastcall virtual ~TPreferenceInfoList(); + bool __fastcall HasPreference(const Uceftypes::ustring aName); + int __fastcall AddPreference(const Uceftypes::ustring aName, const Ucefinterfaces::_di_IChromiumEvents events); + void __fastcall RemovePreference(const Uceftypes::ustring aName); +public: + /* TObject.Create */ inline __fastcall TPreferenceInfoList() : System::Classes::TList() { } + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefpreferenceobserver */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFPREFERENCEOBSERVER) +using namespace Ucefpreferenceobserver; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFPreferenceObserverHPP diff --git a/CEF4Delphi/win32/hpps/uCEFPreferenceRegistrar.hpp b/CEF4Delphi/win32/hpps/uCEFPreferenceRegistrar.hpp new file mode 100644 index 0000000..14e24e8 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFPreferenceRegistrar.hpp @@ -0,0 +1,57 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFPreferenceRegistrar.pas' rev: 37.00 (Windows) + +#ifndef uCEFPreferenceRegistrarHPP +#define uCEFPreferenceRegistrarHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefpreferenceregistrar +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefPreferenceRegistrarRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefPreferenceRegistrarRef : public Ucefbasescopedwrapper::TCEFBaseScopedWrapperRef +{ + typedef Ucefbasescopedwrapper::TCEFBaseScopedWrapperRef inherited; + +public: + bool __fastcall AddPreference(const Uceftypes::ustring name, const Ucefinterfaces::_di_ICefValue default_value); +public: + /* TCEFBaseScopedWrapperRef.Create */ inline __fastcall virtual TCefPreferenceRegistrarRef(void * data) : Ucefbasescopedwrapper::TCEFBaseScopedWrapperRef(data) { } + +public: + /* TObject.Destroy */ inline __fastcall virtual ~TCefPreferenceRegistrarRef() { } + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefpreferenceregistrar */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFPREFERENCEREGISTRAR) +using namespace Ucefpreferenceregistrar; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFPreferenceRegistrarHPP diff --git a/CEF4Delphi/win32/hpps/uCEFPrintDialogCallback.hpp b/CEF4Delphi/win32/hpps/uCEFPrintDialogCallback.hpp new file mode 100644 index 0000000..459bf98 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFPrintDialogCallback.hpp @@ -0,0 +1,75 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFPrintDialogCallback.pas' rev: 37.00 (Windows) + +#ifndef uCEFPrintDialogCallbackHPP +#define uCEFPrintDialogCallbackHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefprintdialogcallback +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefPrintDialogCallbackRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefPrintDialogCallbackRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + void __fastcall cont(const Ucefinterfaces::_di_ICefPrintSettings settings); + void __fastcall cancel(); + +public: + __classmethod Ucefinterfaces::_di_ICefPrintDialogCallback __fastcall UnWrap(void * data); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefPrintDialogCallbackRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefPrintDialogCallbackRef() { } + +private: + void *__ICefPrintDialogCallback; // Ucefinterfaces::ICefPrintDialogCallback + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {1D7FB71E-0019-4A80-95ED-91DDD019253B} + operator Ucefinterfaces::_di_ICefPrintDialogCallback() + { + Ucefinterfaces::_di_ICefPrintDialogCallback intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefPrintDialogCallback*(void) { return (Ucefinterfaces::ICefPrintDialogCallback*)&__ICefPrintDialogCallback; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefprintdialogcallback */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFPRINTDIALOGCALLBACK) +using namespace Ucefprintdialogcallback; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFPrintDialogCallbackHPP diff --git a/CEF4Delphi/win32/hpps/uCEFPrintHandler.hpp b/CEF4Delphi/win32/hpps/uCEFPrintHandler.hpp new file mode 100644 index 0000000..e1412d6 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFPrintHandler.hpp @@ -0,0 +1,107 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFPrintHandler.pas' rev: 37.00 (Windows) + +#ifndef uCEFPrintHandlerHPP +#define uCEFPrintHandlerHPP + +#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 +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefprinthandler +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefPrintHandlerOwn; +class DELPHICLASS TCustomPrintHandler; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefPrintHandlerOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited; + +protected: + virtual void __fastcall OnPrintStart(const Ucefinterfaces::_di_ICefBrowser browser) = 0 ; + virtual void __fastcall OnPrintSettings(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefPrintSettings settings, bool getDefaults) = 0 ; + virtual void __fastcall OnPrintDialog(const Ucefinterfaces::_di_ICefBrowser browser, bool hasSelection, const Ucefinterfaces::_di_ICefPrintDialogCallback callback, bool &aResult); + virtual void __fastcall OnPrintJob(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring documentName, const Uceftypes::ustring PDFFilePath, const Ucefinterfaces::_di_ICefPrintJobCallback callback, bool &aResult); + virtual void __fastcall OnPrintReset(const Ucefinterfaces::_di_ICefBrowser browser) = 0 ; + virtual void __fastcall GetPDFPaperSize(const Ucefinterfaces::_di_ICefBrowser browser, int deviceUnitsPerInch, Uceftypes::TCefSize &aResult); + virtual void __fastcall RemoveReferences() = 0 ; + +public: + __fastcall virtual TCefPrintHandlerOwn(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefPrintHandlerOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefPrintHandlerOwn() { } + +private: + void *__ICefPrintHandler; // Ucefinterfaces::ICefPrintHandler + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {2831D5C9-6E2B-4A30-A65A-0F4435371EFC} + operator Ucefinterfaces::_di_ICefPrintHandler() + { + Ucefinterfaces::_di_ICefPrintHandler intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefPrintHandler*(void) { return (Ucefinterfaces::ICefPrintHandler*)&__ICefPrintHandler; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCustomPrintHandler : public TCefPrintHandlerOwn +{ + typedef TCefPrintHandlerOwn inherited; + +protected: + void *FEvents; + virtual void __fastcall OnPrintStart(const Ucefinterfaces::_di_ICefBrowser browser); + virtual void __fastcall OnPrintSettings(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefPrintSettings settings, bool getDefaults); + virtual void __fastcall OnPrintDialog(const Ucefinterfaces::_di_ICefBrowser browser, bool hasSelection, const Ucefinterfaces::_di_ICefPrintDialogCallback callback, bool &aResult); + virtual void __fastcall OnPrintJob(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring documentName, const Uceftypes::ustring PDFFilePath, const Ucefinterfaces::_di_ICefPrintJobCallback callback, bool &aResult); + virtual void __fastcall OnPrintReset(const Ucefinterfaces::_di_ICefBrowser browser); + virtual void __fastcall GetPDFPaperSize(const Ucefinterfaces::_di_ICefBrowser browser, int deviceUnitsPerInch, Uceftypes::TCefSize &aResult); + virtual void __fastcall RemoveReferences(); + +public: + __fastcall virtual TCustomPrintHandler(const Ucefinterfaces::_di_IChromiumEvents events); + __fastcall virtual ~TCustomPrintHandler(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomPrintHandler(unsigned size, bool owned) : TCefPrintHandlerOwn(size, owned) { } + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefprinthandler */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFPRINTHANDLER) +using namespace Ucefprinthandler; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFPrintHandlerHPP diff --git a/CEF4Delphi/win32/hpps/uCEFPrintJobCallback.hpp b/CEF4Delphi/win32/hpps/uCEFPrintJobCallback.hpp new file mode 100644 index 0000000..ca9cf97 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFPrintJobCallback.hpp @@ -0,0 +1,74 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFPrintJobCallback.pas' rev: 37.00 (Windows) + +#ifndef uCEFPrintJobCallbackHPP +#define uCEFPrintJobCallbackHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefprintjobcallback +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefPrintJobCallbackRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefPrintJobCallbackRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + void __fastcall cont(); + +public: + __classmethod Ucefinterfaces::_di_ICefPrintJobCallback __fastcall UnWrap(void * data); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefPrintJobCallbackRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefPrintJobCallbackRef() { } + +private: + void *__ICefPrintJobCallback; // Ucefinterfaces::ICefPrintJobCallback + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {5554852A-052C-464B-A868-B618C7E7E2FD} + operator Ucefinterfaces::_di_ICefPrintJobCallback() + { + Ucefinterfaces::_di_ICefPrintJobCallback intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefPrintJobCallback*(void) { return (Ucefinterfaces::ICefPrintJobCallback*)&__ICefPrintJobCallback; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefprintjobcallback */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFPRINTJOBCALLBACK) +using namespace Ucefprintjobcallback; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFPrintJobCallbackHPP diff --git a/CEF4Delphi/win32/hpps/uCEFPrintSettings.hpp b/CEF4Delphi/win32/hpps/uCEFPrintSettings.hpp new file mode 100644 index 0000000..f4b1d47 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFPrintSettings.hpp @@ -0,0 +1,96 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFPrintSettings.pas' rev: 37.00 (Windows) + +#ifndef uCEFPrintSettingsHPP +#define uCEFPrintSettingsHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefprintsettings +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefPrintSettingsRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefPrintSettingsRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + bool __fastcall IsValid(); + bool __fastcall IsReadOnly(); + void __fastcall SetOrientation(bool landscape); + bool __fastcall IsLandscape(); + void __fastcall SetPrinterPrintableArea(const Uceftypes::PCefSize physicalSizeDeviceUnits, const Uceftypes::PCefRect printableAreaDeviceUnits, bool landscapeNeedsFlip); + void __fastcall SetDeviceName(const Uceftypes::ustring name); + Uceftypes::ustring __fastcall GetDeviceName(); + void __fastcall SetDpi(int dpi); + int __fastcall GetDpi(); + void __fastcall SetPageRanges(const Uceftypes::TCefRangeArray ranges); + System::NativeUInt __fastcall GetPageRangesCount(); + void __fastcall GetPageRanges(/* out */ Uceftypes::TCefRangeArray &ranges); + void __fastcall SetSelectionOnly(bool selectionOnly); + bool __fastcall IsSelectionOnly(); + void __fastcall SetCollate(bool collate); + bool __fastcall WillCollate(); + void __fastcall SetColorModel(Uceftypes::TCefColorModel model); + Uceftypes::TCefColorModel __fastcall GetColorModel(); + void __fastcall SetCopies(int copies); + int __fastcall GetCopies(); + void __fastcall SetDuplexMode(Uceftypes::TCefDuplexMode mode); + Uceftypes::TCefDuplexMode __fastcall GetDuplexMode(); + +public: + __classmethod Ucefinterfaces::_di_ICefPrintSettings __fastcall New(); + __classmethod Ucefinterfaces::_di_ICefPrintSettings __fastcall UnWrap(void * data); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefPrintSettingsRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefPrintSettingsRef() { } + +private: + void *__ICefPrintSettings; // Ucefinterfaces::ICefPrintSettings + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {ACBD2395-E9C1-49E5-B7F3-344DAA4A0F12} + operator Ucefinterfaces::_di_ICefPrintSettings() + { + Ucefinterfaces::_di_ICefPrintSettings intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefPrintSettings*(void) { return (Ucefinterfaces::ICefPrintSettings*)&__ICefPrintSettings; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefprintsettings */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFPRINTSETTINGS) +using namespace Ucefprintsettings; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFPrintSettingsHPP diff --git a/CEF4Delphi/win32/hpps/uCEFProcessMessage.hpp b/CEF4Delphi/win32/hpps/uCEFProcessMessage.hpp new file mode 100644 index 0000000..477fc84 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFProcessMessage.hpp @@ -0,0 +1,80 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFProcessMessage.pas' rev: 37.00 (Windows) + +#ifndef uCEFProcessMessageHPP +#define uCEFProcessMessageHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefprocessmessage +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefProcessMessageRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefProcessMessageRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + bool __fastcall IsValid(); + bool __fastcall IsReadOnly(); + Ucefinterfaces::_di_ICefProcessMessage __fastcall Copy(); + Uceftypes::ustring __fastcall GetName(); + Ucefinterfaces::_di_ICefListValue __fastcall GetArgumentList(); + Ucefinterfaces::_di_ICefSharedMemoryRegion __fastcall GetSharedMemoryRegion(); + +public: + __classmethod Ucefinterfaces::_di_ICefProcessMessage __fastcall UnWrap(void * data); + __classmethod Ucefinterfaces::_di_ICefProcessMessage __fastcall New(const Uceftypes::ustring name); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefProcessMessageRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefProcessMessageRef() { } + +private: + void *__ICefProcessMessage; // Ucefinterfaces::ICefProcessMessage + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {E0B1001A-8777-425A-869B-29D40B8B93B1} + operator Ucefinterfaces::_di_ICefProcessMessage() + { + Ucefinterfaces::_di_ICefProcessMessage intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefProcessMessage*(void) { return (Ucefinterfaces::ICefProcessMessage*)&__ICefProcessMessage; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefprocessmessage */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFPROCESSMESSAGE) +using namespace Ucefprocessmessage; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFProcessMessageHPP diff --git a/CEF4Delphi/win32/hpps/uCEFRegistration.hpp b/CEF4Delphi/win32/hpps/uCEFRegistration.hpp new file mode 100644 index 0000000..5e68661 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFRegistration.hpp @@ -0,0 +1,71 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFRegistration.pas' rev: 37.00 (Windows) + +#ifndef uCEFRegistrationHPP +#define uCEFRegistrationHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefregistration +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefRegistrationRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefRegistrationRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +public: + __classmethod Ucefinterfaces::_di_ICefRegistration __fastcall UnWrap(void * data); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefRegistrationRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefRegistrationRef() { } + +private: + void *__ICefRegistration; // Ucefinterfaces::ICefRegistration + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {9226018F-7A56-4F2E-AF01-43268E33EE6B} + operator Ucefinterfaces::_di_ICefRegistration() + { + Ucefinterfaces::_di_ICefRegistration intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefRegistration*(void) { return (Ucefinterfaces::ICefRegistration*)&__ICefRegistration; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefregistration */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFREGISTRATION) +using namespace Ucefregistration; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFRegistrationHPP diff --git a/CEF4Delphi/win32/hpps/uCEFRenderHandler.hpp b/CEF4Delphi/win32/hpps/uCEFRenderHandler.hpp new file mode 100644 index 0000000..7488313 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFRenderHandler.hpp @@ -0,0 +1,128 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFRenderHandler.pas' rev: 37.00 (Windows) + +#ifndef uCEFRenderHandlerHPP +#define uCEFRenderHandlerHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefrenderhandler +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefRenderHandlerOwn; +class DELPHICLASS TCustomRenderHandler; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefRenderHandlerOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited; + +protected: + virtual void __fastcall GetAccessibilityHandler(Ucefinterfaces::_di_ICefAccessibilityHandler &aAccessibilityHandler); + virtual bool __fastcall GetRootScreenRect(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefRect &rect); + virtual void __fastcall GetViewRect(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefRect &rect); + virtual bool __fastcall GetScreenPoint(const Ucefinterfaces::_di_ICefBrowser browser, int viewX, int viewY, int &screenX, int &screenY); + virtual bool __fastcall GetScreenInfo(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefScreenInfo &screenInfo); + virtual void __fastcall OnPopupShow(const Ucefinterfaces::_di_ICefBrowser browser, bool show); + virtual void __fastcall OnPopupSize(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefRect rect); + virtual void __fastcall OnPaint(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefPaintElementType kind, System::NativeUInt dirtyRectsCount, const Uceftypes::PCefRectArray dirtyRects, const void * buffer, int width, int height); + virtual void __fastcall OnAcceleratedPaint(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefPaintElementType kind, System::NativeUInt dirtyRectsCount, const Uceftypes::PCefRectArray dirtyRects, const Uceftypes::PCefAcceleratedPaintInfo info); + virtual void __fastcall GetTouchHandleSize(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefHorizontalAlignment orientation, Uceftypes::TCefSize &size); + virtual void __fastcall OnTouchHandleStateChanged(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::TCefTouchHandleState &state); + virtual bool __fastcall OnStartDragging(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefDragData dragData, Uceftypes::TCefDragOperations allowedOps, int x, int y); + virtual void __fastcall OnUpdateDragCursor(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefDragOperation operation); + virtual void __fastcall OnScrollOffsetChanged(const Ucefinterfaces::_di_ICefBrowser browser, double x, double y); + virtual void __fastcall OnIMECompositionRangeChanged(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefRange selected_range, System::NativeUInt character_boundsCount, const Uceftypes::PCefRect character_bounds); + virtual void __fastcall OnTextSelectionChanged(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring selected_text, const Uceftypes::PCefRange selected_range); + virtual void __fastcall OnVirtualKeyboardRequested(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefTextInpuMode input_mode); + virtual void __fastcall RemoveReferences(); + +public: + __fastcall virtual TCefRenderHandlerOwn(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefRenderHandlerOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefRenderHandlerOwn() { } + +private: + void *__ICefRenderHandler; // Ucefinterfaces::ICefRenderHandler + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {1FC1C22B-085A-4741-9366-5249B88EC410} + operator Ucefinterfaces::_di_ICefRenderHandler() + { + Ucefinterfaces::_di_ICefRenderHandler intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefRenderHandler*(void) { return (Ucefinterfaces::ICefRenderHandler*)&__ICefRenderHandler; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCustomRenderHandler : public TCefRenderHandlerOwn +{ + typedef TCefRenderHandlerOwn inherited; + +protected: + void *FEvents; + virtual void __fastcall GetAccessibilityHandler(Ucefinterfaces::_di_ICefAccessibilityHandler &aAccessibilityHandler); + virtual bool __fastcall GetRootScreenRect(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefRect &rect); + virtual void __fastcall GetViewRect(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefRect &rect); + virtual bool __fastcall GetScreenPoint(const Ucefinterfaces::_di_ICefBrowser browser, int viewX, int viewY, int &screenX, int &screenY); + virtual void __fastcall OnPopupShow(const Ucefinterfaces::_di_ICefBrowser browser, bool show); + virtual void __fastcall OnPopupSize(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefRect rect); + virtual void __fastcall OnPaint(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefPaintElementType kind, System::NativeUInt dirtyRectsCount, const Uceftypes::PCefRectArray dirtyRects, const void * buffer, int width, int height); + virtual void __fastcall OnAcceleratedPaint(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefPaintElementType kind, System::NativeUInt dirtyRectsCount, const Uceftypes::PCefRectArray dirtyRects, const Uceftypes::PCefAcceleratedPaintInfo info); + virtual void __fastcall GetTouchHandleSize(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefHorizontalAlignment orientation, Uceftypes::TCefSize &size); + virtual void __fastcall OnTouchHandleStateChanged(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::TCefTouchHandleState &state); + virtual bool __fastcall GetScreenInfo(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefScreenInfo &screenInfo); + virtual bool __fastcall OnStartDragging(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefDragData dragData, Uceftypes::TCefDragOperations allowedOps, int x, int y); + virtual void __fastcall OnUpdateDragCursor(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefDragOperation operation); + virtual void __fastcall OnScrollOffsetChanged(const Ucefinterfaces::_di_ICefBrowser browser, double x, double y); + virtual void __fastcall OnIMECompositionRangeChanged(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefRange selected_range, System::NativeUInt character_boundsCount, const Uceftypes::PCefRect character_bounds); + virtual void __fastcall OnTextSelectionChanged(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::ustring selected_text, const Uceftypes::PCefRange selected_range); + virtual void __fastcall OnVirtualKeyboardRequested(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefTextInpuMode input_mode); + virtual void __fastcall RemoveReferences(); + +public: + __fastcall virtual TCustomRenderHandler(const Ucefinterfaces::_di_IChromiumEvents events); + __fastcall virtual ~TCustomRenderHandler(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomRenderHandler(unsigned size, bool owned) : TCefRenderHandlerOwn(size, owned) { } + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefrenderhandler */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFRENDERHANDLER) +using namespace Ucefrenderhandler; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFRenderHandlerHPP diff --git a/CEF4Delphi/win32/hpps/uCEFRenderProcessHandler.hpp b/CEF4Delphi/win32/hpps/uCEFRenderProcessHandler.hpp new file mode 100644 index 0000000..f13dd0f --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFRenderProcessHandler.hpp @@ -0,0 +1,124 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFRenderProcessHandler.pas' rev: 37.00 (Windows) + +#ifndef uCEFRenderProcessHandlerHPP +#define uCEFRenderProcessHandlerHPP + +#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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefrenderprocesshandler +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefRenderProcessHandlerOwn; +class DELPHICLASS TCefCustomRenderProcessHandler; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefRenderProcessHandlerOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited; + +protected: + virtual void __fastcall OnWebKitInitialized() = 0 ; + virtual void __fastcall OnBrowserCreated(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefDictionaryValue extra_info) = 0 ; + virtual void __fastcall OnBrowserDestroyed(const Ucefinterfaces::_di_ICefBrowser browser) = 0 ; + virtual Ucefinterfaces::_di_ICefLoadHandler __fastcall GetLoadHandler(); + virtual void __fastcall OnContextCreated(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefv8Context context) = 0 ; + virtual void __fastcall OnContextReleased(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefv8Context context) = 0 ; + virtual void __fastcall OnUncaughtException(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) = 0 ; + virtual void __fastcall OnFocusedNodeChanged(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefDomNode node) = 0 ; + virtual bool __fastcall OnProcessMessageReceived(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, Uceftypes::TCefProcessId sourceProcess, const Ucefinterfaces::_di_ICefProcessMessage aMessage); + virtual void __fastcall RemoveReferences() = 0 ; + +public: + __fastcall virtual TCefRenderProcessHandlerOwn(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefRenderProcessHandlerOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefRenderProcessHandlerOwn() { } + +private: + void *__ICefRenderProcessHandler; // Ucefinterfaces::ICefRenderProcessHandler + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {FADEE3BC-BF66-430A-BA5D-1EE3782ECC58} + operator Ucefinterfaces::_di_ICefRenderProcessHandler() + { + Ucefinterfaces::_di_ICefRenderProcessHandler intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefRenderProcessHandler*(void) { return (Ucefinterfaces::ICefRenderProcessHandler*)&__ICefRenderProcessHandler; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefCustomRenderProcessHandler : public TCefRenderProcessHandlerOwn +{ + typedef TCefRenderProcessHandlerOwn inherited; + +protected: + Ucefapplicationcore::TCefApplicationCore* FCefApp; + Ucefinterfaces::_di_ICefLoadHandler FLoadHandler; + virtual void __fastcall OnWebKitInitialized(); + virtual void __fastcall OnBrowserCreated(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefDictionaryValue extra_info); + virtual void __fastcall OnBrowserDestroyed(const Ucefinterfaces::_di_ICefBrowser browser); + virtual Ucefinterfaces::_di_ICefLoadHandler __fastcall GetLoadHandler(); + virtual void __fastcall OnContextCreated(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefv8Context context); + virtual void __fastcall OnContextReleased(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefv8Context context); + virtual void __fastcall OnUncaughtException(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 OnFocusedNodeChanged(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefDomNode node); + virtual bool __fastcall OnProcessMessageReceived(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, Uceftypes::TCefProcessId sourceProcess, const Ucefinterfaces::_di_ICefProcessMessage aMessage); + virtual void __fastcall RemoveReferences(); + +public: + __fastcall TCefCustomRenderProcessHandler(Ucefapplicationcore::TCefApplicationCore* const aCefApp); + __fastcall virtual ~TCefCustomRenderProcessHandler(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefCustomRenderProcessHandler(unsigned size, bool owned) : TCefRenderProcessHandlerOwn(size, owned) { } + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefrenderprocesshandler */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFRENDERPROCESSHANDLER) +using namespace Ucefrenderprocesshandler; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFRenderProcessHandlerHPP diff --git a/CEF4Delphi/win32/hpps/uCEFRequest.hpp b/CEF4Delphi/win32/hpps/uCEFRequest.hpp new file mode 100644 index 0000000..bb9d373 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFRequest.hpp @@ -0,0 +1,96 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFRequest.pas' rev: 37.00 (Windows) + +#ifndef uCEFRequestHPP +#define uCEFRequestHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefrequest +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefRequestRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefRequestRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + bool __fastcall IsReadOnly(); + Uceftypes::ustring __fastcall GetUrl(); + Uceftypes::ustring __fastcall GetMethod(); + Ucefinterfaces::_di_ICefPostData __fastcall GetPostData(); + void __fastcall GetHeaderMap(const Ucefinterfaces::_di_ICefStringMultimap HeaderMap); + void __fastcall SetUrl(const Uceftypes::ustring value); + void __fastcall SetMethod(const Uceftypes::ustring value); + void __fastcall SetReferrer(const Uceftypes::ustring referrerUrl, Uceftypes::TCefReferrerPolicy policy); + Uceftypes::ustring __fastcall GetReferrerUrl(); + Uceftypes::TCefReferrerPolicy __fastcall GetReferrerPolicy(); + void __fastcall SetPostData(const Ucefinterfaces::_di_ICefPostData value); + void __fastcall SetHeaderMap(const Ucefinterfaces::_di_ICefStringMultimap HeaderMap); + Uceftypes::ustring __fastcall GetHeaderByName(const Uceftypes::ustring name); + void __fastcall SetHeaderByName(const Uceftypes::ustring name, const Uceftypes::ustring value, bool overwrite); + Uceftypes::TCefUrlRequestFlags __fastcall GetFlags(); + void __fastcall SetFlags(Uceftypes::TCefUrlRequestFlags flags); + Uceftypes::ustring __fastcall GetFirstPartyForCookies(); + void __fastcall SetFirstPartyForCookies(const Uceftypes::ustring url); + void __fastcall Assign(const Uceftypes::ustring url, const Uceftypes::ustring method, const Ucefinterfaces::_di_ICefPostData postData, const Ucefinterfaces::_di_ICefStringMultimap headerMap); + Uceftypes::TCefResourceType __fastcall GetResourceType(); + Uceftypes::TCefTransitionType __fastcall GetTransitionType(); + unsigned __int64 __fastcall GetIdentifier(); + +public: + __classmethod Ucefinterfaces::_di_ICefRequest __fastcall UnWrap(void * data); + __classmethod Ucefinterfaces::_di_ICefRequest __fastcall New(); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefRequestRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefRequestRef() { } + +private: + void *__ICefRequest; // Ucefinterfaces::ICefRequest + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {FB4718D3-7D13-4979-9F4C-D7F6C0EC592A} + operator Ucefinterfaces::_di_ICefRequest() + { + Ucefinterfaces::_di_ICefRequest intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefRequest*(void) { return (Ucefinterfaces::ICefRequest*)&__ICefRequest; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefrequest */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFREQUEST) +using namespace Ucefrequest; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFRequestHPP diff --git a/CEF4Delphi/win32/hpps/uCEFRequestContext.hpp b/CEF4Delphi/win32/hpps/uCEFRequestContext.hpp new file mode 100644 index 0000000..91abb31 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFRequestContext.hpp @@ -0,0 +1,161 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFRequestContext.pas' rev: 37.00 (Windows) + +#ifndef uCEFRequestContextHPP +#define uCEFRequestContextHPP + +#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 +#include +#include +#include +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefrequestcontext +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefRequestContextRef; +class DELPHICLASS TCefClearCertificateExceptionsCompletionCallback; +class DELPHICLASS TCefClearHttpAuthCredentialsCompletionCallback; +class DELPHICLASS TCefCloseAllConnectionsCompletionCallback; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefRequestContextRef : public Ucefpreferencemanager::TCefPreferenceManagerRef +{ + typedef Ucefpreferencemanager::TCefPreferenceManagerRef inherited; + +protected: + bool __fastcall IsSame(const Ucefinterfaces::_di_ICefRequestContext other); + bool __fastcall IsSharingWith(const Ucefinterfaces::_di_ICefRequestContext other); + bool __fastcall IsGlobal(); + Ucefinterfaces::_di_ICefRequestContextHandler __fastcall GetHandler(); + Uceftypes::ustring __fastcall GetCachePath(); + Ucefinterfaces::_di_ICefCookieManager __fastcall GetCookieManager(const Ucefinterfaces::_di_ICefCompletionCallback callback); + Ucefinterfaces::_di_ICefCookieManager __fastcall GetCookieManagerProc(const Ucefinterfaces::_di_TCefCompletionCallbackProc callback); + bool __fastcall RegisterSchemeHandlerFactory(const Uceftypes::ustring schemeName, const Uceftypes::ustring domainName, const Ucefinterfaces::_di_ICefSchemeHandlerFactory factory); + bool __fastcall ClearSchemeHandlerFactories(); + void __fastcall ClearCertificateExceptions(const Ucefinterfaces::_di_ICefCompletionCallback callback); + void __fastcall ClearHttpAuthCredentials(const Ucefinterfaces::_di_ICefCompletionCallback callback); + void __fastcall CloseAllConnections(const Ucefinterfaces::_di_ICefCompletionCallback callback); + void __fastcall ResolveHost(const Uceftypes::ustring origin, const Ucefinterfaces::_di_ICefResolveCallback callback); + Ucefinterfaces::_di_ICefMediaRouter __fastcall GetMediaRouter(const Ucefinterfaces::_di_ICefCompletionCallback callback); + Ucefinterfaces::_di_ICefValue __fastcall GetWebsiteSetting(const Uceftypes::ustring requesting_url, const Uceftypes::ustring top_level_url, Uceftypes::TCefContentSettingTypes content_type); + void __fastcall SetWebsiteSetting(const Uceftypes::ustring requesting_url, const Uceftypes::ustring top_level_url, Uceftypes::TCefContentSettingTypes content_type, const Ucefinterfaces::_di_ICefValue value); + Uceftypes::TCefContentSettingValues __fastcall GetContentSetting(const Uceftypes::ustring requesting_url, const Uceftypes::ustring top_level_url, Uceftypes::TCefContentSettingTypes content_type); + void __fastcall SetContentSetting(const Uceftypes::ustring requesting_url, const Uceftypes::ustring top_level_url, Uceftypes::TCefContentSettingTypes content_type, Uceftypes::TCefContentSettingValues value); + void __fastcall SetChromeColorScheme(Uceftypes::TCefColorVariant variant, Uceftypes::TCefColor user_color); + Uceftypes::TCefColorVariant __fastcall GetChromeColorSchemeMode(); + Uceftypes::TCefColor __fastcall GetChromeColorSchemeColor(); + Uceftypes::TCefColorVariant __fastcall GetChromeColorSchemeVariant(); + Ucefinterfaces::_di_ICefRegistration __fastcall AddSettingObserver(const Ucefinterfaces::_di_ICefSettingObserver observer); + +public: + __classmethod Ucefinterfaces::_di_ICefRequestContext __fastcall UnWrap(void * data); + __classmethod Ucefinterfaces::_di_ICefRequestContext __fastcall Global(); + __classmethod Ucefinterfaces::_di_ICefRequestContext __fastcall New(const Uceftypes::PCefRequestContextSettings settings, const Ucefinterfaces::_di_ICefRequestContextHandler handler = Ucefinterfaces::_di_ICefRequestContextHandler())/* overload */; + __classmethod Ucefinterfaces::_di_ICefRequestContext __fastcall New(const Uceftypes::ustring aCache, const Uceftypes::ustring aAcceptLanguageList, const Uceftypes::ustring aCookieableSchemesList, bool aCookieableSchemesExcludeDefaults, bool aPersistSessionCookies, const Ucefinterfaces::_di_ICefRequestContextHandler handler = Ucefinterfaces::_di_ICefRequestContextHandler())/* overload */; + __classmethod Ucefinterfaces::_di_ICefRequestContext __fastcall Shared(const Ucefinterfaces::_di_ICefRequestContext other, const Ucefinterfaces::_di_ICefRequestContextHandler handler); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefRequestContextRef(void * data) : Ucefpreferencemanager::TCefPreferenceManagerRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefRequestContextRef() { } + +private: + void *__ICefRequestContext; // Ucefinterfaces::ICefRequestContext + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {5830847A-2971-4BD5-ABE6-21451F8923F7} + operator Ucefinterfaces::_di_ICefRequestContext() + { + Ucefinterfaces::_di_ICefRequestContext intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefRequestContext*(void) { return (Ucefinterfaces::ICefRequestContext*)&__ICefRequestContext; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefClearCertificateExceptionsCompletionCallback : public Ucefcompletioncallback::TCefCustomCompletionCallback +{ + typedef Ucefcompletioncallback::TCefCustomCompletionCallback inherited; + +protected: + virtual void __fastcall OnComplete(); +public: + /* TCefCustomCompletionCallback.Create */ inline __fastcall TCefClearCertificateExceptionsCompletionCallback(const Ucefinterfaces::_di_IChromiumEvents aEvents) : Ucefcompletioncallback::TCefCustomCompletionCallback(aEvents) { } + /* TCefCustomCompletionCallback.Destroy */ inline __fastcall virtual ~TCefClearCertificateExceptionsCompletionCallback() { } + +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefClearCertificateExceptionsCompletionCallback(unsigned size, bool owned) : Ucefcompletioncallback::TCefCustomCompletionCallback(size, owned) { } + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefClearHttpAuthCredentialsCompletionCallback : public Ucefcompletioncallback::TCefCustomCompletionCallback +{ + typedef Ucefcompletioncallback::TCefCustomCompletionCallback inherited; + +protected: + virtual void __fastcall OnComplete(); +public: + /* TCefCustomCompletionCallback.Create */ inline __fastcall TCefClearHttpAuthCredentialsCompletionCallback(const Ucefinterfaces::_di_IChromiumEvents aEvents) : Ucefcompletioncallback::TCefCustomCompletionCallback(aEvents) { } + /* TCefCustomCompletionCallback.Destroy */ inline __fastcall virtual ~TCefClearHttpAuthCredentialsCompletionCallback() { } + +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefClearHttpAuthCredentialsCompletionCallback(unsigned size, bool owned) : Ucefcompletioncallback::TCefCustomCompletionCallback(size, owned) { } + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefCloseAllConnectionsCompletionCallback : public Ucefcompletioncallback::TCefCustomCompletionCallback +{ + typedef Ucefcompletioncallback::TCefCustomCompletionCallback inherited; + +protected: + virtual void __fastcall OnComplete(); +public: + /* TCefCustomCompletionCallback.Create */ inline __fastcall TCefCloseAllConnectionsCompletionCallback(const Ucefinterfaces::_di_IChromiumEvents aEvents) : Ucefcompletioncallback::TCefCustomCompletionCallback(aEvents) { } + /* TCefCustomCompletionCallback.Destroy */ inline __fastcall virtual ~TCefCloseAllConnectionsCompletionCallback() { } + +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefCloseAllConnectionsCompletionCallback(unsigned size, bool owned) : Ucefcompletioncallback::TCefCustomCompletionCallback(size, owned) { } + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefrequestcontext */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFREQUESTCONTEXT) +using namespace Ucefrequestcontext; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFRequestContextHPP diff --git a/CEF4Delphi/win32/hpps/uCEFRequestContextHandler.hpp b/CEF4Delphi/win32/hpps/uCEFRequestContextHandler.hpp new file mode 100644 index 0000000..4338174 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFRequestContextHandler.hpp @@ -0,0 +1,137 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFRequestContextHandler.pas' rev: 37.00 (Windows) + +#ifndef uCEFRequestContextHandlerHPP +#define uCEFRequestContextHandlerHPP + +#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 +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefrequestcontexthandler +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefRequestContextHandlerRef; +class DELPHICLASS TCefRequestContextHandlerOwn; +class DELPHICLASS TCustomRequestContextHandler; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefRequestContextHandlerRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + void __fastcall OnRequestContextInitialized(const Ucefinterfaces::_di_ICefRequestContext request_context); + void __fastcall GetResourceRequestHandler(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 &aResourceRequestHandler); + virtual void __fastcall RemoveReferences(); + +public: + __classmethod Ucefinterfaces::_di_ICefRequestContextHandler __fastcall UnWrap(void * data); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefRequestContextHandlerRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefRequestContextHandlerRef() { } + +private: + void *__ICefRequestContextHandler; // Ucefinterfaces::ICefRequestContextHandler + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {76EB1FA7-78DF-4FD5-ABB3-1CDD3E73A140} + operator Ucefinterfaces::_di_ICefRequestContextHandler() + { + Ucefinterfaces::_di_ICefRequestContextHandler intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefRequestContextHandler*(void) { return (Ucefinterfaces::ICefRequestContextHandler*)&__ICefRequestContextHandler; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefRequestContextHandlerOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited; + +protected: + virtual void __fastcall OnRequestContextInitialized(const Ucefinterfaces::_di_ICefRequestContext request_context); + virtual void __fastcall GetResourceRequestHandler(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 &aResourceRequestHandler); + virtual void __fastcall RemoveReferences(); + +public: + __fastcall virtual TCefRequestContextHandlerOwn(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefRequestContextHandlerOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefRequestContextHandlerOwn() { } + +private: + void *__ICefRequestContextHandler; // Ucefinterfaces::ICefRequestContextHandler + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {76EB1FA7-78DF-4FD5-ABB3-1CDD3E73A140} + operator Ucefinterfaces::_di_ICefRequestContextHandler() + { + Ucefinterfaces::_di_ICefRequestContextHandler intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefRequestContextHandler*(void) { return (Ucefinterfaces::ICefRequestContextHandler*)&__ICefRequestContextHandler; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCustomRequestContextHandler : public TCefRequestContextHandlerOwn +{ + typedef TCefRequestContextHandlerOwn inherited; + +protected: + void *FEvents; + virtual void __fastcall OnRequestContextInitialized(const Ucefinterfaces::_di_ICefRequestContext request_context); + virtual void __fastcall GetResourceRequestHandler(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 &aResourceRequestHandler); + +public: + __fastcall virtual TCustomRequestContextHandler(const Ucefinterfaces::_di_IChromiumEvents events); + virtual void __fastcall BeforeDestruction(); + virtual void __fastcall RemoveReferences(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomRequestContextHandler(unsigned size, bool owned) : TCefRequestContextHandlerOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCustomRequestContextHandler() { } + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefrequestcontexthandler */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFREQUESTCONTEXTHANDLER) +using namespace Ucefrequestcontexthandler; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFRequestContextHandlerHPP diff --git a/CEF4Delphi/win32/hpps/uCEFRequestHandler.hpp b/CEF4Delphi/win32/hpps/uCEFRequestHandler.hpp new file mode 100644 index 0000000..461d8eb --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFRequestHandler.hpp @@ -0,0 +1,117 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFRequestHandler.pas' rev: 37.00 (Windows) + +#ifndef uCEFRequestHandlerHPP +#define uCEFRequestHandlerHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefrequesthandler +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefRequestHandlerOwn; +class DELPHICLASS TCustomRequestHandler; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefRequestHandlerOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited; + +protected: + virtual bool __fastcall OnBeforeBrowse(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, bool user_gesture, bool isRedirect); + virtual bool __fastcall OnOpenUrlFromTab(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Uceftypes::ustring targetUrl, Uceftypes::TCefWindowOpenDisposition targetDisposition, bool userGesture); + virtual void __fastcall GetResourceRequestHandler(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 &aResourceRequestHandler); + virtual bool __fastcall GetAuthCredentials(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); + virtual bool __fastcall OnCertificateError(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefErrorCode certError, const Uceftypes::ustring requestUrl, const Ucefinterfaces::_di_ICefSslInfo sslInfo, const Ucefinterfaces::_di_ICefCallback callback); + virtual bool __fastcall OnSelectClientCertificate(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); + virtual void __fastcall OnRenderViewReady(const Ucefinterfaces::_di_ICefBrowser browser); + virtual bool __fastcall OnRenderProcessUnresponsive(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefUnresponsiveProcessCallback callback); + virtual void __fastcall OnRenderProcessResponsive(const Ucefinterfaces::_di_ICefBrowser browser); + virtual void __fastcall OnRenderProcessTerminated(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefTerminationStatus status, int error_code, const Uceftypes::ustring error_string); + virtual void __fastcall OnDocumentAvailableInMainFrame(const Ucefinterfaces::_di_ICefBrowser browser); + virtual void __fastcall RemoveReferences(); + +public: + __fastcall virtual TCefRequestHandlerOwn(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefRequestHandlerOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefRequestHandlerOwn() { } + +private: + void *__ICefRequestHandler; // Ucefinterfaces::ICefRequestHandler + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {050877A9-D1F8-4EB3-B58E-50DC3E3D39FD} + operator Ucefinterfaces::_di_ICefRequestHandler() + { + Ucefinterfaces::_di_ICefRequestHandler intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefRequestHandler*(void) { return (Ucefinterfaces::ICefRequestHandler*)&__ICefRequestHandler; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCustomRequestHandler : public TCefRequestHandlerOwn +{ + typedef TCefRequestHandlerOwn inherited; + +protected: + void *FEvents; + virtual bool __fastcall OnBeforeBrowse(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, bool user_gesture, bool isRedirect); + virtual bool __fastcall OnOpenUrlFromTab(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Uceftypes::ustring targetUrl, Uceftypes::TCefWindowOpenDisposition targetDisposition, bool userGesture); + virtual void __fastcall GetResourceRequestHandler(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 &aResourceRequestHandler); + virtual bool __fastcall GetAuthCredentials(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); + virtual bool __fastcall OnCertificateError(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefErrorCode certError, const Uceftypes::ustring requestUrl, const Ucefinterfaces::_di_ICefSslInfo sslInfo, const Ucefinterfaces::_di_ICefCallback callback); + virtual bool __fastcall OnSelectClientCertificate(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); + virtual void __fastcall OnRenderViewReady(const Ucefinterfaces::_di_ICefBrowser browser); + virtual bool __fastcall OnRenderProcessUnresponsive(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefUnresponsiveProcessCallback callback); + virtual void __fastcall OnRenderProcessResponsive(const Ucefinterfaces::_di_ICefBrowser browser); + virtual void __fastcall OnRenderProcessTerminated(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefTerminationStatus status, int error_code, const Uceftypes::ustring error_string); + virtual void __fastcall OnDocumentAvailableInMainFrame(const Ucefinterfaces::_di_ICefBrowser browser); + +public: + __fastcall virtual TCustomRequestHandler(const Ucefinterfaces::_di_IChromiumEvents events); + virtual void __fastcall BeforeDestruction(); + virtual void __fastcall RemoveReferences(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomRequestHandler(unsigned size, bool owned) : TCefRequestHandlerOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCustomRequestHandler() { } + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefrequesthandler */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFREQUESTHANDLER) +using namespace Ucefrequesthandler; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFRequestHandlerHPP diff --git a/CEF4Delphi/win32/hpps/uCEFResolveCallback.hpp b/CEF4Delphi/win32/hpps/uCEFResolveCallback.hpp new file mode 100644 index 0000000..e9940a2 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFResolveCallback.hpp @@ -0,0 +1,96 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFResolveCallback.pas' rev: 37.00 (Windows) + +#ifndef uCEFResolveCallbackHPP +#define uCEFResolveCallbackHPP + +#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 +#include +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefresolvecallback +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefResolveCallbackOwn; +class DELPHICLASS TCefCustomResolveCallback; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefResolveCallbackOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited; + +protected: + virtual void __fastcall OnResolveCompleted(Uceftypes::TCefErrorCode result, System::Classes::TStrings* const resolvedIps) = 0 ; + +public: + __fastcall virtual TCefResolveCallbackOwn(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefResolveCallbackOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefResolveCallbackOwn() { } + +private: + void *__ICefResolveCallback; // Ucefinterfaces::ICefResolveCallback + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {0C0EA252-7968-4163-A1BE-A1453576DD06} + operator Ucefinterfaces::_di_ICefResolveCallback() + { + Ucefinterfaces::_di_ICefResolveCallback intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefResolveCallback*(void) { return (Ucefinterfaces::ICefResolveCallback*)&__ICefResolveCallback; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefCustomResolveCallback : public TCefResolveCallbackOwn +{ + typedef TCefResolveCallbackOwn inherited; + +protected: + void *FEvents; + virtual void __fastcall OnResolveCompleted(Uceftypes::TCefErrorCode result, System::Classes::TStrings* const resolvedIps); + +public: + __fastcall TCefCustomResolveCallback(const Ucefinterfaces::_di_IChromiumEvents aEvents); + __fastcall virtual ~TCefCustomResolveCallback(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefCustomResolveCallback(unsigned size, bool owned) : TCefResolveCallbackOwn(size, owned) { } + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefresolvecallback */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFRESOLVECALLBACK) +using namespace Ucefresolvecallback; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFResolveCallbackHPP diff --git a/CEF4Delphi/win32/hpps/uCEFResourceBundle.hpp b/CEF4Delphi/win32/hpps/uCEFResourceBundle.hpp new file mode 100644 index 0000000..211a4db --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFResourceBundle.hpp @@ -0,0 +1,77 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFResourceBundle.pas' rev: 37.00 (Windows) + +#ifndef uCEFResourceBundleHPP +#define uCEFResourceBundleHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefresourcebundle +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefResourceBundleRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefResourceBundleRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + Uceftypes::ustring __fastcall GetLocalizedString(int stringId); + Ucefinterfaces::_di_ICefBinaryValue __fastcall GetDataResource(int resourceId); + Ucefinterfaces::_di_ICefBinaryValue __fastcall GetDataResourceForScale(int resourceId, Uceftypes::TCefScaleFactor scaleFactor); + +public: + __classmethod Ucefinterfaces::_di_ICefResourceBundle __fastcall UnWrap(void * data); + __classmethod Ucefinterfaces::_di_ICefResourceBundle __fastcall Global(); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefResourceBundleRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefResourceBundleRef() { } + +private: + void *__ICefResourceBundle; // Ucefinterfaces::ICefResourceBundle + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {3213CF97-C854-452B-B615-39192F8D07DC} + operator Ucefinterfaces::_di_ICefResourceBundle() + { + Ucefinterfaces::_di_ICefResourceBundle intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefResourceBundle*(void) { return (Ucefinterfaces::ICefResourceBundle*)&__ICefResourceBundle; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefresourcebundle */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFRESOURCEBUNDLE) +using namespace Ucefresourcebundle; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFResourceBundleHPP diff --git a/CEF4Delphi/win32/hpps/uCEFResourceBundleHandler.hpp b/CEF4Delphi/win32/hpps/uCEFResourceBundleHandler.hpp new file mode 100644 index 0000000..d65b521 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFResourceBundleHandler.hpp @@ -0,0 +1,101 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFResourceBundleHandler.pas' rev: 37.00 (Windows) + +#ifndef uCEFResourceBundleHandlerHPP +#define uCEFResourceBundleHandlerHPP + +#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 +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefresourcebundlehandler +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefResourceBundleHandlerOwn; +class DELPHICLASS TCefCustomResourceBundleHandler; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefResourceBundleHandlerOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited; + +protected: + virtual bool __fastcall GetLocalizedString(int stringid, Uceftypes::ustring &stringVal) = 0 ; + virtual bool __fastcall GetDataResource(int resourceId, void * &data, System::NativeUInt &dataSize) = 0 ; + virtual bool __fastcall GetDataResourceForScale(int resourceId, Uceftypes::TCefScaleFactor scaleFactor, void * &data, System::NativeUInt &dataSize) = 0 ; + virtual void __fastcall RemoveReferences() = 0 ; + +public: + __fastcall virtual TCefResourceBundleHandlerOwn(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefResourceBundleHandlerOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefResourceBundleHandlerOwn() { } + +private: + void *__ICefResourceBundleHandler; // Ucefinterfaces::ICefResourceBundleHandler + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {09C264FD-7E03-41E3-87B3-4234E82B5EA2} + operator Ucefinterfaces::_di_ICefResourceBundleHandler() + { + Ucefinterfaces::_di_ICefResourceBundleHandler intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefResourceBundleHandler*(void) { return (Ucefinterfaces::ICefResourceBundleHandler*)&__ICefResourceBundleHandler; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefCustomResourceBundleHandler : public TCefResourceBundleHandlerOwn +{ + typedef TCefResourceBundleHandlerOwn inherited; + +protected: + Ucefapplicationcore::TCefApplicationCore* FCefApp; + virtual bool __fastcall GetLocalizedString(int stringid, Uceftypes::ustring &stringVal); + virtual bool __fastcall GetDataResource(int resourceId, void * &data, System::NativeUInt &dataSize); + virtual bool __fastcall GetDataResourceForScale(int resourceId, Uceftypes::TCefScaleFactor scaleFactor, void * &data, System::NativeUInt &dataSize); + virtual void __fastcall RemoveReferences(); + +public: + __fastcall TCefCustomResourceBundleHandler(Ucefapplicationcore::TCefApplicationCore* const aCefApp); + __fastcall virtual ~TCefCustomResourceBundleHandler(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefCustomResourceBundleHandler(unsigned size, bool owned) : TCefResourceBundleHandlerOwn(size, owned) { } + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefresourcebundlehandler */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFRESOURCEBUNDLEHANDLER) +using namespace Ucefresourcebundlehandler; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFResourceBundleHandlerHPP diff --git a/CEF4Delphi/win32/hpps/uCEFResourceHandler.hpp b/CEF4Delphi/win32/hpps/uCEFResourceHandler.hpp new file mode 100644 index 0000000..6a73703 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFResourceHandler.hpp @@ -0,0 +1,123 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFResourceHandler.pas' rev: 37.00 (Windows) + +#ifndef uCEFResourceHandlerHPP +#define uCEFResourceHandlerHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefresourcehandler +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefResourceHandlerRef; +class DELPHICLASS TCefResourceHandlerOwn; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefResourceHandlerRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + bool __fastcall open(const Ucefinterfaces::_di_ICefRequest request, bool &handle_request, const Ucefinterfaces::_di_ICefCallback callback); + bool __fastcall ProcessRequest(const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefCallback callback); + void __fastcall GetResponseHeaders(const Ucefinterfaces::_di_ICefResponse response, /* out */ __int64 &responseLength, /* out */ Uceftypes::ustring &redirectUrl); + bool __fastcall skip(__int64 bytes_to_skip, __int64 &bytes_skipped, const Ucefinterfaces::_di_ICefResourceSkipCallback callback); + bool __fastcall read(const void * data_out, int bytes_to_read, int &bytes_read, const Ucefinterfaces::_di_ICefResourceReadCallback callback); + bool __fastcall ReadResponse(const void * dataOut, int bytesToRead, int &bytesRead, const Ucefinterfaces::_di_ICefCallback callback); + void __fastcall Cancel(); + +public: + __classmethod Ucefinterfaces::_di_ICefResourceHandler __fastcall UnWrap(void * data); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefResourceHandlerRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefResourceHandlerRef() { } + +private: + void *__ICefResourceHandler; // Ucefinterfaces::ICefResourceHandler + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {BD3EA208-AAAD-488C-BFF2-76993022F2B5} + operator Ucefinterfaces::_di_ICefResourceHandler() + { + Ucefinterfaces::_di_ICefResourceHandler intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefResourceHandler*(void) { return (Ucefinterfaces::ICefResourceHandler*)&__ICefResourceHandler; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefResourceHandlerOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited; + +protected: + virtual bool __fastcall open(const Ucefinterfaces::_di_ICefRequest request, bool &handle_request, const Ucefinterfaces::_di_ICefCallback callback); + virtual bool __fastcall ProcessRequest(const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefCallback callback); + virtual void __fastcall GetResponseHeaders(const Ucefinterfaces::_di_ICefResponse response, /* out */ __int64 &responseLength, /* out */ Uceftypes::ustring &redirectUrl); + virtual bool __fastcall skip(__int64 bytes_to_skip, __int64 &bytes_skipped, const Ucefinterfaces::_di_ICefResourceSkipCallback callback); + virtual bool __fastcall read(const void * data_out, int bytes_to_read, int &bytes_read, const Ucefinterfaces::_di_ICefResourceReadCallback callback); + virtual bool __fastcall ReadResponse(const void * dataOut, int bytesToRead, int &bytesRead, const Ucefinterfaces::_di_ICefCallback callback); + virtual void __fastcall Cancel(); + +public: + __fastcall virtual TCefResourceHandlerOwn(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Uceftypes::ustring schemeName, const Ucefinterfaces::_di_ICefRequest request); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefResourceHandlerOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefResourceHandlerOwn() { } + +private: + void *__ICefResourceHandler; // Ucefinterfaces::ICefResourceHandler + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {BD3EA208-AAAD-488C-BFF2-76993022F2B5} + operator Ucefinterfaces::_di_ICefResourceHandler() + { + Ucefinterfaces::_di_ICefResourceHandler intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefResourceHandler*(void) { return (Ucefinterfaces::ICefResourceHandler*)&__ICefResourceHandler; } + #endif + +}; + +#pragma pack(pop) + +typedef System::TMetaClass* TCefResourceHandlerClass; + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefresourcehandler */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFRESOURCEHANDLER) +using namespace Ucefresourcehandler; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFResourceHandlerHPP diff --git a/CEF4Delphi/win32/hpps/uCEFResourceReadCallback.hpp b/CEF4Delphi/win32/hpps/uCEFResourceReadCallback.hpp new file mode 100644 index 0000000..615761e --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFResourceReadCallback.hpp @@ -0,0 +1,74 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFResourceReadCallback.pas' rev: 37.00 (Windows) + +#ifndef uCEFResourceReadCallbackHPP +#define uCEFResourceReadCallbackHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefresourcereadcallback +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefResourceReadCallbackRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefResourceReadCallbackRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + void __fastcall Cont(__int64 bytes_read); + +public: + __classmethod Ucefinterfaces::_di_ICefResourceReadCallback __fastcall UnWrap(void * data); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefResourceReadCallbackRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefResourceReadCallbackRef() { } + +private: + void *__ICefResourceReadCallback; // Ucefinterfaces::ICefResourceReadCallback + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {7669335F-7A4B-4657-86CA-C02B12369602} + operator Ucefinterfaces::_di_ICefResourceReadCallback() + { + Ucefinterfaces::_di_ICefResourceReadCallback intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefResourceReadCallback*(void) { return (Ucefinterfaces::ICefResourceReadCallback*)&__ICefResourceReadCallback; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefresourcereadcallback */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFRESOURCEREADCALLBACK) +using namespace Ucefresourcereadcallback; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFResourceReadCallbackHPP diff --git a/CEF4Delphi/win32/hpps/uCEFResourceRequestHandler.hpp b/CEF4Delphi/win32/hpps/uCEFResourceRequestHandler.hpp new file mode 100644 index 0000000..fad90af --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFResourceRequestHandler.hpp @@ -0,0 +1,156 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFResourceRequestHandler.pas' rev: 37.00 (Windows) + +#ifndef uCEFResourceRequestHandlerHPP +#define uCEFResourceRequestHandlerHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefresourcerequesthandler +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefResourceRequestHandlerRef; +class DELPHICLASS TCefResourceRequestHandlerOwn; +class DELPHICLASS TCustomResourceRequestHandler; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefResourceRequestHandlerRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + void __fastcall GetCookieAccessFilter(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, Ucefinterfaces::_di_ICefCookieAccessFilter &aFilter); + Uceftypes::TCefReturnValue __fastcall OnBeforeResourceLoad(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefCallback callback); + void __fastcall GetResourceHandler(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, Ucefinterfaces::_di_ICefResourceHandler &aResourceHandler); + void __fastcall OnResourceRedirect(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefResponse response, Uceftypes::ustring &newUrl); + bool __fastcall OnResourceResponse(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefResponse response); + void __fastcall GetResourceResponseFilter(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefResponse response, Ucefinterfaces::_di_ICefResponseFilter &aResponseFilter); + void __fastcall OnResourceLoadComplete(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); + void __fastcall OnProtocolExecution(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, bool &allowOsExecution); + void __fastcall RemoveReferences(); + +public: + __classmethod Ucefinterfaces::_di_ICefResourceRequestHandler __fastcall UnWrap(void * data); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefResourceRequestHandlerRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefResourceRequestHandlerRef() { } + +private: + void *__ICefResourceRequestHandler; // Ucefinterfaces::ICefResourceRequestHandler + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {CFA42A38-EA91-4A95-95CE-178BCD412411} + operator Ucefinterfaces::_di_ICefResourceRequestHandler() + { + Ucefinterfaces::_di_ICefResourceRequestHandler intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefResourceRequestHandler*(void) { return (Ucefinterfaces::ICefResourceRequestHandler*)&__ICefResourceRequestHandler; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefResourceRequestHandlerOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited; + +protected: + virtual void __fastcall GetCookieAccessFilter(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, Ucefinterfaces::_di_ICefCookieAccessFilter &aFilter); + virtual Uceftypes::TCefReturnValue __fastcall OnBeforeResourceLoad(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefCallback callback); + virtual void __fastcall GetResourceHandler(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, Ucefinterfaces::_di_ICefResourceHandler &aResourceHandler); + virtual void __fastcall OnResourceRedirect(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefResponse response, Uceftypes::ustring &newUrl); + virtual bool __fastcall OnResourceResponse(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefResponse response); + virtual void __fastcall GetResourceResponseFilter(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefResponse response, Ucefinterfaces::_di_ICefResponseFilter &aResponseFilter); + virtual void __fastcall OnResourceLoadComplete(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); + virtual void __fastcall OnProtocolExecution(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, bool &allowOsExecution); + virtual void __fastcall RemoveReferences(); + +public: + __fastcall virtual TCefResourceRequestHandlerOwn(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefResourceRequestHandlerOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefResourceRequestHandlerOwn() { } + +private: + void *__ICefResourceRequestHandler; // Ucefinterfaces::ICefResourceRequestHandler + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {CFA42A38-EA91-4A95-95CE-178BCD412411} + operator Ucefinterfaces::_di_ICefResourceRequestHandler() + { + Ucefinterfaces::_di_ICefResourceRequestHandler intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefResourceRequestHandler*(void) { return (Ucefinterfaces::ICefResourceRequestHandler*)&__ICefResourceRequestHandler; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCustomResourceRequestHandler : public TCefResourceRequestHandlerOwn +{ + typedef TCefResourceRequestHandlerOwn inherited; + +protected: + void *FEvents; + Ucefinterfaces::_di_ICefCookieAccessFilter FCookieAccessFilter; + virtual void __fastcall GetCookieAccessFilter(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, Ucefinterfaces::_di_ICefCookieAccessFilter &aFilter); + virtual Uceftypes::TCefReturnValue __fastcall OnBeforeResourceLoad(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefCallback callback); + virtual void __fastcall GetResourceHandler(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, Ucefinterfaces::_di_ICefResourceHandler &aResourceHandler); + virtual void __fastcall OnResourceRedirect(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefResponse response, Uceftypes::ustring &newUrl); + virtual bool __fastcall OnResourceResponse(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefResponse response); + virtual void __fastcall GetResourceResponseFilter(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefResponse response, Ucefinterfaces::_di_ICefResponseFilter &aResponseFilter); + virtual void __fastcall OnResourceLoadComplete(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); + virtual void __fastcall OnProtocolExecution(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Ucefinterfaces::_di_ICefRequest request, bool &allowOsExecution); + void __fastcall InitializeVars(); + +public: + __fastcall TCustomResourceRequestHandler(const Ucefinterfaces::_di_IChromiumEvents events); + virtual void __fastcall BeforeDestruction(); + virtual void __fastcall RemoveReferences(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomResourceRequestHandler(unsigned size, bool owned) : TCefResourceRequestHandlerOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCustomResourceRequestHandler() { } + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefresourcerequesthandler */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFRESOURCEREQUESTHANDLER) +using namespace Ucefresourcerequesthandler; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFResourceRequestHandlerHPP diff --git a/CEF4Delphi/win32/hpps/uCEFResourceSkipCallback.hpp b/CEF4Delphi/win32/hpps/uCEFResourceSkipCallback.hpp new file mode 100644 index 0000000..3a1439a --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFResourceSkipCallback.hpp @@ -0,0 +1,74 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFResourceSkipCallback.pas' rev: 37.00 (Windows) + +#ifndef uCEFResourceSkipCallbackHPP +#define uCEFResourceSkipCallbackHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefresourceskipcallback +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefResourceSkipCallbackRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefResourceSkipCallbackRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + void __fastcall Cont(__int64 bytes_skipped); + +public: + __classmethod Ucefinterfaces::_di_ICefResourceSkipCallback __fastcall UnWrap(void * data); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefResourceSkipCallbackRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefResourceSkipCallbackRef() { } + +private: + void *__ICefResourceSkipCallback; // Ucefinterfaces::ICefResourceSkipCallback + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {5ADDE93E-5858-41FD-81E8-ED8BF710D92A} + operator Ucefinterfaces::_di_ICefResourceSkipCallback() + { + Ucefinterfaces::_di_ICefResourceSkipCallback intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefResourceSkipCallback*(void) { return (Ucefinterfaces::ICefResourceSkipCallback*)&__ICefResourceSkipCallback; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefresourceskipcallback */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFRESOURCESKIPCALLBACK) +using namespace Ucefresourceskipcallback; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFResourceSkipCallbackHPP diff --git a/CEF4Delphi/win32/hpps/uCEFResponse.hpp b/CEF4Delphi/win32/hpps/uCEFResponse.hpp new file mode 100644 index 0000000..49716d8 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFResponse.hpp @@ -0,0 +1,91 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFResponse.pas' rev: 37.00 (Windows) + +#ifndef uCEFResponseHPP +#define uCEFResponseHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefresponse +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefResponseRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefResponseRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + bool __fastcall IsReadOnly(); + Uceftypes::TCefErrorCode __fastcall GetError(); + void __fastcall SetError(Uceftypes::TCefErrorCode error); + int __fastcall GetStatus(); + void __fastcall SetStatus(int status); + Uceftypes::ustring __fastcall GetStatusText(); + void __fastcall SetStatusText(const Uceftypes::ustring StatusText); + Uceftypes::ustring __fastcall GetMimeType(); + void __fastcall SetMimeType(const Uceftypes::ustring mimetype); + Uceftypes::ustring __fastcall GetCharset(); + void __fastcall SetCharset(const Uceftypes::ustring charset); + Uceftypes::ustring __fastcall GetHeaderByName(const Uceftypes::ustring name); + void __fastcall SetHeaderByName(const Uceftypes::ustring name, const Uceftypes::ustring value, bool overwrite); + void __fastcall GetHeaderMap(const Ucefinterfaces::_di_ICefStringMultimap headerMap); + void __fastcall SetHeaderMap(const Ucefinterfaces::_di_ICefStringMultimap headerMap); + Uceftypes::ustring __fastcall GetURL(); + void __fastcall SetURL(const Uceftypes::ustring url); + +public: + __classmethod Ucefinterfaces::_di_ICefResponse __fastcall UnWrap(void * data); + __classmethod Ucefinterfaces::_di_ICefResponse __fastcall New(); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefResponseRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefResponseRef() { } + +private: + void *__ICefResponse; // Ucefinterfaces::ICefResponse + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {E9C896E4-59A8-4B96-AB5E-6EA3A498B7F1} + operator Ucefinterfaces::_di_ICefResponse() + { + Ucefinterfaces::_di_ICefResponse intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefResponse*(void) { return (Ucefinterfaces::ICefResponse*)&__ICefResponse; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefresponse */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFRESPONSE) +using namespace Ucefresponse; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFResponseHPP diff --git a/CEF4Delphi/win32/hpps/uCEFResponseFilter.hpp b/CEF4Delphi/win32/hpps/uCEFResponseFilter.hpp new file mode 100644 index 0000000..91dfde7 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFResponseFilter.hpp @@ -0,0 +1,137 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFResponseFilter.pas' rev: 37.00 (Windows) + +#ifndef uCEFResponseFilterHPP +#define uCEFResponseFilterHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefresponsefilter +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefResponseFilterRef; +class DELPHICLASS TCefResponseFilterOwn; +class DELPHICLASS TCustomResponseFilter; +//-- type declarations ------------------------------------------------------- +typedef void __fastcall (__closure *TOnFilterEvent)(System::TObject* Sender, void * data_in, System::NativeUInt data_in_size, System::NativeUInt &data_in_read, void * data_out, System::NativeUInt data_out_size, System::NativeUInt &data_out_written, Uceftypes::TCefResponseFilterStatus &aResult); + +typedef void __fastcall (__closure *TOnInitFilterEvent)(System::TObject* Sender, bool &aResult); + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefResponseFilterRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + virtual bool __fastcall InitFilter(); + virtual Uceftypes::TCefResponseFilterStatus __fastcall Filter(void * data_in, System::NativeUInt data_in_size, System::NativeUInt &data_in_read, void * data_out, System::NativeUInt data_out_size, System::NativeUInt &data_out_written); + +public: + __classmethod Ucefinterfaces::_di_ICefResponseFilter __fastcall UnWrap(void * data); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefResponseFilterRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefResponseFilterRef() { } + +private: + void *__ICefResponseFilter; // Ucefinterfaces::ICefResponseFilter + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {5013BC3C-F1AE-407A-A571-A4C6B1D6831E} + operator Ucefinterfaces::_di_ICefResponseFilter() + { + Ucefinterfaces::_di_ICefResponseFilter intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefResponseFilter*(void) { return (Ucefinterfaces::ICefResponseFilter*)&__ICefResponseFilter; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefResponseFilterOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited; + +protected: + virtual bool __fastcall InitFilter() = 0 ; + virtual Uceftypes::TCefResponseFilterStatus __fastcall Filter(void * data_in, System::NativeUInt data_in_size, System::NativeUInt &data_in_read, void * data_out, System::NativeUInt data_out_size, System::NativeUInt &data_out_written) = 0 ; + +public: + __fastcall virtual TCefResponseFilterOwn(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefResponseFilterOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefResponseFilterOwn() { } + +private: + void *__ICefResponseFilter; // Ucefinterfaces::ICefResponseFilter + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {5013BC3C-F1AE-407A-A571-A4C6B1D6831E} + operator Ucefinterfaces::_di_ICefResponseFilter() + { + Ucefinterfaces::_di_ICefResponseFilter intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefResponseFilter*(void) { return (Ucefinterfaces::ICefResponseFilter*)&__ICefResponseFilter; } + #endif + +}; + +#pragma pack(pop) + +class PASCALIMPLEMENTATION TCustomResponseFilter : public TCefResponseFilterOwn +{ + typedef TCefResponseFilterOwn inherited; + +protected: + TOnFilterEvent FOnFilter; + TOnInitFilterEvent FOnInitFilter; + virtual bool __fastcall InitFilter(); + virtual Uceftypes::TCefResponseFilterStatus __fastcall Filter(void * data_in, System::NativeUInt data_in_size, System::NativeUInt &data_in_read, void * data_out, System::NativeUInt data_out_size, System::NativeUInt &data_out_written); + +public: + __fastcall virtual TCustomResponseFilter(); + __property TOnFilterEvent OnFilter = {read=FOnFilter, write=FOnFilter}; + __property TOnInitFilterEvent OnInitFilter = {read=FOnInitFilter, write=FOnInitFilter}; +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomResponseFilter(unsigned size, bool owned) : TCefResponseFilterOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCustomResponseFilter() { } + +}; + + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefresponsefilter */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFRESPONSEFILTER) +using namespace Ucefresponsefilter; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFResponseFilterHPP diff --git a/CEF4Delphi/win32/hpps/uCEFRunContextMenuCallback.hpp b/CEF4Delphi/win32/hpps/uCEFRunContextMenuCallback.hpp new file mode 100644 index 0000000..498f2a4 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFRunContextMenuCallback.hpp @@ -0,0 +1,75 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFRunContextMenuCallback.pas' rev: 37.00 (Windows) + +#ifndef uCEFRunContextMenuCallbackHPP +#define uCEFRunContextMenuCallbackHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefruncontextmenucallback +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefRunContextMenuCallbackRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefRunContextMenuCallbackRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + void __fastcall Cont(int commandId, Uceftypes::TCefEventFlags eventFlags); + void __fastcall Cancel(); + +public: + __classmethod Ucefinterfaces::_di_ICefRunContextMenuCallback __fastcall UnWrap(void * data); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefRunContextMenuCallbackRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefRunContextMenuCallbackRef() { } + +private: + void *__ICefRunContextMenuCallback; // Ucefinterfaces::ICefRunContextMenuCallback + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {44C3C6E3-B64D-4F6E-A318-4A0F3A72EB00} + operator Ucefinterfaces::_di_ICefRunContextMenuCallback() + { + Ucefinterfaces::_di_ICefRunContextMenuCallback intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefRunContextMenuCallback*(void) { return (Ucefinterfaces::ICefRunContextMenuCallback*)&__ICefRunContextMenuCallback; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefruncontextmenucallback */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFRUNCONTEXTMENUCALLBACK) +using namespace Ucefruncontextmenucallback; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFRunContextMenuCallbackHPP diff --git a/CEF4Delphi/win32/hpps/uCEFRunFileDialogCallback.hpp b/CEF4Delphi/win32/hpps/uCEFRunFileDialogCallback.hpp new file mode 100644 index 0000000..f60831c --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFRunFileDialogCallback.hpp @@ -0,0 +1,95 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFRunFileDialogCallback.pas' rev: 37.00 (Windows) + +#ifndef uCEFRunFileDialogCallbackHPP +#define uCEFRunFileDialogCallbackHPP + +#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 +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefrunfiledialogcallback +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefRunFileDialogCallbackOwn; +class DELPHICLASS TCefFastRunFileDialogCallback; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefRunFileDialogCallbackOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited; + +protected: + virtual void __fastcall OnFileDialogDismissed(System::Classes::TStrings* const filePaths); + +public: + __fastcall TCefRunFileDialogCallbackOwn(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefRunFileDialogCallbackOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefRunFileDialogCallbackOwn() { } + +private: + void *__ICefRunFileDialogCallback; // Ucefinterfaces::ICefRunFileDialogCallback + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {59FCECC6-E897-45BA-873B-F09586C4BE47} + operator Ucefinterfaces::_di_ICefRunFileDialogCallback() + { + Ucefinterfaces::_di_ICefRunFileDialogCallback intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefRunFileDialogCallback*(void) { return (Ucefinterfaces::ICefRunFileDialogCallback*)&__ICefRunFileDialogCallback; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefFastRunFileDialogCallback : public TCefRunFileDialogCallbackOwn +{ + typedef TCefRunFileDialogCallbackOwn inherited; + +protected: + Ucefinterfaces::_di_TCefRunFileDialogCallbackProc FCallback; + virtual void __fastcall OnFileDialogDismissed(System::Classes::TStrings* const filePaths); + +public: + __fastcall virtual TCefFastRunFileDialogCallback(Ucefinterfaces::_di_TCefRunFileDialogCallbackProc callback); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefFastRunFileDialogCallback(unsigned size, bool owned) : TCefRunFileDialogCallbackOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefFastRunFileDialogCallback() { } + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefrunfiledialogcallback */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFRUNFILEDIALOGCALLBACK) +using namespace Ucefrunfiledialogcallback; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFRunFileDialogCallbackHPP diff --git a/CEF4Delphi/win32/hpps/uCEFRunQuickMenuCallback.hpp b/CEF4Delphi/win32/hpps/uCEFRunQuickMenuCallback.hpp new file mode 100644 index 0000000..8c7060c --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFRunQuickMenuCallback.hpp @@ -0,0 +1,75 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFRunQuickMenuCallback.pas' rev: 37.00 (Windows) + +#ifndef uCEFRunQuickMenuCallbackHPP +#define uCEFRunQuickMenuCallbackHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefrunquickmenucallback +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefRunQuickMenuCallbackRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefRunQuickMenuCallbackRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + void __fastcall Cont(int command_id, Uceftypes::TCefEventFlags event_flags); + void __fastcall Cancel(); + +public: + __classmethod Ucefinterfaces::_di_ICefRunQuickMenuCallback __fastcall UnWrap(void * data); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefRunQuickMenuCallbackRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefRunQuickMenuCallbackRef() { } + +private: + void *__ICefRunQuickMenuCallback; // Ucefinterfaces::ICefRunQuickMenuCallback + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {11AD68BF-0055-4106-8F6B-B576F90D812F} + operator Ucefinterfaces::_di_ICefRunQuickMenuCallback() + { + Ucefinterfaces::_di_ICefRunQuickMenuCallback intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefRunQuickMenuCallback*(void) { return (Ucefinterfaces::ICefRunQuickMenuCallback*)&__ICefRunQuickMenuCallback; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefrunquickmenucallback */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFRUNQUICKMENUCALLBACK) +using namespace Ucefrunquickmenucallback; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFRunQuickMenuCallbackHPP diff --git a/CEF4Delphi/win32/hpps/uCEFSSLStatus.hpp b/CEF4Delphi/win32/hpps/uCEFSSLStatus.hpp new file mode 100644 index 0000000..89463fc --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFSSLStatus.hpp @@ -0,0 +1,79 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFSSLStatus.pas' rev: 37.00 (Windows) + +#ifndef uCEFSSLStatusHPP +#define uCEFSSLStatusHPP + +#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 +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefsslstatus +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefSSLStatusRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefSSLStatusRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + bool __fastcall IsSecureConnection(); + Uceftypes::TCefCertStatus __fastcall GetCertStatus(); + Uceftypes::TCefSSLVersion __fastcall GetSSLVersion(); + Uceftypes::TCefSSLContentStatus __fastcall GetContentStatus(); + Ucefinterfaces::_di_ICefX509Certificate __fastcall GetX509Certificate(); + +public: + __classmethod Ucefinterfaces::_di_ICefSSLStatus __fastcall UnWrap(void * data); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefSSLStatusRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefSSLStatusRef() { } + +private: + void *__ICefSSLStatus; // Ucefinterfaces::ICefSSLStatus + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {E3F004F2-03D5-46A2-91D0-510C50F3B225} + operator Ucefinterfaces::_di_ICefSSLStatus() + { + Ucefinterfaces::_di_ICefSSLStatus intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefSSLStatus*(void) { return (Ucefinterfaces::ICefSSLStatus*)&__ICefSSLStatus; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefsslstatus */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFSSLSTATUS) +using namespace Ucefsslstatus; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFSSLStatusHPP diff --git a/CEF4Delphi/win32/hpps/uCEFSchemeHandlerFactory.hpp b/CEF4Delphi/win32/hpps/uCEFSchemeHandlerFactory.hpp new file mode 100644 index 0000000..4ef7620 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFSchemeHandlerFactory.hpp @@ -0,0 +1,76 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFSchemeHandlerFactory.pas' rev: 37.00 (Windows) + +#ifndef uCEFSchemeHandlerFactoryHPP +#define uCEFSchemeHandlerFactoryHPP + +#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 +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefschemehandlerfactory +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefSchemeHandlerFactoryOwn; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefSchemeHandlerFactoryOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited; + +protected: + Ucefresourcehandler::TCefResourceHandlerClass FClass; + virtual Ucefinterfaces::_di_ICefResourceHandler __fastcall New(const Ucefinterfaces::_di_ICefBrowser browser, const Ucefinterfaces::_di_ICefFrame frame, const Uceftypes::ustring schemeName, const Ucefinterfaces::_di_ICefRequest request); + +public: + __fastcall virtual TCefSchemeHandlerFactoryOwn(const Ucefresourcehandler::TCefResourceHandlerClass AClass); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefSchemeHandlerFactoryOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefSchemeHandlerFactoryOwn() { } + +private: + void *__ICefSchemeHandlerFactory; // Ucefinterfaces::ICefSchemeHandlerFactory + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {4D9B7960-B73B-4EBD-9ABE-6C1C43C245EB} + operator Ucefinterfaces::_di_ICefSchemeHandlerFactory() + { + Ucefinterfaces::_di_ICefSchemeHandlerFactory intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefSchemeHandlerFactory*(void) { return (Ucefinterfaces::ICefSchemeHandlerFactory*)&__ICefSchemeHandlerFactory; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefschemehandlerfactory */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFSCHEMEHANDLERFACTORY) +using namespace Ucefschemehandlerfactory; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFSchemeHandlerFactoryHPP diff --git a/CEF4Delphi/win32/hpps/uCEFSchemeRegistrar.hpp b/CEF4Delphi/win32/hpps/uCEFSchemeRegistrar.hpp new file mode 100644 index 0000000..40810bc --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFSchemeRegistrar.hpp @@ -0,0 +1,56 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFSchemeRegistrar.pas' rev: 37.00 (Windows) + +#ifndef uCEFSchemeRegistrarHPP +#define uCEFSchemeRegistrarHPP + +#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 +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefschemeregistrar +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefSchemeRegistrarRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefSchemeRegistrarRef : public Ucefbasescopedwrapper::TCEFBaseScopedWrapperRef +{ + typedef Ucefbasescopedwrapper::TCEFBaseScopedWrapperRef inherited; + +public: + bool __fastcall AddCustomScheme(const Uceftypes::ustring schemeName, Uceftypes::TCefSchemeOptions options); +public: + /* TCEFBaseScopedWrapperRef.Create */ inline __fastcall virtual TCefSchemeRegistrarRef(void * data) : Ucefbasescopedwrapper::TCEFBaseScopedWrapperRef(data) { } + +public: + /* TObject.Destroy */ inline __fastcall virtual ~TCefSchemeRegistrarRef() { } + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefschemeregistrar */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFSCHEMEREGISTRAR) +using namespace Ucefschemeregistrar; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFSchemeRegistrarHPP diff --git a/CEF4Delphi/win32/hpps/uCEFScrollView.hpp b/CEF4Delphi/win32/hpps/uCEFScrollView.hpp new file mode 100644 index 0000000..b609b85 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFScrollView.hpp @@ -0,0 +1,84 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFScrollView.pas' rev: 37.00 (Windows) + +#ifndef uCEFScrollViewHPP +#define uCEFScrollViewHPP + +#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 +#include +#include +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefscrollview +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefScrollViewRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefScrollViewRef : public Ucefview::TCefViewRef +{ + typedef Ucefview::TCefViewRef inherited; + +protected: + void __fastcall SetContentView(const Ucefinterfaces::_di_ICefView view); + Ucefinterfaces::_di_ICefView __fastcall GetContentView(); + Uceftypes::TCefRect __fastcall GetVisibleContentRect(); + bool __fastcall HasHorizontalScrollbar(); + int __fastcall GetHorizontalScrollbarHeight(); + bool __fastcall HasVerticalScrollbar(); + int __fastcall GetVerticalScrollbarWidth(); + +public: + __classmethod Ucefinterfaces::_di_ICefScrollView __fastcall UnWrap(void * data); + __classmethod Ucefinterfaces::_di_ICefScrollView __fastcall CreateScrollView(const Ucefinterfaces::_di_ICefViewDelegate delegate); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefScrollViewRef(void * data) : Ucefview::TCefViewRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefScrollViewRef() { } + +private: + void *__ICefScrollView; // Ucefinterfaces::ICefScrollView + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {55DF2883-0574-4F10-B6F5-DE4730964B5B} + operator Ucefinterfaces::_di_ICefScrollView() + { + Ucefinterfaces::_di_ICefScrollView intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefScrollView*(void) { return (Ucefinterfaces::ICefScrollView*)&__ICefScrollView; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefscrollview */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFSCROLLVIEW) +using namespace Ucefscrollview; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFScrollViewHPP diff --git a/CEF4Delphi/win32/hpps/uCEFScrollViewComponent.hpp b/CEF4Delphi/win32/hpps/uCEFScrollViewComponent.hpp new file mode 100644 index 0000000..5840b10 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFScrollViewComponent.hpp @@ -0,0 +1,81 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFScrollViewComponent.pas' rev: 37.00 (Windows) + +#ifndef uCEFScrollViewComponentHPP +#define uCEFScrollViewComponentHPP + +#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 +#include +#include +#include +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefscrollviewcomponent +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCEFScrollViewComponent; +//-- type declarations ------------------------------------------------------- +class PASCALIMPLEMENTATION TCEFScrollViewComponent : public Ucefviewcomponent::TCEFViewComponent +{ + typedef Ucefviewcomponent::TCEFViewComponent inherited; + +protected: + Ucefinterfaces::_di_ICefScrollView FScrollView; + virtual void __fastcall DestroyView(); + virtual void __fastcall Initialize(); + virtual bool __fastcall GetInitialized(); + virtual Ucefinterfaces::_di_ICefView __fastcall GetAsView(); + virtual Ucefinterfaces::_di_ICefScrollView __fastcall GetAsScrollView(); + Ucefinterfaces::_di_ICefView __fastcall GetContentView(); + Uceftypes::TCefRect __fastcall GetVisibleContentRect(); + bool __fastcall GetHasHorizontalScrollbar(); + int __fastcall GetHorizontalScrollbarHeight(); + bool __fastcall GetHasVerticalScrollbar(); + int __fastcall GetVerticalScrollbarWidth(); + void __fastcall SetContentView(const Ucefinterfaces::_di_ICefView view); + virtual void __fastcall doCreateCustomView(); + +public: + void __fastcall CreateScrollView(); + __property Ucefinterfaces::_di_ICefView ContentView = {read=GetContentView, write=SetContentView}; + __property Uceftypes::TCefRect VisibleContentRect = {read=GetVisibleContentRect}; + __property int HorizontalScrollbarHeight = {read=GetHorizontalScrollbarHeight, nodefault}; + __property int VerticalScrollbarWidth = {read=GetVerticalScrollbarWidth, nodefault}; + __property bool HasHorizontalScrollbar = {read=GetHasHorizontalScrollbar, nodefault}; + __property bool HasVerticalScrollbar = {read=GetHasVerticalScrollbar, nodefault}; +public: + /* TCEFViewComponent.Create */ inline __fastcall virtual TCEFScrollViewComponent(System::Classes::TComponent* AOwner) : Ucefviewcomponent::TCEFViewComponent(AOwner) { } + +public: + /* TComponent.Destroy */ inline __fastcall virtual ~TCEFScrollViewComponent() { } + +}; + + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefscrollviewcomponent */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFSCROLLVIEWCOMPONENT) +using namespace Ucefscrollviewcomponent; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFScrollViewComponentHPP diff --git a/CEF4Delphi/win32/hpps/uCEFSelectClientCertificateCallback.hpp b/CEF4Delphi/win32/hpps/uCEFSelectClientCertificateCallback.hpp new file mode 100644 index 0000000..878dc8f --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFSelectClientCertificateCallback.hpp @@ -0,0 +1,74 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFSelectClientCertificateCallback.pas' rev: 37.00 (Windows) + +#ifndef uCEFSelectClientCertificateCallbackHPP +#define uCEFSelectClientCertificateCallbackHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefselectclientcertificatecallback +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefSelectClientCertificateCallbackRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefSelectClientCertificateCallbackRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + void __fastcall Select(const Ucefinterfaces::_di_ICefX509Certificate cert); + +public: + __classmethod Ucefinterfaces::_di_ICefSelectClientCertificateCallback __fastcall UnWrap(void * data); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefSelectClientCertificateCallbackRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefSelectClientCertificateCallbackRef() { } + +private: + void *__ICefSelectClientCertificateCallback; // Ucefinterfaces::ICefSelectClientCertificateCallback + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {003E3D09-ADE8-4C6E-A174-079D3D616608} + operator Ucefinterfaces::_di_ICefSelectClientCertificateCallback() + { + Ucefinterfaces::_di_ICefSelectClientCertificateCallback intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefSelectClientCertificateCallback*(void) { return (Ucefinterfaces::ICefSelectClientCertificateCallback*)&__ICefSelectClientCertificateCallback; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefselectclientcertificatecallback */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFSELECTCLIENTCERTIFICATECALLBACK) +using namespace Ucefselectclientcertificatecallback; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFSelectClientCertificateCallbackHPP diff --git a/CEF4Delphi/win32/hpps/uCEFSentinel.hpp b/CEF4Delphi/win32/hpps/uCEFSentinel.hpp new file mode 100644 index 0000000..22549de --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFSentinel.hpp @@ -0,0 +1,98 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFSentinel.pas' rev: 37.00 (Windows) + +#ifndef uCEFSentinelHPP +#define uCEFSentinelHPP + +#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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefsentinel +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCEFSentinel; +//-- type declarations ------------------------------------------------------- +enum DECLSPEC_DENUM TSentinelStatus : unsigned int { ssIdle, ssInitialDelay, ssCheckingChildren, ssClosing }; + +class PASCALIMPLEMENTATION TCEFSentinel : public System::Classes::TComponent +{ + typedef System::Classes::TComponent inherited; + +protected: + HWND FCompHandle; + TSentinelStatus FStatus; + System::Syncobjs::TCriticalSection* FStatusCS; + unsigned FDelayPerProcMs; + unsigned FMinInitDelayMs; + unsigned FFinalDelayMs; + int FMinChildProcs; + int FMaxCheckCount; + int FCheckCount; + System::Classes::TNotifyEvent FOnClose; + Vcl::Extctrls::TTimer* FTimer; + TSentinelStatus __fastcall GetStatus(); + int __fastcall GetChildProcCount(); + void __fastcall WndProc(Winapi::Messages::TMessage &aMessage); + virtual void __fastcall doStartMsg(Winapi::Messages::TMessage &aMessage); + virtual void __fastcall doCloseMsg(Winapi::Messages::TMessage &aMessage); + bool __fastcall SendCompMessage(unsigned aMsg); + virtual bool __fastcall CanClose(); + virtual void __fastcall Timer_OnTimer(System::TObject* Sender); + +public: + __fastcall virtual TCEFSentinel(System::Classes::TComponent* AOwner); + __fastcall virtual ~TCEFSentinel(); + virtual void __fastcall AfterConstruction(); + virtual void __fastcall Start(); + __property TSentinelStatus Status = {read=GetStatus, nodefault}; + __property int ChildProcCount = {read=GetChildProcCount, nodefault}; + +__published: + __property unsigned DelayPerProcMs = {read=FDelayPerProcMs, write=FDelayPerProcMs, default=200}; + __property unsigned MinInitDelayMs = {read=FMinInitDelayMs, write=FMinInitDelayMs, default=1500}; + __property unsigned FinalDelayMs = {read=FFinalDelayMs, write=FFinalDelayMs, default=100}; + __property int MinChildProcs = {read=FMinChildProcs, write=FMinChildProcs, default=2}; + __property int MaxCheckCount = {read=FMaxCheckCount, write=FMaxCheckCount, default=10}; + __property System::Classes::TNotifyEvent OnClose = {read=FOnClose, write=FOnClose}; +}; + + +//-- var, const, procedure --------------------------------------------------- +static _DELPHI_CONST System::Byte CEFSENTINEL_DEFAULT_DELAYPERPROCMS = System::Byte(0xc8); +static _DELPHI_CONST System::Word CEFSENTINEL_DEFAULT_MININITDELAYMS = System::Word(0x5dc); +static _DELPHI_CONST System::Int8 CEFSENTINEL_DEFAULT_FINALDELAYMS = System::Int8(0x64); +static _DELPHI_CONST System::Int8 CEFSENTINEL_DEFAULT_MINCHILDPROCS = System::Int8(0x2); +static _DELPHI_CONST System::Int8 CEFSENTINEL_DEFAULT_MAXCHECKCOUNTS = System::Int8(0xa); +} /* namespace Ucefsentinel */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFSENTINEL) +using namespace Ucefsentinel; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFSentinelHPP diff --git a/CEF4Delphi/win32/hpps/uCEFServer.hpp b/CEF4Delphi/win32/hpps/uCEFServer.hpp new file mode 100644 index 0000000..8a771f7 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFServer.hpp @@ -0,0 +1,86 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFServer.pas' rev: 37.00 (Windows) + +#ifndef uCEFServerHPP +#define uCEFServerHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefserver +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCEFServerRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCEFServerRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + virtual Ucefinterfaces::_di_ICefTaskRunner __fastcall GetTaskRunner(); + virtual void __fastcall Shutdown(); + virtual bool __fastcall IsRunning(); + virtual Uceftypes::ustring __fastcall GetAddress(); + virtual bool __fastcall HasConnection(); + virtual bool __fastcall IsValidConnection(int connection_id); + virtual void __fastcall SendHttp200response(int connection_id, const Uceftypes::ustring content_type, const void * data, System::NativeUInt data_size); + virtual void __fastcall SendHttp404response(int connection_id); + virtual void __fastcall SendHttp500response(int connection_id, const Uceftypes::ustring error_message); + virtual void __fastcall SendHttpResponse(int connection_id, int response_code, const Uceftypes::ustring content_type, __int64 content_length, const Ucefinterfaces::_di_ICefStringMultimap extra_headers); + virtual void __fastcall SendRawData(int connection_id, const void * data, System::NativeUInt data_size); + virtual void __fastcall CloseConnection(int connection_id); + virtual void __fastcall SendWebSocketMessage(int connection_id, const void * data, System::NativeUInt data_size); + +public: + __classmethod Ucefinterfaces::_di_ICefServer __fastcall UnWrap(void * data); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCEFServerRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCEFServerRef() { } + +private: + void *__ICefServer; // Ucefinterfaces::ICefServer + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {41D41764-A74B-4552-B166-C77E70549047} + operator Ucefinterfaces::_di_ICefServer() + { + Ucefinterfaces::_di_ICefServer intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefServer*(void) { return (Ucefinterfaces::ICefServer*)&__ICefServer; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefserver */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFSERVER) +using namespace Ucefserver; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFServerHPP diff --git a/CEF4Delphi/win32/hpps/uCEFServerComponent.hpp b/CEF4Delphi/win32/hpps/uCEFServerComponent.hpp new file mode 100644 index 0000000..2ae6cf1 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFServerComponent.hpp @@ -0,0 +1,127 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFServerComponent.pas' rev: 37.00 (Windows) + +#ifndef uCEFServerComponentHPP +#define uCEFServerComponentHPP + +#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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefservercomponent +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCEFServerComponent; +//-- type declarations ------------------------------------------------------- +class PASCALIMPLEMENTATION TCEFServerComponent : public System::Classes::TComponent +{ + typedef System::Classes::TComponent inherited; + +protected: + Ucefinterfaces::_di_ICefServerHandler FHandler; + Ucefinterfaces::_di_ICefServer FServer; + bool FInitialized; + Ucefserverevents::TOnServerCreated FOnServerCreated; + Ucefserverevents::TOnServerDestroyed FOnServerDestroyed; + Ucefserverevents::TOnClientConnected FOnClientConnected; + Ucefserverevents::TOnClientDisconnected FOnClientDisconnected; + Ucefserverevents::TOnHttpRequest FOnHttpRequest; + Ucefserverevents::TOnWebSocketRequest FOnWebSocketRequest; + Ucefserverevents::TOnWebSocketConnected FOnWebSocketConnected; + Ucefserverevents::TOnWebSocketMessage FOnWebSocketMessage; + bool __fastcall GetInitialized(); + bool __fastcall GetIsRunning(); + Uceftypes::ustring __fastcall GetAddress(); + bool __fastcall GetHasConnection(); + virtual void __fastcall doOnServerCreated(const Ucefinterfaces::_di_ICefServer server); + virtual void __fastcall doOnServerDestroyed(const Ucefinterfaces::_di_ICefServer server); + virtual void __fastcall doOnClientConnected(const Ucefinterfaces::_di_ICefServer server, int connection_id); + virtual void __fastcall doOnClientDisconnected(const Ucefinterfaces::_di_ICefServer server, int connection_id); + virtual void __fastcall doOnHttpRequest(const Ucefinterfaces::_di_ICefServer server, int connection_id, const Uceftypes::ustring client_address, const Ucefinterfaces::_di_ICefRequest request); + virtual void __fastcall doOnWebSocketRequest(const Ucefinterfaces::_di_ICefServer server, int connection_id, const Uceftypes::ustring client_address, const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefCallback callback); + virtual void __fastcall doOnWebSocketConnected(const Ucefinterfaces::_di_ICefServer server, int connection_id); + virtual void __fastcall doOnWebSocketMessage(const Ucefinterfaces::_di_ICefServer server, int connection_id, const void * data, System::NativeUInt data_size); + void __fastcall InitializeEvents(); + +public: + __fastcall virtual TCEFServerComponent(System::Classes::TComponent* AOwner); + __fastcall virtual ~TCEFServerComponent(); + void __fastcall CreateServer(const Uceftypes::ustring address = L"127.0.0.1", System::UInt16 port = (System::Word)(0x1fa3), int backlog = 0xa); + void __fastcall Shutdown(); + bool __fastcall IsValidConnection(int connection_id); + void __fastcall SendHttp200response(int connection_id, const Uceftypes::ustring content_type, const void * data, System::NativeUInt data_size); + void __fastcall SendHttp404response(int connection_id); + void __fastcall SendHttp500response(int connection_id, const Uceftypes::ustring error_message); + void __fastcall SendHttpResponse(int connection_id, int response_code, const Uceftypes::ustring content_type, __int64 content_length, const Ucefinterfaces::_di_ICefStringMultimap extra_headers); + void __fastcall SendRawData(int connection_id, const void * data, System::NativeUInt data_size); + void __fastcall CloseConnection(int connection_id); + void __fastcall SendWebSocketMessage(int connection_id, const void * data, System::NativeUInt data_size); + __property bool Initialized = {read=GetInitialized, nodefault}; + __property bool IsRunning = {read=GetIsRunning, nodefault}; + __property Uceftypes::ustring Address = {read=GetAddress}; + __property bool HasConnection = {read=GetHasConnection, nodefault}; + +__published: + __property Ucefserverevents::TOnServerCreated OnServerCreated = {read=FOnServerCreated, write=FOnServerCreated}; + __property Ucefserverevents::TOnServerDestroyed OnServerDestroyed = {read=FOnServerDestroyed, write=FOnServerDestroyed}; + __property Ucefserverevents::TOnClientConnected OnClientConnected = {read=FOnClientConnected, write=FOnClientConnected}; + __property Ucefserverevents::TOnClientDisconnected OnClientDisconnected = {read=FOnClientDisconnected, write=FOnClientDisconnected}; + __property Ucefserverevents::TOnHttpRequest OnHttpRequest = {read=FOnHttpRequest, write=FOnHttpRequest}; + __property Ucefserverevents::TOnWebSocketRequest OnWebSocketRequest = {read=FOnWebSocketRequest, write=FOnWebSocketRequest}; + __property Ucefserverevents::TOnWebSocketConnected OnWebSocketConnected = {read=FOnWebSocketConnected, write=FOnWebSocketConnected}; + __property Ucefserverevents::TOnWebSocketMessage OnWebSocketMessage = {read=FOnWebSocketMessage, write=FOnWebSocketMessage}; +private: + void *__IServerEvents; // Ucefinterfaces::IServerEvents + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {06A1B3C6-0967-4F6C-A751-8AA3A29E2FF5} + operator Ucefinterfaces::_di_IServerEvents() + { + Ucefinterfaces::_di_IServerEvents intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::IServerEvents*(void) { return (Ucefinterfaces::IServerEvents*)&__IServerEvents; } + #endif + +}; + + +//-- var, const, procedure --------------------------------------------------- +#define DEFAULT_CEFSERVER_ADDRESS L"127.0.0.1" +static _DELPHI_CONST System::Word DEFAULT_CEFSERVER_PORT = System::Word(0x1fa3); +static _DELPHI_CONST System::Int8 DEFAULT_CEFSERVER_BACKLOG = System::Int8(0xa); +} /* namespace Ucefservercomponent */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFSERVERCOMPONENT) +using namespace Ucefservercomponent; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFServerComponentHPP diff --git a/CEF4Delphi/win32/hpps/uCEFServerEvents.hpp b/CEF4Delphi/win32/hpps/uCEFServerEvents.hpp new file mode 100644 index 0000000..4cb117a --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFServerEvents.hpp @@ -0,0 +1,55 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFServerEvents.pas' rev: 37.00 (Windows) + +#ifndef uCEFServerEventsHPP +#define uCEFServerEventsHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefserverevents +{ +//-- forward type declarations ----------------------------------------------- +//-- type declarations ------------------------------------------------------- +typedef void __fastcall (__closure *TOnServerCreated)(System::TObject* Sender, const Ucefinterfaces::_di_ICefServer server); + +typedef void __fastcall (__closure *TOnServerDestroyed)(System::TObject* Sender, const Ucefinterfaces::_di_ICefServer server); + +typedef void __fastcall (__closure *TOnClientConnected)(System::TObject* Sender, const Ucefinterfaces::_di_ICefServer server, int connection_id); + +typedef void __fastcall (__closure *TOnClientDisconnected)(System::TObject* Sender, const Ucefinterfaces::_di_ICefServer server, int connection_id); + +typedef void __fastcall (__closure *TOnHttpRequest)(System::TObject* Sender, const Ucefinterfaces::_di_ICefServer server, int connection_id, const Uceftypes::ustring client_address, const Ucefinterfaces::_di_ICefRequest request); + +typedef void __fastcall (__closure *TOnWebSocketRequest)(System::TObject* Sender, const Ucefinterfaces::_di_ICefServer server, int connection_id, const Uceftypes::ustring client_address, const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefCallback callback); + +typedef void __fastcall (__closure *TOnWebSocketConnected)(System::TObject* Sender, const Ucefinterfaces::_di_ICefServer server, int connection_id); + +typedef void __fastcall (__closure *TOnWebSocketMessage)(System::TObject* Sender, const Ucefinterfaces::_di_ICefServer server, int connection_id, const void * data, System::NativeUInt data_size); + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefserverevents */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFSERVEREVENTS) +using namespace Ucefserverevents; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFServerEventsHPP diff --git a/CEF4Delphi/win32/hpps/uCEFServerHandler.hpp b/CEF4Delphi/win32/hpps/uCEFServerHandler.hpp new file mode 100644 index 0000000..c2f62d6 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFServerHandler.hpp @@ -0,0 +1,108 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFServerHandler.pas' rev: 37.00 (Windows) + +#ifndef uCEFServerHandlerHPP +#define uCEFServerHandlerHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefserverhandler +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCEFServerHandlerOwn; +class DELPHICLASS TCustomServerHandler; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCEFServerHandlerOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited; + +protected: + virtual void __fastcall OnServerCreated(const Ucefinterfaces::_di_ICefServer server); + virtual void __fastcall OnServerDestroyed(const Ucefinterfaces::_di_ICefServer server); + virtual void __fastcall OnClientConnected(const Ucefinterfaces::_di_ICefServer server, int connection_id); + virtual void __fastcall OnClientDisconnected(const Ucefinterfaces::_di_ICefServer server, int connection_id); + virtual void __fastcall OnHttpRequest(const Ucefinterfaces::_di_ICefServer server, int connection_id, const Uceftypes::ustring client_address, const Ucefinterfaces::_di_ICefRequest request); + virtual void __fastcall OnWebSocketRequest(const Ucefinterfaces::_di_ICefServer server, int connection_id, const Uceftypes::ustring client_address, const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefCallback callback); + virtual void __fastcall OnWebSocketConnected(const Ucefinterfaces::_di_ICefServer server, int connection_id); + virtual void __fastcall OnWebSocketMessage(const Ucefinterfaces::_di_ICefServer server, int connection_id, const void * data, System::NativeUInt data_size); + +public: + __fastcall virtual TCEFServerHandlerOwn(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCEFServerHandlerOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCEFServerHandlerOwn() { } + +private: + void *__ICefServerHandler; // Ucefinterfaces::ICefServerHandler + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {AFB64A63-44C9-44CD-959B-D8E20F549879} + operator Ucefinterfaces::_di_ICefServerHandler() + { + Ucefinterfaces::_di_ICefServerHandler intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefServerHandler*(void) { return (Ucefinterfaces::ICefServerHandler*)&__ICefServerHandler; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCustomServerHandler : public TCEFServerHandlerOwn +{ + typedef TCEFServerHandlerOwn inherited; + +protected: + void *FEvents; + virtual void __fastcall OnServerCreated(const Ucefinterfaces::_di_ICefServer server); + virtual void __fastcall OnServerDestroyed(const Ucefinterfaces::_di_ICefServer server); + virtual void __fastcall OnClientConnected(const Ucefinterfaces::_di_ICefServer server, int connection_id); + virtual void __fastcall OnClientDisconnected(const Ucefinterfaces::_di_ICefServer server, int connection_id); + virtual void __fastcall OnHttpRequest(const Ucefinterfaces::_di_ICefServer server, int connection_id, const Uceftypes::ustring client_address, const Ucefinterfaces::_di_ICefRequest request); + virtual void __fastcall OnWebSocketRequest(const Ucefinterfaces::_di_ICefServer server, int connection_id, const Uceftypes::ustring client_address, const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefCallback callback); + virtual void __fastcall OnWebSocketConnected(const Ucefinterfaces::_di_ICefServer server, int connection_id); + virtual void __fastcall OnWebSocketMessage(const Ucefinterfaces::_di_ICefServer server, int connection_id, const void * data, System::NativeUInt data_size); + +public: + __fastcall TCustomServerHandler(const Ucefinterfaces::_di_IServerEvents events); + __fastcall virtual ~TCustomServerHandler(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomServerHandler(unsigned size, bool owned) : TCEFServerHandlerOwn(size, owned) { } + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefserverhandler */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFSERVERHANDLER) +using namespace Ucefserverhandler; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFServerHandlerHPP diff --git a/CEF4Delphi/win32/hpps/uCEFSetCookieCallback.hpp b/CEF4Delphi/win32/hpps/uCEFSetCookieCallback.hpp new file mode 100644 index 0000000..b160347 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFSetCookieCallback.hpp @@ -0,0 +1,115 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFSetCookieCallback.pas' rev: 37.00 (Windows) + +#ifndef uCEFSetCookieCallbackHPP +#define uCEFSetCookieCallbackHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefsetcookiecallback +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefSetCookieCallbackOwn; +class DELPHICLASS TCefFastSetCookieCallback; +class DELPHICLASS TCefCustomSetCookieCallback; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefSetCookieCallbackOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited; + +protected: + virtual void __fastcall OnComplete(bool success) = 0 ; + +public: + __fastcall virtual TCefSetCookieCallbackOwn(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefSetCookieCallbackOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefSetCookieCallbackOwn() { } + +private: + void *__ICefSetCookieCallback; // Ucefinterfaces::ICefSetCookieCallback + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {16E14B6F-CB0A-4F9D-A008-239E0BC7B892} + operator Ucefinterfaces::_di_ICefSetCookieCallback() + { + Ucefinterfaces::_di_ICefSetCookieCallback intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefSetCookieCallback*(void) { return (Ucefinterfaces::ICefSetCookieCallback*)&__ICefSetCookieCallback; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefFastSetCookieCallback : public TCefSetCookieCallbackOwn +{ + typedef TCefSetCookieCallbackOwn inherited; + +protected: + Ucefinterfaces::_di_TCefSetCookieCallbackProc FCallback; + virtual void __fastcall OnComplete(bool success); + +public: + __fastcall TCefFastSetCookieCallback(const Ucefinterfaces::_di_TCefSetCookieCallbackProc callback); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefFastSetCookieCallback(unsigned size, bool owned) : TCefSetCookieCallbackOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefFastSetCookieCallback() { } + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefCustomSetCookieCallback : public TCefSetCookieCallbackOwn +{ + typedef TCefSetCookieCallbackOwn inherited; + +protected: + void *FEvents; + int FID; + virtual void __fastcall OnComplete(bool success); + +public: + __fastcall TCefCustomSetCookieCallback(const Ucefinterfaces::_di_IChromiumEvents aEvents, int aID); + __fastcall virtual ~TCefCustomSetCookieCallback(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefCustomSetCookieCallback(unsigned size, bool owned) : TCefSetCookieCallbackOwn(size, owned) { } + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefsetcookiecallback */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFSETCOOKIECALLBACK) +using namespace Ucefsetcookiecallback; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFSetCookieCallbackHPP diff --git a/CEF4Delphi/win32/hpps/uCEFSettingObserver.hpp b/CEF4Delphi/win32/hpps/uCEFSettingObserver.hpp new file mode 100644 index 0000000..5f065e0 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFSettingObserver.hpp @@ -0,0 +1,96 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFSettingObserver.pas' rev: 37.00 (Windows) + +#ifndef uCEFSettingObserverHPP +#define uCEFSettingObserverHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefsettingobserver +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefSettingObserverOwn; +class DELPHICLASS TCustomSettingObserver; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefSettingObserverOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited; + +protected: + virtual void __fastcall OnSettingChanged(const Uceftypes::ustring requesting_url, const Uceftypes::ustring top_level_url, Uceftypes::TCefContentSettingTypes content_type); + virtual void __fastcall RemoveReferences(); + +public: + __fastcall virtual TCefSettingObserverOwn(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefSettingObserverOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefSettingObserverOwn() { } + +private: + void *__ICefSettingObserver; // Ucefinterfaces::ICefSettingObserver + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {84E0FD25-F337-451F-9661-3D2E5844882C} + operator Ucefinterfaces::_di_ICefSettingObserver() + { + Ucefinterfaces::_di_ICefSettingObserver intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefSettingObserver*(void) { return (Ucefinterfaces::ICefSettingObserver*)&__ICefSettingObserver; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCustomSettingObserver : public TCefSettingObserverOwn +{ + typedef TCefSettingObserverOwn inherited; + +protected: + void *FEvents; + virtual void __fastcall OnSettingChanged(const Uceftypes::ustring requesting_url, const Uceftypes::ustring top_level_url, Uceftypes::TCefContentSettingTypes content_type); + virtual void __fastcall RemoveReferences(); + +public: + __fastcall virtual TCustomSettingObserver(const Ucefinterfaces::_di_IChromiumEvents events); + __fastcall virtual ~TCustomSettingObserver(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomSettingObserver(unsigned size, bool owned) : TCefSettingObserverOwn(size, owned) { } + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefsettingobserver */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFSETTINGOBSERVER) +using namespace Ucefsettingobserver; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFSettingObserverHPP diff --git a/CEF4Delphi/win32/hpps/uCEFSharedMemoryRegion.hpp b/CEF4Delphi/win32/hpps/uCEFSharedMemoryRegion.hpp new file mode 100644 index 0000000..01d2959 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFSharedMemoryRegion.hpp @@ -0,0 +1,76 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFSharedMemoryRegion.pas' rev: 37.00 (Windows) + +#ifndef uCEFSharedMemoryRegionHPP +#define uCEFSharedMemoryRegionHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefsharedmemoryregion +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefSharedMemoryRegionRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefSharedMemoryRegionRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + bool __fastcall IsValid(); + System::NativeUInt __fastcall Size(); + void * __fastcall Memory(); + +public: + __classmethod Ucefinterfaces::_di_ICefSharedMemoryRegion __fastcall UnWrap(void * data); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefSharedMemoryRegionRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefSharedMemoryRegionRef() { } + +private: + void *__ICefSharedMemoryRegion; // Ucefinterfaces::ICefSharedMemoryRegion + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {2828D0E1-44D0-4C6F-8C63-5CA6036DDA82} + operator Ucefinterfaces::_di_ICefSharedMemoryRegion() + { + Ucefinterfaces::_di_ICefSharedMemoryRegion intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefSharedMemoryRegion*(void) { return (Ucefinterfaces::ICefSharedMemoryRegion*)&__ICefSharedMemoryRegion; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefsharedmemoryregion */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFSHAREDMEMORYREGION) +using namespace Ucefsharedmemoryregion; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFSharedMemoryRegionHPP diff --git a/CEF4Delphi/win32/hpps/uCEFSharedProcessMessageBuilder.hpp b/CEF4Delphi/win32/hpps/uCEFSharedProcessMessageBuilder.hpp new file mode 100644 index 0000000..ce24d9b --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFSharedProcessMessageBuilder.hpp @@ -0,0 +1,78 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFSharedProcessMessageBuilder.pas' rev: 37.00 (Windows) + +#ifndef uCEFSharedProcessMessageBuilderHPP +#define uCEFSharedProcessMessageBuilderHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefsharedprocessmessagebuilder +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefSharedProcessMessageBuilderRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefSharedProcessMessageBuilderRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + bool __fastcall IsValid(); + System::NativeUInt __fastcall Size(); + void * __fastcall Memory(); + Ucefinterfaces::_di_ICefProcessMessage __fastcall Build(); + +public: + __classmethod Ucefinterfaces::_di_ICefSharedProcessMessageBuilder __fastcall UnWrap(void * data); + __classmethod Ucefinterfaces::_di_ICefSharedProcessMessageBuilder __fastcall CreateBuilder(const Uceftypes::ustring name, System::NativeUInt byte_size); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefSharedProcessMessageBuilderRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefSharedProcessMessageBuilderRef() { } + +private: + void *__ICefSharedProcessMessageBuilder; // Ucefinterfaces::ICefSharedProcessMessageBuilder + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {B2AF627F-33FA-44F1-B943-FC4F120C84F8} + operator Ucefinterfaces::_di_ICefSharedProcessMessageBuilder() + { + Ucefinterfaces::_di_ICefSharedProcessMessageBuilder intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefSharedProcessMessageBuilder*(void) { return (Ucefinterfaces::ICefSharedProcessMessageBuilder*)&__ICefSharedProcessMessageBuilder; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefsharedprocessmessagebuilder */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFSHAREDPROCESSMESSAGEBUILDER) +using namespace Ucefsharedprocessmessagebuilder; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFSharedProcessMessageBuilderHPP diff --git a/CEF4Delphi/win32/hpps/uCEFSslInfo.hpp b/CEF4Delphi/win32/hpps/uCEFSslInfo.hpp new file mode 100644 index 0000000..107f56c --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFSslInfo.hpp @@ -0,0 +1,76 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFSslInfo.pas' rev: 37.00 (Windows) + +#ifndef uCEFSslInfoHPP +#define uCEFSslInfoHPP + +#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 +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefsslinfo +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefSslInfoRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefSslInfoRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + Uceftypes::TCefCertStatus __fastcall GetCertStatus(); + Ucefinterfaces::_di_ICefX509Certificate __fastcall GetX509Certificate(); + +public: + __classmethod Ucefinterfaces::_di_ICefSslInfo __fastcall UnWrap(void * data); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefSslInfoRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefSslInfoRef() { } + +private: + void *__ICefSslInfo; // Ucefinterfaces::ICefSslInfo + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {67EC86BD-DE7D-453D-908F-AD15626C514F} + operator Ucefinterfaces::_di_ICefSslInfo() + { + Ucefinterfaces::_di_ICefSslInfo intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefSslInfo*(void) { return (Ucefinterfaces::ICefSslInfo*)&__ICefSslInfo; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefsslinfo */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFSSLINFO) +using namespace Ucefsslinfo; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFSslInfoHPP diff --git a/CEF4Delphi/win32/hpps/uCEFStreamReader.hpp b/CEF4Delphi/win32/hpps/uCEFStreamReader.hpp new file mode 100644 index 0000000..1a17d1c --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFStreamReader.hpp @@ -0,0 +1,84 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFStreamReader.pas' rev: 37.00 (Windows) + +#ifndef uCEFStreamReaderHPP +#define uCEFStreamReaderHPP + +#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 +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefstreamreader +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefStreamReaderRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefStreamReaderRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + System::NativeUInt __fastcall Read(void * ptr, System::NativeUInt size, System::NativeUInt n); + int __fastcall Seek(__int64 offset, int whence); + __int64 __fastcall Tell(); + bool __fastcall Eof(); + bool __fastcall MayBlock(); + +public: + __classmethod Ucefinterfaces::_di_ICefStreamReader __fastcall UnWrap(void * data); + __classmethod Ucefinterfaces::_di_ICefStreamReader __fastcall CreateForFile(const Uceftypes::ustring filename); + __classmethod Ucefinterfaces::_di_ICefStreamReader __fastcall CreateForCustomStream(const Ucefinterfaces::_di_ICefCustomStreamReader stream); + __classmethod Ucefinterfaces::_di_ICefStreamReader __fastcall CreateForStream(System::Classes::TStream* const stream, bool owned); + __classmethod Ucefinterfaces::_di_ICefStreamReader __fastcall CreateForData(void * data, System::NativeUInt size); + __classmethod Ucefinterfaces::_di_ICefStreamReader __fastcall CreateForHandler(const Ucefinterfaces::_di_ICefReadHandler handler); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefStreamReaderRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefStreamReaderRef() { } + +private: + void *__ICefStreamReader; // Ucefinterfaces::ICefStreamReader + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {DD5361CB-E558-49C5-A4BD-D1CE84ADB277} + operator Ucefinterfaces::_di_ICefStreamReader() + { + Ucefinterfaces::_di_ICefStreamReader intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefStreamReader*(void) { return (Ucefinterfaces::ICefStreamReader*)&__ICefStreamReader; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefstreamreader */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFSTREAMREADER) +using namespace Ucefstreamreader; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFStreamReaderHPP diff --git a/CEF4Delphi/win32/hpps/uCEFStreamWriter.hpp b/CEF4Delphi/win32/hpps/uCEFStreamWriter.hpp new file mode 100644 index 0000000..525ed48 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFStreamWriter.hpp @@ -0,0 +1,80 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFStreamWriter.pas' rev: 37.00 (Windows) + +#ifndef uCEFStreamWriterHPP +#define uCEFStreamWriterHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefstreamwriter +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefStreamWriterRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefStreamWriterRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + System::NativeUInt __fastcall write(const void * ptr, System::NativeUInt size, System::NativeUInt n); + int __fastcall Seek(__int64 offset, int whence); + __int64 __fastcall Tell(); + int __fastcall Flush(); + bool __fastcall MayBlock(); + +public: + __classmethod Ucefinterfaces::_di_ICefStreamWriter __fastcall UnWrap(void * data); + __classmethod Ucefinterfaces::_di_ICefStreamWriter __fastcall CreateForFile(const Uceftypes::ustring fileName); + __classmethod Ucefinterfaces::_di_ICefStreamWriter __fastcall CreateForHandler(const Ucefinterfaces::_di_ICefWriteHandler handler); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefStreamWriterRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefStreamWriterRef() { } + +private: + void *__ICefStreamWriter; // Ucefinterfaces::ICefStreamWriter + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {4AA6C477-7D8A-4D5A-A704-67F900A827E7} + operator Ucefinterfaces::_di_ICefStreamWriter() + { + Ucefinterfaces::_di_ICefStreamWriter intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefStreamWriter*(void) { return (Ucefinterfaces::ICefStreamWriter*)&__ICefStreamWriter; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefstreamwriter */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFSTREAMWRITER) +using namespace Ucefstreamwriter; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFStreamWriterHPP diff --git a/CEF4Delphi/win32/hpps/uCEFStringList.hpp b/CEF4Delphi/win32/hpps/uCEFStringList.hpp new file mode 100644 index 0000000..c143ab2 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFStringList.hpp @@ -0,0 +1,110 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFStringList.pas' rev: 37.00 (Windows) + +#ifndef uCEFStringListHPP +#define uCEFStringListHPP + +#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 +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefstringlist +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefCustomStringList; +class DELPHICLASS TCefStringListOwn; +class DELPHICLASS TCefStringListRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefCustomStringList : public System::TInterfacedObject +{ + typedef System::TInterfacedObject inherited; + +protected: + void *FHandle; + virtual Uceftypes::TCefStringList __fastcall GetHandle(); + virtual System::NativeUInt __fastcall GetSize(); + virtual Uceftypes::ustring __fastcall GetValue(System::NativeUInt index); + virtual void __fastcall Append(const Uceftypes::ustring value); + virtual void __fastcall Clear(); + virtual Uceftypes::TCefStringList __fastcall Copy(); + virtual void __fastcall CopyToStrings(System::Classes::TStrings* const aStrings); + virtual void __fastcall AddStrings(System::Classes::TStrings* const aStrings); + +public: + __fastcall virtual TCefCustomStringList(); +public: + /* TObject.Destroy */ inline __fastcall virtual ~TCefCustomStringList() { } + +private: + void *__ICefStringList; // Ucefinterfaces::ICefStringList + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {DB24F301-2F64-48D6-A72E-33697748147E} + operator Ucefinterfaces::_di_ICefStringList() + { + Ucefinterfaces::_di_ICefStringList intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefStringList*(void) { return (Ucefinterfaces::ICefStringList*)&__ICefStringList; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefStringListOwn : public TCefCustomStringList +{ + typedef TCefCustomStringList inherited; + +public: + __fastcall virtual TCefStringListOwn(); + __fastcall virtual ~TCefStringListOwn(); +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefStringListRef : public TCefCustomStringList +{ + typedef TCefCustomStringList inherited; + +public: + __fastcall TCefStringListRef(Uceftypes::TCefStringList aHandle); +public: + /* TObject.Destroy */ inline __fastcall virtual ~TCefStringListRef() { } + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefstringlist */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFSTRINGLIST) +using namespace Ucefstringlist; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFStringListHPP diff --git a/CEF4Delphi/win32/hpps/uCEFStringMap.hpp b/CEF4Delphi/win32/hpps/uCEFStringMap.hpp new file mode 100644 index 0000000..bb063ec --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFStringMap.hpp @@ -0,0 +1,108 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFStringMap.pas' rev: 37.00 (Windows) + +#ifndef uCEFStringMapHPP +#define uCEFStringMapHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefstringmap +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefCustomStringMap; +class DELPHICLASS TCefStringMapOwn; +class DELPHICLASS TCefStringMapRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefCustomStringMap : public System::TInterfacedObject +{ + typedef System::TInterfacedObject inherited; + +protected: + void *FHandle; + virtual Uceftypes::TCefStringMap __fastcall GetHandle(); + virtual System::NativeUInt __fastcall GetSize(); + virtual Uceftypes::ustring __fastcall Find(const Uceftypes::ustring key); + virtual Uceftypes::ustring __fastcall GetKey(System::NativeUInt index); + virtual Uceftypes::ustring __fastcall GetValue(System::NativeUInt index); + virtual bool __fastcall Append(const Uceftypes::ustring key, const Uceftypes::ustring value); + virtual void __fastcall Clear(); + +public: + __fastcall virtual TCefCustomStringMap(); +public: + /* TObject.Destroy */ inline __fastcall virtual ~TCefCustomStringMap() { } + +private: + void *__ICefStringMap; // Ucefinterfaces::ICefStringMap + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {A33EBC01-B23A-4918-86A4-E24A243B342F} + operator Ucefinterfaces::_di_ICefStringMap() + { + Ucefinterfaces::_di_ICefStringMap intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefStringMap*(void) { return (Ucefinterfaces::ICefStringMap*)&__ICefStringMap; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefStringMapOwn : public TCefCustomStringMap +{ + typedef TCefCustomStringMap inherited; + +public: + __fastcall virtual TCefStringMapOwn(); + __fastcall virtual ~TCefStringMapOwn(); +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefStringMapRef : public TCefCustomStringMap +{ + typedef TCefCustomStringMap inherited; + +public: + __fastcall TCefStringMapRef(Uceftypes::TCefStringMap aHandle); +public: + /* TObject.Destroy */ inline __fastcall virtual ~TCefStringMapRef() { } + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefstringmap */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFSTRINGMAP) +using namespace Ucefstringmap; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFStringMapHPP diff --git a/CEF4Delphi/win32/hpps/uCEFStringMultimap.hpp b/CEF4Delphi/win32/hpps/uCEFStringMultimap.hpp new file mode 100644 index 0000000..0b38ab4 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFStringMultimap.hpp @@ -0,0 +1,109 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFStringMultimap.pas' rev: 37.00 (Windows) + +#ifndef uCEFStringMultimapHPP +#define uCEFStringMultimapHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefstringmultimap +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefCustomStringMultimap; +class DELPHICLASS TCefStringMultimapOwn; +class DELPHICLASS TCefStringMultimapRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefCustomStringMultimap : public System::TInterfacedObject +{ + typedef System::TInterfacedObject inherited; + +protected: + void *FHandle; + virtual Uceftypes::TCefStringMultimap __fastcall GetHandle(); + virtual System::NativeUInt __fastcall GetSize(); + virtual System::NativeUInt __fastcall FindCount(const Uceftypes::ustring Key); + virtual Uceftypes::ustring __fastcall GetEnumerate(const Uceftypes::ustring Key, System::NativeUInt ValueIndex); + virtual Uceftypes::ustring __fastcall GetKey(System::NativeUInt Index); + virtual Uceftypes::ustring __fastcall GetValue(System::NativeUInt Index); + virtual bool __fastcall Append(const Uceftypes::ustring Key, const Uceftypes::ustring Value); + virtual void __fastcall Clear(); + +public: + __fastcall virtual TCefCustomStringMultimap(); +public: + /* TObject.Destroy */ inline __fastcall virtual ~TCefCustomStringMultimap() { } + +private: + void *__ICefStringMultimap; // Ucefinterfaces::ICefStringMultimap + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {583ED0C2-A9D6-4034-A7C9-20EC7E47F0C7} + operator Ucefinterfaces::_di_ICefStringMultimap() + { + Ucefinterfaces::_di_ICefStringMultimap intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefStringMultimap*(void) { return (Ucefinterfaces::ICefStringMultimap*)&__ICefStringMultimap; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefStringMultimapOwn : public TCefCustomStringMultimap +{ + typedef TCefCustomStringMultimap inherited; + +public: + __fastcall virtual TCefStringMultimapOwn(); + __fastcall virtual ~TCefStringMultimapOwn(); +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefStringMultimapRef : public TCefCustomStringMultimap +{ + typedef TCefCustomStringMultimap inherited; + +public: + __fastcall TCefStringMultimapRef(Uceftypes::TCefStringMultimap aHandle); +public: + /* TObject.Destroy */ inline __fastcall virtual ~TCefStringMultimapRef() { } + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefstringmultimap */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFSTRINGMULTIMAP) +using namespace Ucefstringmultimap; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFStringMultimapHPP diff --git a/CEF4Delphi/win32/hpps/uCEFStringVisitor.hpp b/CEF4Delphi/win32/hpps/uCEFStringVisitor.hpp new file mode 100644 index 0000000..123753c --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFStringVisitor.hpp @@ -0,0 +1,114 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFStringVisitor.pas' rev: 37.00 (Windows) + +#ifndef uCEFStringVisitorHPP +#define uCEFStringVisitorHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefstringvisitor +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefStringVisitorOwn; +class DELPHICLASS TCefFastStringVisitor; +class DELPHICLASS TCustomCefStringVisitor; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefStringVisitorOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited; + +protected: + virtual void __fastcall Visit(const Uceftypes::ustring str); + +public: + __fastcall virtual TCefStringVisitorOwn(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefStringVisitorOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefStringVisitorOwn() { } + +private: + void *__ICefStringVisitor; // Ucefinterfaces::ICefStringVisitor + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {63ED4D6C-2FC8-4537-964B-B84C008F6158} + operator Ucefinterfaces::_di_ICefStringVisitor() + { + Ucefinterfaces::_di_ICefStringVisitor intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefStringVisitor*(void) { return (Ucefinterfaces::ICefStringVisitor*)&__ICefStringVisitor; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefFastStringVisitor : public TCefStringVisitorOwn +{ + typedef TCefStringVisitorOwn inherited; + +protected: + Ucefinterfaces::_di_TCefStringVisitorProc FVisit; + virtual void __fastcall Visit(const Uceftypes::ustring str); + +public: + __fastcall TCefFastStringVisitor(const Ucefinterfaces::_di_TCefStringVisitorProc callback); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefFastStringVisitor(unsigned size, bool owned) : TCefStringVisitorOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefFastStringVisitor() { } + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCustomCefStringVisitor : public TCefStringVisitorOwn +{ + typedef TCefStringVisitorOwn inherited; + +protected: + void *FEvents; + virtual void __fastcall Visit(const Uceftypes::ustring str); + +public: + __fastcall TCustomCefStringVisitor(const Ucefinterfaces::_di_IChromiumEvents aEvents); + __fastcall virtual ~TCustomCefStringVisitor(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomCefStringVisitor(unsigned size, bool owned) : TCefStringVisitorOwn(size, owned) { } + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefstringvisitor */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFSTRINGVISITOR) +using namespace Ucefstringvisitor; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFStringVisitorHPP diff --git a/CEF4Delphi/win32/hpps/uCEFTask.hpp b/CEF4Delphi/win32/hpps/uCEFTask.hpp new file mode 100644 index 0000000..4821c12 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFTask.hpp @@ -0,0 +1,568 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFTask.pas' rev: 37.00 (Windows) + +#ifndef uCEFTaskHPP +#define uCEFTaskHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Uceftask +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefTaskOwn; +class DELPHICLASS TCefTaskRef; +class DELPHICLASS TCefFastTask; +class DELPHICLASS TCefManagedTask; +class DELPHICLASS TCefChromiumTask; +class DELPHICLASS TCefViewDelegateTask; +class DELPHICLASS TCefURLRequestClientTask; +class DELPHICLASS TCefUpdatePrefsTask; +class DELPHICLASS TCefSavePrefsTask; +class DELPHICLASS TCefURLRequestTask; +class DELPHICLASS TCefGenericTask; +class DELPHICLASS TCefUpdateZoomStepTask; +class DELPHICLASS TCefUpdateZoomPctTask; +class DELPHICLASS TCefReadZoomTask; +class DELPHICLASS TCefSetZoomLevelTask; +class DELPHICLASS TCefSetZoomPctTask; +class DELPHICLASS TCefSetZoomStepTask; +class DELPHICLASS TCefCreateCustomViewTask; +class DELPHICLASS TCefBrowserNavigationTask; +class DELPHICLASS TCefSetAudioMutedTask; +class DELPHICLASS TCefToggleAudioMutedTask; +class DELPHICLASS TCefEnableFocusTask; +class DELPHICLASS TCefTryCloseBrowserTask; +class DELPHICLASS TCefAddPreferenceObserverTask; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefTaskOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited; + +protected: + virtual void __fastcall Execute(); + +public: + __fastcall virtual TCefTaskOwn(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefTaskOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefTaskOwn() { } + +private: + void *__ICefTask; // Ucefinterfaces::ICefTask + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {0D965470-4A86-47CE-BD39-A8770021AD7E} + operator Ucefinterfaces::_di_ICefTask() + { + Ucefinterfaces::_di_ICefTask intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefTask*(void) { return (Ucefinterfaces::ICefTask*)&__ICefTask; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefTaskRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + virtual void __fastcall Execute(); + +public: + __classmethod Ucefinterfaces::_di_ICefTask __fastcall UnWrap(void * data); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefTaskRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefTaskRef() { } + +private: + void *__ICefTask; // Ucefinterfaces::ICefTask + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {0D965470-4A86-47CE-BD39-A8770021AD7E} + operator Ucefinterfaces::_di_ICefTask() + { + Ucefinterfaces::_di_ICefTask intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefTask*(void) { return (Ucefinterfaces::ICefTask*)&__ICefTask; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefFastTask : public TCefTaskOwn +{ + typedef TCefTaskOwn inherited; + +protected: + Ucefinterfaces::_di_TCefFastTaskProc FMethod; + virtual void __fastcall Execute(); + +public: + __classmethod void __fastcall New(Uceftypes::TCefThreadId threadId, const Ucefinterfaces::_di_TCefFastTaskProc method); + __classmethod void __fastcall NewDelayed(Uceftypes::TCefThreadId threadId, __int64 Delay, const Ucefinterfaces::_di_TCefFastTaskProc method); + __fastcall TCefFastTask(const Ucefinterfaces::_di_TCefFastTaskProc method); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefFastTask(unsigned size, bool owned) : TCefTaskOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefFastTask() { } + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefManagedTask : public TCefTaskOwn +{ + typedef TCefTaskOwn inherited; + +protected: + int FComponentID; + void *FEvents; + virtual bool __fastcall CanExecute(); + +public: + __fastcall virtual TCefManagedTask(); + __fastcall virtual ~TCefManagedTask(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefManagedTask(unsigned size, bool owned) : TCefTaskOwn(size, owned) { } + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefChromiumTask : public TCefManagedTask +{ + typedef TCefManagedTask inherited; + +public: + __fastcall TCefChromiumTask(const Ucefinterfaces::_di_IChromiumEvents aEvents); +public: + /* TCefManagedTask.Destroy */ inline __fastcall virtual ~TCefChromiumTask() { } + +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefChromiumTask(unsigned size, bool owned) : TCefManagedTask(size, owned) { } + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefViewDelegateTask : public TCefManagedTask +{ + typedef TCefManagedTask inherited; + +public: + __fastcall TCefViewDelegateTask(const Ucefinterfaces::_di_ICefViewDelegateEvents aEvents); +public: + /* TCefManagedTask.Destroy */ inline __fastcall virtual ~TCefViewDelegateTask() { } + +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefViewDelegateTask(unsigned size, bool owned) : TCefManagedTask(size, owned) { } + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefURLRequestClientTask : public TCefManagedTask +{ + typedef TCefManagedTask inherited; + +public: + __fastcall TCefURLRequestClientTask(const Ucefinterfaces::_di_ICEFUrlRequestClientEvents aEvents); +public: + /* TCefManagedTask.Destroy */ inline __fastcall virtual ~TCefURLRequestClientTask() { } + +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefURLRequestClientTask(unsigned size, bool owned) : TCefManagedTask(size, owned) { } + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefUpdatePrefsTask : public TCefChromiumTask +{ + typedef TCefChromiumTask inherited; + +protected: + virtual void __fastcall Execute(); +public: + /* TCefChromiumTask.Create */ inline __fastcall TCefUpdatePrefsTask(const Ucefinterfaces::_di_IChromiumEvents aEvents) : TCefChromiumTask(aEvents) { } + +public: + /* TCefManagedTask.Destroy */ inline __fastcall virtual ~TCefUpdatePrefsTask() { } + +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefUpdatePrefsTask(unsigned size, bool owned) : TCefChromiumTask(size, owned) { } + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefSavePrefsTask : public TCefChromiumTask +{ + typedef TCefChromiumTask inherited; + +protected: + virtual void __fastcall Execute(); +public: + /* TCefChromiumTask.Create */ inline __fastcall TCefSavePrefsTask(const Ucefinterfaces::_di_IChromiumEvents aEvents) : TCefChromiumTask(aEvents) { } + +public: + /* TCefManagedTask.Destroy */ inline __fastcall virtual ~TCefSavePrefsTask() { } + +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefSavePrefsTask(unsigned size, bool owned) : TCefChromiumTask(size, owned) { } + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefURLRequestTask : public TCefURLRequestClientTask +{ + typedef TCefURLRequestClientTask inherited; + +protected: + virtual void __fastcall Execute(); +public: + /* TCefURLRequestClientTask.Create */ inline __fastcall TCefURLRequestTask(const Ucefinterfaces::_di_ICEFUrlRequestClientEvents aEvents) : TCefURLRequestClientTask(aEvents) { } + +public: + /* TCefManagedTask.Destroy */ inline __fastcall virtual ~TCefURLRequestTask() { } + +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefURLRequestTask(unsigned size, bool owned) : TCefURLRequestClientTask(size, owned) { } + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefGenericTask : public TCefChromiumTask +{ + typedef TCefChromiumTask inherited; + +protected: + unsigned FTaskID; + virtual void __fastcall Execute(); + +public: + __fastcall TCefGenericTask(const Ucefinterfaces::_di_IChromiumEvents aEvents, unsigned aTaskID); +public: + /* TCefManagedTask.Destroy */ inline __fastcall virtual ~TCefGenericTask() { } + +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefGenericTask(unsigned size, bool owned) : TCefChromiumTask(size, owned) { } + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefUpdateZoomStepTask : public TCefChromiumTask +{ + typedef TCefChromiumTask inherited; + +protected: + bool FInc; + virtual void __fastcall Execute(); + +public: + __fastcall TCefUpdateZoomStepTask(const Ucefinterfaces::_di_IChromiumEvents aEvents, bool aInc); +public: + /* TCefManagedTask.Destroy */ inline __fastcall virtual ~TCefUpdateZoomStepTask() { } + +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefUpdateZoomStepTask(unsigned size, bool owned) : TCefChromiumTask(size, owned) { } + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefUpdateZoomPctTask : public TCefChromiumTask +{ + typedef TCefChromiumTask inherited; + +protected: + bool FInc; + virtual void __fastcall Execute(); + +public: + __fastcall TCefUpdateZoomPctTask(const Ucefinterfaces::_di_IChromiumEvents aEvents, bool aInc); +public: + /* TCefManagedTask.Destroy */ inline __fastcall virtual ~TCefUpdateZoomPctTask() { } + +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefUpdateZoomPctTask(unsigned size, bool owned) : TCefChromiumTask(size, owned) { } + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefReadZoomTask : public TCefChromiumTask +{ + typedef TCefChromiumTask inherited; + +protected: + virtual void __fastcall Execute(); +public: + /* TCefChromiumTask.Create */ inline __fastcall TCefReadZoomTask(const Ucefinterfaces::_di_IChromiumEvents aEvents) : TCefChromiumTask(aEvents) { } + +public: + /* TCefManagedTask.Destroy */ inline __fastcall virtual ~TCefReadZoomTask() { } + +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefReadZoomTask(unsigned size, bool owned) : TCefChromiumTask(size, owned) { } + +}; + +#pragma pack(pop) + +class PASCALIMPLEMENTATION TCefSetZoomLevelTask : public TCefChromiumTask +{ + typedef TCefChromiumTask inherited; + +protected: + double FValue; + virtual void __fastcall Execute(); + +public: + __fastcall TCefSetZoomLevelTask(const Ucefinterfaces::_di_IChromiumEvents aEvents, const double aValue); +public: + /* TCefManagedTask.Destroy */ inline __fastcall virtual ~TCefSetZoomLevelTask() { } + +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefSetZoomLevelTask(unsigned size, bool owned) : TCefChromiumTask(size, owned) { } + +}; + + +class PASCALIMPLEMENTATION TCefSetZoomPctTask : public TCefChromiumTask +{ + typedef TCefChromiumTask inherited; + +protected: + double FValue; + virtual void __fastcall Execute(); + +public: + __fastcall TCefSetZoomPctTask(const Ucefinterfaces::_di_IChromiumEvents aEvents, const double aValue); +public: + /* TCefManagedTask.Destroy */ inline __fastcall virtual ~TCefSetZoomPctTask() { } + +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefSetZoomPctTask(unsigned size, bool owned) : TCefChromiumTask(size, owned) { } + +}; + + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefSetZoomStepTask : public TCefChromiumTask +{ + typedef TCefChromiumTask inherited; + +protected: + System::Byte FValue; + virtual void __fastcall Execute(); + +public: + __fastcall TCefSetZoomStepTask(const Ucefinterfaces::_di_IChromiumEvents aEvents, System::Byte aValue); +public: + /* TCefManagedTask.Destroy */ inline __fastcall virtual ~TCefSetZoomStepTask() { } + +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefSetZoomStepTask(unsigned size, bool owned) : TCefChromiumTask(size, owned) { } + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefCreateCustomViewTask : public TCefViewDelegateTask +{ + typedef TCefViewDelegateTask inherited; + +protected: + virtual void __fastcall Execute(); +public: + /* TCefViewDelegateTask.Create */ inline __fastcall TCefCreateCustomViewTask(const Ucefinterfaces::_di_ICefViewDelegateEvents aEvents) : TCefViewDelegateTask(aEvents) { } + +public: + /* TCefManagedTask.Destroy */ inline __fastcall virtual ~TCefCreateCustomViewTask() { } + +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefCreateCustomViewTask(unsigned size, bool owned) : TCefViewDelegateTask(size, owned) { } + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefBrowserNavigationTask : public TCefChromiumTask +{ + typedef TCefChromiumTask inherited; + +protected: + Uceftypes::TCefBrowserNavigation FTask; + virtual void __fastcall Execute(); + +public: + __fastcall TCefBrowserNavigationTask(const Ucefinterfaces::_di_IChromiumEvents aEvents, Uceftypes::TCefBrowserNavigation aTask); +public: + /* TCefManagedTask.Destroy */ inline __fastcall virtual ~TCefBrowserNavigationTask() { } + +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefBrowserNavigationTask(unsigned size, bool owned) : TCefChromiumTask(size, owned) { } + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefSetAudioMutedTask : public TCefChromiumTask +{ + typedef TCefChromiumTask inherited; + +protected: + bool FValue; + virtual void __fastcall Execute(); + +public: + __fastcall TCefSetAudioMutedTask(const Ucefinterfaces::_di_IChromiumEvents aEvents, bool aValue); +public: + /* TCefManagedTask.Destroy */ inline __fastcall virtual ~TCefSetAudioMutedTask() { } + +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefSetAudioMutedTask(unsigned size, bool owned) : TCefChromiumTask(size, owned) { } + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefToggleAudioMutedTask : public TCefChromiumTask +{ + typedef TCefChromiumTask inherited; + +protected: + virtual void __fastcall Execute(); +public: + /* TCefChromiumTask.Create */ inline __fastcall TCefToggleAudioMutedTask(const Ucefinterfaces::_di_IChromiumEvents aEvents) : TCefChromiumTask(aEvents) { } + +public: + /* TCefManagedTask.Destroy */ inline __fastcall virtual ~TCefToggleAudioMutedTask() { } + +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefToggleAudioMutedTask(unsigned size, bool owned) : TCefChromiumTask(size, owned) { } + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefEnableFocusTask : public TCefChromiumTask +{ + typedef TCefChromiumTask inherited; + +protected: + virtual void __fastcall Execute(); +public: + /* TCefChromiumTask.Create */ inline __fastcall TCefEnableFocusTask(const Ucefinterfaces::_di_IChromiumEvents aEvents) : TCefChromiumTask(aEvents) { } + +public: + /* TCefManagedTask.Destroy */ inline __fastcall virtual ~TCefEnableFocusTask() { } + +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefEnableFocusTask(unsigned size, bool owned) : TCefChromiumTask(size, owned) { } + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefTryCloseBrowserTask : public TCefChromiumTask +{ + typedef TCefChromiumTask inherited; + +protected: + virtual void __fastcall Execute(); +public: + /* TCefChromiumTask.Create */ inline __fastcall TCefTryCloseBrowserTask(const Ucefinterfaces::_di_IChromiumEvents aEvents) : TCefChromiumTask(aEvents) { } + +public: + /* TCefManagedTask.Destroy */ inline __fastcall virtual ~TCefTryCloseBrowserTask() { } + +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefTryCloseBrowserTask(unsigned size, bool owned) : TCefChromiumTask(size, owned) { } + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefAddPreferenceObserverTask : public TCefChromiumTask +{ + typedef TCefChromiumTask inherited; + +protected: + Uceftypes::ustring FName; + virtual void __fastcall Execute(); + +public: + __fastcall TCefAddPreferenceObserverTask(const Ucefinterfaces::_di_IChromiumEvents aEvents, const Uceftypes::ustring aName); +public: + /* TCefManagedTask.Destroy */ inline __fastcall virtual ~TCefAddPreferenceObserverTask() { } + +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefAddPreferenceObserverTask(unsigned size, bool owned) : TCefChromiumTask(size, owned) { } + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Uceftask */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFTASK) +using namespace Uceftask; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFTaskHPP diff --git a/CEF4Delphi/win32/hpps/uCEFTaskManager.hpp b/CEF4Delphi/win32/hpps/uCEFTaskManager.hpp new file mode 100644 index 0000000..c786892 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFTaskManager.hpp @@ -0,0 +1,79 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFTaskManager.pas' rev: 37.00 (Windows) + +#ifndef uCEFTaskManagerHPP +#define uCEFTaskManagerHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Uceftaskmanager +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefTaskManagerRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefTaskManagerRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + System::NativeUInt __fastcall GetTasksCount(); + bool __fastcall GetTaskIdsList(Uceftypes::TCefCustomInt64Array &task_ids); + bool __fastcall GetTaskInfo(const __int64 task_id, Uceftypes::TCustomTaskInfo &info); + bool __fastcall KillTask(__int64 task_id); + __int64 __fastcall GetTaskIdForBrowserId(int browser_id); + +public: + __classmethod Ucefinterfaces::_di_ICefTaskManager __fastcall UnWrap(void * data); + __classmethod Ucefinterfaces::_di_ICefTaskManager __fastcall New(); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefTaskManagerRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefTaskManagerRef() { } + +private: + void *__ICefTaskManager; // Ucefinterfaces::ICefTaskManager + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {913B6FE7-1543-407D-9A23-8C232103965B} + operator Ucefinterfaces::_di_ICefTaskManager() + { + Ucefinterfaces::_di_ICefTaskManager intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefTaskManager*(void) { return (Ucefinterfaces::ICefTaskManager*)&__ICefTaskManager; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Uceftaskmanager */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFTASKMANAGER) +using namespace Uceftaskmanager; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFTaskManagerHPP diff --git a/CEF4Delphi/win32/hpps/uCEFTaskRunner.hpp b/CEF4Delphi/win32/hpps/uCEFTaskRunner.hpp new file mode 100644 index 0000000..9a2ada7 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFTaskRunner.hpp @@ -0,0 +1,80 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFTaskRunner.pas' rev: 37.00 (Windows) + +#ifndef uCEFTaskRunnerHPP +#define uCEFTaskRunnerHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Uceftaskrunner +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefTaskRunnerRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefTaskRunnerRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + bool __fastcall IsSame(const Ucefinterfaces::_di_ICefTaskRunner that); + bool __fastcall BelongsToCurrentThread(); + bool __fastcall BelongsToThread(Uceftypes::TCefThreadId threadId); + bool __fastcall PostTask(const Ucefinterfaces::_di_ICefTask task); + bool __fastcall PostDelayedTask(const Ucefinterfaces::_di_ICefTask task, __int64 delayMs); + +public: + __classmethod Ucefinterfaces::_di_ICefTaskRunner __fastcall UnWrap(void * data); + __classmethod Ucefinterfaces::_di_ICefTaskRunner __fastcall GetForCurrentThread(); + __classmethod Ucefinterfaces::_di_ICefTaskRunner __fastcall GetForThread(Uceftypes::TCefThreadId threadId); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefTaskRunnerRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefTaskRunnerRef() { } + +private: + void *__ICefTaskRunner; // Ucefinterfaces::ICefTaskRunner + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {6A500FA3-77B7-4418-8EA8-6337EED1337B} + operator Ucefinterfaces::_di_ICefTaskRunner() + { + Ucefinterfaces::_di_ICefTaskRunner intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefTaskRunner*(void) { return (Ucefinterfaces::ICefTaskRunner*)&__ICefTaskRunner; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Uceftaskrunner */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFTASKRUNNER) +using namespace Uceftaskrunner; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFTaskRunnerHPP diff --git a/CEF4Delphi/win32/hpps/uCEFTextfield.hpp b/CEF4Delphi/win32/hpps/uCEFTextfield.hpp new file mode 100644 index 0000000..defbcfe --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFTextfield.hpp @@ -0,0 +1,108 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFTextfield.pas' rev: 37.00 (Windows) + +#ifndef uCEFTextfieldHPP +#define uCEFTextfieldHPP + +#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 +#include +#include +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Uceftextfield +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefTextfieldRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefTextfieldRef : public Ucefview::TCefViewRef +{ + typedef Ucefview::TCefViewRef inherited; + +protected: + void __fastcall SetPasswordInput(bool password_input); + bool __fastcall IsPasswordInput(); + void __fastcall SetReadOnly(bool read_only); + bool __fastcall IsReadOnly(); + Uceftypes::ustring __fastcall GetText(); + void __fastcall SetText(const Uceftypes::ustring text_); + void __fastcall AppendText(const Uceftypes::ustring text_); + void __fastcall InsertOrReplaceText(const Uceftypes::ustring text_); + bool __fastcall HasSelection(); + Uceftypes::ustring __fastcall GetSelectedText(); + void __fastcall SelectAll(bool reversed); + void __fastcall ClearSelection(); + Uceftypes::TCefRange __fastcall GetSelectedRange(); + void __fastcall SelectRange(const Uceftypes::TCefRange &range); + System::NativeUInt __fastcall GetCursorPosition(); + void __fastcall SetTextColor(Uceftypes::TCefColor color); + Uceftypes::TCefColor __fastcall GetTextColor(); + void __fastcall SetSelectionTextColor(Uceftypes::TCefColor color); + Uceftypes::TCefColor __fastcall GetSelectionTextColor(); + void __fastcall SetSelectionBackgroundColor(Uceftypes::TCefColor color); + Uceftypes::TCefColor __fastcall GetSelectionBackgroundColor(); + void __fastcall SetFontList(const Uceftypes::ustring font_list); + void __fastcall ApplyTextColor(Uceftypes::TCefColor color, const Uceftypes::TCefRange &range); + void __fastcall ApplyTextStyle(Uceftypes::TCefTextStyle style, bool add, const Uceftypes::TCefRange &range); + bool __fastcall IsCommandEnabled(Uceftypes::TCefTextFieldCommands command_id); + void __fastcall ExecuteCommand(Uceftypes::TCefTextFieldCommands command_id); + void __fastcall ClearEditHistory(); + void __fastcall SetPlaceholderText(const Uceftypes::ustring text_); + Uceftypes::ustring __fastcall GetPlaceholderText(); + void __fastcall SetPlaceholderTextColor(Uceftypes::TCefColor color); + void __fastcall SetAccessibleName(const Uceftypes::ustring name); + +public: + __classmethod Ucefinterfaces::_di_ICefTextfield __fastcall UnWrap(void * data); + __classmethod Ucefinterfaces::_di_ICefTextfield __fastcall CreateTextField(const Ucefinterfaces::_di_ICefTextfieldDelegate delegate); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefTextfieldRef(void * data) : Ucefview::TCefViewRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefTextfieldRef() { } + +private: + void *__ICefTextfield; // Ucefinterfaces::ICefTextfield + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {B5E30155-DEA5-4CBF-BC9D-578CBCA586D9} + operator Ucefinterfaces::_di_ICefTextfield() + { + Ucefinterfaces::_di_ICefTextfield intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefTextfield*(void) { return (Ucefinterfaces::ICefTextfield*)&__ICefTextfield; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Uceftextfield */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFTEXTFIELD) +using namespace Uceftextfield; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFTextfieldHPP diff --git a/CEF4Delphi/win32/hpps/uCEFTextfieldComponent.hpp b/CEF4Delphi/win32/hpps/uCEFTextfieldComponent.hpp new file mode 100644 index 0000000..1dad379 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFTextfieldComponent.hpp @@ -0,0 +1,134 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFTextfieldComponent.pas' rev: 37.00 (Windows) + +#ifndef uCEFTextfieldComponentHPP +#define uCEFTextfieldComponentHPP + +#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 +#include +#include +#include +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Uceftextfieldcomponent +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCEFTextfieldComponent; +//-- type declarations ------------------------------------------------------- +class PASCALIMPLEMENTATION TCEFTextfieldComponent : public Ucefviewcomponent::TCEFViewComponent +{ + typedef Ucefviewcomponent::TCEFViewComponent inherited; + +protected: + Ucefinterfaces::_di_ICefTextfield FTextfield; + Ucefviewsframeworkevents::TOnTextfieldKeyEventEvent FOnTextfieldKeyEvent; + Ucefviewsframeworkevents::TOnAfterUserActionEvent FOnAfterUserAction; + virtual void __fastcall DestroyView(); + virtual void __fastcall Initialize(); + virtual bool __fastcall GetInitialized(); + virtual Ucefinterfaces::_di_ICefView __fastcall GetAsView(); + virtual Ucefinterfaces::_di_ICefTextfield __fastcall GetAsTextfield(); + bool __fastcall GetIsPasswordInput(); + bool __fastcall GetIsReadOnly(); + Uceftypes::ustring __fastcall GetText(); + bool __fastcall GetHasSelection(); + Uceftypes::ustring __fastcall GetSelectedText(); + Uceftypes::TCefRange __fastcall GetSelectedRange(); + System::NativeUInt __fastcall GetCursorPosition(); + Uceftypes::TCefColor __fastcall GetTextColor(); + Uceftypes::TCefColor __fastcall GetSelectionTextColor(); + Uceftypes::TCefColor __fastcall GetSelectionBackgroundColor(); + Uceftypes::ustring __fastcall GetPlaceholderText(); + void __fastcall SetPasswordInput(bool password_input); + void __fastcall SetReadOnly(bool read_only); + void __fastcall SetText(const Uceftypes::ustring text_); + void __fastcall SetTextColor(Uceftypes::TCefColor color); + void __fastcall SetSelectionTextColor(Uceftypes::TCefColor color); + void __fastcall SetSelectionBackgroundColor(Uceftypes::TCefColor color); + void __fastcall SetPlaceholderText(const Uceftypes::ustring text_); + void __fastcall SetSelectedRange(const Uceftypes::TCefRange &range); + void __fastcall doOnKeyEvent(const Ucefinterfaces::_di_ICefTextfield textfield, const Uceftypes::TCefKeyEvent &event, bool &aResult); + void __fastcall doOnAfterUserAction(const Ucefinterfaces::_di_ICefTextfield textfield); + virtual void __fastcall doCreateCustomView(); + +public: + void __fastcall CreateTextField(); + void __fastcall AppendText(const Uceftypes::ustring text_); + void __fastcall InsertOrReplaceText(const Uceftypes::ustring text_); + void __fastcall SelectAll(bool reversed); + void __fastcall ClearSelection(); + void __fastcall SetFontList(const Uceftypes::ustring font_list); + void __fastcall ApplyTextColor(Uceftypes::TCefColor color, const Uceftypes::TCefRange &range); + void __fastcall ApplyTextStyle(Uceftypes::TCefTextStyle style, bool add, const Uceftypes::TCefRange &range); + bool __fastcall IsCommandEnabled(Uceftypes::TCefTextFieldCommands command_id); + void __fastcall ExecuteCommand(Uceftypes::TCefTextFieldCommands command_id); + void __fastcall ClearEditHistory(); + void __fastcall SetAccessibleName(const Uceftypes::ustring name_); + void __fastcall SetPlaceholderTextColor(Uceftypes::TCefColor color); + __property bool PasswordInput = {read=GetIsPasswordInput, write=SetPasswordInput, nodefault}; + __property bool ReadOnly = {read=GetIsReadOnly, write=SetReadOnly, nodefault}; + __property Uceftypes::ustring Text = {read=GetText, write=SetText}; + __property Uceftypes::ustring SelectedText = {read=GetSelectedText}; + __property Uceftypes::TCefRange SelectedRange = {read=GetSelectedRange, write=SetSelectedRange}; + __property System::NativeUInt CursorPosition = {read=GetCursorPosition, nodefault}; + __property Uceftypes::TCefColor TextColor = {read=GetTextColor, write=SetTextColor, nodefault}; + __property Uceftypes::TCefColor SelectionTextColor = {read=GetSelectionTextColor, write=SetSelectionTextColor, nodefault}; + __property Uceftypes::TCefColor SelectionBackgroundColor = {read=GetSelectionBackgroundColor, write=SetSelectionBackgroundColor, nodefault}; + __property Uceftypes::ustring PlaceholderText = {read=GetPlaceholderText, write=SetPlaceholderText}; + __property bool HasSelection = {read=GetHasSelection, nodefault}; + +__published: + __property Ucefviewsframeworkevents::TOnTextfieldKeyEventEvent OnTextfieldKeyEvent = {read=FOnTextfieldKeyEvent, write=FOnTextfieldKeyEvent}; + __property Ucefviewsframeworkevents::TOnAfterUserActionEvent OnAfterUserAction = {read=FOnAfterUserAction, write=FOnAfterUserAction}; +public: + /* TCEFViewComponent.Create */ inline __fastcall virtual TCEFTextfieldComponent(System::Classes::TComponent* AOwner) : Ucefviewcomponent::TCEFViewComponent(AOwner) { } + +public: + /* TComponent.Destroy */ inline __fastcall virtual ~TCEFTextfieldComponent() { } + +private: + void *__ICefTextfieldDelegateEvents; // Ucefinterfaces::ICefTextfieldDelegateEvents + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {682480E0-C786-4E65-B950-4FF2B13B97B9} + operator Ucefinterfaces::_di_ICefTextfieldDelegateEvents() + { + Ucefinterfaces::_di_ICefTextfieldDelegateEvents intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefTextfieldDelegateEvents*(void) { return (Ucefinterfaces::ICefTextfieldDelegateEvents*)&__ICefTextfieldDelegateEvents; } + #endif + +}; + + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Uceftextfieldcomponent */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFTEXTFIELDCOMPONENT) +using namespace Uceftextfieldcomponent; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFTextfieldComponentHPP diff --git a/CEF4Delphi/win32/hpps/uCEFTextfieldDelegate.hpp b/CEF4Delphi/win32/hpps/uCEFTextfieldDelegate.hpp new file mode 100644 index 0000000..3b28385 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFTextfieldDelegate.hpp @@ -0,0 +1,147 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFTextfieldDelegate.pas' rev: 37.00 (Windows) + +#ifndef uCEFTextfieldDelegateHPP +#define uCEFTextfieldDelegateHPP + +#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 +#include +#include +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Uceftextfielddelegate +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefTextfieldDelegateRef; +class DELPHICLASS TCefTextfieldDelegateOwn; +class DELPHICLASS TCustomTextfieldDelegate; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefTextfieldDelegateRef : public Ucefviewdelegate::TCefViewDelegateRef +{ + typedef Ucefviewdelegate::TCefViewDelegateRef inherited; + +protected: + void __fastcall OnKeyEvent(const Ucefinterfaces::_di_ICefTextfield textfield, const Uceftypes::TCefKeyEvent &event, bool &aResult); + void __fastcall OnAfterUserAction(const Ucefinterfaces::_di_ICefTextfield textfield); + +public: + __classmethod Ucefinterfaces::_di_ICefTextfieldDelegate __fastcall UnWrap(void * data); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefTextfieldDelegateRef(void * data) : Ucefviewdelegate::TCefViewDelegateRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefTextfieldDelegateRef() { } + +private: + void *__ICefTextfieldDelegate; // Ucefinterfaces::ICefTextfieldDelegate + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {72612994-92BB-4DE9-BB38-6F49FB45F94B} + operator Ucefinterfaces::_di_ICefTextfieldDelegate() + { + Ucefinterfaces::_di_ICefTextfieldDelegate intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefTextfieldDelegate*(void) { return (Ucefinterfaces::ICefTextfieldDelegate*)&__ICefTextfieldDelegate; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefTextfieldDelegateOwn : public Ucefviewdelegate::TCefViewDelegateOwn +{ + typedef Ucefviewdelegate::TCefViewDelegateOwn inherited; + +protected: + virtual void __fastcall OnKeyEvent(const Ucefinterfaces::_di_ICefTextfield textfield, const Uceftypes::TCefKeyEvent &event, bool &aResult); + virtual void __fastcall OnAfterUserAction(const Ucefinterfaces::_di_ICefTextfield textfield); + virtual void __fastcall InitializeCEFMethods(); + +public: + __fastcall virtual TCefTextfieldDelegateOwn(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefTextfieldDelegateOwn(unsigned size, bool owned) : Ucefviewdelegate::TCefViewDelegateOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefTextfieldDelegateOwn() { } + +private: + void *__ICefTextfieldDelegate; // Ucefinterfaces::ICefTextfieldDelegate + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {72612994-92BB-4DE9-BB38-6F49FB45F94B} + operator Ucefinterfaces::_di_ICefTextfieldDelegate() + { + Ucefinterfaces::_di_ICefTextfieldDelegate intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefTextfieldDelegate*(void) { return (Ucefinterfaces::ICefTextfieldDelegate*)&__ICefTextfieldDelegate; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCustomTextfieldDelegate : public TCefTextfieldDelegateOwn +{ + typedef TCefTextfieldDelegateOwn 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 OnKeyEvent(const Ucefinterfaces::_di_ICefTextfield textfield, const Uceftypes::TCefKeyEvent &event, bool &aResult); + virtual void __fastcall OnAfterUserAction(const Ucefinterfaces::_di_ICefTextfield textfield); + +public: + __fastcall TCustomTextfieldDelegate(const Ucefinterfaces::_di_ICefTextfieldDelegateEvents events); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomTextfieldDelegate(unsigned size, bool owned) : TCefTextfieldDelegateOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCustomTextfieldDelegate() { } + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Uceftextfielddelegate */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFTEXTFIELDDELEGATE) +using namespace Uceftextfielddelegate; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFTextfieldDelegateHPP diff --git a/CEF4Delphi/win32/hpps/uCEFThread.hpp b/CEF4Delphi/win32/hpps/uCEFThread.hpp new file mode 100644 index 0000000..2c5456d --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFThread.hpp @@ -0,0 +1,78 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFThread.pas' rev: 37.00 (Windows) + +#ifndef uCEFThreadHPP +#define uCEFThreadHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefthread +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefThreadRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefThreadRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + Ucefinterfaces::_di_ICefTaskRunner __fastcall GetTaskRunner(); + Uceftypes::TCefPlatformThreadId __fastcall GetPlatformThreadID(); + void __fastcall Stop(); + bool __fastcall IsRunning(); + +public: + __classmethod Ucefinterfaces::_di_ICefThread __fastcall UnWrap(void * data); + __classmethod Ucefinterfaces::_di_ICefThread __fastcall New(const Uceftypes::ustring display_name, Uceftypes::TCefThreadPriority priority, Uceftypes::TCefMessageLoopType message_loop_type, int stoppable, Uceftypes::TCefCOMInitMode com_init_mode); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefThreadRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefThreadRef() { } + +private: + void *__ICefThread; // Ucefinterfaces::ICefThread + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {26B30EA5-F44A-4C40-97DF-67FD9E73A4FF} + operator Ucefinterfaces::_di_ICefThread() + { + Ucefinterfaces::_di_ICefThread intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefThread*(void) { return (Ucefinterfaces::ICefThread*)&__ICefThread; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefthread */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFTHREAD) +using namespace Ucefthread; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFThreadHPP diff --git a/CEF4Delphi/win32/hpps/uCEFTypes.hpp b/CEF4Delphi/win32/hpps/uCEFTypes.hpp new file mode 100644 index 0000000..d3a22ac --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFTypes.hpp @@ -0,0 +1,3932 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFTypes.pas' rev: 37.00 (Windows) + +#ifndef uCEFTypesHPP +#define uCEFTypesHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Uceftypes +{ +//-- forward type declarations ----------------------------------------------- +struct TCefSize; +struct TCefRect; +struct TCefAcceleratedPaintInfoCommon; +struct TCefAcceleratedPaintInfo; +struct TCefVersionInfoEx; +struct TMyMemoryStatusEx; +struct TOSVersionInfoEx; +struct TDigitizerStatus; +struct TCefStringWide; +struct TCefStringUtf8; +struct TCefStringUtf16; +struct TCefStringUserFreeWide; +struct TCefStringUserFreeUtf8; +struct TCefStringUserFreeUtf16; +struct TFileVersionInfo; +struct TCefVersionInfo; +struct TChromiumVersionInfo; +struct TCefMainArgs; +struct TCefPoint; +struct TCefRange; +struct TCefCursorInfo; +struct TCefLinuxWindowProperties; +struct TLinuxWindowProperties; +struct TCefUrlParts; +struct TUrlParts; +struct TCefInsets; +struct TCefTaskInfo; +struct TCustomTaskInfo; +struct TCefTouchHandleState; +struct TCefCompositionUnderline; +struct TCefTime; +struct TCefBoxLayoutSettings; +struct TCefSettings; +struct TCefWindowInfo; +struct TCefDraggableRegion; +struct TCefKeyEvent; +struct TCefPopupFeatures; +struct TCefBrowserSettings; +struct TCefScreenInfo; +struct TCefRequestContextSettings; +struct TCefCookie; +struct TCookie; +struct TCefPdfPrintSettings; +struct TCefMouseEvent; +struct TCefTouchEvent; +struct TCefSimulatedTouchPoint; +struct TCefAudioParameters; +struct TCefMediaSinkDeviceInfo; +struct TCefBaseRefCounted; +struct TCefBaseScoped; +struct TCefStreamWriter; +struct TCefX509CertPrincipal; +struct TCefX509Certificate; +struct TCefSslInfo; +struct TCefSSLStatus; +struct TCefSelectClientCertificateCallback; +struct TCefRunContextMenuCallback; +struct TCefFileDialogCallback; +struct TCefUnresponsiveProcessCallback; +struct TCefDialogHandler; +struct TCefDisplayHandler; +struct TCefDownloadHandler; +struct TCefDragHandler; +struct TCefFindHandler; +struct TCefFocusHandler; +struct TCefJsDialogHandler; +struct TCefJsDialogCallback; +struct TCefKeyboardHandler; +struct TCefLifeSpanHandler; +struct TCefRegistration; +struct TCefDevToolsMessageObserver; +struct TCefMediaRouter; +struct TCefMediaObserver; +struct TCefMediaRoute; +struct TCefMediaRouteCreateCallback; +struct TCefMediaSink; +struct TCefMediaSinkDeviceInfoCallback; +struct TCefMediaSource; +struct TCefAudioHandler; +struct TCefLoadHandler; +struct TCefRenderHandler; +struct TCefPreferenceRegistrar; +struct TCefPreferenceObserver; +struct TCefPreferenceManager; +struct TCefV8StackTrace; +struct TCefV8StackFrame; +struct TCefStreamReader; +struct TCefReadHandler; +struct TCefWriteHandler; +struct TCefXmlReader; +struct TCefZipReader; +struct TCefUrlrequestClient; +struct TCefUrlRequest; +struct TCefThread; +struct TCefWaitableEvent; +struct TCefTaskRunner; +struct TCefEndTracingCallback; +struct TCefResourceBundle; +struct TCefMenuModelDelegate; +struct TCefProcessMessage; +struct TCefRenderProcessHandler; +struct TCefRequestHandler; +struct TCefMediaAccessCallback; +struct TCefPermissionPromptCallback; +struct TCefPermissionHandler; +struct TCefSharedMemoryRegion; +struct TCefSharedProcessMessageBuilder; +struct TCefResourceSkipCallback; +struct TCefResourceReadCallback; +struct TCefResourceHandler; +struct TCefResourceRequestHandler; +struct TCefCookieAccessFilter; +struct TCefResponse; +struct TCefResponseFilter; +struct TCefAuthCallback; +struct TCefCallback; +struct TCefSettingObserver; +struct TCefRequestContext; +struct TCefRequestContextHandler; +struct TCefCompletionCallback; +struct TCefCookieManager; +struct TCefSchemeHandlerFactory; +struct TCefResolveCallback; +struct TCefCookieVisitor; +struct TCefSetCookieCallback; +struct TCefDeleteCookiesCallback; +struct TCefRunFileDialogCallback; +struct TCefDownloadImageCallback; +struct TCefImage; +struct TCefPdfPrintCallback; +struct TCefNavigationEntryVisitor; +struct TCefNavigationEntry; +struct TCefPrintSettings; +struct TCefPrintDialogCallback; +struct TCefPrintJobCallback; +struct TCefPrintHandler; +struct TCefDragData; +struct TCefCommandLine; +struct TCefCommandHandler; +struct TCefSchemeRegistrar; +struct TCefBinaryValue; +struct TCefValue; +struct TCefDictionaryValue; +struct TCefListValue; +struct TCefStringVisitor; +struct TCefPostDataElement; +struct TCefPostData; +struct TCefRequest; +struct TCefTask; +struct TCefTaskManager; +struct TCefDomVisitor; +struct TCefMenuModel; +struct TCefContextMenuParams; +struct TCefDownloadItem; +struct TCefBeforeDownloadCallback; +struct TCefDownloadItemCallback; +struct TCefDomNode; +struct TCefDomDocument; +struct TCefv8Handler; +struct TCefV8Exception; +struct TCefv8ArrayBufferReleaseCallback; +struct TCefv8Value; +struct TCefV8Context; +struct TCefV8Interceptor; +struct TCefV8Accessor; +struct TCefFrame; +struct TCefFrameHandler; +struct TCefAccessibilityHandler; +struct TCefContextMenuHandler; +struct TCefRunQuickMenuCallback; +struct TCefClient; +struct TCefBrowserHost; +struct TCefBrowser; +struct TCefResourceBundleHandler; +struct TCefBrowserProcessHandler; +struct TCefApp; +struct TCefServer; +struct TCefServerHandler; +struct TCefDisplay; +struct TCefLayout; +struct TCefBoxLayout; +struct TCefFillLayout; +struct TCefOverlayController; +struct TCefView; +struct TCefViewDelegate; +struct TCefTextfield; +struct TCefTextfieldDelegate; +struct TCefScrollView; +struct TCefPanel; +struct TCefPanelDelegate; +struct TCefBrowserView; +struct TCefBrowserViewDelegate; +struct TCefButton; +struct TCefButtonDelegate; +struct TCefLabelButton; +struct TCefMenuButton; +struct TCefMenuButtonPressedLock; +struct TCefMenuButtonDelegate; +struct TCefWindow; +struct TCefWindowDelegate; +//-- type declarations ------------------------------------------------------- +typedef TCefStringWide *PCefStringWide; + +typedef TCefDictionaryValue *PCefDictionaryValue; + +typedef TCefListValue *PCefListValue; + +typedef TCefBrowser *PCefBrowser; + +typedef TCefValue *PCefValue; + +typedef TCefBinaryValue *PCefBinaryValue; + +typedef TCefSchemeRegistrar *PCefSchemeRegistrar; + +typedef TCefPreferenceRegistrar *PCefPreferenceRegistrar; + +typedef TCefPreferenceObserver *PCefPreferenceObserver; + +typedef TCefPreferenceManager *PCefPreferenceManager; + +typedef TCefCommandLine *PCefCommandLine; + +typedef TCefCommandHandler *PCefCommandHandler; + +typedef TCefBaseRefCounted *PCefBaseRefCounted; + +typedef TCefBaseScoped *PCefBaseScoped; + +typedef TCefWindowInfo *PCefWindowInfo; + +typedef TCefSettings *PCefSettings; + +typedef TCefStringUtf8 *PCefStringUtf8; + +typedef TCefStringUtf16 *PCefStringUtf16; + +typedef TCefStringUserFreeWide *PCefStringUserFreeWide; + +typedef TCefStringUserFreeUtf8 *PCefStringUserFreeUtf8; + +typedef TCefStringUserFreeUtf16 *PCefStringUserFreeUtf16; + +typedef TCefMainArgs *PCefMainArgs; + +typedef unsigned TCefColor; + +typedef TCefColor *PCefColor; + +typedef TCefBrowserHost *PCefBrowserHost; + +typedef TCefClient *PCefClient; + +typedef TCefPrintHandler *PCefPrintHandler; + +typedef TCefResourceBundleHandler *PCefResourceBundleHandler; + +typedef TCefBrowserProcessHandler *PCefBrowserProcessHandler; + +typedef TCefContextMenuHandler *PCefContextMenuHandler; + +typedef TCefRunQuickMenuCallback *PCefRunQuickMenuCallback; + +typedef TCefAccessibilityHandler *PCefAccessibilityHandler; + +typedef TCefFrame *PCefFrame; + +typedef TCefFrameHandler *PCefFrameHandler; + +typedef TCefApp *PCefApp; + +typedef TCefServer *PCefServer; + +typedef TCefServerHandler *PCefServerHandler; + +typedef TCefStringVisitor *PCefStringVisitor; + +typedef TCefRequest *PCefRequest; + +typedef TCefPostData *PCefPostData; + +typedef TCefPostDataElement *PCefPostDataElement; + +typedef PCefPostDataElement *PPCefPostDataElement; + +typedef TCefV8Context *PCefv8Context; + +typedef TCefV8Interceptor *PCefV8Interceptor; + +typedef TCefTask *PCefTask; + +typedef TCefTaskManager *PCefTaskManager; + +typedef TCefv8Value *PCefv8Value; + +typedef __int64 TCefBaseTime; + +typedef TCefBaseTime *PCefBaseTime; + +typedef TCefTime *PCefTime; + +typedef TCefV8Exception *PCefV8Exception; + +typedef TCefv8ArrayBufferReleaseCallback *PCefv8ArrayBufferReleaseCallback; + +typedef TCefv8Handler *PCefv8Handler; + +typedef System::StaticArray PCefV8ValueArray; + +typedef PCefV8ValueArray *PPCefV8Value; + +typedef TCefDomVisitor *PCefDomVisitor; + +typedef TCefDomDocument *PCefDomDocument; + +typedef TCefDomNode *PCefDomNode; + +typedef TCefContextMenuParams *PCefContextMenuParams; + +typedef TCefMenuModel *PCefMenuModel; + +typedef TCefRunContextMenuCallback *PCefRunContextMenuCallback; + +typedef TCefDialogHandler *PCefDialogHandler; + +typedef TCefFileDialogCallback *PCefFileDialogCallback; + +typedef TCefUnresponsiveProcessCallback *PCefUnresponsiveProcessCallback; + +typedef TCefDisplayHandler *PCefDisplayHandler; + +typedef TCefDownloadHandler *PCefDownloadHandler; + +typedef TCefDownloadItem *PCefDownloadItem; + +typedef TCefBeforeDownloadCallback *PCefBeforeDownloadCallback; + +typedef TCefDownloadItemCallback *PCefDownloadItemCallback; + +typedef TCefDragHandler *PCefDragHandler; + +typedef TCefDragData *PCefDragData; + +typedef System::StaticArray TCefDraggableRegionArray; + +typedef TCefDraggableRegionArray *PCefDraggableRegionArray; + +typedef TCefDraggableRegion *PCefDraggableRegion; + +typedef TCefRect *PCefRect; + +typedef TCefPoint *PCefPoint; + +typedef TCefSize *PCefSize; + +typedef System::StaticArray TCefRectArray; + +typedef TCefRectArray *PCefRectArray; + +typedef TCefRange *PCefRange; + +typedef TCefStreamWriter *PCefStreamWriter; + +typedef TCefFindHandler *PCefFindHandler; + +typedef TCefFocusHandler *PCefFocusHandler; + +typedef TCefJsDialogHandler *PCefJsDialogHandler; + +typedef TCefJsDialogCallback *PCefJsDialogCallback; + +typedef TCefKeyboardHandler *PCefKeyboardHandler; + +typedef TCefKeyEvent *PCefKeyEvent; + +typedef TCefLifeSpanHandler *PCefLifeSpanHandler; + +typedef TCefAudioHandler *PCefAudioHandler; + +typedef TCefAudioParameters *PCefAudioParameters; + +typedef TCefPopupFeatures *PCefPopupFeatures; + +typedef TCefBrowserSettings *PCefBrowserSettings; + +typedef TCefLoadHandler *PCefLoadHandler; + +typedef TCefRenderHandler *PCefRenderHandler; + +typedef TCefScreenInfo *PCefScreenInfo; + +typedef TCefRenderProcessHandler *PCefRenderProcessHandler; + +typedef TCefCursorInfo *PCefCursorInfo; + +typedef TCefThread *PCefThread; + +typedef TCefWaitableEvent *PCefWaitableEvent; + +typedef TCefV8StackTrace *PCefV8StackTrace; + +typedef TCefV8StackFrame *PCefV8StackFrame; + +typedef TCefProcessMessage *PCefProcessMessage; + +typedef TCefRequestHandler *PCefRequestHandler; + +typedef TCefMediaAccessCallback *PCefMediaAccessCallback; + +typedef TCefPermissionHandler *PCefPermissionHandler; + +typedef TCefSharedMemoryRegion *PCefSharedMemoryRegion; + +typedef TCefSharedProcessMessageBuilder *PCefSharedProcessMessageBuilder; + +typedef TCefPermissionPromptCallback *PCefPermissionPromptCallback; + +typedef TCefResourceSkipCallback *PCefResourceSkipCallback; + +typedef TCefResourceReadCallback *PCefResourceReadCallback; + +typedef TCefResourceHandler *PCefResourceHandler; + +typedef TCefResourceRequestHandler *PCefResourceRequestHandler; + +typedef TCefCookieAccessFilter *PCefCookieAccessFilter; + +typedef TCefResponse *PCefResponse; + +typedef TCefResponseFilter *PCefResponseFilter; + +typedef TCefAuthCallback *PCefAuthCallback; + +typedef TCefSslInfo *PCefSslInfo; + +typedef TCefSSLStatus *PCefSSLStatus; + +typedef TCefSelectClientCertificateCallback *PCefSelectClientCertificateCallback; + +typedef TCefCallback *PCefCallback; + +typedef TCefSettingObserver *PCefSettingObserver; + +typedef TCefCookie *PCefCookie; + +typedef TCefRequestContext *PCefRequestContext; + +typedef TCefRequestContextHandler *PCefRequestContextHandler; + +typedef TCefCompletionCallback *PCefCompletionCallback; + +typedef TCefCookieManager *PCefCookieManager; + +typedef TCefSchemeHandlerFactory *PCefSchemeHandlerFactory; + +typedef TCefResolveCallback *PCefResolveCallback; + +typedef TCefCookieVisitor *PCefCookieVisitor; + +typedef TCefSetCookieCallback *PCefSetCookieCallback; + +typedef TCefDeleteCookiesCallback *PCefDeleteCookiesCallback; + +typedef TCefRunFileDialogCallback *PCefRunFileDialogCallback; + +typedef TCefDownloadImageCallback *PCefDownloadImageCallback; + +typedef TCefImage *PCefImage; + +typedef TCefPdfPrintSettings *PCefPdfPrintSettings; + +typedef TCefPdfPrintCallback *PCefPdfPrintCallback; + +typedef TCefNavigationEntryVisitor *PCefNavigationEntryVisitor; + +typedef TCefNavigationEntry *PCefNavigationEntry; + +typedef TCefMouseEvent *PCefMouseEvent; + +typedef TCefTouchEvent *PCefTouchEvent; + +typedef TCefTouchHandleState *PCefTouchHandleState; + +typedef TCefPrintSettings *PCefPrintSettings; + +typedef TCefPrintDialogCallback *PCefPrintDialogCallback; + +typedef TCefPrintJobCallback *PCefPrintJobCallback; + +typedef TCefUrlParts *PCefUrlParts; + +typedef TCefStreamReader *PCefStreamReader; + +typedef TCefReadHandler *PCefReadHandler; + +typedef TCefWriteHandler *PCefWriteHandler; + +typedef TCefV8Accessor *PCefV8Accessor; + +typedef TCefXmlReader *PCefXmlReader; + +typedef TCefZipReader *PCefZipReader; + +typedef TCefUrlrequestClient *PCefUrlRequestClient; + +typedef TCefUrlRequest *PCefUrlRequest; + +typedef TCefTaskRunner *PCefTaskRunner; + +typedef TCefEndTracingCallback *PCefEndTracingCallback; + +typedef TCefRequestContextSettings *PCefRequestContextSettings; + +typedef TCefResourceBundle *PCefResourceBundle; + +typedef TCefMenuModelDelegate *PCefMenuModelDelegate; + +typedef TCefInsets *PCefInsets; + +typedef TCefCompositionUnderline *PCefCompositionUnderline; + +typedef TCefX509CertPrincipal *PCefX509CertPrincipal; + +typedef TCefX509Certificate *PCefX509Certificate; + +typedef PCefX509Certificate *PPCefX509Certificate; + +typedef TCefDisplay *PCefDisplay; + +typedef PCefDisplay *PPCefDisplay; + +typedef TCefLayout *PCefLayout; + +typedef TCefBoxLayout *PCefBoxLayout; + +typedef TCefFillLayout *PCefFillLayout; + +typedef TCefOverlayController *PCefOverlayController; + +typedef TCefView *PCefView; + +typedef TCefViewDelegate *PCefViewDelegate; + +typedef TCefTextfield *PCefTextfield; + +typedef TCefTextfieldDelegate *PCefTextfieldDelegate; + +typedef TCefScrollView *PCefScrollView; + +typedef TCefPanel *PCefPanel; + +typedef TCefPanelDelegate *PCefPanelDelegate; + +typedef TCefBrowserView *PCefBrowserView; + +typedef TCefBrowserViewDelegate *PCefBrowserViewDelegate; + +typedef TCefButton *PCefButton; + +typedef TCefButtonDelegate *PCefButtonDelegate; + +typedef TCefLabelButton *PCefLabelButton; + +typedef TCefMenuButton *PCefMenuButton; + +typedef TCefMenuButtonPressedLock *PCefMenuButtonPressedLock; + +typedef TCefMenuButtonDelegate *PCefMenuButtonDelegate; + +typedef TCefWindow *PCefWindow; + +typedef TCefWindowDelegate *PCefWindowDelegate; + +typedef TCefBoxLayoutSettings *PCefBoxLayoutSettings; + +typedef TCefRegistration *PCefRegistration; + +typedef TCefDevToolsMessageObserver *PCefDevToolsMessageObserver; + +typedef TCefMediaRouter *PCefMediaRouter; + +typedef TCefMediaRoute *PCefMediaRoute; + +typedef PCefMediaRoute *PPCefMediaRoute; + +typedef TCefMediaRouteCreateCallback *PCefMediaRouteCreateCallback; + +typedef TCefMediaObserver *PCefMediaObserver; + +typedef TCefMediaSink *PCefMediaSink; + +typedef PCefMediaSink *PPCefMediaSink; + +typedef TCefMediaSinkDeviceInfoCallback *PCefMediaSinkDeviceInfoCallback; + +typedef TCefMediaSource *PCefMediaSource; + +typedef TCefMediaSinkDeviceInfo *PCefMediaSinkDeviceInfo; + +typedef TCefAcceleratedPaintInfo *PCefAcceleratedPaintInfo; + +typedef TCefLinuxWindowProperties *PCefLinuxWindowProperties; + +typedef TCefTaskInfo *PCefTaskInfo; + +typedef TCefVersionInfoEx *PCefVersionInfoEx; + +typedef System::UnicodeString ustring; + +typedef System::RawByteString rbstring; + +typedef HWND TCefWindowHandle; + +typedef HICON TCefCursorHandle; + +typedef tagMSG *TCefEventHandle; + +//typedef unsigned HANDLE; + +typedef HANDLE TCefSharedTextureHandle; + +enum DECLSPEC_DENUM TCefColorType : unsigned int { CEF_COLOR_TYPE_RGBA_8888, CEF_COLOR_TYPE_BGRA_8888, CEF_COLOR_TYPE_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefGLImplementation : unsigned int { glimDefault, glimEGL, glimANGLE, glimMock, glimStub, glimDisabled }; + +enum DECLSPEC_DENUM TCefAngleImplementation : unsigned int { animDefault, animD3D9, animD3D11, animD3D11on12, animD3D11Warp, animD3D11WarpForWebGL, animOpenGL, animOpenGLEGL, animOpenGLES, animOpenGLESEGL, animNull, animVulkan, animSwiftShader, animSwiftShaderForWebGL, animMetal }; + +struct DECLSPEC_DRECORD TCefSize +{ +public: + int width; + int height; +}; + + +struct DECLSPEC_DRECORD TCefRect +{ +public: + int x; + int y; + int width; + int height; +}; + + +typedef System::DynamicArray TCefRectDynArray; + +struct DECLSPEC_DRECORD TCefAcceleratedPaintInfoCommon +{ +public: + System::NativeUInt size; + unsigned __int64 timestamp; + TCefSize coded_size; + TCefRect visible_rect; + TCefRect content_rect; + TCefSize source_size; + TCefRect capture_update_rect; + TCefRect region_capture_rect; + unsigned __int64 capture_counter; + System::Byte has_capture_update_rect; + System::Byte has_region_capture_rect; + System::Byte has_source_size; + System::Byte has_capture_counter; +}; + + +struct DECLSPEC_DRECORD TCefAcceleratedPaintInfo +{ +public: + System::NativeUInt size; + TCefSharedTextureHandle shared_texture_handle; + TCefColorType format; + TCefAcceleratedPaintInfoCommon extra; +}; + + +typedef unsigned TCefPlatformThreadId; + +typedef unsigned TCefPlatformThreadHandle; + +typedef unsigned TCefTransitionType; + +typedef int TCefErrorCode; + +typedef int TCefCertStatus; + +typedef int TCefSSLVersion; + +typedef void *TCefStringList; + +typedef void *TCefStringMap; + +typedef void *TCefStringMultimap; + +typedef int TCefUriUnescapeRule; + +typedef int TCefDomEventCategory; + +typedef unsigned TCefEventFlags; + +typedef unsigned TCefDragOperations; + +typedef unsigned TCefDragOperation; + +typedef unsigned TCefV8PropertyAttributes; + +typedef unsigned TCefUrlRequestFlags; + +typedef unsigned TCefContextMenuTypeFlags; + +typedef unsigned TCefContextMenuMediaStateFlags; + +typedef unsigned TCefContextMenuEditStateFlags; + +typedef unsigned TCefJsonWriterOptions; + +typedef unsigned TCefSSLContentStatus; + +typedef unsigned TCefLogSeverity; + +typedef unsigned TCefFileDialogMode; + +typedef int TCefDuplexMode; + +typedef int TCefSchemeOptions; + +typedef int TCefMediaRouterCreateResult; + +typedef int TCefMediaRouteConnectionState; + +typedef int TCefCookiePriority; + +typedef int TCefTextFieldCommands; + +typedef int TCefChromeToolbarType; + +typedef int TCefDockingMode; + +typedef int TCefShowState; + +typedef int TCefQuickMenuEditStateFlags; + +typedef int TCefTouchHandleStateFlags; + +typedef unsigned TCefMediaAccessPermissionTypes; + +typedef int TCefPermissionRequestTypes; + +typedef int TCefDownloadInterruptReason; + +typedef int TCefMenuId; + +typedef unsigned TCefLogItems; + +typedef int TCefResultCode; + +typedef System::DynamicArray TCefCustomByteArray; + +typedef System::DynamicArray<__int64> TCefCustomInt64Array; + +struct DECLSPEC_DRECORD TCefVersionInfoEx +{ +public: + System::NativeUInt size; + int cef_version_major; + int cef_version_minor; + int cef_version_patch; + int cef_commit_number; + int chrome_version_major; + int chrome_version_minor; + int chrome_version_build; + int chrome_version_patch; +}; + + +struct DECLSPEC_DRECORD TMyMemoryStatusEx +{ +public: + unsigned dwLength; + unsigned dwMemoryLoad; + unsigned __int64 ullTotalPhys; + unsigned __int64 ullAvailPhys; + unsigned __int64 ullTotalPageFile; + unsigned __int64 ullAvailPageFile; + unsigned __int64 ullTotalVirtual; + unsigned __int64 ullAvailVirtual; + unsigned __int64 ullAvailExtendedVirtual; +}; + + +typedef TMyMemoryStatusEx *LPMEMORYSTATUSEX; + +struct DECLSPEC_DRECORD TOSVersionInfoEx +{ +public: + unsigned dwOSVersionInfoSize; + unsigned dwMajorVersion; + unsigned dwMinorVersion; + unsigned dwBuildNumber; + unsigned dwPlatformId; + System::StaticArray szCSDVersion; + System::Word wServicePackMajor; + System::Word wServicePackMinor; + System::Word wSuiteMask; + System::Byte wProductType; + System::Byte wReserved; +}; + + +struct DECLSPEC_DRECORD TDigitizerStatus +{ +public: + bool IntegratedTouch; + bool ExternalTouch; + bool IntegratedPen; + bool ExternalPen; + bool MultiInput; + bool Ready; +}; + + +typedef Winapi::Windows::PSingle *PPSingle; + +typedef System::WideChar Char16; + +typedef System::WideChar * PChar16; + +struct DECLSPEC_DRECORD TCefStringWide +{ +public: + System::WideChar *str; + System::NativeUInt length; + void __stdcall (*dtor)(System::WideChar * str); +}; + + +struct DECLSPEC_DRECORD TCefStringUtf8 +{ +public: + char *str; + System::NativeUInt length; + void __stdcall (*dtor)(char * str); +}; + + +struct DECLSPEC_DRECORD TCefStringUtf16 +{ +public: + PChar16 str; + System::NativeUInt length; + void __stdcall (*dtor)(PChar16 str); +}; + + +typedef TCefStringUtf16 TCefString; + +typedef PCefStringUtf16 PCefString; + +struct DECLSPEC_DRECORD TCefStringUserFreeWide +{ +public: + System::WideChar *str; + System::NativeUInt length; + void __stdcall (*dtor)(System::WideChar * str); +}; + + +struct DECLSPEC_DRECORD TCefStringUserFreeUtf8 +{ +public: + char *str; + System::NativeUInt length; + void __stdcall (*dtor)(char * str); +}; + + +struct DECLSPEC_DRECORD TCefStringUserFreeUtf16 +{ +public: + PChar16 str; + System::NativeUInt length; + void __stdcall (*dtor)(PChar16 str); +}; + + +typedef Char16 TCefChar; + +typedef PChar16 PCefChar; + +typedef TCefStringUserFreeUtf16 TCefStringUserFree; + +typedef PCefStringUserFreeUtf16 PCefStringUserFree; + +struct DECLSPEC_DRECORD TFileVersionInfo +{ +public: + System::UInt16 MajorVer; + System::UInt16 MinorVer; + System::UInt16 Release; + System::UInt16 Build; +}; + + +struct DECLSPEC_DRECORD TCefVersionInfo +{ +public: + int VersionMajor; + int VersionMinor; + int VersionPatch; + int CommitNumber; +}; + + +struct DECLSPEC_DRECORD TChromiumVersionInfo +{ +public: + int VersionMajor; + int VersionMinor; + int VersionBuild; + int VersionPatch; +}; + + +enum DECLSPEC_DENUM TCefCloseBrowserAction : unsigned int { cbaClose, cbaDelay, cbaCancel }; + +enum DECLSPEC_DENUM TCefProcessType : unsigned int { ptBrowser, ptRenderer, ptZygote, ptGPU, ptUtility, ptBroker, ptCrashpad, ptOther }; + +enum DECLSPEC_DENUM TCefCookiePref : unsigned int { cpDefault, cpAllow, cpBlock }; + +enum DECLSPEC_DENUM TCefBrowserNavigation : unsigned int { bnBack, bnForward, bnReload, bnReloadIgnoreCache, bnStopLoad }; + +enum DECLSPEC_DENUM TCefAplicationStatus : unsigned int { asLoading, asLoaded, asInitialized, asShuttingDown, asUnloaded, asErrorMissingFiles, asErrorDLLVersion, asErrorWindowsVersion, asErrorLoadingLibrary, asErrorInitializingLibrary, asErrorExecutingProcess }; + +enum DECLSPEC_DENUM TCefUIColorMode : unsigned int { uicmSystemDefault, uicmForceLight, uicmForceDark }; + +enum DECLSPEC_DENUM TCefProxyScheme : unsigned int { psHTTP, psSOCKS4, psSOCKS5 }; + +enum DECLSPEC_DENUM TSimulatedCefKeyEventType : unsigned int { ketKeyDown, ketKeyUp, ketRawKeyDown, ketChar }; + +enum DECLSPEC_DENUM TCefClearDataStorageTypes : unsigned int { cdstCookies, cdstFileSystems, cdstIndexeddb, cdstLocalStorage, cdstShaderCache, cdstWebsql, cdstServiceWorkers, cdstCacheStorage, cdstInterestGroups, cdstSharedStorage, cdstStorageBuckets, cdstAll, cdstOther }; + +enum DECLSPEC_DENUM TCefAutoplayPolicy : unsigned int { appDefault, appDocumentUserActivationRequired, appNoUserGestureRequired, appUserGestureRequired }; + +enum DECLSPEC_DENUM TCefWebRTCHandlingPolicy : unsigned int { hpDefault, hpDefaultPublicAndPrivateInterfaces, hpDefaultPublicInterfaceOnly, hpDisableNonProxiedUDP }; + +enum DECLSPEC_DENUM TCefNetLogCaptureMode : unsigned int { nlcmDefault, nlcmIncludeSensitive, nlcmEverything }; + +enum DECLSPEC_DENUM TCefBatterySaverModeState : unsigned int { bsmsDisabled, bsmsEnabledBelowThreshold, bsmsEnabledOnBattery, bsmsEnabled, bsmsDefault }; + +enum DECLSPEC_DENUM TCefHighEfficiencyModeState : unsigned int { kDisabled, kEnabled, kEnabledOnTimer, kDefault }; + +enum DECLSPEC_DENUM TCefLinuxDisplayServer : unsigned int { ldsX11, ldsWayland, ldsTTY, ldsUnknown }; + +enum DECLSPEC_DENUM TCEFDialogType : unsigned int { dtOpen, dtOpenMultiple, dtOpenFolder, dtSave }; + +enum DECLSPEC_DENUM TCefMediaType : unsigned int { mtCast, mtDial, mtUnknown }; + +struct DECLSPEC_DRECORD TCefMainArgs +{ +public: + Winapi::Windows::HINST instance; +}; + + +struct DECLSPEC_DRECORD TCefPoint +{ +public: + int x; + int y; +}; + + +struct DECLSPEC_DRECORD TCefRange +{ +public: + unsigned from; + unsigned to_; +}; + + +typedef System::DynamicArray TCefRangeArray; + +struct DECLSPEC_DRECORD TCefCursorInfo +{ +public: + TCefPoint hotspot; + float image_scale_factor; + void *buffer; + TCefSize size; +}; + + +struct DECLSPEC_DRECORD TCefLinuxWindowProperties +{ +public: + System::NativeUInt size; + TCefString wayland_app_id; + TCefString wm_class_class; + TCefString wm_class_name; + TCefString wm_role_name; +}; + + +struct DECLSPEC_DRECORD TLinuxWindowProperties +{ +public: + ustring wayland_app_id; + ustring wm_class_class; + ustring wm_class_name; + ustring wm_role_name; +}; + + +struct DECLSPEC_DRECORD TCefUrlParts +{ +public: + System::NativeUInt size; + TCefString spec; + TCefString scheme; + TCefString username; + TCefString password; + TCefString host; + TCefString port; + TCefString origin; + TCefString path; + TCefString query; + TCefString fragment; +}; + + +struct DECLSPEC_DRECORD TUrlParts +{ +public: + ustring spec; + ustring scheme; + ustring username; + ustring password; + ustring host; + ustring port; + ustring origin; + ustring path; + ustring query; + ustring fragment; +}; + + +struct DECLSPEC_DRECORD TCefInsets +{ +public: + int top; + int left; + int bottom; + int right; +}; + + +enum DECLSPEC_DENUM TCefState : unsigned int { STATE_DEFAULT, STATE_ENABLED, STATE_DISABLED }; + +enum DECLSPEC_DENUM TCefScaleFactor : unsigned int { SCALE_FACTOR_NONE, SCALE_FACTOR_100P, SCALE_FACTOR_125P, SCALE_FACTOR_133P, SCALE_FACTOR_140P, SCALE_FACTOR_150P, SCALE_FACTOR_180P, SCALE_FACTOR_200P, SCALE_FACTOR_250P, SCALE_FACTOR_300P, SCALE_FACTOR_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefValueType : unsigned int { VTYPE_INVALID, VTYPE_NULL, VTYPE_BOOL, VTYPE_INT, VTYPE_DOUBLE, VTYPE_STRING, VTYPE_BINARY, VTYPE_DICTIONARY, VTYPE_LIST, VTYPE_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefMediaSinkIconType : unsigned int { CEF_MSIT_CAST, CEF_MSIT_CAST_AUDIO_GROUP, CEF_MSIT_CAST_AUDIO, CEF_MSIT_MEETING, CEF_MSIT_HANGOUT, CEF_MSIT_EDUCATION, CEF_MSIT_WIRED_DISPLAY, CEF_MSIT_GENERIC, CEF_MSIT_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefReferrerPolicy : unsigned int { REFERRER_POLICY_CLEAR_REFERRER_ON_TRANSITION_FROM_SECURE_TO_INSECURE, REFERRER_POLICY_REDUCE_REFERRER_GRANULARITY_ON_TRANSITION_CROSS_ORIGIN, REFERRER_POLICY_ORIGIN_ONLY_ON_TRANSITION_CROSS_ORIGIN, REFERRER_POLICY_NEVER_CLEAR_REFERRER, REFERRER_POLICY_ORIGIN, REFERRER_POLICY_CLEAR_REFERRER_ON_TRANSITION_CROSS_ORIGIN, REFERRER_POLICY_ORIGIN_CLEAR_ON_TRANSITION_FROM_SECURE_TO_INSECURE, REFERRER_POLICY_NO_REFERRER, REFERRER_POLICY_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefPostDataElementType : unsigned int { PDE_TYPE_EMPTY, PDE_TYPE_BYTES, PDE_TYPE_FILE, PDE_TYPE_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefResourceType : unsigned int { RT_MAIN_FRAME, RT_SUB_FRAME, RT_STYLESHEET, RT_SCRIPT, RT_IMAGE, RT_FONT_RESOURCE, RT_SUB_RESOURCE, RT_OBJECT, RT_MEDIA, RT_WORKER, RT_SHARED_WORKER, RT_PREFETCH, RT_FAVICON, RT_XHR, RT_PING, RT_SERVICE_WORKER, RT_CSP_REPORT, RT_PLUGIN_RESOURCE, RT_EMPTY_FILLER_TYPE_DO_NOT_USE, RT_NAVIGATION_PRELOAD_MAIN_FRAME, RT_NAVIGATION_PRELOAD_SUB_FRAME, RT_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefDomDocumentType : unsigned int { DOM_DOCUMENT_TYPE_UNKNOWN, DOM_DOCUMENT_TYPE_HTML, DOM_DOCUMENT_TYPE_XHTML, DOM_DOCUMENT_TYPE_PLUGIN, DOM_DOCUMENT_TYPE_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefDomNodeType : unsigned int { DOM_NODE_TYPE_UNSUPPORTED, DOM_NODE_TYPE_ELEMENT, DOM_NODE_TYPE_ATTRIBUTE, DOM_NODE_TYPE_TEXT, DOM_NODE_TYPE_CDATA_SECTION, DOM_NODE_TYPE_PROCESSING_INSTRUCTIONS, DOM_NODE_TYPE_COMMENT, DOM_NODE_TYPE_DOCUMENT, DOM_NODE_TYPE_DOCUMENT_TYPE, DOM_NODE_TYPE_DOCUMENT_FRAGMENT, DOM_NODE_TYPE_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefDomFormControlType : unsigned int { DOM_FORM_CONTROL_TYPE_UNSUPPORTED, DOM_FORM_CONTROL_TYPE_BUTTON_BUTTON, DOM_FORM_CONTROL_TYPE_BUTTON_SUBMIT, DOM_FORM_CONTROL_TYPE_BUTTON_RESET, DOM_FORM_CONTROL_TYPE_BUTTON_POPOVER, DOM_FORM_CONTROL_TYPE_FIELDSET, DOM_FORM_CONTROL_TYPE_INPUT_BUTTON, DOM_FORM_CONTROL_TYPE_INPUT_CHECKBOX, DOM_FORM_CONTROL_TYPE_INPUT_COLOR, DOM_FORM_CONTROL_TYPE_INPUT_DATE, DOM_FORM_CONTROL_TYPE_INPUT_DATETIME_LOCAL, DOM_FORM_CONTROL_TYPE_INPUT_EMAIL, DOM_FORM_CONTROL_TYPE_INPUT_FILE, DOM_FORM_CONTROL_TYPE_INPUT_HIDDEN, DOM_FORM_CONTROL_TYPE_INPUT_IMAGE, DOM_FORM_CONTROL_TYPE_INPUT_MONTH, DOM_FORM_CONTROL_TYPE_INPUT_NUMBER, DOM_FORM_CONTROL_TYPE_INPUT_PASSWORD, DOM_FORM_CONTROL_TYPE_INPUT_RADIO, + DOM_FORM_CONTROL_TYPE_INPUT_RANGE, DOM_FORM_CONTROL_TYPE_INPUT_RESET, DOM_FORM_CONTROL_TYPE_INPUT_SEARCH, DOM_FORM_CONTROL_TYPE_INPUT_SUBMIT, DOM_FORM_CONTROL_TYPE_INPUT_TELEPHONE, DOM_FORM_CONTROL_TYPE_INPUT_TEXT, DOM_FORM_CONTROL_TYPE_INPUT_TIME, DOM_FORM_CONTROL_TYPE_INPUT_URL, DOM_FORM_CONTROL_TYPE_INPUT_WEEK, DOM_FORM_CONTROL_TYPE_OUTPUT, DOM_FORM_CONTROL_TYPE_SELECT_ONE, DOM_FORM_CONTROL_TYPE_SELECT_MULTIPLE, DOM_FORM_CONTROL_TYPE_TEXT_AREA, DOM_FORM_CONTROL_TYPE_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefContextMenuMediaType : unsigned int { CM_MEDIATYPE_NONE, CM_MEDIATYPE_IMAGE, CM_MEDIATYPE_VIDEO, CM_MEDIATYPE_AUDIO, CM_MEDIATYPE_CANVAS, CM_MEDIATYPE_FILE, CM_MEDIATYPE_PLUGIN, CM_MEDIATYPE_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefMenuItemType : unsigned int { MENUITEMTYPE_NONE, MENUITEMTYPE_COMMAND, MENUITEMTYPE_CHECK, MENUITEMTYPE_RADIO, MENUITEMTYPE_SEPARATOR, MENUITEMTYPE_SUBMENU }; + +enum DECLSPEC_DENUM TCefFocusSource : unsigned int { FOCUS_SOURCE_NAVIGATION, FOCUS_SOURCE_SYSTEM, FOCUS_SOURCE_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefJsDialogType : unsigned int { JSDIALOGTYPE_ALERT, JSDIALOGTYPE_CONFIRM, JSDIALOGTYPE_PROMPT, JSDIALOGTYPE_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefKeyEventType : unsigned int { KEYEVENT_RAWKEYDOWN, KEYEVENT_KEYDOWN, KEYEVENT_KEYUP, KEYEVENT_CHAR }; + +enum DECLSPEC_DENUM TCefWindowOpenDisposition : unsigned int { CEF_WOD_UNKNOWN, CEF_WOD_CURRENT_TAB, CEF_WOD_SINGLETON_TAB, CEF_WOD_NEW_FOREGROUND_TAB, CEF_WOD_NEW_BACKGROUND_TAB, CEF_WOD_NEW_POPUP, CEF_WOD_NEW_WINDOW, CEF_WOD_SAVE_TO_DISK, CEF_WOD_OFF_THE_RECORD, CEF_WOD_IGNORE_ACTION, CEF_WOD_SWITCH_TO_TAB, CEF_WOD_NEW_PICTURE_IN_PICTURE, CEF_WOD_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefTextInpuMode : unsigned int { CEF_TEXT_INPUT_MODE_DEFAULT, CEF_TEXT_INPUT_MODE_NONE, CEF_TEXT_INPUT_MODE_TEXT, CEF_TEXT_INPUT_MODE_TEL, CEF_TEXT_INPUT_MODE_URL, CEF_TEXT_INPUT_MODE_EMAIL, CEF_TEXT_INPUT_MODE_NUMERIC, CEF_TEXT_INPUT_MODE_DECIMAL, CEF_TEXT_INPUT_MODE_SEARCH, CEF_TEXT_INPUT_MODE_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefTouchEeventType : unsigned int { CEF_TET_RELEASED, CEF_TET_PRESSED, CEF_TET_MOVED, CEF_TET_CANCELLED }; + +enum DECLSPEC_DENUM TCefPointerType : unsigned int { CEF_POINTER_TYPE_TOUCH, CEF_POINTER_TYPE_MOUSE, CEF_POINTER_TYPE_PEN, CEF_POINTER_TYPE_ERASER, CEF_POINTER_TYPE_UNKNOWN }; + +enum DECLSPEC_DENUM TCefSimulatedTouchEventType : unsigned int { touchStart, touchEnd, touchMove, touchCancel }; + +enum DECLSPEC_DENUM TCefSimulatedMouseEventType : unsigned int { mousePressed, mouseReleased, mouseMoved, mouseWheel }; + +enum DECLSPEC_DENUM TCefSimulatedMouseButton : unsigned int { CEF_SIMULATEDMOUSEBUTTON_NONE, CEF_SIMULATEDMOUSEBUTTON_LEFT, CEF_SIMULATEDMOUSEBUTTON_MIDDLE, CEF_SIMULATEDMOUSEBUTTON_RIGHT, CEF_SIMULATEDMOUSEBUTTON_BACK, CEF_SIMULATEDMOUSEBUTTON_FORWARD }; + +enum DECLSPEC_DENUM TCefSimulatedPointerType : unsigned int { CEF_SIMULATEDPOINTERTYPE_MOUSE, CEF_SIMULATEDPOINTERTYPE_PEN }; + +enum DECLSPEC_DENUM TCefKeyLocation : unsigned int { CEF_KEYLOCATION_NONE, CEF_KEYLOCATION_LEFT, CEF_KEYLOCATION_RIGHT }; + +enum DECLSPEC_DENUM TCefEditingCommand : unsigned int { ecNone, ecAlignCenter, ecAlignJustified, ecAlignLeft, ecAlignRight, ecBackColor, ecBackwardDelete, ecBold, ecCopy, ecCreateLink, ecCut, ecDefaultParagraphSeparator, ecDelete, ecDeleteBackward, ecDeleteBackwardByDecomposingPreviousCharacter, ecDeleteForward, ecDeleteToBeginningOfLine, ecDeleteToBeginningOfParagraph, ecDeleteToEndOfLine, ecDeleteToEndOfParagraph, ecDeleteToMark, ecDeleteWordBackward, ecDeleteWordForward, ecFindString, ecFontName, ecFontSize, ecFontSizeDelta, ecForeColor, ecFormatBlock, ecForwardDelete, ecHiliteColor, ecIgnoreSpelling, ecIndent, ecInsertBacktab, ecInsertHorizontalRule, ecInsertHTML, ecInsertImage, ecInsertLineBreak, ecInsertNewline, ecInsertNewlineInQuotedContent, + ecInsertOrderedList, ecInsertParagraph, ecInsertTab, ecInsertText, ecInsertUnorderedList, ecItalic, ecJustifyCenter, ecJustifyFull, ecJustifyLeft, ecJustifyNone, ecJustifyRight, ecMakeTextWritingDirectionLeftToRight, ecMakeTextWritingDirectionNatural, ecMakeTextWritingDirectionRightToLeft, ecMoveBackward, ecMoveBackwardAndModifySelection, ecMoveDown, ecMoveDownAndModifySelection, ecMoveForward, ecMoveForwardAndModifySelection, ecMoveLeft, ecMoveLeftAndModifySelection, ecMovePageDown, ecMovePageDownAndModifySelection, ecMovePageUp, ecMovePageUpAndModifySelection, ecMoveParagraphBackward, ecMoveParagraphBackwardAndModifySelection, ecMoveParagraphForward, ecMoveParagraphForwardAndModifySelection, ecMoveRight, ecMoveRightAndModifySelection, + ecMoveToBeginningOfDocument, ecMoveToBeginningOfDocumentAndModifySelection, ecMoveToBeginningOfLine, ecMoveToBeginningOfLineAndModifySelection, ecMoveToBeginningOfParagraph, ecMoveToBeginningOfParagraphAndModifySelection, ecMoveToBeginningOfSentence, ecMoveToBeginningOfSentenceAndModifySelection, ecMoveToEndOfDocument, ecMoveToEndOfDocumentAndModifySelection, ecMoveToEndOfLine, ecMoveToEndOfLineAndModifySelection, ecMoveToEndOfParagraph, ecMoveToEndOfParagraphAndModifySelection, ecMoveToEndOfSentence, ecMoveToEndOfSentenceAndModifySelection, ecMoveToLeftEndOfLine, ecMoveToLeftEndOfLineAndModifySelection, ecMoveToRightEndOfLine, ecMoveToRightEndOfLineAndModifySelection, ecMoveUp, ecMoveUpAndModifySelection, ecMoveWordBackward, + ecMoveWordBackwardAndModifySelection, ecMoveWordForward, ecMoveWordForwardAndModifySelection, ecMoveWordLeft, ecMoveWordLeftAndModifySelection, ecMoveWordRight, ecMoveWordRightAndModifySelection, ecOutdent, ecOverWrite, ecPaste, ecPasteAndMatchStyle, ecPasteGlobalSelection, ecPrint, ecRedo, ecRemoveFormat, ecScrollLineDown, ecScrollLineUp, ecScrollPageBackward, ecScrollPageForward, ecScrollToBeginningOfDocument, ecScrollToEndOfDocument, ecSelectAll, ecSelectLine, ecSelectParagraph, ecSelectSentence, ecSelectToMark, ecSelectWord, ecSetMark, ecStrikethrough, ecStyleWithCSS, ecSubscript, ecSuperscript, ecSwapWithMark, ecToggleBold, ecToggleItalic, ecToggleUnderline, ecTranspose, ecUnderline, ecUndo, ecUnlink, ecUnscript, ecUnselect, ecUseCSS, ecYank, + ecYankAndSelect }; + +enum DECLSPEC_DENUM TCefChannelLayout : unsigned int { CEF_CHANNEL_LAYOUT_NONE, CEF_CHANNEL_LAYOUT_UNSUPPORTED, CEF_CHANNEL_LAYOUT_MONO, CEF_CHANNEL_LAYOUT_STEREO, CEF_CHANNEL_LAYOUT_2_1, CEF_CHANNEL_LAYOUT_SURROUND, CEF_CHANNEL_LAYOUT_4_0, CEF_CHANNEL_LAYOUT_2_2, CEF_CHANNEL_LAYOUT_QUAD, CEF_CHANNEL_LAYOUT_5_0, CEF_CHANNEL_LAYOUT_5_1, CEF_CHANNEL_LAYOUT_5_0_BACK, CEF_CHANNEL_LAYOUT_5_1_BACK, CEF_CHANNEL_LAYOUT_7_0, CEF_CHANNEL_LAYOUT_7_1, CEF_CHANNEL_LAYOUT_7_1_WIDE, CEF_CHANNEL_LAYOUT_STEREO_DOWNMIX, CEF_CHANNEL_LAYOUT_2POINT1, CEF_CHANNEL_LAYOUT_3_1, CEF_CHANNEL_LAYOUT_4_1, CEF_CHANNEL_LAYOUT_6_0, CEF_CHANNEL_LAYOUT_6_0_FRONT, CEF_CHANNEL_LAYOUT_HEXAGONAL, CEF_CHANNEL_LAYOUT_6_1, CEF_CHANNEL_LAYOUT_6_1_BACK, CEF_CHANNEL_LAYOUT_6_1_FRONT, + CEF_CHANNEL_LAYOUT_7_0_FRONT, CEF_CHANNEL_LAYOUT_7_1_WIDE_BACK, CEF_CHANNEL_LAYOUT_OCTAGONAL, CEF_CHANNEL_LAYOUT_DISCRETE, CEF_CHANNEL_LAYOUT_STEREO_AND_KEYBOARD_MIC, CEF_CHANNEL_LAYOUT_4_1_QUAD_SIDE, CEF_CHANNEL_LAYOUT_BITSTREAM, CEF_CHANNEL_LAYOUT_5_1_4_DOWNMIX, CEF_CHANNEL_LAYOUT_1_1, CEF_CHANNEL_LAYOUT_3_1_BACK, CEF_CHANNEL_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefCookieSameSite : unsigned int { CEF_COOKIE_SAME_SITE_UNSPECIFIED, CEF_COOKIE_SAME_SITE_NO_RESTRICTION, CEF_COOKIE_SAME_SITE_LAX_MODE, CEF_COOKIE_SAME_SITE_STRICT_MODE, CEF_COOKIE_SAME_SITE_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefPaintElementType : unsigned int { PET_VIEW, PET_POPUP }; + +enum DECLSPEC_DENUM TCefCursorType : unsigned int { CT_POINTER, CT_CROSS, CT_HAND, CT_IBEAM, CT_WAIT, CT_HELP, CT_EASTRESIZE, CT_NORTHRESIZE, CT_NORTHEASTRESIZE, CT_NORTHWESTRESIZE, CT_SOUTHRESIZE, CT_SOUTHEASTRESIZE, CT_SOUTHWESTRESIZE, CT_WESTRESIZE, CT_NORTHSOUTHRESIZE, CT_EASTWESTRESIZE, CT_NORTHEASTSOUTHWESTRESIZE, CT_NORTHWESTSOUTHEASTRESIZE, CT_COLUMNRESIZE, CT_ROWRESIZE, CT_MIDDLEPANNING, CT_EASTPANNING, CT_NORTHPANNING, CT_NORTHEASTPANNING, CT_NORTHWESTPANNING, CT_SOUTHPANNING, CT_SOUTHEASTPANNING, CT_SOUTHWESTPANNING, CT_WESTPANNING, CT_MOVE, CT_VERTICALTEXT, CT_CELL, CT_CONTEXTMENU, CT_ALIAS, CT_PROGRESS, CT_NODROP, CT_COPY, CT_NONE, CT_NOTALLOWED, CT_ZOOMIN, CT_ZOOMOUT, CT_GRAB, CT_GRABBING, CT_MIDDLE_PANNING_VERTICAL, + CT_MIDDLE_PANNING_HORIZONTAL, CT_CUSTOM, CT_DND_NONE, CT_DND_MOVE, CT_DND_COPY, CT_DND_LIN, CT_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefNavigationType : unsigned int { NAVIGATION_LINK_CLICKED, NAVIGATION_FORM_SUBMITTED, NAVIGATION_BACK_FORWARD, NAVIGATION_RELOAD, NAVIGATION_FORM_RESUBMITTED, NAVIGATION_OTHER, NAVIGATION_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefProcessId : unsigned int { PID_BROWSER, PID_RENDERER }; + +enum DECLSPEC_DENUM TCefThreadId : unsigned int { TID_UI, TID_FILE_BACKGROUND, TID_FILE_USER_VISIBLE, TID_FILE_USER_BLOCKING, TID_PROCESS_LAUNCHER, TID_IO, TID_RENDERER, TID_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefThreadPriority : unsigned int { TP_BACKGROUND, TP_NORMAL, TP_DISPLAY, TP_REALTIME_AUDIO, TP_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefMessageLoopType : unsigned int { ML_TYPE_DEFAULT, ML_TYPE_UI, ML_TYPE_IO, ML_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefCOMInitMode : unsigned int { COM_INIT_MODE_NONE, COM_INIT_MODE_STA, COM_INIT_MODE_MTA }; + +enum DECLSPEC_DENUM TCefMouseButtonType : unsigned int { MBT_LEFT, MBT_MIDDLE, MBT_RIGHT }; + +enum DECLSPEC_DENUM TCefReturnValue : unsigned int { RV_CANCEL, RV_CONTINUE, RV_CONTINUE_ASYNC }; + +enum DECLSPEC_DENUM TCefUrlRequestStatus : unsigned int { UR_UNKNOWN, UR_SUCCESS, UR_IO_PENDING, UR_CANCELED, UR_FAILED, UR_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefTerminationStatus : unsigned int { TS_ABNORMAL_TERMINATION, TS_PROCESS_WAS_KILLED, TS_PROCESS_CRASHED, TS_PROCESS_OOM, TS_LAUNCH_FAILED, TS_INTEGRITY_FAILURE, TS_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefPathKey : unsigned int { PK_DIR_CURRENT, PK_DIR_EXE, PK_DIR_MODULE, PK_DIR_TEMP, PK_FILE_EXE, PK_FILE_MODULE, PK_LOCAL_APP_DATA, PK_USER_DATA, PK_DIR_RESOURCES, PK_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefStorageType : unsigned int { ST_LOCALSTORAGE, ST_SESSIONSTORAGE }; + +enum DECLSPEC_DENUM TCefResponseFilterStatus : unsigned int { RESPONSE_FILTER_NEED_MORE_DATA, RESPONSE_FILTER_DONE, RESPONSE_FILTER_ERROR }; + +enum DECLSPEC_DENUM TCefAlphaType : unsigned int { CEF_ALPHA_TYPE_OPAQUE, CEF_ALPHA_TYPE_PREMULTIPLIED, CEF_ALPHA_TYPE_POSTMULTIPLIED }; + +enum DECLSPEC_DENUM TCefTextStyle : unsigned int { CEF_TEXT_STYLE_BOLD, CEF_TEXT_STYLE_ITALIC, CEF_TEXT_STYLE_STRIKE, CEF_TEXT_STYLE_DIAGONAL_STRIKE, CEF_TEXT_STYLE_UNDERLINE, CEF_TEXT_STYLE_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefAxisAlignment : unsigned int { CEF_AXIS_ALIGNMENT_START, CEF_AXIS_ALIGNMENT_CENTER, CEF_AXIS_ALIGNMENT_END, CEF_AXIS_ALIGNMENT_STRETCH, CEF_AXIS_ALIGNMENT_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefPdfPrintMarginType : unsigned int { PDF_PRINT_MARGIN_DEFAULT, PDF_PRINT_MARGIN_NONE, PDF_PRINT_MARGIN_CUSTOM }; + +enum DECLSPEC_DENUM TCefColorModel : unsigned int { COLOR_MODEL_UNKNOWN, COLOR_MODEL_GRAY, COLOR_MODEL_COLOR, COLOR_MODEL_CMYK, COLOR_MODEL_CMY, COLOR_MODEL_KCMY, COLOR_MODEL_CMY_K, COLOR_MODEL_BLACK, COLOR_MODEL_GRAYSCALE, COLOR_MODEL_RGB, COLOR_MODEL_RGB16, COLOR_MODEL_RGBA, COLOR_MODEL_COLORMODE_COLOR, COLOR_MODEL_COLORMODE_MONOCHROME, COLOR_MODEL_HP_COLOR_COLOR, COLOR_MODEL_HP_COLOR_BLACK, COLOR_MODEL_PRINTOUTMODE_NORMAL, COLOR_MODEL_PRINTOUTMODE_NORMAL_GRAY, COLOR_MODEL_PROCESSCOLORMODEL_CMYK, COLOR_MODEL_PROCESSCOLORMODEL_GREYSCALE, COLOR_MODEL_PROCESSCOLORMODEL_RGB, COLOR_MODEL_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefJsonParserOptions : unsigned int { JSON_PARSER_RFC, JSON_PARSER_ALLOW_TRAILING_COMMAS }; + +enum DECLSPEC_DENUM TCefXmlEncodingType : unsigned int { XML_ENCODING_NONE, XML_ENCODING_UTF8, XML_ENCODING_UTF16LE, XML_ENCODING_UTF16BE, XML_ENCODING_ASCII, XML_ENCODING_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefXmlNodeType : unsigned int { XML_NODE_UNSUPPORTED, XML_NODE_PROCESSING_INSTRUCTION, XML_NODE_DOCUMENT_TYPE, XML_NODE_ELEMENT_START, XML_NODE_ELEMENT_END, XML_NODE_ATTRIBUTE, XML_NODE_TEXT, XML_NODE_CDATA, XML_NODE_ENTITY_REFERENCE, XML_NODE_WHITESPACE, XML_NODE_COMMENT, XML_NODE_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefDomEventPhase : unsigned int { DOM_EVENT_PHASE_UNKNOWN, DOM_EVENT_PHASE_CAPTURING, DOM_EVENT_PHASE_AT_TARGET, DOM_EVENT_PHASE_BUBBLING, DOM_EVENT_PHASE_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefButtonState : unsigned int { CEF_BUTTON_STATE_NORMAL, CEF_BUTTON_STATE_HOVERED, CEF_BUTTON_STATE_PRESSED, CEF_BUTTON_STATE_DISABLED, CEF_BUTTON_STATE_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefHorizontalAlignment : unsigned int { CEF_HORIZONTAL_ALIGNMENT_LEFT, CEF_HORIZONTAL_ALIGNMENT_CENTER, CEF_HORIZONTAL_ALIGNMENT_RIGHT }; + +enum DECLSPEC_DENUM TCefMenuAnchorPosition : unsigned int { CEF_MENU_ANCHOR_TOPLEFT, CEF_MENU_ANCHOR_TOPRIGHT, CEF_MENU_ANCHOR_BOTTOMCENTER, CEF_MENU_ANCHOR_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefMenuColorType : unsigned int { CEF_MENU_COLOR_TEXT, CEF_MENU_COLOR_TEXT_HOVERED, CEF_MENU_COLOR_TEXT_ACCELERATOR, CEF_MENU_COLOR_TEXT_ACCELERATOR_HOVERED, CEF_MENU_COLOR_BACKGROUND, CEF_MENU_COLOR_BACKGROUND_HOVERED, CEF_MENU_COLOR_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefCompositionUnderlineStyle : unsigned int { CEF_CUS_SOLID, CEF_CUS_DOT, CEF_CUS_DASH, CEF_CUS_NONE, CEF_CUS_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefPermissionRequestResult : unsigned int { CEF_PERMISSION_RESULT_ACCEPT, CEF_PERMISSION_RESULT_DENY, CEF_PERMISSION_RESULT_DISMISS, CEF_PERMISSION_RESULT_IGNORE, CEF_PERMISSION_RESULT_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefPreferencesType : unsigned int { CEF_PREFERENCES_TYPE_GLOBAL, CEF_PREFERENCES_TYPE_REQUEST_CONTEXT, CEF_PREFERENCES_TYPE_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefGestureCommand : unsigned int { CEF_GESTURE_COMMAND_BACK, CEF_GESTURE_COMMAND_FORWARD }; + +enum DECLSPEC_DENUM TCefZoomCommand : unsigned int { CEF_ZOOM_COMMAND_OUT, CEF_ZOOM_COMMAND_RESET, CEF_ZOOM_COMMAND_IN }; + +enum DECLSPEC_DENUM TCefColorVariant : unsigned int { CEF_COLOR_VARIANT_SYSTEM, CEF_COLOR_VARIANT_LIGHT, CEF_COLOR_VARIANT_DARK, CEF_COLOR_VARIANT_TONAL_SPOT, CEF_COLOR_VARIANT_NEUTRAL, CEF_COLOR_VARIANT_VIBRANT, CEF_COLOR_VARIANT_EXPRESSIVE, CEF_COLOR_VARIANT_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefTestCertType : unsigned int { CEF_TEST_CERT_OK_IP, CEF_TEST_CERT_OK_DOMAIN, CEF_TEST_CERT_EXPIRED, CEF_TEST_CERT_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefChromePageActionIconType : unsigned int { CEF_CPAIT_BOOKMARK_STAR, CEF_CPAIT_CLICK_TO_CALL, CEF_CPAIT_COOKIE_CONTROLS, CEF_CPAIT_FILE_SYSTEM_ACCESS, CEF_CPAIT_FIND, CEF_CPAIT_MEMORY_SAVER, CEF_CPAIT_INTENT_PICKER, CEF_CPAIT_LOCAL_CARD_MIGRATION, CEF_CPAIT_MANAGE_PASSWORDS, CEF_CPAIT_PAYMENTS_OFFER_NOTIFICATION, CEF_CPAIT_PRICE_TRACKING, CEF_CPAIT_PWA_INSTALL, CEF_CPAIT_QR_CODE_GENERATOR_DEPRECATED, CEF_CPAIT_READER_MODE_DEPRECATED, CEF_CPAIT_SAVE_AUTOFILL_ADDRESS, CEF_CPAIT_SAVE_CARD, CEF_CPAIT_SEND_TAB_TO_SELF_DEPRECATED, CEF_CPAIT_SHARING_HUB, CEF_CPAIT_SIDE_SEARCH_DEPRECATED, CEF_CPAIT_SMS_REMOTE_FETCHER, CEF_CPAIT_TRANSLATE, CEF_CPAIT_VIRTUAL_CARD_ENROLL, CEF_CPAIT_VIRTUAL_CARD_INFORMATION, CEF_CPAIT_ZOOM, CEF_CPAIT_SAVE_IBAN, + CEF_CPAIT_MANDATORY_REAUTH, CEF_CPAIT_PRICE_INSIGHTS, CEF_CPAIT_READ_ANYTHING_DEPRECATED, CEF_CPAIT_PRODUCT_SPECIFICATIONS, CEF_CPAIT_LENS_OVERLAY, CEF_CPAIT_DISCOUNTS, CEF_CPAIT_OPTIMIZATION_GUIDE, CEF_CPAIT_COLLABORATION_MESSAGING, CEF_CPAIT_CHANGE_PASSWORD, CEF_CPAIT_LENS_OVERLAY_HOMEWORK, CEF_CPAIT_AI_MODE, CEF_CPAIT_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefTaskType : unsigned int { CEF_TASK_TYPE_UNKNOWN, CEF_TASK_TYPE_BROWSER, CEF_TASK_TYPE_GPU, CEF_TASK_TYPE_ZYGOTE, CEF_TASK_TYPE_UTILITY, CEF_TASK_TYPE_RENDERER, CEF_TASK_TYPE_EXTENSION, CEF_TASK_TYPE_GUEST, CEF_TASK_TYPE_PLUGIN_DEPRECATED, CEF_TASK_TYPE_SANDBOX_HELPER, CEF_TASK_TYPE_DEDICATED_WORKER, CEF_TASK_TYPE_SHARED_WORKER, CEF_TASK_TYPE_SERVICE_WORKER, CEF_TASK_TYPE_NUM_VALUES }; + +struct DECLSPEC_DRECORD TCefTaskInfo +{ +public: + System::NativeUInt size; + __int64 id; + TCefTaskType type_; + int is_killable; + TCefString title; + double cpu_usage; + int number_of_processors; + __int64 memory; + __int64 gpu_memory; + int is_gpu_memory_inflated; +}; + + +struct DECLSPEC_DRECORD TCustomTaskInfo +{ +public: + __int64 id; + TCefTaskType type_; + bool is_killable; + ustring title; + double cpu_usage; + int number_of_processors; + __int64 memory; + __int64 gpu_memory; + bool is_gpu_memory_inflated; +}; + + +enum DECLSPEC_DENUM TCefChromeToolbarButtonType : unsigned int { CEF_CTBT_CAST_DEPRECATED, CEF_CTBT_DOWNLOAD_DEPRECATED, CEF_CTBT_SEND_TAB_TO_SELF_DEPRECATED, CEF_CTBT_SIDE_PANEL_DEPRECATED, CEF_CTBT_MEDIA, CEF_CTBT_TAB_SEARCH, CEF_CTBT_BATTERY_SAVER, CEF_CTBT_AVATAR, CEF_CTBT_NUM_VALUES }; + +struct DECLSPEC_DRECORD TCefTouchHandleState +{ +public: + System::NativeUInt size; + int touch_handle_id; + unsigned flags; + int enabled; + TCefHorizontalAlignment orientation; + int mirror_vertical; + int mirror_horizontal; + TCefPoint origin; + float alpha; +}; + + +struct DECLSPEC_DRECORD TCefCompositionUnderline +{ +public: + System::NativeUInt size; + TCefRange range; + TCefColor color; + TCefColor background_color; + int thick; + TCefCompositionUnderlineStyle style; +}; + + +typedef System::DynamicArray TCefCompositionUnderlineDynArray; + +struct DECLSPEC_DRECORD TCefTime +{ +public: + int year; + int month; + int day_of_week; + int day_of_month; + int hour; + int minute; + int second; + int millisecond; +}; + + +struct DECLSPEC_DRECORD TCefBoxLayoutSettings +{ +public: + System::NativeUInt size; + int horizontal; + int inside_border_horizontal_spacing; + int inside_border_vertical_spacing; + TCefInsets inside_border_insets; + int between_child_spacing; + TCefAxisAlignment main_axis_alignment; + TCefAxisAlignment cross_axis_alignment; + int minimum_cross_axis_size; + int default_flex; +}; + + +struct DECLSPEC_DRECORD TCefSettings +{ +public: + System::NativeUInt size; + int no_sandbox; + TCefString browser_subprocess_path; + TCefString framework_dir_path; + TCefString main_bundle_path; + int multi_threaded_message_loop; + int external_message_pump; + int windowless_rendering_enabled; + int command_line_args_disabled; + TCefString cache_path; + TCefString root_cache_path; + int persist_session_cookies; + TCefString user_agent; + TCefString user_agent_product; + TCefString locale; + TCefString log_file; + TCefLogSeverity log_severity; + TCefLogItems log_items; + TCefString javascript_flags; + TCefString resources_dir_path; + TCefString locales_dir_path; + int remote_debugging_port; + int uncaught_exception_stack_size; + TCefColor background_color; + TCefString accept_language_list; + TCefString cookieable_schemes_list; + int cookieable_schemes_exclude_defaults; + TCefString chrome_policy_id; + int chrome_app_icon_id; + int disable_signal_handlers; +}; + + +enum DECLSPEC_DENUM TCefRuntimeStyle : unsigned int { CEF_RUNTIME_STYLE_DEFAULT, CEF_RUNTIME_STYLE_CHROME, CEF_RUNTIME_STYLE_ALLOY }; + +struct DECLSPEC_DRECORD TCefWindowInfo +{ +public: + System::NativeUInt size; + unsigned ex_style; + TCefString window_name; + unsigned style; + TCefRect bounds; + TCefWindowHandle parent_window; + HMENU menu; + int windowless_rendering_enabled; + int shared_texture_enabled; + int external_begin_frame_enabled; + TCefWindowHandle window; + TCefRuntimeStyle runtime_style; +}; + + +struct DECLSPEC_DRECORD TCefDraggableRegion +{ +public: + TCefRect bounds; + int draggable; +}; + + +struct DECLSPEC_DRECORD TCefKeyEvent +{ +public: + System::NativeUInt size; + TCefKeyEventType kind; + TCefEventFlags modifiers; + int windows_key_code; + int native_key_code; + int is_system_key; + System::WideChar character; + System::WideChar unmodified_character; + int focus_on_editable_field; +}; + + +struct DECLSPEC_DRECORD TCefPopupFeatures +{ +public: + System::NativeUInt size; + int x; + int xSet; + int y; + int ySet; + int width; + int widthSet; + int height; + int heightSet; + int isPopup; +}; + + +struct DECLSPEC_DRECORD TCefBrowserSettings +{ +public: + System::NativeUInt size; + int windowless_frame_rate; + TCefString standard_font_family; + TCefString fixed_font_family; + TCefString serif_font_family; + TCefString sans_serif_font_family; + TCefString cursive_font_family; + TCefString fantasy_font_family; + int default_font_size; + int default_fixed_font_size; + int minimum_font_size; + int minimum_logical_font_size; + TCefString default_encoding; + TCefState remote_fonts; + TCefState javascript; + TCefState javascript_close_windows; + TCefState javascript_access_clipboard; + TCefState javascript_dom_paste; + TCefState image_loading; + TCefState image_shrink_standalone_to_fit; + TCefState text_area_resize; + TCefState tab_to_links; + TCefState local_storage; + TCefState databases_deprecated; + TCefState webgl; + TCefColor background_color; + TCefState chrome_status_bubble; + TCefState chrome_zoom_bubble; +}; + + +struct DECLSPEC_DRECORD TCefScreenInfo +{ +public: + System::NativeUInt size; + float device_scale_factor; + int depth; + int depth_per_component; + int is_monochrome; + TCefRect rect; + TCefRect available_rect; +}; + + +struct DECLSPEC_DRECORD TCefRequestContextSettings +{ +public: + System::NativeUInt size; + TCefString cache_path; + int persist_session_cookies; + TCefString accept_language_list; + TCefString cookieable_schemes_list; + int cookieable_schemes_exclude_defaults; +}; + + +struct DECLSPEC_DRECORD TCefCookie +{ +public: + System::NativeUInt size; + TCefString name; + TCefString value; + TCefString domain; + TCefString path; + int secure; + int httponly; + TCefBaseTime creation; + TCefBaseTime last_access; + int has_expires; + TCefBaseTime expires; + TCefCookieSameSite same_site; + TCefCookiePriority priority; +}; + + +struct DECLSPEC_DRECORD TCookie +{ +public: + ustring name; + ustring value; + ustring domain; + ustring path; + System::TDateTime creation; + System::TDateTime last_access; + System::TDateTime expires; + bool secure; + bool httponly; + bool has_expires; + TCefCookieSameSite same_site; + TCefCookiePriority priority; +}; + + +struct DECLSPEC_DRECORD TCefPdfPrintSettings +{ +public: + System::NativeUInt size; + int landscape; + int print_background; + double scale; + double paper_width; + double paper_height; + int prefer_css_page_size; + TCefPdfPrintMarginType margin_type; + double margin_top; + double margin_right; + double margin_bottom; + double margin_left; + TCefString page_ranges; + int display_header_footer; + TCefString header_template; + TCefString footer_template; + int generate_tagged_pdf; + int generate_document_outline; +}; + + +struct DECLSPEC_DRECORD TCefMouseEvent +{ +public: + int x; + int y; + TCefEventFlags modifiers; +}; + + +struct DECLSPEC_DRECORD TCefTouchEvent +{ +public: + int id; + float x; + float y; + float radius_x; + float radius_y; + float rotation_angle; + float pressure; + TCefTouchEeventType type_; + TCefEventFlags modifiers; + TCefPointerType pointer_type; +}; + + +struct DECLSPEC_DRECORD TCefSimulatedTouchPoint +{ +public: + int id; + int x; + int y; + float radiusX; + float radiusY; + float rotationAngle; + float force; + float tangentialPressure; + int tiltX; + int tiltY; + int twist; +}; + + +typedef System::DynamicArray TCefSimulatedTouchPointArray; + +struct DECLSPEC_DRECORD TCefAudioParameters +{ +public: + System::NativeUInt size; + TCefChannelLayout channel_layout; + int sample_rate; + int frames_per_buffer; +}; + + +struct DECLSPEC_DRECORD TCefMediaSinkDeviceInfo +{ +public: + System::NativeUInt size; + TCefString ip_address; + int port; + TCefString model_name; +}; + + +enum DECLSPEC_DENUM TCefContentSettingTypes : unsigned int { CEF_CONTENT_SETTING_TYPE_COOKIES, CEF_CONTENT_SETTING_TYPE_IMAGES, CEF_CONTENT_SETTING_TYPE_JAVASCRIPT, CEF_CONTENT_SETTING_TYPE_POPUPS, CEF_CONTENT_SETTING_TYPE_GEOLOCATION, CEF_CONTENT_SETTING_TYPE_NOTIFICATIONS, CEF_CONTENT_SETTING_TYPE_AUTO_SELECT_CERTIFICATE, CEF_CONTENT_SETTING_TYPE_MIXEDSCRIPT, CEF_CONTENT_SETTING_TYPE_MEDIASTREAM_MIC, CEF_CONTENT_SETTING_TYPE_MEDIASTREAM_CAMERA, CEF_CONTENT_SETTING_TYPE_PROTOCOL_HANDLERS, CEF_CONTENT_SETTING_TYPE_DEPRECATED_PPAPI_BROKER, CEF_CONTENT_SETTING_TYPE_AUTOMATIC_DOWNLOADS, CEF_CONTENT_SETTING_TYPE_MIDI_SYSEX, CEF_CONTENT_SETTING_TYPE_SSL_CERT_DECISIONS, CEF_CONTENT_SETTING_TYPE_PROTECTED_MEDIA_IDENTIFIER, CEF_CONTENT_SETTING_TYPE_APP_BANNER, + CEF_CONTENT_SETTING_TYPE_SITE_ENGAGEMENT, CEF_CONTENT_SETTING_TYPE_DURABLE_STORAGE, CEF_CONTENT_SETTING_TYPE_USB_CHOOSER_DATA, CEF_CONTENT_SETTING_TYPE_BLUETOOTH_GUARD, CEF_CONTENT_SETTING_TYPE_BACKGROUND_SYNC, CEF_CONTENT_SETTING_TYPE_AUTOPLAY, CEF_CONTENT_SETTING_TYPE_IMPORTANT_SITE_INFO, CEF_CONTENT_SETTING_TYPE_PERMISSION_AUTOBLOCKER_DATA, CEF_CONTENT_SETTING_TYPE_ADS, CEF_CONTENT_SETTING_TYPE_ADS_DATA, CEF_CONTENT_SETTING_TYPE_MIDI, CEF_CONTENT_SETTING_TYPE_PASSWORD_PROTECTION, CEF_CONTENT_SETTING_TYPE_MEDIA_ENGAGEMENT, CEF_CONTENT_SETTING_TYPE_SOUND, CEF_CONTENT_SETTING_TYPE_CLIENT_HINTS, CEF_CONTENT_SETTING_TYPE_SENSORS, CEF_CONTENT_SETTING_TYPE_DEPRECATED_ACCESSIBILITY_EVENTS, CEF_CONTENT_SETTING_TYPE_PAYMENT_HANDLER, + CEF_CONTENT_SETTING_TYPE_USB_GUARD, CEF_CONTENT_SETTING_TYPE_BACKGROUND_FETCH, CEF_CONTENT_SETTING_TYPE_INTENT_PICKER_DISPLAY, CEF_CONTENT_SETTING_TYPE_IDLE_DETECTION, CEF_CONTENT_SETTING_TYPE_SERIAL_GUARD, CEF_CONTENT_SETTING_TYPE_SERIAL_CHOOSER_DATA, CEF_CONTENT_SETTING_TYPE_PERIODIC_BACKGROUND_SYNC, CEF_CONTENT_SETTING_TYPE_BLUETOOTH_SCANNING, CEF_CONTENT_SETTING_TYPE_HID_GUARD, CEF_CONTENT_SETTING_TYPE_HID_CHOOSER_DATA, CEF_CONTENT_SETTING_TYPE_WAKE_LOCK_SCREEN, CEF_CONTENT_SETTING_TYPE_WAKE_LOCK_SYSTEM, CEF_CONTENT_SETTING_TYPE_LEGACY_COOKIE_ACCESS, CEF_CONTENT_SETTING_TYPE_FILE_SYSTEM_WRITE_GUARD, CEF_CONTENT_SETTING_TYPE_NFC, CEF_CONTENT_SETTING_TYPE_BLUETOOTH_CHOOSER_DATA, CEF_CONTENT_SETTING_TYPE_CLIPBOARD_READ_WRITE, + CEF_CONTENT_SETTING_TYPE_CLIPBOARD_SANITIZED_WRITE, CEF_CONTENT_SETTING_TYPE_SAFE_BROWSING_URL_CHECK_DATA, CEF_CONTENT_SETTING_TYPE_VR, CEF_CONTENT_SETTING_TYPE_AR, CEF_CONTENT_SETTING_TYPE_FILE_SYSTEM_READ_GUARD, CEF_CONTENT_SETTING_TYPE_STORAGE_ACCESS, CEF_CONTENT_SETTING_TYPE_CAMERA_PAN_TILT_ZOOM, CEF_CONTENT_SETTING_TYPE_WINDOW_MANAGEMENT, CEF_CONTENT_SETTING_TYPE_INSECURE_PRIVATE_NETWORK_DEPRECATED, CEF_CONTENT_SETTING_TYPE_LOCAL_FONTS, CEF_CONTENT_SETTING_TYPE_PERMISSION_AUTOREVOCATION_DATA, CEF_CONTENT_SETTING_TYPE_FILE_SYSTEM_LAST_PICKED_DIRECTORY, CEF_CONTENT_SETTING_TYPE_DISPLAY_CAPTURE, CEF_CONTENT_SETTING_TYPE_FILE_SYSTEM_ACCESS_CHOOSER_DATA, CEF_CONTENT_SETTING_TYPE_FEDERATED_IDENTITY_SHARING, CEF_CONTENT_SETTING_TYPE_JAVASCRIPT_JIT, + CEF_CONTENT_SETTING_TYPE_HTTP_ALLOWED, CEF_CONTENT_SETTING_TYPE_FORMFILL_METADATA, CEF_CONTENT_SETTING_TYPE_DEPRECATED_FEDERATED_IDENTITY_ACTIVE_SESSION, CEF_CONTENT_SETTING_TYPE_AUTO_DARK_WEB_CONTENT, CEF_CONTENT_SETTING_TYPE_REQUEST_DESKTOP_SITE, CEF_CONTENT_SETTING_TYPE_FEDERATED_IDENTITY_API, CEF_CONTENT_SETTING_TYPE_NOTIFICATION_INTERACTIONS, CEF_CONTENT_SETTING_TYPE_REDUCED_ACCEPT_LANGUAGE, CEF_CONTENT_SETTING_TYPE_NOTIFICATION_PERMISSION_REVIEW, CEF_CONTENT_SETTING_TYPE_PRIVATE_NETWORK_GUARD_DEPRECATED, CEF_CONTENT_SETTING_TYPE_PRIVATE_NETWORK_CHOOSER_DATA_DEPRECATED, CEF_CONTENT_SETTING_TYPE_FEDERATED_IDENTITY_IDENTITY_PROVIDER_SIGNIN_STATUS, CEF_CONTENT_SETTING_TYPE_REVOKED_UNUSED_SITE_PERMISSIONS, CEF_CONTENT_SETTING_TYPE_TOP_LEVEL_STORAGE_ACCESS, + CEF_CONTENT_SETTING_TYPE_FEDERATED_IDENTITY_AUTO_REAUTHN_PERMISSION, CEF_CONTENT_SETTING_TYPE_FEDERATED_IDENTITY_IDENTITY_PROVIDER_REGISTRATION, CEF_CONTENT_SETTING_TYPE_ANTI_ABUSE, CEF_CONTENT_SETTING_TYPE_THIRD_PARTY_STORAGE_PARTITIONING, CEF_CONTENT_SETTING_TYPE_HTTPS_ENFORCED, CEF_CONTENT_SETTING_TYPE_ALL_SCREEN_CAPTURE, CEF_CONTENT_SETTING_TYPE_COOKIE_CONTROLS_METADATA, CEF_CONTENT_SETTING_TYPE_TPCD_HEURISTICS_GRANTS, CEF_CONTENT_SETTING_TYPE_TPCD_METADATA_GRANTS, CEF_CONTENT_SETTING_TYPE_TPCD_TRIAL, CEF_CONTENT_SETTING_TYPE_TOP_LEVEL_TPCD_TRIAL, CEF_CONTENT_SETTING_TYPE_TOP_LEVEL_TPCD_ORIGIN_TRIAL, CEF_CONTENT_SETTING_TYPE_AUTO_PICTURE_IN_PICTURE, CEF_CONTENT_SETTING_TYPE_FILE_SYSTEM_ACCESS_EXTENDED_PERMISSION, + CEF_CONTENT_SETTING_TYPE_FILE_SYSTEM_ACCESS_RESTORE_PERMISSION, CEF_CONTENT_SETTING_TYPE_CAPTURED_SURFACE_CONTROL, CEF_CONTENT_SETTING_TYPE_SMART_CARD_GUARD, CEF_CONTENT_SETTING_TYPE_SMART_CARD_DATA, CEF_CONTENT_SETTING_TYPE_WEB_PRINTING, CEF_CONTENT_SETTING_TYPE_AUTOMATIC_FULLSCREEN, CEF_CONTENT_SETTING_TYPE_SUB_APP_INSTALLATION_PROMPTS, CEF_CONTENT_SETTING_TYPE_SPEAKER_SELECTION, CEF_CONTENT_SETTING_TYPE_DIRECT_SOCKETS, CEF_CONTENT_SETTING_TYPE_KEYBOARD_LOCK, CEF_CONTENT_SETTING_TYPE_POINTER_LOCK, CEF_CONTENT_SETTING_TYPE_REVOKED_ABUSIVE_NOTIFICATION_PERMISSIONS, CEF_CONTENT_SETTING_TYPE_TRACKING_PROTECTION, CEF_CONTENT_SETTING_TYPE_DISPLAY_MEDIA_SYSTEM_AUDIO, CEF_CONTENT_SETTING_TYPE_JAVASCRIPT_OPTIMIZER, + CEF_CONTENT_SETTING_TYPE_STORAGE_ACCESS_HEADER_ORIGIN_TRIAL, CEF_CONTENT_SETTING_TYPE_HAND_TRACKING, CEF_CONTENT_SETTING_TYPE_WEB_APP_INSTALLATION, CEF_CONTENT_SETTING_TYPE_DIRECT_SOCKETS_PRIVATE_NETWORK_ACCESS, CEF_CONTENT_SETTING_TYPE_LEGACY_COOKIE_SCOPE, CEF_CONTENT_SETTING_TYPE_ARE_SUSPICIOUS_NOTIFICATIONS_ALLOWLISTED_BY_USER, CEF_CONTENT_SETTING_TYPE_CONTROLLED_FRAME, CEF_CONTENT_SETTING_TYPE_REVOKED_DISRUPTIVE_NOTIFICATION_PERMISSIONS, CEF_CONTENT_SETTING_TYPE_LOCAL_NETWORK_ACCESS, CEF_CONTENT_SETTING_TYPE_ON_DEVICE_SPEECH_RECOGNITION_LANGUAGES_DOWNLOADED, CEF_CONTENT_SETTING_TYPE_INITIALIZED_TRANSLATIONS, CEF_CONTENT_SETTING_TYPE_SUSPICIOUS_NOTIFICATION_IDS, CEF_CONTENT_SETTING_TYPE_GEOLOCATION_WITH_OPTIONS, CEF_CONTENT_SETTING_TYPE_DEVICE_ATTRIBUTES, + CEF_CONTENT_SETTING_TYPE_PERMISSION_ACTIONS_HISTORY, CEF_CONTENT_SETTING_TYPE_SUSPICIOUS_NOTIFICATION_SHOW_ORIGINAL, CEF_CONTENT_SETTING_TYPE_NUM_VALUES }; + +enum DECLSPEC_DENUM TCefContentSettingValues : unsigned int { CEF_CONTENT_SETTING_VALUE_DEFAULT, CEF_CONTENT_SETTING_VALUE_ALLOW, CEF_CONTENT_SETTING_VALUE_BLOCK, CEF_CONTENT_SETTING_VALUE_ASK, CEF_CONTENT_SETTING_VALUE_SESSION_ONLY, CEF_CONTENT_SETTING_VALUE_DETECT_IMPORTANT_CONTENT_DEPRECATED, CEF_CONTENT_SETTING_VALUE_NUM_VALUES }; + +struct DECLSPEC_DRECORD TCefBaseRefCounted +{ +public: + System::NativeUInt size; + void __stdcall (*add_ref)(PCefBaseRefCounted self); + int __stdcall (*release)(PCefBaseRefCounted self); + int __stdcall (*has_one_ref)(PCefBaseRefCounted self); + int __stdcall (*has_at_least_one_ref)(PCefBaseRefCounted self); +}; + + +struct DECLSPEC_DRECORD TCefBaseScoped +{ +public: + System::NativeUInt size; + void __stdcall (*del)(PCefBaseScoped self); +}; + + +struct DECLSPEC_DRECORD TCefStreamWriter +{ +public: + TCefBaseRefCounted base; + unsigned __stdcall (*write)(PCefStreamWriter self, const void * ptr, System::NativeUInt size, System::NativeUInt n); + int __stdcall (*seek)(PCefStreamWriter self, __int64 offset, int whence); + __int64 __stdcall (*tell)(PCefStreamWriter self); + int __stdcall (*flush)(PCefStreamWriter self); + int __stdcall (*may_block)(PCefStreamWriter self); +}; + + +struct DECLSPEC_DRECORD TCefX509CertPrincipal +{ +public: + TCefBaseRefCounted base; + PCefStringUserFreeUtf16 __stdcall (*get_display_name)(PCefX509CertPrincipal self); + PCefStringUserFreeUtf16 __stdcall (*get_common_name)(PCefX509CertPrincipal self); + PCefStringUserFreeUtf16 __stdcall (*get_locality_name)(PCefX509CertPrincipal self); + PCefStringUserFreeUtf16 __stdcall (*get_state_or_province_name)(PCefX509CertPrincipal self); + PCefStringUserFreeUtf16 __stdcall (*get_country_name)(PCefX509CertPrincipal self); + void __stdcall (*get_organization_names)(PCefX509CertPrincipal self, TCefStringList names); + void __stdcall (*get_organization_unit_names)(PCefX509CertPrincipal self, TCefStringList names); +}; + + +struct DECLSPEC_DRECORD TCefX509Certificate +{ +public: + TCefBaseRefCounted base; + PCefX509CertPrincipal __stdcall (*get_subject)(PCefX509Certificate self); + PCefX509CertPrincipal __stdcall (*get_issuer)(PCefX509Certificate self); + PCefBinaryValue __stdcall (*get_serial_number)(PCefX509Certificate self); + TCefBaseTime __stdcall (*get_valid_start)(PCefX509Certificate self); + TCefBaseTime __stdcall (*get_valid_expiry)(PCefX509Certificate self); + PCefBinaryValue __stdcall (*get_derencoded)(PCefX509Certificate self); + PCefBinaryValue __stdcall (*get_pemencoded)(PCefX509Certificate self); + unsigned __stdcall (*get_issuer_chain_size)(PCefX509Certificate self); + void __stdcall (*get_derencoded_issuer_chain)(PCefX509Certificate self, System::NativeUInt &chainCount, PCefBinaryValue &chain); + void __stdcall (*get_pemencoded_issuer_chain)(PCefX509Certificate self, System::NativeUInt &chainCount, PCefBinaryValue &chain); +}; + + +struct DECLSPEC_DRECORD TCefSslInfo +{ +public: + TCefBaseRefCounted base; + TCefCertStatus __stdcall (*get_cert_status)(PCefSslInfo self); + PCefX509Certificate __stdcall (*get_x509certificate)(PCefSslInfo self); +}; + + +struct DECLSPEC_DRECORD TCefSSLStatus +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_secure_connection)(PCefSSLStatus self); + TCefCertStatus __stdcall (*get_cert_status)(PCefSSLStatus self); + TCefSSLVersion __stdcall (*get_sslversion)(PCefSSLStatus self); + TCefSSLContentStatus __stdcall (*get_content_status)(PCefSSLStatus self); + PCefX509Certificate __stdcall (*get_x509_certificate)(PCefSSLStatus self); +}; + + +struct DECLSPEC_DRECORD TCefSelectClientCertificateCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*select)(PCefSelectClientCertificateCallback self, PCefX509Certificate cert); +}; + + +struct DECLSPEC_DRECORD TCefRunContextMenuCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*cont)(PCefRunContextMenuCallback self, int command_id, TCefEventFlags event_flags); + void __stdcall (*cancel)(PCefRunContextMenuCallback self); +}; + + +struct DECLSPEC_DRECORD TCefFileDialogCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*cont)(PCefFileDialogCallback self, TCefStringList file_paths); + void __stdcall (*cancel)(PCefFileDialogCallback self); +}; + + +struct DECLSPEC_DRECORD TCefUnresponsiveProcessCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*wait)(PCefUnresponsiveProcessCallback self); + void __stdcall (*terminate)(PCefUnresponsiveProcessCallback self); +}; + + +struct DECLSPEC_DRECORD TCefDialogHandler +{ +public: + TCefBaseRefCounted base; + int __stdcall (*on_file_dialog)(PCefDialogHandler self, PCefBrowser browser, TCefFileDialogMode mode, const PCefString title, const PCefString default_file_path, TCefStringList accept_filters, TCefStringList accept_extensions, TCefStringList accept_descriptions, PCefFileDialogCallback callback); +}; + + +struct DECLSPEC_DRECORD TCefDisplayHandler +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_address_change)(PCefDisplayHandler self, PCefBrowser browser, PCefFrame frame, const PCefString url); + void __stdcall (*on_title_change)(PCefDisplayHandler self, PCefBrowser browser, const PCefString title); + void __stdcall (*on_favicon_urlchange)(PCefDisplayHandler self, PCefBrowser browser, TCefStringList icon_urls); + void __stdcall (*on_fullscreen_mode_change)(PCefDisplayHandler self, PCefBrowser browser, int fullscreen); + int __stdcall (*on_tooltip)(PCefDisplayHandler self, PCefBrowser browser, PCefString text); + void __stdcall (*on_status_message)(PCefDisplayHandler self, PCefBrowser browser, const PCefString value); + int __stdcall (*on_console_message)(PCefDisplayHandler self, PCefBrowser browser, TCefLogSeverity level, const PCefString message_, const PCefString source, int line); + int __stdcall (*on_auto_resize)(PCefDisplayHandler self, PCefBrowser browser, const PCefSize new_size); + void __stdcall (*on_loading_progress_change)(PCefDisplayHandler self, PCefBrowser browser, double progress); + int __stdcall (*on_cursor_change)(PCefDisplayHandler self, PCefBrowser browser, TCefCursorHandle cursor, TCefCursorType type_, const PCefCursorInfo custom_cursor_info); + void __stdcall (*on_media_access_change)(PCefDisplayHandler self, PCefBrowser browser, int has_video_access, int has_audio_access); + int __stdcall (*on_contents_bounds_change)(PCefDisplayHandler self, PCefBrowser browser, const PCefRect new_bounds); + int __stdcall (*get_root_window_screen_rect)(PCefDisplayHandler self, PCefBrowser browser, PCefRect rect); +}; + + +struct DECLSPEC_DRECORD TCefDownloadHandler +{ +public: + TCefBaseRefCounted base; + int __stdcall (*can_download)(PCefDownloadHandler self, PCefBrowser browser, const PCefString url, const PCefString request_method); + int __stdcall (*on_before_download)(PCefDownloadHandler self, PCefBrowser browser, PCefDownloadItem download_item, const PCefString suggested_name, PCefBeforeDownloadCallback callback); + void __stdcall (*on_download_updated)(PCefDownloadHandler self, PCefBrowser browser, PCefDownloadItem download_item, PCefDownloadItemCallback callback); +}; + + +struct DECLSPEC_DRECORD TCefDragHandler +{ +public: + TCefBaseRefCounted base; + int __stdcall (*on_drag_enter)(PCefDragHandler self, PCefBrowser browser, PCefDragData dragData, TCefDragOperations mask); + void __stdcall (*on_draggable_regions_changed)(PCefDragHandler self, PCefBrowser browser, PCefFrame frame, System::NativeUInt regionsCount, const PCefDraggableRegionArray regions); +}; + + +struct DECLSPEC_DRECORD TCefFindHandler +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_find_result)(PCefFindHandler self, PCefBrowser browser, int identifier, int count, const PCefRect selection_rect, int active_match_ordinal, int final_update); +}; + + +struct DECLSPEC_DRECORD TCefFocusHandler +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_take_focus)(PCefFocusHandler self, PCefBrowser browser, int next); + int __stdcall (*on_set_focus)(PCefFocusHandler self, PCefBrowser browser, TCefFocusSource source); + void __stdcall (*on_got_focus)(PCefFocusHandler self, PCefBrowser browser); +}; + + +struct DECLSPEC_DRECORD TCefJsDialogHandler +{ +public: + TCefBaseRefCounted base; + int __stdcall (*on_jsdialog)(PCefJsDialogHandler self, PCefBrowser browser, const PCefString origin_url, TCefJsDialogType dialog_type, const PCefString message_text, const PCefString default_prompt_text, PCefJsDialogCallback callback, System::PInteger suppress_message); + int __stdcall (*on_before_unload_dialog)(PCefJsDialogHandler self, PCefBrowser browser, const PCefString message_text, int is_reload, PCefJsDialogCallback callback); + void __stdcall (*on_reset_dialog_state)(PCefJsDialogHandler self, PCefBrowser browser); + void __stdcall (*on_dialog_closed)(PCefJsDialogHandler self, PCefBrowser browser); +}; + + +struct DECLSPEC_DRECORD TCefJsDialogCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*cont)(PCefJsDialogCallback self, int success, const PCefString user_input); +}; + + +struct DECLSPEC_DRECORD TCefKeyboardHandler +{ +public: + TCefBaseRefCounted base; + int __stdcall (*on_pre_key_event)(PCefKeyboardHandler self, PCefBrowser browser, const PCefKeyEvent event, TCefEventHandle os_event, System::PInteger is_keyboard_shortcut); + int __stdcall (*on_key_event)(PCefKeyboardHandler self, PCefBrowser browser, const PCefKeyEvent event, TCefEventHandle os_event); +}; + + +struct DECLSPEC_DRECORD TCefLifeSpanHandler +{ +public: + TCefBaseRefCounted base; + int __stdcall (*on_before_popup)(PCefLifeSpanHandler self, PCefBrowser browser, PCefFrame frame, int popup_id, const PCefString target_url, const PCefString target_frame_name, TCefWindowOpenDisposition target_disposition, int user_gesture, const PCefPopupFeatures popupFeatures, PCefWindowInfo windowInfo, PCefClient &client, PCefBrowserSettings settings, PCefDictionaryValue &extra_info, System::PInteger no_javascript_access); + void __stdcall (*on_before_popup_aborted)(PCefLifeSpanHandler self, PCefBrowser browser, int popup_id); + void __stdcall (*on_before_dev_tools_popup)(PCefLifeSpanHandler self, PCefBrowser browser, PCefWindowInfo windowInfo, PCefClient &client, PCefBrowserSettings settings, PCefDictionaryValue &extra_info, System::PInteger use_default_window); + void __stdcall (*on_after_created)(PCefLifeSpanHandler self, PCefBrowser browser); + int __stdcall (*do_close)(PCefLifeSpanHandler self, PCefBrowser browser); + void __stdcall (*on_before_close)(PCefLifeSpanHandler self, PCefBrowser browser); +}; + + +struct DECLSPEC_DRECORD TCefRegistration +{ +public: + TCefBaseRefCounted base; +}; + + +struct DECLSPEC_DRECORD TCefDevToolsMessageObserver +{ +public: + TCefBaseRefCounted base; + int __stdcall (*on_dev_tools_message)(PCefDevToolsMessageObserver self, PCefBrowser browser, const void * message_, System::NativeUInt message_size); + void __stdcall (*on_dev_tools_method_result)(PCefDevToolsMessageObserver self, PCefBrowser browser, int message_id, int success, const void * result, System::NativeUInt result_size); + void __stdcall (*on_dev_tools_event)(PCefDevToolsMessageObserver self, PCefBrowser browser, const PCefString method, const void * params, System::NativeUInt params_size); + void __stdcall (*on_dev_tools_agent_attached)(PCefDevToolsMessageObserver self, PCefBrowser browser); + void __stdcall (*on_dev_tools_agent_detached)(PCefDevToolsMessageObserver self, PCefBrowser browser); +}; + + +struct DECLSPEC_DRECORD TCefMediaRouter +{ +public: + TCefBaseRefCounted base; + PCefRegistration __stdcall (*add_observer)(PCefMediaRouter self, PCefMediaObserver observer); + PCefMediaSource __stdcall (*get_source)(PCefMediaRouter self, const PCefString urn); + void __stdcall (*notify_current_sinks)(PCefMediaRouter self); + void __stdcall (*create_route)(PCefMediaRouter self, PCefMediaSource source, PCefMediaSink sink, PCefMediaRouteCreateCallback callback); + void __stdcall (*notify_current_routes)(PCefMediaRouter self); +}; + + +struct DECLSPEC_DRECORD TCefMediaObserver +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_sinks)(PCefMediaObserver self, System::NativeUInt sinksCount, const PPCefMediaSink sinks); + void __stdcall (*on_routes)(PCefMediaObserver self, System::NativeUInt routesCount, const PPCefMediaRoute routes); + void __stdcall (*on_route_state_changed)(PCefMediaObserver self, PCefMediaRoute route, TCefMediaRouteConnectionState state); + void __stdcall (*on_route_message_received)(PCefMediaObserver self, PCefMediaRoute route, const void * message_, System::NativeUInt message_size); +}; + + +struct DECLSPEC_DRECORD TCefMediaRoute +{ +public: + TCefBaseRefCounted base; + PCefStringUserFreeUtf16 __stdcall (*get_id)(PCefMediaRoute self); + PCefMediaSource __stdcall (*get_source)(PCefMediaRoute self); + PCefMediaSink __stdcall (*get_sink)(PCefMediaRoute self); + void __stdcall (*send_route_message)(PCefMediaRoute self, const void * message_, System::NativeUInt message_size); + void __stdcall (*terminate)(PCefMediaRoute self); +}; + + +struct DECLSPEC_DRECORD TCefMediaRouteCreateCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_media_route_create_finished)(PCefMediaRouteCreateCallback self, TCefMediaRouterCreateResult result, const PCefString error, PCefMediaRoute route); +}; + + +struct DECLSPEC_DRECORD TCefMediaSink +{ +public: + TCefBaseRefCounted base; + PCefStringUserFreeUtf16 __stdcall (*get_id)(PCefMediaSink self); + PCefStringUserFreeUtf16 __stdcall (*get_name)(PCefMediaSink self); + TCefMediaSinkIconType __stdcall (*get_icon_type)(PCefMediaSink self); + void __stdcall (*get_device_info)(PCefMediaSink self, PCefMediaSinkDeviceInfoCallback callback); + int __stdcall (*is_cast_sink)(PCefMediaSink self); + int __stdcall (*is_dial_sink)(PCefMediaSink self); + int __stdcall (*is_compatible_with)(PCefMediaSink self, PCefMediaSource source); +}; + + +struct DECLSPEC_DRECORD TCefMediaSinkDeviceInfoCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_media_sink_device_info)(PCefMediaSinkDeviceInfoCallback self, PCefMediaSinkDeviceInfo device_info); +}; + + +struct DECLSPEC_DRECORD TCefMediaSource +{ +public: + TCefBaseRefCounted base; + PCefStringUserFreeUtf16 __stdcall (*get_id)(PCefMediaSource self); + int __stdcall (*is_cast_source)(PCefMediaSource self); + int __stdcall (*is_dial_source)(PCefMediaSource self); +}; + + +struct DECLSPEC_DRECORD TCefAudioHandler +{ +public: + TCefBaseRefCounted base; + int __stdcall (*get_audio_parameters)(PCefAudioHandler self, PCefBrowser browser, PCefAudioParameters params); + void __stdcall (*on_audio_stream_started)(PCefAudioHandler self, PCefBrowser browser, const PCefAudioParameters params, int channels); + void __stdcall (*on_audio_stream_packet)(PCefAudioHandler self, PCefBrowser browser, const PPSingle data, int frames, __int64 pts); + void __stdcall (*on_audio_stream_stopped)(PCefAudioHandler self, PCefBrowser browser); + void __stdcall (*on_audio_stream_error)(PCefAudioHandler self, PCefBrowser browser, const PCefString message_); +}; + + +struct DECLSPEC_DRECORD TCefLoadHandler +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_loading_state_change)(PCefLoadHandler self, PCefBrowser browser, int isLoading, int canGoBack, int canGoForward); + void __stdcall (*on_load_start)(PCefLoadHandler self, PCefBrowser browser, PCefFrame frame, TCefTransitionType transition_type); + void __stdcall (*on_load_end)(PCefLoadHandler self, PCefBrowser browser, PCefFrame frame, int httpStatusCode); + void __stdcall (*on_load_error)(PCefLoadHandler self, PCefBrowser browser, PCefFrame frame, TCefErrorCode errorCode, const PCefString errorText, const PCefString failedUrl); +}; + + +struct DECLSPEC_DRECORD TCefRenderHandler +{ +public: + TCefBaseRefCounted base; + PCefAccessibilityHandler __stdcall (*get_accessibility_handler)(PCefRenderHandler self); + int __stdcall (*get_root_screen_rect)(PCefRenderHandler self, PCefBrowser browser, PCefRect rect); + void __stdcall (*get_view_rect)(PCefRenderHandler self, PCefBrowser browser, PCefRect rect); + int __stdcall (*get_screen_point)(PCefRenderHandler self, PCefBrowser browser, int viewX, int viewY, System::PInteger screenX, System::PInteger screenY); + int __stdcall (*get_screen_info)(PCefRenderHandler self, PCefBrowser browser, PCefScreenInfo screen_info); + void __stdcall (*on_popup_show)(PCefRenderHandler self, PCefBrowser browser, int show); + void __stdcall (*on_popup_size)(PCefRenderHandler self, PCefBrowser browser, const PCefRect rect); + void __stdcall (*on_paint)(PCefRenderHandler self, PCefBrowser browser, TCefPaintElementType type_, System::NativeUInt dirtyRectsCount, const PCefRectArray dirtyRects, const void * buffer, int width, int height); + void __stdcall (*on_accelerated_paint)(PCefRenderHandler self, PCefBrowser browser, TCefPaintElementType type_, System::NativeUInt dirtyRectsCount, const PCefRectArray dirtyRects, const PCefAcceleratedPaintInfo info); + void __stdcall (*get_touch_handle_size)(PCefRenderHandler self, PCefBrowser browser, TCefHorizontalAlignment orientation, PCefSize size); + void __stdcall (*on_touch_handle_state_changed)(PCefRenderHandler self, PCefBrowser browser, const PCefTouchHandleState state); + int __stdcall (*start_dragging)(PCefRenderHandler self, PCefBrowser browser, PCefDragData drag_data, TCefDragOperations allowed_ops, int x, int y); + void __stdcall (*update_drag_cursor)(PCefRenderHandler self, PCefBrowser browser, TCefDragOperation operation); + void __stdcall (*on_scroll_offset_changed)(PCefRenderHandler self, PCefBrowser browser, double x, double y); + void __stdcall (*on_ime_composition_range_changed)(PCefRenderHandler self, PCefBrowser browser, const PCefRange selected_range, System::NativeUInt character_boundsCount, const PCefRect character_bounds); + void __stdcall (*on_text_selection_changed)(PCefRenderHandler self, PCefBrowser browser, const PCefString selected_text, const PCefRange selected_range); + void __stdcall (*on_virtual_keyboard_requested)(PCefRenderHandler self, PCefBrowser browser, TCefTextInpuMode input_mode); +}; + + +struct DECLSPEC_DRECORD TCefPreferenceRegistrar +{ +public: + TCefBaseScoped base; + int __stdcall (*add_preference)(PCefPreferenceRegistrar self, const PCefString name, PCefValue default_value); +}; + + +struct DECLSPEC_DRECORD TCefPreferenceObserver +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_preference_changed)(PCefPreferenceObserver self, const PCefString name); +}; + + +struct DECLSPEC_DRECORD TCefPreferenceManager +{ +public: + TCefBaseRefCounted base; + int __stdcall (*has_preference)(PCefPreferenceManager self, const PCefString name); + PCefValue __stdcall (*get_preference)(PCefPreferenceManager self, const PCefString name); + PCefDictionaryValue __stdcall (*get_all_preferences)(PCefPreferenceManager self, int include_defaults); + int __stdcall (*can_set_preference)(PCefPreferenceManager self, const PCefString name); + int __stdcall (*set_preference)(PCefPreferenceManager self, const PCefString name, PCefValue value, PCefString error); + PCefRegistration __stdcall (*add_preference_observer)(PCefPreferenceManager self, const PCefString name, PCefPreferenceObserver observer); +}; + + +struct DECLSPEC_DRECORD TCefV8StackTrace +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_valid)(PCefV8StackTrace self); + int __stdcall (*get_frame_count)(PCefV8StackTrace self); + PCefV8StackFrame __stdcall (*get_frame)(PCefV8StackTrace self, int index); +}; + + +struct DECLSPEC_DRECORD TCefV8StackFrame +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_valid)(PCefV8StackFrame self); + PCefStringUserFreeUtf16 __stdcall (*get_script_name)(PCefV8StackFrame self); + PCefStringUserFreeUtf16 __stdcall (*get_script_name_or_source_url)(PCefV8StackFrame self); + PCefStringUserFreeUtf16 __stdcall (*get_function_name)(PCefV8StackFrame self); + int __stdcall (*get_line_number)(PCefV8StackFrame self); + int __stdcall (*get_column)(PCefV8StackFrame self); + int __stdcall (*is_eval)(PCefV8StackFrame self); + int __stdcall (*is_constructor)(PCefV8StackFrame self); +}; + + +struct DECLSPEC_DRECORD TCefStreamReader +{ +public: + TCefBaseRefCounted base; + unsigned __stdcall (*read)(PCefStreamReader self, void * ptr, System::NativeUInt size, System::NativeUInt n); + int __stdcall (*seek)(PCefStreamReader self, __int64 offset, int whence); + __int64 __stdcall (*tell)(PCefStreamReader self); + int __stdcall (*eof)(PCefStreamReader self); + int __stdcall (*may_block)(PCefStreamReader self); +}; + + +struct DECLSPEC_DRECORD TCefReadHandler +{ +public: + TCefBaseRefCounted base; + unsigned __stdcall (*read)(PCefReadHandler self, void * ptr, System::NativeUInt size, System::NativeUInt n); + int __stdcall (*seek)(PCefReadHandler self, __int64 offset, int whence); + __int64 __stdcall (*tell)(PCefReadHandler self); + int __stdcall (*eof)(PCefReadHandler self); + int __stdcall (*may_block)(PCefReadHandler self); +}; + + +struct DECLSPEC_DRECORD TCefWriteHandler +{ +public: + TCefBaseRefCounted base; + unsigned __stdcall (*write)(PCefWriteHandler self, const void * ptr, System::NativeUInt size, System::NativeUInt n); + int __stdcall (*seek)(PCefWriteHandler self, __int64 offset, int whence); + __int64 __stdcall (*tell)(PCefWriteHandler self); + int __stdcall (*flush)(PCefWriteHandler self); + int __stdcall (*may_block)(PCefWriteHandler self); +}; + + +struct DECLSPEC_DRECORD TCefXmlReader +{ +public: + TCefBaseRefCounted base; + int __stdcall (*move_to_next_node)(PCefXmlReader self); + int __stdcall (*close)(PCefXmlReader self); + int __stdcall (*has_error)(PCefXmlReader self); + PCefStringUserFreeUtf16 __stdcall (*get_error)(PCefXmlReader self); + TCefXmlNodeType __stdcall (*get_type)(PCefXmlReader self); + int __stdcall (*get_depth)(PCefXmlReader self); + PCefStringUserFreeUtf16 __stdcall (*get_local_name)(PCefXmlReader self); + PCefStringUserFreeUtf16 __stdcall (*get_prefix)(PCefXmlReader self); + PCefStringUserFreeUtf16 __stdcall (*get_qualified_name)(PCefXmlReader self); + PCefStringUserFreeUtf16 __stdcall (*get_namespace_uri)(PCefXmlReader self); + PCefStringUserFreeUtf16 __stdcall (*get_base_uri)(PCefXmlReader self); + PCefStringUserFreeUtf16 __stdcall (*get_xml_lang)(PCefXmlReader self); + int __stdcall (*is_empty_element)(PCefXmlReader self); + int __stdcall (*has_value)(PCefXmlReader self); + PCefStringUserFreeUtf16 __stdcall (*get_value)(PCefXmlReader self); + int __stdcall (*has_attributes)(PCefXmlReader self); + unsigned __stdcall (*get_attribute_count)(PCefXmlReader self); + PCefStringUserFreeUtf16 __stdcall (*get_attribute_byindex)(PCefXmlReader self, int index); + PCefStringUserFreeUtf16 __stdcall (*get_attribute_byqname)(PCefXmlReader self, const PCefString qualifiedName); + PCefStringUserFreeUtf16 __stdcall (*get_attribute_bylname)(PCefXmlReader self, const PCefString localName, const PCefString namespaceURI); + PCefStringUserFreeUtf16 __stdcall (*get_inner_xml)(PCefXmlReader self); + PCefStringUserFreeUtf16 __stdcall (*get_outer_xml)(PCefXmlReader self); + int __stdcall (*get_line_number)(PCefXmlReader self); + int __stdcall (*move_to_attribute_byindex)(PCefXmlReader self, int index); + int __stdcall (*move_to_attribute_byqname)(PCefXmlReader self, const PCefString qualifiedName); + int __stdcall (*move_to_attribute_bylname)(PCefXmlReader self, const PCefString localName, const PCefString namespaceURI); + int __stdcall (*move_to_first_attribute)(PCefXmlReader self); + int __stdcall (*move_to_next_attribute)(PCefXmlReader self); + int __stdcall (*move_to_carrying_element)(PCefXmlReader self); +}; + + +struct DECLSPEC_DRECORD TCefZipReader +{ +public: + TCefBaseRefCounted base; + int __stdcall (*move_to_first_file)(PCefZipReader self); + int __stdcall (*move_to_next_file)(PCefZipReader self); + int __stdcall (*move_to_file)(PCefZipReader self, const PCefString fileName, int caseSensitive); + int __stdcall (*close)(PCefZipReader Self); + PCefStringUserFreeUtf16 __stdcall (*get_file_name)(PCefZipReader Self); + __int64 __stdcall (*get_file_size)(PCefZipReader Self); + TCefBaseTime __stdcall (*get_file_last_modified)(PCefZipReader Self); + int __stdcall (*open_file)(PCefZipReader Self, const PCefString password); + int __stdcall (*close_file)(PCefZipReader Self); + int __stdcall (*read_file)(PCefZipReader Self, void * buffer, System::NativeUInt bufferSize); + __int64 __stdcall (*tell)(PCefZipReader Self); + int __stdcall (*eof)(PCefZipReader Self); +}; + + +struct DECLSPEC_DRECORD TCefUrlrequestClient +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_request_complete)(PCefUrlRequestClient self, PCefUrlRequest request); + void __stdcall (*on_upload_progress)(PCefUrlRequestClient self, PCefUrlRequest request, __int64 current, __int64 total); + void __stdcall (*on_download_progress)(PCefUrlRequestClient self, PCefUrlRequest request, __int64 current, __int64 total); + void __stdcall (*on_download_data)(PCefUrlRequestClient self, PCefUrlRequest request, const void * data, System::NativeUInt data_length); + int __stdcall (*get_auth_credentials)(PCefUrlRequestClient self, int isProxy, const PCefString host, int port, const PCefString realm, const PCefString scheme, PCefAuthCallback callback); +}; + + +struct DECLSPEC_DRECORD TCefUrlRequest +{ +public: + TCefBaseRefCounted base; + PCefRequest __stdcall (*get_request)(PCefUrlRequest self); + PCefUrlRequestClient __stdcall (*get_client)(PCefUrlRequest self); + TCefUrlRequestStatus __stdcall (*get_request_status)(PCefUrlRequest self); + TCefErrorCode __stdcall (*get_request_error)(PCefUrlRequest self); + PCefResponse __stdcall (*get_response)(PCefUrlRequest self); + int __stdcall (*response_was_cached)(PCefUrlRequest self); + void __stdcall (*cancel)(PCefUrlRequest self); +}; + + +struct DECLSPEC_DRECORD TCefThread +{ +public: + TCefBaseRefCounted base; + PCefTaskRunner __stdcall (*get_task_runner)(PCefThread self); + TCefPlatformThreadId __stdcall (*get_platform_thread_id)(PCefThread self); + void __stdcall (*stop)(PCefThread self); + int __stdcall (*is_running)(PCefThread self); +}; + + +struct DECLSPEC_DRECORD TCefWaitableEvent +{ +public: + TCefBaseRefCounted base; + void __stdcall (*reset)(PCefWaitableEvent self); + void __stdcall (*signal)(PCefWaitableEvent self); + int __stdcall (*is_signaled)(PCefWaitableEvent self); + void __stdcall (*wait)(PCefWaitableEvent self); + int __stdcall (*timed_wait)(PCefWaitableEvent self, __int64 max_ms); +}; + + +struct DECLSPEC_DRECORD TCefTaskRunner +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_same)(PCefTaskRunner self, PCefTaskRunner that); + int __stdcall (*belongs_to_current_thread)(PCefTaskRunner self); + int __stdcall (*belongs_to_thread)(PCefTaskRunner self, TCefThreadId threadId); + int __stdcall (*post_task)(PCefTaskRunner self, PCefTask task); + int __stdcall (*post_delayed_task)(PCefTaskRunner self, PCefTask task, __int64 delay_ms); +}; + + +struct DECLSPEC_DRECORD TCefEndTracingCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_end_tracing_complete)(PCefEndTracingCallback self, const PCefString tracing_file); +}; + + +struct DECLSPEC_DRECORD TCefResourceBundle +{ +public: + TCefBaseRefCounted base; + PCefStringUserFreeUtf16 __stdcall (*get_localized_string)(PCefResourceBundle self, int string_id); + PCefBinaryValue __stdcall (*get_data_resource)(PCefResourceBundle self, int resource_id); + PCefBinaryValue __stdcall (*get_data_resource_for_scale)(PCefResourceBundle self, int resource_id, TCefScaleFactor scale_factor); +}; + + +struct DECLSPEC_DRECORD TCefMenuModelDelegate +{ +public: + TCefBaseRefCounted base; + void __stdcall (*execute_command)(PCefMenuModelDelegate self, PCefMenuModel menu_model, int command_id, TCefEventFlags event_flags); + void __stdcall (*mouse_outside_menu)(PCefMenuModelDelegate self, PCefMenuModel menu_model, const PCefPoint screen_point); + void __stdcall (*unhandled_open_submenu)(PCefMenuModelDelegate self, PCefMenuModel menu_model, int is_rtl); + void __stdcall (*unhandled_close_submenu)(PCefMenuModelDelegate self, PCefMenuModel menu_model, int is_rtl); + void __stdcall (*menu_will_show)(PCefMenuModelDelegate self, PCefMenuModel menu_model); + void __stdcall (*menu_closed)(PCefMenuModelDelegate self, PCefMenuModel menu_model); + int __stdcall (*format_label)(PCefMenuModelDelegate self, PCefMenuModel menu_model, PCefString label_); +}; + + +struct DECLSPEC_DRECORD TCefProcessMessage +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_valid)(PCefProcessMessage self); + int __stdcall (*is_read_only)(PCefProcessMessage self); + PCefProcessMessage __stdcall (*copy)(PCefProcessMessage self); + PCefStringUserFreeUtf16 __stdcall (*get_name)(PCefProcessMessage self); + PCefListValue __stdcall (*get_argument_list)(PCefProcessMessage self); + PCefSharedMemoryRegion __stdcall (*get_shared_memory_region)(PCefProcessMessage self); +}; + + +struct DECLSPEC_DRECORD TCefRenderProcessHandler +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_web_kit_initialized)(PCefRenderProcessHandler self); + void __stdcall (*on_browser_created)(PCefRenderProcessHandler self, PCefBrowser browser, PCefDictionaryValue extra_info); + void __stdcall (*on_browser_destroyed)(PCefRenderProcessHandler self, PCefBrowser browser); + PCefLoadHandler __stdcall (*get_load_handler)(PCefRenderProcessHandler self); + void __stdcall (*on_context_created)(PCefRenderProcessHandler self, PCefBrowser browser, PCefFrame frame, PCefv8Context context); + void __stdcall (*on_context_released)(PCefRenderProcessHandler self, PCefBrowser browser, PCefFrame frame, PCefv8Context context); + void __stdcall (*on_uncaught_exception)(PCefRenderProcessHandler self, PCefBrowser browser, PCefFrame frame, PCefv8Context context, PCefV8Exception exception, PCefV8StackTrace stackTrace); + void __stdcall (*on_focused_node_changed)(PCefRenderProcessHandler self, PCefBrowser browser, PCefFrame frame, PCefDomNode node); + int __stdcall (*on_process_message_received)(PCefRenderProcessHandler self, PCefBrowser browser, PCefFrame frame, TCefProcessId source_process, PCefProcessMessage message_); +}; + + +struct DECLSPEC_DRECORD TCefRequestHandler +{ +public: + TCefBaseRefCounted base; + int __stdcall (*on_before_browse)(PCefRequestHandler self, PCefBrowser browser, PCefFrame frame, PCefRequest request, int user_gesture, int isRedirect); + int __stdcall (*on_open_urlfrom_tab)(PCefRequestHandler self, PCefBrowser browser, PCefFrame frame, const PCefString target_url, TCefWindowOpenDisposition target_disposition, int user_gesture); + PCefResourceRequestHandler __stdcall (*get_resource_request_handler)(PCefRequestHandler self, PCefBrowser browser, PCefFrame frame, PCefRequest request, int is_navigation, int is_download, const PCefString request_initiator, System::PInteger disable_default_handling); + int __stdcall (*get_auth_credentials)(PCefRequestHandler self, PCefBrowser browser, const PCefString origin_url, int isProxy, const PCefString host, int port, const PCefString realm, const PCefString scheme, PCefAuthCallback callback); + int __stdcall (*on_certificate_error)(PCefRequestHandler self, PCefBrowser browser, TCefErrorCode cert_error, const PCefString request_url, PCefSslInfo ssl_info, PCefCallback callback); + int __stdcall (*on_select_client_certificate)(PCefRequestHandler self, PCefBrowser browser, int isProxy, const PCefString host, int port, System::NativeUInt certificatesCount, const PPCefX509Certificate certificates, PCefSelectClientCertificateCallback callback); + void __stdcall (*on_render_view_ready)(PCefRequestHandler self, PCefBrowser browser); + int __stdcall (*on_render_process_unresponsive)(PCefRequestHandler self, PCefBrowser browser, PCefUnresponsiveProcessCallback callback); + void __stdcall (*on_render_process_responsive)(PCefRequestHandler self, PCefBrowser browser); + void __stdcall (*on_render_process_terminated)(PCefRequestHandler self, PCefBrowser browser, TCefTerminationStatus status, int error_code, const PCefString error_string); + void __stdcall (*on_document_available_in_main_frame)(PCefRequestHandler self, PCefBrowser browser); +}; + + +struct DECLSPEC_DRECORD TCefMediaAccessCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*cont)(PCefMediaAccessCallback self, unsigned allowed_permissions); + void __stdcall (*cancel)(PCefMediaAccessCallback self); +}; + + +struct DECLSPEC_DRECORD TCefPermissionPromptCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*cont)(PCefPermissionPromptCallback self, TCefPermissionRequestResult result); +}; + + +struct DECLSPEC_DRECORD TCefPermissionHandler +{ +public: + TCefBaseRefCounted base; + int __stdcall (*on_request_media_access_permission)(PCefPermissionHandler self, PCefBrowser browser, PCefFrame frame, const PCefString requesting_origin, unsigned requested_permissions, PCefMediaAccessCallback callback); + int __stdcall (*on_show_permission_prompt)(PCefPermissionHandler self, PCefBrowser browser, unsigned __int64 prompt_id, const PCefString requesting_origin, unsigned requested_permissions, PCefPermissionPromptCallback callback); + void __stdcall (*on_dismiss_permission_prompt)(PCefPermissionHandler self, PCefBrowser browser, unsigned __int64 prompt_id, TCefPermissionRequestResult result); +}; + + +struct DECLSPEC_DRECORD TCefSharedMemoryRegion +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_valid)(PCefSharedMemoryRegion self); + unsigned __stdcall (*size)(PCefSharedMemoryRegion self); + void * __stdcall (*memory)(PCefSharedMemoryRegion self); +}; + + +struct DECLSPEC_DRECORD TCefSharedProcessMessageBuilder +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_valid)(PCefSharedProcessMessageBuilder self); + unsigned __stdcall (*size)(PCefSharedProcessMessageBuilder self); + void * __stdcall (*memory)(PCefSharedProcessMessageBuilder self); + PCefProcessMessage __stdcall (*build)(PCefSharedProcessMessageBuilder self); +}; + + +struct DECLSPEC_DRECORD TCefResourceSkipCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*cont)(PCefResourceSkipCallback self, __int64 bytes_skipped); +}; + + +struct DECLSPEC_DRECORD TCefResourceReadCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*cont)(PCefResourceReadCallback self, __int64 bytes_read); +}; + + +struct DECLSPEC_DRECORD TCefResourceHandler +{ +public: + TCefBaseRefCounted base; + int __stdcall (*open)(PCefResourceHandler self, PCefRequest request, System::PInteger handle_request, PCefCallback callback); + int __stdcall (*process_request)(PCefResourceHandler self, PCefRequest request, PCefCallback callback); + void __stdcall (*get_response_headers)(PCefResourceHandler self, PCefResponse response, System::PInt64 response_length, PCefString redirectUrl); + int __stdcall (*skip)(PCefResourceHandler self, __int64 bytes_to_skip, System::PInt64 bytes_skipped, PCefResourceSkipCallback callback); + int __stdcall (*read)(PCefResourceHandler self, void * data_out, int bytes_to_read, System::PInteger bytes_read, PCefResourceReadCallback callback); + int __stdcall (*read_response)(PCefResourceHandler self, void * data_out, int bytes_to_read, System::PInteger bytes_read, PCefCallback callback); + void __stdcall (*cancel)(PCefResourceHandler self); +}; + + +struct DECLSPEC_DRECORD TCefResourceRequestHandler +{ +public: + TCefBaseRefCounted base; + PCefCookieAccessFilter __stdcall (*get_cookie_access_filter)(PCefResourceRequestHandler self, PCefBrowser browser, PCefFrame frame, PCefRequest request); + TCefReturnValue __stdcall (*on_before_resource_load)(PCefResourceRequestHandler self, PCefBrowser browser, PCefFrame frame, PCefRequest request, PCefCallback callback); + PCefResourceHandler __stdcall (*get_resource_handler)(PCefResourceRequestHandler self, PCefBrowser browser, PCefFrame frame, PCefRequest request); + void __stdcall (*on_resource_redirect)(PCefResourceRequestHandler self, PCefBrowser browser, PCefFrame frame, PCefRequest request, PCefResponse response, PCefString new_url); + int __stdcall (*on_resource_response)(PCefResourceRequestHandler self, PCefBrowser browser, PCefFrame frame, PCefRequest request, PCefResponse response); + PCefResponseFilter __stdcall (*get_resource_response_filter)(PCefResourceRequestHandler self, PCefBrowser browser, PCefFrame frame, PCefRequest request, PCefResponse response); + void __stdcall (*on_resource_load_complete)(PCefResourceRequestHandler self, PCefBrowser browser, PCefFrame frame, PCefRequest request, PCefResponse response, TCefUrlRequestStatus status, __int64 received_content_length); + void __stdcall (*on_protocol_execution)(PCefResourceRequestHandler self, PCefBrowser browser, PCefFrame frame, PCefRequest request, System::PInteger allow_os_execution); +}; + + +struct DECLSPEC_DRECORD TCefCookieAccessFilter +{ +public: + TCefBaseRefCounted base; + int __stdcall (*can_send_cookie)(PCefCookieAccessFilter self, PCefBrowser browser, PCefFrame frame, PCefRequest request, const PCefCookie cookie); + int __stdcall (*can_save_cookie)(PCefCookieAccessFilter self, PCefBrowser browser, PCefFrame frame, PCefRequest request, PCefResponse response, const PCefCookie cookie); +}; + + +struct DECLSPEC_DRECORD TCefResponse +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_read_only)(PCefResponse self); + TCefErrorCode __stdcall (*get_error)(PCefResponse self); + void __stdcall (*set_error)(PCefResponse self, TCefErrorCode error); + int __stdcall (*get_status)(PCefResponse self); + void __stdcall (*set_status)(PCefResponse self, int status); + PCefStringUserFreeUtf16 __stdcall (*get_status_text)(PCefResponse self); + void __stdcall (*set_status_text)(PCefResponse self, const PCefString statusText); + PCefStringUserFreeUtf16 __stdcall (*get_mime_type)(PCefResponse self); + void __stdcall (*set_mime_type)(PCefResponse self, const PCefString mimeType); + PCefStringUserFreeUtf16 __stdcall (*get_charset)(PCefResponse self); + void __stdcall (*set_charset)(PCefResponse self, const PCefString charset); + PCefStringUserFreeUtf16 __stdcall (*get_header_by_name)(PCefResponse self, const PCefString name); + void __stdcall (*set_header_by_name)(PCefResponse self, const PCefString name, const PCefString value, int overwrite); + void __stdcall (*get_header_map)(PCefResponse self, TCefStringMultimap headerMap); + void __stdcall (*set_header_map)(PCefResponse self, TCefStringMultimap headerMap); + PCefStringUserFreeUtf16 __stdcall (*get_url)(PCefResponse self); + void __stdcall (*set_url)(PCefResponse self, const PCefString url); +}; + + +struct DECLSPEC_DRECORD TCefResponseFilter +{ +public: + TCefBaseRefCounted base; + int __stdcall (*init_filter)(PCefResponseFilter self); + TCefResponseFilterStatus __stdcall (*filter)(PCefResponseFilter self, void * data_in, System::NativeUInt data_in_size, System::NativeUInt &data_in_read, void * data_out, System::NativeUInt data_out_size, System::NativeUInt &data_out_written); +}; + + +struct DECLSPEC_DRECORD TCefAuthCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*cont)(PCefAuthCallback self, const PCefString username, const PCefString password); + void __stdcall (*cancel)(PCefAuthCallback self); +}; + + +struct DECLSPEC_DRECORD TCefCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*cont)(PCefCallback self); + void __stdcall (*cancel)(PCefCallback self); +}; + + +struct DECLSPEC_DRECORD TCefSettingObserver +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_setting_changed)(PCefSettingObserver self, const PCefString requesting_url, const PCefString top_level_url, TCefContentSettingTypes content_type); +}; + + +struct DECLSPEC_DRECORD TCefRequestContext +{ +public: + TCefPreferenceManager base; + int __stdcall (*is_same)(PCefRequestContext self, PCefRequestContext other); + int __stdcall (*is_sharing_with)(PCefRequestContext self, PCefRequestContext other); + int __stdcall (*is_global)(PCefRequestContext self); + PCefRequestContextHandler __stdcall (*get_handler)(PCefRequestContext self); + PCefStringUserFreeUtf16 __stdcall (*get_cache_path)(PCefRequestContext self); + PCefCookieManager __stdcall (*get_cookie_manager)(PCefRequestContext self, PCefCompletionCallback callback); + int __stdcall (*register_scheme_handler_factory)(PCefRequestContext self, const PCefString scheme_name, const PCefString domain_name, PCefSchemeHandlerFactory factory); + int __stdcall (*clear_scheme_handler_factories)(PCefRequestContext self); + void __stdcall (*clear_certificate_exceptions)(PCefRequestContext self, PCefCompletionCallback callback); + void __stdcall (*clear_http_auth_credentials)(PCefRequestContext self, PCefCompletionCallback callback); + void __stdcall (*close_all_connections)(PCefRequestContext self, PCefCompletionCallback callback); + void __stdcall (*resolve_host)(PCefRequestContext self, const PCefString origin, PCefResolveCallback callback); + PCefMediaRouter __stdcall (*get_media_router)(PCefRequestContext self, PCefCompletionCallback callback); + PCefValue __stdcall (*get_website_setting)(PCefRequestContext self, const PCefString requesting_url, const PCefString top_level_url, TCefContentSettingTypes content_type); + void __stdcall (*set_website_setting)(PCefRequestContext self, const PCefString requesting_url, const PCefString top_level_url, TCefContentSettingTypes content_type, PCefValue value); + TCefContentSettingValues __stdcall (*get_content_setting)(PCefRequestContext self, const PCefString requesting_url, const PCefString top_level_url, TCefContentSettingTypes content_type); + void __stdcall (*set_content_setting)(PCefRequestContext self, const PCefString requesting_url, const PCefString top_level_url, TCefContentSettingTypes content_type, TCefContentSettingValues value); + void __stdcall (*set_chrome_color_scheme)(PCefRequestContext self, TCefColorVariant variant, TCefColor user_color); + TCefColorVariant __stdcall (*get_chrome_color_scheme_mode)(PCefRequestContext self); + TCefColor __stdcall (*get_chrome_color_scheme_color)(PCefRequestContext self); + TCefColorVariant __stdcall (*get_chrome_color_scheme_variant)(PCefRequestContext self); + PCefRegistration __stdcall (*add_setting_observer)(PCefRequestContext self, PCefSettingObserver observer); +}; + + +struct DECLSPEC_DRECORD TCefRequestContextHandler +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_request_context_initialized)(PCefRequestContextHandler self, PCefRequestContext request_context); + PCefResourceRequestHandler __stdcall (*get_resource_request_handler)(PCefRequestContextHandler self, PCefBrowser browser, PCefFrame frame, PCefRequest request, int is_navigation, int is_download, const PCefString request_initiator, System::PInteger disable_default_handling); +}; + + +struct DECLSPEC_DRECORD TCefCompletionCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_complete)(PCefCompletionCallback self); +}; + + +struct DECLSPEC_DRECORD TCefCookieManager +{ +public: + TCefBaseRefCounted base; + int __stdcall (*visit_all_cookies)(PCefCookieManager self, PCefCookieVisitor visitor); + int __stdcall (*visit_url_cookies)(PCefCookieManager self, const PCefString url, int includeHttpOnly, PCefCookieVisitor visitor); + int __stdcall (*set_cookie)(PCefCookieManager self, const PCefString url, const PCefCookie cookie, PCefSetCookieCallback callback); + int __stdcall (*delete_cookies)(PCefCookieManager self, const PCefString url, const PCefString cookie_name, PCefDeleteCookiesCallback callback); + int __stdcall (*flush_store)(PCefCookieManager self, PCefCompletionCallback callback); +}; + + +struct DECLSPEC_DRECORD TCefSchemeHandlerFactory +{ +public: + TCefBaseRefCounted base; + PCefResourceHandler __stdcall (*create)(PCefSchemeHandlerFactory self, PCefBrowser browser, PCefFrame frame, const PCefString scheme_name, PCefRequest request); +}; + + +struct DECLSPEC_DRECORD TCefResolveCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_resolve_completed)(PCefResolveCallback self, TCefErrorCode result, TCefStringList resolved_ips); +}; + + +struct DECLSPEC_DRECORD TCefCookieVisitor +{ +public: + TCefBaseRefCounted base; + int __stdcall (*visit)(PCefCookieVisitor self, const PCefCookie cookie, int count, int total, System::PInteger deleteCookie); +}; + + +struct DECLSPEC_DRECORD TCefSetCookieCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_complete)(PCefSetCookieCallback self, int success); +}; + + +struct DECLSPEC_DRECORD TCefDeleteCookiesCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_complete)(PCefDeleteCookiesCallback self, int num_deleted); +}; + + +struct DECLSPEC_DRECORD TCefRunFileDialogCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_file_dialog_dismissed)(PCefRunFileDialogCallback self, TCefStringList file_paths); +}; + + +struct DECLSPEC_DRECORD TCefDownloadImageCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_download_image_finished)(PCefDownloadImageCallback self, const PCefString image_url, int http_status_code, PCefImage image); +}; + + +struct DECLSPEC_DRECORD TCefImage +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_empty)(PCefImage self); + int __stdcall (*is_same)(PCefImage self, PCefImage that); + int __stdcall (*add_bitmap)(PCefImage self, float scale_factor, int pixel_width, int pixel_height, TCefColorType color_type, TCefAlphaType alpha_type, const void * pixel_data, System::NativeUInt pixel_data_size); + int __stdcall (*add_png)(PCefImage self, float scale_factor, const void * png_data, System::NativeUInt png_data_size); + int __stdcall (*add_jpeg)(PCefImage self, float scale_factor, const void * jpeg_data, System::NativeUInt jpeg_data_size); + unsigned __stdcall (*get_width)(PCefImage self); + unsigned __stdcall (*get_height)(PCefImage self); + int __stdcall (*has_representation)(PCefImage self, float scale_factor); + int __stdcall (*remove_representation)(PCefImage self, float scale_factor); + int __stdcall (*get_representation_info)(PCefImage self, float scale_factor, System::PSingle actual_scale_factor, System::PInteger pixel_width, System::PInteger pixel_height); + PCefBinaryValue __stdcall (*get_as_bitmap)(PCefImage self, float scale_factor, TCefColorType color_type, TCefAlphaType alpha_type, System::PInteger pixel_width, System::PInteger pixel_height); + PCefBinaryValue __stdcall (*get_as_png)(PCefImage self, float scale_factor, int with_transparency, System::PInteger pixel_width, System::PInteger pixel_height); + PCefBinaryValue __stdcall (*get_as_jpeg)(PCefImage self, float scale_factor, int quality, System::PInteger pixel_width, System::PInteger pixel_height); +}; + + +struct DECLSPEC_DRECORD TCefPdfPrintCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_pdf_print_finished)(PCefPdfPrintCallback self, const PCefString path, int ok); +}; + + +struct DECLSPEC_DRECORD TCefNavigationEntryVisitor +{ +public: + TCefBaseRefCounted base; + int __stdcall (*visit)(PCefNavigationEntryVisitor self, PCefNavigationEntry entry, int current, int index, int total); +}; + + +struct DECLSPEC_DRECORD TCefNavigationEntry +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_valid)(PCefNavigationEntry self); + PCefStringUserFreeUtf16 __stdcall (*get_url)(PCefNavigationEntry self); + PCefStringUserFreeUtf16 __stdcall (*get_display_url)(PCefNavigationEntry self); + PCefStringUserFreeUtf16 __stdcall (*get_original_url)(PCefNavigationEntry self); + PCefStringUserFreeUtf16 __stdcall (*get_title)(PCefNavigationEntry self); + TCefTransitionType __stdcall (*get_transition_type)(PCefNavigationEntry self); + int __stdcall (*has_post_data)(PCefNavigationEntry self); + TCefBaseTime __stdcall (*get_completion_time)(PCefNavigationEntry self); + int __stdcall (*get_http_status_code)(PCefNavigationEntry self); + PCefSSLStatus __stdcall (*get_sslstatus)(PCefNavigationEntry self); +}; + + +struct DECLSPEC_DRECORD TCefPrintSettings +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_valid)(PCefPrintSettings self); + int __stdcall (*is_read_only)(PCefPrintSettings self); + void __stdcall (*set_orientation)(PCefPrintSettings self, int landscape); + int __stdcall (*is_landscape)(PCefPrintSettings self); + void __stdcall (*set_printer_printable_area)(PCefPrintSettings self, const PCefSize physical_size_device_units, const PCefRect printable_area_device_units, int landscape_needs_flip); + void __stdcall (*set_device_name)(PCefPrintSettings self, const PCefString name); + PCefStringUserFreeUtf16 __stdcall (*get_device_name)(PCefPrintSettings self); + void __stdcall (*set_dpi)(PCefPrintSettings self, int dpi); + int __stdcall (*get_dpi)(PCefPrintSettings self); + void __stdcall (*set_page_ranges)(PCefPrintSettings self, System::NativeUInt rangesCount, PCefRange ranges); + unsigned __stdcall (*get_page_ranges_count)(PCefPrintSettings self); + void __stdcall (*get_page_ranges)(PCefPrintSettings self, System::PNativeUInt rangesCount, PCefRange ranges); + void __stdcall (*set_selection_only)(PCefPrintSettings self, int selection_only); + int __stdcall (*is_selection_only)(PCefPrintSettings self); + void __stdcall (*set_collate)(PCefPrintSettings self, int collate); + int __stdcall (*will_collate)(PCefPrintSettings self); + void __stdcall (*set_color_model)(PCefPrintSettings self, TCefColorModel model); + TCefColorModel __stdcall (*get_color_model)(PCefPrintSettings self); + void __stdcall (*set_copies)(PCefPrintSettings self, int copies); + int __stdcall (*get_copies)(PCefPrintSettings self); + void __stdcall (*set_duplex_mode)(PCefPrintSettings self, TCefDuplexMode mode); + TCefDuplexMode __stdcall (*get_duplex_mode)(PCefPrintSettings self); +}; + + +struct DECLSPEC_DRECORD TCefPrintDialogCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*cont)(PCefPrintDialogCallback self, PCefPrintSettings settings); + void __stdcall (*cancel)(PCefPrintDialogCallback self); +}; + + +struct DECLSPEC_DRECORD TCefPrintJobCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*cont)(PCefPrintJobCallback self); +}; + + +struct DECLSPEC_DRECORD TCefPrintHandler +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_print_start)(PCefPrintHandler self, PCefBrowser browser); + void __stdcall (*on_print_settings)(PCefPrintHandler self, PCefBrowser browser, PCefPrintSettings settings, int get_defaults); + int __stdcall (*on_print_dialog)(PCefPrintHandler self, PCefBrowser browser, int has_selection, PCefPrintDialogCallback callback); + int __stdcall (*on_print_job)(PCefPrintHandler self, PCefBrowser browser, const PCefString document_name, const PCefString pdf_file_path, PCefPrintJobCallback callback); + void __stdcall (*on_print_reset)(PCefPrintHandler self, PCefBrowser browser); + TCefSize __stdcall (*get_pdf_paper_size)(PCefPrintHandler self, PCefBrowser browser, int device_units_per_inch); +}; + + +struct DECLSPEC_DRECORD TCefDragData +{ +public: + TCefBaseRefCounted base; + PCefDragData __stdcall (*clone)(PCefDragData self); + int __stdcall (*is_read_only)(PCefDragData self); + int __stdcall (*is_link)(PCefDragData self); + int __stdcall (*is_fragment)(PCefDragData self); + int __stdcall (*is_file)(PCefDragData self); + PCefStringUserFreeUtf16 __stdcall (*get_link_url)(PCefDragData self); + PCefStringUserFreeUtf16 __stdcall (*get_link_title)(PCefDragData self); + PCefStringUserFreeUtf16 __stdcall (*get_link_metadata)(PCefDragData self); + PCefStringUserFreeUtf16 __stdcall (*get_fragment_text)(PCefDragData self); + PCefStringUserFreeUtf16 __stdcall (*get_fragment_html)(PCefDragData self); + PCefStringUserFreeUtf16 __stdcall (*get_fragment_base_url)(PCefDragData self); + PCefStringUserFreeUtf16 __stdcall (*get_file_name)(PCefDragData self); + unsigned __stdcall (*get_file_contents)(PCefDragData self, PCefStreamWriter writer); + int __stdcall (*get_file_names)(PCefDragData self, TCefStringList names); + int __stdcall (*get_file_paths)(PCefDragData self, TCefStringList paths); + void __stdcall (*set_link_url)(PCefDragData self, const PCefString url); + void __stdcall (*set_link_title)(PCefDragData self, const PCefString title); + void __stdcall (*set_link_metadata)(PCefDragData self, const PCefString data); + void __stdcall (*set_fragment_text)(PCefDragData self, const PCefString text); + void __stdcall (*set_fragment_html)(PCefDragData self, const PCefString html); + void __stdcall (*set_fragment_base_url)(PCefDragData self, const PCefString base_url); + void __stdcall (*reset_file_contents)(PCefDragData self); + void __stdcall (*add_file)(PCefDragData self, const PCefString path, const PCefString display_name); + void __stdcall (*clear_filenames)(PCefDragData self); + PCefImage __stdcall (*get_image)(PCefDragData self); + PCefPoint __stdcall (*get_image_hotspot)(PCefDragData self); + int __stdcall (*has_image)(PCefDragData self); +}; + + +struct DECLSPEC_DRECORD TCefCommandLine +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_valid)(PCefCommandLine self); + int __stdcall (*is_read_only)(PCefCommandLine self); + PCefCommandLine __stdcall (*copy)(PCefCommandLine self); + void __stdcall (*init_from_argv)(PCefCommandLine self, int argc, const System::PPAnsiChar argv); + void __stdcall (*init_from_string)(PCefCommandLine self, const PCefString command_line); + void __stdcall (*reset)(PCefCommandLine self); + void __stdcall (*get_argv)(PCefCommandLine self, TCefStringList argv); + PCefStringUserFreeUtf16 __stdcall (*get_command_line_string)(PCefCommandLine self); + PCefStringUserFreeUtf16 __stdcall (*get_program)(PCefCommandLine self); + void __stdcall (*set_program)(PCefCommandLine self, const PCefString program_); + int __stdcall (*has_switches)(PCefCommandLine self); + int __stdcall (*has_switch)(PCefCommandLine self, const PCefString name); + PCefStringUserFreeUtf16 __stdcall (*get_switch_value)(PCefCommandLine self, const PCefString name); + void __stdcall (*get_switches)(PCefCommandLine self, TCefStringMap switches); + void __stdcall (*append_switch)(PCefCommandLine self, const PCefString name); + void __stdcall (*append_switch_with_value)(PCefCommandLine self, const PCefString name, const PCefString value); + int __stdcall (*has_arguments)(PCefCommandLine self); + void __stdcall (*get_arguments)(PCefCommandLine self, TCefStringList arguments); + void __stdcall (*append_argument)(PCefCommandLine self, const PCefString argument); + void __stdcall (*prepend_wrapper)(PCefCommandLine self, const PCefString wrapper); + void __stdcall (*remove_switch)(PCefCommandLine self, const PCefString name_); +}; + + +struct DECLSPEC_DRECORD TCefCommandHandler +{ +public: + TCefBaseRefCounted base; + int __stdcall (*on_chrome_command)(PCefCommandHandler self, PCefBrowser browser, int command_id, TCefWindowOpenDisposition disposition); + int __stdcall (*is_chrome_app_menu_item_visible)(PCefCommandHandler self, PCefBrowser browser, int command_id); + int __stdcall (*is_chrome_app_menu_item_enabled)(PCefCommandHandler self, PCefBrowser browser, int command_id); + int __stdcall (*is_chrome_page_action_icon_visible)(PCefCommandHandler self, TCefChromePageActionIconType icon_type); + int __stdcall (*is_chrome_toolbar_button_visible)(PCefCommandHandler self, TCefChromeToolbarButtonType button_type); +}; + + +struct DECLSPEC_DRECORD TCefSchemeRegistrar +{ +public: + TCefBaseScoped base; + int __stdcall (*add_custom_scheme)(PCefSchemeRegistrar self, const PCefString scheme_name, TCefSchemeOptions options); +}; + + +struct DECLSPEC_DRECORD TCefBinaryValue +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_valid)(PCefBinaryValue self); + int __stdcall (*is_owned)(PCefBinaryValue self); + int __stdcall (*is_same)(PCefBinaryValue self, PCefBinaryValue that); + int __stdcall (*is_equal)(PCefBinaryValue self, PCefBinaryValue that); + PCefBinaryValue __stdcall (*copy)(PCefBinaryValue self); + void * __stdcall (*get_raw_data)(PCefBinaryValue self); + unsigned __stdcall (*get_size)(PCefBinaryValue self); + unsigned __stdcall (*get_data)(PCefBinaryValue self, void * buffer, System::NativeUInt buffer_size, System::NativeUInt data_offset); +}; + + +struct DECLSPEC_DRECORD TCefValue +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_valid)(PCefValue self); + int __stdcall (*is_owned)(PCefValue self); + int __stdcall (*is_read_only)(PCefValue self); + int __stdcall (*is_same)(PCefValue self, PCefValue that); + int __stdcall (*is_equal)(PCefValue self, PCefValue that); + PCefValue __stdcall (*copy)(PCefValue self); + TCefValueType __stdcall (*get_type)(PCefValue self); + int __stdcall (*get_bool)(PCefValue self); + int __stdcall (*get_int)(PCefValue self); + double __stdcall (*get_double)(PCefValue self); + PCefStringUserFreeUtf16 __stdcall (*get_string)(PCefValue self); + PCefBinaryValue __stdcall (*get_binary)(PCefValue self); + PCefDictionaryValue __stdcall (*get_dictionary)(PCefValue self); + PCefListValue __stdcall (*get_list)(PCefValue self); + int __stdcall (*set_null)(PCefValue self); + int __stdcall (*set_bool)(PCefValue self, int value); + int __stdcall (*set_int)(PCefValue self, int value); + int __stdcall (*set_double)(PCefValue self, double value); + int __stdcall (*set_string)(PCefValue self, const PCefString value); + int __stdcall (*set_binary)(PCefValue self, PCefBinaryValue value); + int __stdcall (*set_dictionary)(PCefValue self, PCefDictionaryValue value); + int __stdcall (*set_list)(PCefValue self, PCefListValue value); +}; + + +struct DECLSPEC_DRECORD TCefDictionaryValue +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_valid)(PCefDictionaryValue self); + int __stdcall (*is_owned)(PCefDictionaryValue self); + int __stdcall (*is_read_only)(PCefDictionaryValue self); + int __stdcall (*is_same)(PCefDictionaryValue self, PCefDictionaryValue that); + int __stdcall (*is_equal)(PCefDictionaryValue self, PCefDictionaryValue that); + PCefDictionaryValue __stdcall (*copy)(PCefDictionaryValue self, int exclude_empty_children); + unsigned __stdcall (*get_size)(PCefDictionaryValue self); + int __stdcall (*clear)(PCefDictionaryValue self); + int __stdcall (*has_key)(PCefDictionaryValue self, const PCefString key); + int __stdcall (*get_keys)(PCefDictionaryValue self, const TCefStringList keys); + int __stdcall (*remove)(PCefDictionaryValue self, const PCefString key); + TCefValueType __stdcall (*get_type)(PCefDictionaryValue self, const PCefString key); + PCefValue __stdcall (*get_value)(PCefDictionaryValue self, const PCefString key); + int __stdcall (*get_bool)(PCefDictionaryValue self, const PCefString key); + int __stdcall (*get_int)(PCefDictionaryValue self, const PCefString key); + double __stdcall (*get_double)(PCefDictionaryValue self, const PCefString key); + PCefStringUserFreeUtf16 __stdcall (*get_string)(PCefDictionaryValue self, const PCefString key); + PCefBinaryValue __stdcall (*get_binary)(PCefDictionaryValue self, const PCefString key); + PCefDictionaryValue __stdcall (*get_dictionary)(PCefDictionaryValue self, const PCefString key); + PCefListValue __stdcall (*get_list)(PCefDictionaryValue self, const PCefString key); + int __stdcall (*set_value)(PCefDictionaryValue self, const PCefString key, PCefValue value); + int __stdcall (*set_null)(PCefDictionaryValue self, const PCefString key); + int __stdcall (*set_bool)(PCefDictionaryValue self, const PCefString key, int value); + int __stdcall (*set_int)(PCefDictionaryValue self, const PCefString key, int value); + int __stdcall (*set_double)(PCefDictionaryValue self, const PCefString key, double value); + int __stdcall (*set_string)(PCefDictionaryValue self, const PCefString key, PCefString value); + int __stdcall (*set_binary)(PCefDictionaryValue self, const PCefString key, PCefBinaryValue value); + int __stdcall (*set_dictionary)(PCefDictionaryValue self, const PCefString key, PCefDictionaryValue value); + int __stdcall (*set_list)(PCefDictionaryValue self, const PCefString key, PCefListValue value); +}; + + +struct DECLSPEC_DRECORD TCefListValue +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_valid)(PCefListValue self); + int __stdcall (*is_owned)(PCefListValue self); + int __stdcall (*is_read_only)(PCefListValue self); + int __stdcall (*is_same)(PCefListValue self, PCefListValue that); + int __stdcall (*is_equal)(PCefListValue self, PCefListValue that); + PCefListValue __stdcall (*copy)(PCefListValue self); + int __stdcall (*set_size)(PCefListValue self, System::NativeUInt size); + unsigned __stdcall (*get_size)(PCefListValue self); + int __stdcall (*clear)(PCefListValue self); + int __stdcall (*remove)(PCefListValue self, System::NativeUInt index); + TCefValueType __stdcall (*get_type)(PCefListValue self, System::NativeUInt index); + PCefValue __stdcall (*get_value)(PCefListValue self, System::NativeUInt index); + int __stdcall (*get_bool)(PCefListValue self, System::NativeUInt index); + int __stdcall (*get_int)(PCefListValue self, System::NativeUInt index); + double __stdcall (*get_double)(PCefListValue self, System::NativeUInt index); + PCefStringUserFreeUtf16 __stdcall (*get_string)(PCefListValue self, System::NativeUInt index); + PCefBinaryValue __stdcall (*get_binary)(PCefListValue self, System::NativeUInt index); + PCefDictionaryValue __stdcall (*get_dictionary)(PCefListValue self, System::NativeUInt index); + PCefListValue __stdcall (*get_list)(PCefListValue self, System::NativeUInt index); + int __stdcall (*set_value)(PCefListValue self, System::NativeUInt index, PCefValue value); + int __stdcall (*set_null)(PCefListValue self, System::NativeUInt index); + int __stdcall (*set_bool)(PCefListValue self, System::NativeUInt index, int value); + int __stdcall (*set_int)(PCefListValue self, System::NativeUInt index, int value); + int __stdcall (*set_double)(PCefListValue self, System::NativeUInt index, double value); + int __stdcall (*set_string)(PCefListValue self, System::NativeUInt index, PCefString value); + int __stdcall (*set_binary)(PCefListValue self, System::NativeUInt index, PCefBinaryValue value); + int __stdcall (*set_dictionary)(PCefListValue self, System::NativeUInt index, PCefDictionaryValue value); + int __stdcall (*set_list)(PCefListValue self, System::NativeUInt index, PCefListValue value); +}; + + +struct DECLSPEC_DRECORD TCefStringVisitor +{ +public: + TCefBaseRefCounted base; + void __stdcall (*visit)(PCefStringVisitor self, const PCefString str); +}; + + +struct DECLSPEC_DRECORD TCefPostDataElement +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_read_only)(PCefPostDataElement self); + void __stdcall (*set_to_empty)(PCefPostDataElement self); + void __stdcall (*set_to_file)(PCefPostDataElement self, const PCefString fileName); + void __stdcall (*set_to_bytes)(PCefPostDataElement self, System::NativeUInt size, const void * bytes); + TCefPostDataElementType __stdcall (*get_type)(PCefPostDataElement self); + PCefStringUserFreeUtf16 __stdcall (*get_file)(PCefPostDataElement self); + unsigned __stdcall (*get_bytes_count)(PCefPostDataElement self); + unsigned __stdcall (*get_bytes)(PCefPostDataElement self, System::NativeUInt size, void * bytes); +}; + + +struct DECLSPEC_DRECORD TCefPostData +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_read_only)(PCefPostData self); + int __stdcall (*has_excluded_elements)(PCefPostData self); + unsigned __stdcall (*get_element_count)(PCefPostData self); + void __stdcall (*get_elements)(PCefPostData self, System::NativeUInt &elementsCount, PCefPostDataElement &elements); + int __stdcall (*remove_element)(PCefPostData self, PCefPostDataElement element); + int __stdcall (*add_element)(PCefPostData self, PCefPostDataElement element); + void __stdcall (*remove_elements)(PCefPostData self); +}; + + +struct DECLSPEC_DRECORD TCefRequest +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_read_only)(PCefRequest self); + PCefStringUserFreeUtf16 __stdcall (*get_url)(PCefRequest self); + void __stdcall (*set_url)(PCefRequest self, const PCefString url); + PCefStringUserFreeUtf16 __stdcall (*get_method)(PCefRequest self); + void __stdcall (*set_method)(PCefRequest self, const PCefString method); + void __stdcall (*set_referrer)(PCefRequest self, const PCefString referrer_url, TCefReferrerPolicy policy); + PCefStringUserFreeUtf16 __stdcall (*get_referrer_url)(PCefRequest self); + TCefReferrerPolicy __stdcall (*get_referrer_policy)(PCefRequest self); + PCefPostData __stdcall (*get_post_data)(PCefRequest self); + void __stdcall (*set_post_data)(PCefRequest self, PCefPostData postData); + void __stdcall (*get_header_map)(PCefRequest self, TCefStringMultimap headerMap); + void __stdcall (*set_header_map)(PCefRequest self, TCefStringMultimap headerMap); + PCefStringUserFreeUtf16 __stdcall (*get_header_by_name)(PCefRequest self, const PCefString name); + void __stdcall (*set_header_by_name)(PCefRequest self, const PCefString name, const PCefString value, int overwrite); + void __stdcall (*set_)(PCefRequest self, const PCefString url, const PCefString method, PCefPostData postData, TCefStringMultimap headerMap); + int __stdcall (*get_flags)(PCefRequest self); + void __stdcall (*set_flags)(PCefRequest self, int flags); + PCefStringUserFreeUtf16 __stdcall (*get_first_party_for_cookies)(PCefRequest self); + void __stdcall (*set_first_party_for_cookies)(PCefRequest self, const PCefString url); + TCefResourceType __stdcall (*get_resource_type)(PCefRequest self); + TCefTransitionType __stdcall (*get_transition_type)(PCefRequest self); + unsigned __int64 __stdcall (*get_identifier)(PCefRequest self); +}; + + +struct DECLSPEC_DRECORD TCefTask +{ +public: + TCefBaseRefCounted base; + void __stdcall (*execute)(PCefTask self); +}; + + +struct DECLSPEC_DRECORD TCefTaskManager +{ +public: + TCefBaseRefCounted base; + unsigned __stdcall (*get_tasks_count)(PCefTaskManager self); + int __stdcall (*get_task_ids_list)(PCefTaskManager self, System::PNativeUInt task_idsCount, System::PInt64 task_ids); + int __stdcall (*get_task_info)(PCefTaskManager self, __int64 task_id, PCefTaskInfo info); + int __stdcall (*kill_task)(PCefTaskManager self, __int64 task_id); + __int64 __stdcall (*get_task_id_for_browser_id)(PCefTaskManager self, int browser_id); +}; + + +struct DECLSPEC_DRECORD TCefDomVisitor +{ +public: + TCefBaseRefCounted base; + void __stdcall (*visit)(PCefDomVisitor self, PCefDomDocument document); +}; + + +struct DECLSPEC_DRECORD TCefMenuModel +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_sub_menu)(PCefMenuModel self); + int __stdcall (*clear)(PCefMenuModel self); + unsigned __stdcall (*get_count)(PCefMenuModel self); + int __stdcall (*add_separator)(PCefMenuModel self); + int __stdcall (*add_item)(PCefMenuModel self, int command_id, const PCefString text); + int __stdcall (*add_check_item)(PCefMenuModel self, int command_id, const PCefString text); + int __stdcall (*add_radio_item)(PCefMenuModel self, int command_id, const PCefString text, int group_id); + PCefMenuModel __stdcall (*add_sub_menu)(PCefMenuModel self, int command_id, const PCefString text); + int __stdcall (*insert_separator_at)(PCefMenuModel self, System::NativeUInt index); + int __stdcall (*insert_item_at)(PCefMenuModel self, System::NativeUInt index, int command_id, const PCefString text); + int __stdcall (*insert_check_item_at)(PCefMenuModel self, System::NativeUInt index, int command_id, const PCefString text); + int __stdcall (*insert_radio_item_at)(PCefMenuModel self, System::NativeUInt index, int command_id, const PCefString text, int group_id); + PCefMenuModel __stdcall (*insert_sub_menu_at)(PCefMenuModel self, System::NativeUInt index, int command_id, const PCefString text); + int __stdcall (*remove)(PCefMenuModel self, int command_id); + int __stdcall (*remove_at)(PCefMenuModel self, System::NativeUInt index); + int __stdcall (*get_index_of)(PCefMenuModel self, int command_id); + int __stdcall (*get_command_id_at)(PCefMenuModel self, System::NativeUInt index); + int __stdcall (*set_command_id_at)(PCefMenuModel self, System::NativeUInt index, int command_id); + PCefStringUserFreeUtf16 __stdcall (*get_label)(PCefMenuModel self, int command_id); + PCefStringUserFreeUtf16 __stdcall (*get_label_at)(PCefMenuModel self, System::NativeUInt index); + int __stdcall (*set_label)(PCefMenuModel self, int command_id, const PCefString text); + int __stdcall (*set_label_at)(PCefMenuModel self, System::NativeUInt index, const PCefString text); + TCefMenuItemType __stdcall (*get_type)(PCefMenuModel self, int command_id); + TCefMenuItemType __stdcall (*get_type_at)(PCefMenuModel self, System::NativeUInt index); + int __stdcall (*get_group_id)(PCefMenuModel self, int command_id); + int __stdcall (*get_group_id_at)(PCefMenuModel self, System::NativeUInt index); + int __stdcall (*set_group_id)(PCefMenuModel self, int command_id, int group_id); + int __stdcall (*set_group_id_at)(PCefMenuModel self, System::NativeUInt index, int group_id); + PCefMenuModel __stdcall (*get_sub_menu)(PCefMenuModel self, int command_id); + PCefMenuModel __stdcall (*get_sub_menu_at)(PCefMenuModel self, System::NativeUInt index); + int __stdcall (*is_visible)(PCefMenuModel self, int command_id); + int __stdcall (*is_visible_at)(PCefMenuModel self, System::NativeUInt index); + int __stdcall (*set_visible)(PCefMenuModel self, int command_id, int visible); + int __stdcall (*set_visible_at)(PCefMenuModel self, System::NativeUInt index, int visible); + int __stdcall (*is_enabled)(PCefMenuModel self, int command_id); + int __stdcall (*is_enabled_at)(PCefMenuModel self, System::NativeUInt index); + int __stdcall (*set_enabled)(PCefMenuModel self, int command_id, int enabled); + int __stdcall (*set_enabled_at)(PCefMenuModel self, System::NativeUInt index, int enabled); + int __stdcall (*is_checked)(PCefMenuModel self, int command_id); + int __stdcall (*is_checked_at)(PCefMenuModel self, System::NativeUInt index); + int __stdcall (*set_checked)(PCefMenuModel self, int command_id, int checked); + int __stdcall (*set_checked_at)(PCefMenuModel self, System::NativeUInt index, int checked); + int __stdcall (*has_accelerator)(PCefMenuModel self, int command_id); + int __stdcall (*has_accelerator_at)(PCefMenuModel self, System::NativeUInt index); + int __stdcall (*set_accelerator)(PCefMenuModel self, int command_id, int key_code, int shift_pressed, int ctrl_pressed, int alt_pressed); + int __stdcall (*set_accelerator_at)(PCefMenuModel self, System::NativeUInt index, int key_code, int shift_pressed, int ctrl_pressed, int alt_pressed); + int __stdcall (*remove_accelerator)(PCefMenuModel self, int command_id); + int __stdcall (*remove_accelerator_at)(PCefMenuModel self, System::NativeUInt index); + int __stdcall (*get_accelerator)(PCefMenuModel self, int command_id, System::PInteger key_code, System::PInteger shift_pressed, System::PInteger ctrl_pressed, System::PInteger alt_pressed); + int __stdcall (*get_accelerator_at)(PCefMenuModel self, System::NativeUInt index, System::PInteger key_code, System::PInteger shift_pressed, System::PInteger ctrl_pressed, System::PInteger alt_pressed); + int __stdcall (*set_color)(PCefMenuModel self, int command_id, TCefMenuColorType color_type, TCefColor color); + int __stdcall (*set_color_at)(PCefMenuModel self, int index, TCefMenuColorType color_type, TCefColor color); + int __stdcall (*get_color)(PCefMenuModel self, int command_id, TCefMenuColorType color_type, PCefColor color); + int __stdcall (*get_color_at)(PCefMenuModel self, int index, TCefMenuColorType color_type, PCefColor color); + int __stdcall (*set_font_list)(PCefMenuModel self, int command_id, const PCefString font_list); + int __stdcall (*set_font_list_at)(PCefMenuModel self, int index, const PCefString font_list); +}; + + +struct DECLSPEC_DRECORD TCefContextMenuParams +{ +public: + TCefBaseRefCounted base; + int __stdcall (*get_xcoord)(PCefContextMenuParams self); + int __stdcall (*get_ycoord)(PCefContextMenuParams self); + TCefContextMenuTypeFlags __stdcall (*get_type_flags)(PCefContextMenuParams self); + PCefStringUserFreeUtf16 __stdcall (*get_link_url)(PCefContextMenuParams self); + PCefStringUserFreeUtf16 __stdcall (*get_unfiltered_link_url)(PCefContextMenuParams self); + PCefStringUserFreeUtf16 __stdcall (*get_source_url)(PCefContextMenuParams self); + int __stdcall (*has_image_contents)(PCefContextMenuParams self); + PCefStringUserFreeUtf16 __stdcall (*get_title_text)(PCefContextMenuParams self); + PCefStringUserFreeUtf16 __stdcall (*get_page_url)(PCefContextMenuParams self); + PCefStringUserFreeUtf16 __stdcall (*get_frame_url)(PCefContextMenuParams self); + PCefStringUserFreeUtf16 __stdcall (*get_frame_charset)(PCefContextMenuParams self); + TCefContextMenuMediaType __stdcall (*get_media_type)(PCefContextMenuParams self); + TCefContextMenuMediaStateFlags __stdcall (*get_media_state_flags)(PCefContextMenuParams self); + PCefStringUserFreeUtf16 __stdcall (*get_selection_text)(PCefContextMenuParams self); + PCefStringUserFreeUtf16 __stdcall (*get_misspelled_word)(PCefContextMenuParams self); + int __stdcall (*get_dictionary_suggestions)(PCefContextMenuParams self, TCefStringList suggestions); + int __stdcall (*is_editable)(PCefContextMenuParams self); + int __stdcall (*is_spell_check_enabled)(PCefContextMenuParams self); + TCefContextMenuEditStateFlags __stdcall (*get_edit_state_flags)(PCefContextMenuParams self); + int __stdcall (*is_custom_menu)(PCefContextMenuParams self); +}; + + +struct DECLSPEC_DRECORD TCefDownloadItem +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_valid)(PCefDownloadItem self); + int __stdcall (*is_in_progress)(PCefDownloadItem self); + int __stdcall (*is_complete)(PCefDownloadItem self); + int __stdcall (*is_canceled)(PCefDownloadItem self); + int __stdcall (*is_interrupted)(PCefDownloadItem self); + TCefDownloadInterruptReason __stdcall (*get_interrupt_reason)(PCefDownloadItem self); + __int64 __stdcall (*get_current_speed)(PCefDownloadItem self); + int __stdcall (*get_percent_complete)(PCefDownloadItem self); + __int64 __stdcall (*get_total_bytes)(PCefDownloadItem self); + __int64 __stdcall (*get_received_bytes)(PCefDownloadItem self); + TCefBaseTime __stdcall (*get_start_time)(PCefDownloadItem self); + TCefBaseTime __stdcall (*get_end_time)(PCefDownloadItem self); + PCefStringUserFreeUtf16 __stdcall (*get_full_path)(PCefDownloadItem self); + unsigned __stdcall (*get_id)(PCefDownloadItem self); + PCefStringUserFreeUtf16 __stdcall (*get_url)(PCefDownloadItem self); + PCefStringUserFreeUtf16 __stdcall (*get_original_url)(PCefDownloadItem self); + PCefStringUserFreeUtf16 __stdcall (*get_suggested_file_name)(PCefDownloadItem self); + PCefStringUserFreeUtf16 __stdcall (*get_content_disposition)(PCefDownloadItem self); + PCefStringUserFreeUtf16 __stdcall (*get_mime_type)(PCefDownloadItem self); +}; + + +struct DECLSPEC_DRECORD TCefBeforeDownloadCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*cont)(PCefBeforeDownloadCallback self, const PCefString download_path, int show_dialog); +}; + + +struct DECLSPEC_DRECORD TCefDownloadItemCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*cancel)(PCefDownloadItemCallback self); + void __stdcall (*pause)(PCefDownloadItemCallback self); + void __stdcall (*resume)(PCefDownloadItemCallback self); +}; + + +struct DECLSPEC_DRECORD TCefDomNode +{ +public: + TCefBaseRefCounted base; + TCefDomNodeType __stdcall (*get_type)(PCefDomNode self); + int __stdcall (*is_text)(PCefDomNode self); + int __stdcall (*is_element)(PCefDomNode self); + int __stdcall (*is_editable)(PCefDomNode self); + int __stdcall (*is_form_control_element)(PCefDomNode self); + TCefDomFormControlType __stdcall (*get_form_control_element_type)(PCefDomNode self); + int __stdcall (*is_same)(PCefDomNode self, PCefDomNode that); + PCefStringUserFreeUtf16 __stdcall (*get_name)(PCefDomNode self); + PCefStringUserFreeUtf16 __stdcall (*get_value)(PCefDomNode self); + int __stdcall (*set_value)(PCefDomNode self, const PCefString value); + PCefStringUserFreeUtf16 __stdcall (*get_as_markup)(PCefDomNode self); + PCefDomDocument __stdcall (*get_document)(PCefDomNode self); + PCefDomNode __stdcall (*get_parent)(PCefDomNode self); + PCefDomNode __stdcall (*get_previous_sibling)(PCefDomNode self); + PCefDomNode __stdcall (*get_next_sibling)(PCefDomNode self); + int __stdcall (*has_children)(PCefDomNode self); + PCefDomNode __stdcall (*get_first_child)(PCefDomNode self); + PCefDomNode __stdcall (*get_last_child)(PCefDomNode self); + PCefStringUserFreeUtf16 __stdcall (*get_element_tag_name)(PCefDomNode self); + int __stdcall (*has_element_attributes)(PCefDomNode self); + int __stdcall (*has_element_attribute)(PCefDomNode self, const PCefString attrName); + PCefStringUserFreeUtf16 __stdcall (*get_element_attribute)(PCefDomNode self, const PCefString attrName); + void __stdcall (*get_element_attributes)(PCefDomNode self, TCefStringMap attrMap); + int __stdcall (*set_element_attribute)(PCefDomNode self, const PCefString attrName, const PCefString value); + PCefStringUserFreeUtf16 __stdcall (*get_element_inner_text)(PCefDomNode self); + TCefRect __stdcall (*get_element_bounds)(PCefDomNode self); +}; + + +struct DECLSPEC_DRECORD TCefDomDocument +{ +public: + TCefBaseRefCounted base; + TCefDomDocumentType __stdcall (*get_type)(PCefDomDocument self); + PCefDomNode __stdcall (*get_document)(PCefDomDocument self); + PCefDomNode __stdcall (*get_body)(PCefDomDocument self); + PCefDomNode __stdcall (*get_head)(PCefDomDocument self); + PCefStringUserFreeUtf16 __stdcall (*get_title)(PCefDomDocument self); + PCefDomNode __stdcall (*get_element_by_id)(PCefDomDocument self, const PCefString id); + PCefDomNode __stdcall (*get_focused_node)(PCefDomDocument self); + int __stdcall (*has_selection)(PCefDomDocument self); + int __stdcall (*get_selection_start_offset)(PCefDomDocument self); + int __stdcall (*get_selection_end_offset)(PCefDomDocument self); + PCefStringUserFreeUtf16 __stdcall (*get_selection_as_markup)(PCefDomDocument self); + PCefStringUserFreeUtf16 __stdcall (*get_selection_as_text)(PCefDomDocument self); + PCefStringUserFreeUtf16 __stdcall (*get_base_url)(PCefDomDocument self); + PCefStringUserFreeUtf16 __stdcall (*get_complete_url)(PCefDomDocument self, const PCefString partialURL); +}; + + +struct DECLSPEC_DRECORD TCefv8Handler +{ +public: + TCefBaseRefCounted base; + int __stdcall (*execute)(PCefv8Handler self, const PCefString name, PCefv8Value object_, System::NativeUInt argumentsCount, const PPCefV8Value arguments, PCefv8Value &retval, PCefString exception); +}; + + +struct DECLSPEC_DRECORD TCefV8Exception +{ +public: + TCefBaseRefCounted base; + PCefStringUserFreeUtf16 __stdcall (*get_message)(PCefV8Exception self); + PCefStringUserFreeUtf16 __stdcall (*get_source_line)(PCefV8Exception self); + PCefStringUserFreeUtf16 __stdcall (*get_script_resource_name)(PCefV8Exception self); + int __stdcall (*get_line_number)(PCefV8Exception self); + int __stdcall (*get_start_position)(PCefV8Exception self); + int __stdcall (*get_end_position)(PCefV8Exception self); + int __stdcall (*get_start_column)(PCefV8Exception self); + int __stdcall (*get_end_column)(PCefV8Exception self); +}; + + +struct DECLSPEC_DRECORD TCefv8ArrayBufferReleaseCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*release_buffer)(PCefv8ArrayBufferReleaseCallback self, void * buffer); +}; + + +struct DECLSPEC_DRECORD TCefv8Value +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_valid)(PCefv8Value self); + int __stdcall (*is_undefined)(PCefv8Value self); + int __stdcall (*is_null)(PCefv8Value self); + int __stdcall (*is_bool)(PCefv8Value self); + int __stdcall (*is_int)(PCefv8Value self); + int __stdcall (*is_uint)(PCefv8Value self); + int __stdcall (*is_double)(PCefv8Value self); + int __stdcall (*is_date)(PCefv8Value self); + int __stdcall (*is_string)(PCefv8Value self); + int __stdcall (*is_object)(PCefv8Value self); + int __stdcall (*is_array)(PCefv8Value self); + int __stdcall (*is_array_buffer)(PCefv8Value self); + int __stdcall (*is_function)(PCefv8Value self); + int __stdcall (*is_promise)(PCefv8Value self); + int __stdcall (*is_same)(PCefv8Value self, PCefv8Value that); + int __stdcall (*get_bool_value)(PCefv8Value self); + int __stdcall (*get_int_value)(PCefv8Value self); + unsigned __stdcall (*get_uint_value)(PCefv8Value self); + double __stdcall (*get_double_value)(PCefv8Value self); + TCefBaseTime __stdcall (*get_date_value)(PCefv8Value self); + PCefStringUserFreeUtf16 __stdcall (*get_string_value)(PCefv8Value self); + int __stdcall (*is_user_created)(PCefv8Value self); + int __stdcall (*has_exception)(PCefv8Value self); + PCefV8Exception __stdcall (*get_exception)(PCefv8Value self); + int __stdcall (*clear_exception)(PCefv8Value self); + int __stdcall (*will_rethrow_exceptions)(PCefv8Value self); + int __stdcall (*set_rethrow_exceptions)(PCefv8Value self, int rethrow); + int __stdcall (*has_value_bykey)(PCefv8Value self, const PCefString key); + int __stdcall (*has_value_byindex)(PCefv8Value self, int index); + int __stdcall (*delete_value_bykey)(PCefv8Value self, const PCefString key); + int __stdcall (*delete_value_byindex)(PCefv8Value self, int index); + PCefv8Value __stdcall (*get_value_bykey)(PCefv8Value self, const PCefString key); + PCefv8Value __stdcall (*get_value_byindex)(PCefv8Value self, int index); + int __stdcall (*set_value_bykey)(PCefv8Value self, const PCefString key, PCefv8Value value, TCefV8PropertyAttributes attribute); + int __stdcall (*set_value_byindex)(PCefv8Value self, int index, PCefv8Value value); + int __stdcall (*set_value_byaccessor)(PCefv8Value self, const PCefString key, TCefV8PropertyAttributes attribute); + int __stdcall (*get_keys)(PCefv8Value self, TCefStringList keys); + int __stdcall (*set_user_data)(PCefv8Value self, PCefBaseRefCounted user_data); + PCefBaseRefCounted __stdcall (*get_user_data)(PCefv8Value self); + int __stdcall (*get_externally_allocated_memory)(PCefv8Value self); + int __stdcall (*adjust_externally_allocated_memory)(PCefv8Value self, int change_in_bytes); + int __stdcall (*get_array_length)(PCefv8Value self); + PCefv8ArrayBufferReleaseCallback __stdcall (*get_array_buffer_release_callback)(PCefv8Value self); + int __stdcall (*neuter_array_buffer)(PCefv8Value self); + unsigned __stdcall (*get_array_buffer_byte_length)(PCefv8Value self); + void * __stdcall (*get_array_buffer_data)(PCefv8Value self); + PCefStringUserFreeUtf16 __stdcall (*get_function_name)(PCefv8Value self); + PCefv8Handler __stdcall (*get_function_handler)(PCefv8Value self); + PCefv8Value __stdcall (*execute_function)(PCefv8Value self, PCefv8Value obj, System::NativeUInt argumentsCount, const PPCefV8Value arguments); + PCefv8Value __stdcall (*execute_function_with_context)(PCefv8Value self, PCefv8Context context, PCefv8Value obj, System::NativeUInt argumentsCount, const PPCefV8Value arguments); + int __stdcall (*resolve_promise)(PCefv8Value self, PCefv8Value arg); + int __stdcall (*reject_promise)(PCefv8Value self, const PCefString errorMsg); +}; + + +struct DECLSPEC_DRECORD TCefV8Context +{ +public: + TCefBaseRefCounted base; + PCefTaskRunner __stdcall (*get_task_runner)(PCefv8Context self); + int __stdcall (*is_valid)(PCefv8Context self); + PCefBrowser __stdcall (*get_browser)(PCefv8Context self); + PCefFrame __stdcall (*get_frame)(PCefv8Context self); + PCefv8Value __stdcall (*get_global)(PCefv8Context self); + int __stdcall (*enter)(PCefv8Context self); + int __stdcall (*exit)(PCefv8Context self); + int __stdcall (*is_same)(PCefv8Context self, PCefv8Context that); + int __stdcall (*eval)(PCefv8Context self, const PCefString code, const PCefString script_url, int start_line, PCefv8Value &retval, PCefV8Exception &exception); +}; + + +struct DECLSPEC_DRECORD TCefV8Interceptor +{ +public: + TCefBaseRefCounted base; + int __stdcall (*get_byname)(PCefV8Interceptor self, const PCefString name, PCefv8Value object_, /* out */ PCefv8Value &retval, PCefString exception); + int __stdcall (*get_byindex)(PCefV8Interceptor self, int index, PCefv8Value object_, /* out */ PCefv8Value &retval, PCefString exception); + int __stdcall (*set_byname)(PCefV8Interceptor self, const PCefString name, PCefv8Value object_, PCefv8Value value, PCefString exception); + int __stdcall (*set_byindex)(PCefV8Interceptor self, int index, PCefv8Value object_, PCefv8Value value, PCefString exception); +}; + + +struct DECLSPEC_DRECORD TCefV8Accessor +{ +public: + TCefBaseRefCounted base; + int __stdcall (*get)(PCefV8Accessor self, const PCefString name, PCefv8Value object_, /* out */ PCefv8Value &retval, PCefString exception); + int __stdcall (*set_)(PCefV8Accessor self, const PCefString name, PCefv8Value object_, PCefv8Value value, PCefString exception); +}; + + +struct DECLSPEC_DRECORD TCefFrame +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_valid)(PCefFrame self); + void __stdcall (*undo)(PCefFrame self); + void __stdcall (*redo)(PCefFrame self); + void __stdcall (*cut)(PCefFrame self); + void __stdcall (*copy)(PCefFrame self); + void __stdcall (*paste)(PCefFrame self); + void __stdcall (*paste_and_match_style)(PCefFrame self); + void __stdcall (*del)(PCefFrame self); + void __stdcall (*select_all)(PCefFrame self); + void __stdcall (*view_source)(PCefFrame self); + void __stdcall (*get_source)(PCefFrame self, PCefStringVisitor visitor); + void __stdcall (*get_text)(PCefFrame self, PCefStringVisitor visitor); + void __stdcall (*load_request)(PCefFrame self, PCefRequest request); + void __stdcall (*load_url)(PCefFrame self, const PCefString url); + void __stdcall (*execute_java_script)(PCefFrame self, const PCefString code, const PCefString script_url, int start_line); + int __stdcall (*is_main)(PCefFrame self); + int __stdcall (*is_focused)(PCefFrame self); + PCefStringUserFreeUtf16 __stdcall (*get_name)(PCefFrame self); + PCefStringUserFreeUtf16 __stdcall (*get_identifier)(PCefFrame self); + PCefFrame __stdcall (*get_parent)(PCefFrame self); + PCefStringUserFreeUtf16 __stdcall (*get_url)(PCefFrame self); + PCefBrowser __stdcall (*get_browser)(PCefFrame self); + PCefv8Context __stdcall (*get_v8_context)(PCefFrame self); + void __stdcall (*visit_dom)(PCefFrame self, PCefDomVisitor visitor); + PCefUrlRequest __stdcall (*create_urlrequest)(PCefFrame self, PCefRequest request, PCefUrlRequestClient client); + void __stdcall (*send_process_message)(PCefFrame self, TCefProcessId target_process, PCefProcessMessage message_); +}; + + +struct DECLSPEC_DRECORD TCefFrameHandler +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_frame_created)(PCefFrameHandler self, PCefBrowser browser, PCefFrame frame); + void __stdcall (*on_frame_destroyed)(PCefFrameHandler self, PCefBrowser browser, PCefFrame frame); + void __stdcall (*on_frame_attached)(PCefFrameHandler self, PCefBrowser browser, PCefFrame frame, int reattached); + void __stdcall (*on_frame_detached)(PCefFrameHandler self, PCefBrowser browser, PCefFrame frame); + void __stdcall (*on_main_frame_changed)(PCefFrameHandler self, PCefBrowser browser, PCefFrame old_frame, PCefFrame new_frame); +}; + + +struct DECLSPEC_DRECORD TCefAccessibilityHandler +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_accessibility_tree_change)(PCefAccessibilityHandler self, PCefValue value); + void __stdcall (*on_accessibility_location_change)(PCefAccessibilityHandler self, PCefValue value); +}; + + +struct DECLSPEC_DRECORD TCefContextMenuHandler +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_before_context_menu)(PCefContextMenuHandler self, PCefBrowser browser, PCefFrame frame, PCefContextMenuParams params, PCefMenuModel model); + int __stdcall (*run_context_menu)(PCefContextMenuHandler self, PCefBrowser browser, PCefFrame frame, PCefContextMenuParams params, PCefMenuModel model, PCefRunContextMenuCallback callback); + int __stdcall (*on_context_menu_command)(PCefContextMenuHandler self, PCefBrowser browser, PCefFrame frame, PCefContextMenuParams params, int command_id, TCefEventFlags event_flags); + void __stdcall (*on_context_menu_dismissed)(PCefContextMenuHandler self, PCefBrowser browser, PCefFrame frame); + int __stdcall (*run_quick_menu)(PCefContextMenuHandler self, PCefBrowser browser, PCefFrame frame, PCefPoint location, PCefSize size, TCefQuickMenuEditStateFlags edit_state_flags, PCefRunQuickMenuCallback callback); + int __stdcall (*on_quick_menu_command)(PCefContextMenuHandler self, PCefBrowser browser, PCefFrame frame, int command_id, TCefEventFlags event_flags); + void __stdcall (*on_quick_menu_dismissed)(PCefContextMenuHandler self, PCefBrowser browser, PCefFrame frame); +}; + + +struct DECLSPEC_DRECORD TCefRunQuickMenuCallback +{ +public: + TCefBaseRefCounted base; + void __stdcall (*cont)(PCefRunQuickMenuCallback self, int command_id, TCefEventFlags event_flags); + void __stdcall (*cancel)(PCefRunQuickMenuCallback self); +}; + + +struct DECLSPEC_DRECORD TCefClient +{ +public: + TCefBaseRefCounted base; + PCefAudioHandler __stdcall (*get_audio_handler)(PCefClient self); + PCefCommandHandler __stdcall (*get_command_handler)(PCefClient self); + PCefContextMenuHandler __stdcall (*get_context_menu_handler)(PCefClient self); + PCefDialogHandler __stdcall (*get_dialog_handler)(PCefClient self); + PCefDisplayHandler __stdcall (*get_display_handler)(PCefClient self); + PCefDownloadHandler __stdcall (*get_download_handler)(PCefClient self); + PCefDragHandler __stdcall (*get_drag_handler)(PCefClient self); + PCefFindHandler __stdcall (*get_find_handler)(PCefClient self); + PCefFocusHandler __stdcall (*get_focus_handler)(PCefClient self); + PCefFrameHandler __stdcall (*get_frame_handler)(PCefClient self); + PCefPermissionHandler __stdcall (*get_permission_handler)(PCefClient self); + PCefJsDialogHandler __stdcall (*get_jsdialog_handler)(PCefClient self); + PCefKeyboardHandler __stdcall (*get_keyboard_handler)(PCefClient self); + PCefLifeSpanHandler __stdcall (*get_life_span_handler)(PCefClient self); + PCefLoadHandler __stdcall (*get_load_handler)(PCefClient self); + PCefPrintHandler __stdcall (*get_print_handler)(PCefClient self); + PCefRenderHandler __stdcall (*get_render_handler)(PCefClient self); + PCefRequestHandler __stdcall (*get_request_handler)(PCefClient self); + int __stdcall (*on_process_message_received)(PCefClient self, PCefBrowser browser, PCefFrame frame, TCefProcessId source_process, PCefProcessMessage message_); +}; + + +struct DECLSPEC_DRECORD TCefBrowserHost +{ +public: + TCefBaseRefCounted base; + PCefBrowser __stdcall (*get_browser)(PCefBrowserHost self); + void __stdcall (*close_browser)(PCefBrowserHost self, int force_close); + int __stdcall (*try_close_browser)(PCefBrowserHost self); + int __stdcall (*is_ready_to_be_closed)(PCefBrowserHost self); + void __stdcall (*set_focus)(PCefBrowserHost self, int focus); + TCefWindowHandle __stdcall (*get_window_handle)(PCefBrowserHost self); + TCefWindowHandle __stdcall (*get_opener_window_handle)(PCefBrowserHost self); + int __stdcall (*get_opener_identifier)(PCefBrowserHost self); + int __stdcall (*has_view)(PCefBrowserHost self); + PCefClient __stdcall (*get_client)(PCefBrowserHost self); + PCefRequestContext __stdcall (*get_request_context)(PCefBrowserHost self); + int __stdcall (*can_zoom)(PCefBrowserHost self, TCefZoomCommand command); + void __stdcall (*zoom)(PCefBrowserHost self, TCefZoomCommand command); + double __stdcall (*get_default_zoom_level)(PCefBrowserHost self); + double __stdcall (*get_zoom_level)(PCefBrowserHost self); + void __stdcall (*set_zoom_level)(PCefBrowserHost self, double zoomLevel); + void __stdcall (*run_file_dialog)(PCefBrowserHost self, TCefFileDialogMode mode, const PCefString title, const PCefString default_file_path, TCefStringList accept_filters, PCefRunFileDialogCallback callback); + void __stdcall (*start_download)(PCefBrowserHost self, const PCefString url); + void __stdcall (*download_image)(PCefBrowserHost self, const PCefString image_url, int is_favicon, unsigned max_image_size, int bypass_cache, PCefDownloadImageCallback callback); + void __stdcall (*print)(PCefBrowserHost self); + void __stdcall (*print_to_pdf)(PCefBrowserHost self, const PCefString path, const PCefPdfPrintSettings settings, PCefPdfPrintCallback callback); + void __stdcall (*find)(PCefBrowserHost self, const PCefString searchText, int forward_, int matchCase, int findNext); + void __stdcall (*stop_finding)(PCefBrowserHost self, int clearSelection); + void __stdcall (*show_dev_tools)(PCefBrowserHost self, const PCefWindowInfo windowInfo, PCefClient client, const PCefBrowserSettings settings, const PCefPoint inspect_element_at); + void __stdcall (*close_dev_tools)(PCefBrowserHost self); + int __stdcall (*has_dev_tools)(PCefBrowserHost self); + int __stdcall (*send_dev_tools_message)(PCefBrowserHost self, const void * message_, System::NativeUInt message_size); + int __stdcall (*execute_dev_tools_method)(PCefBrowserHost self, int message_id, const PCefString method, PCefDictionaryValue params); + PCefRegistration __stdcall (*add_dev_tools_message_observer)(PCefBrowserHost self, PCefDevToolsMessageObserver observer); + void __stdcall (*get_navigation_entries)(PCefBrowserHost self, PCefNavigationEntryVisitor visitor, int current_only); + void __stdcall (*replace_misspelling)(PCefBrowserHost self, const PCefString word); + void __stdcall (*add_word_to_dictionary)(PCefBrowserHost self, const PCefString word); + int __stdcall (*is_window_rendering_disabled)(PCefBrowserHost self); + void __stdcall (*was_resized)(PCefBrowserHost self); + void __stdcall (*was_hidden)(PCefBrowserHost self, int hidden); + void __stdcall (*notify_screen_info_changed)(PCefBrowserHost self); + void __stdcall (*invalidate)(PCefBrowserHost self, TCefPaintElementType type_); + void __stdcall (*send_external_begin_frame)(PCefBrowserHost self); + void __stdcall (*send_key_event)(PCefBrowserHost self, const PCefKeyEvent event); + void __stdcall (*send_mouse_click_event)(PCefBrowserHost self, const PCefMouseEvent event, TCefMouseButtonType type_, int mouseUp, int clickCount); + void __stdcall (*send_mouse_move_event)(PCefBrowserHost self, const PCefMouseEvent event, int mouseLeave); + void __stdcall (*send_mouse_wheel_event)(PCefBrowserHost self, const PCefMouseEvent event, int deltaX, int deltaY); + void __stdcall (*send_touch_event)(PCefBrowserHost self, const PCefTouchEvent event); + void __stdcall (*send_capture_lost_event)(PCefBrowserHost self); + void __stdcall (*notify_move_or_resize_started)(PCefBrowserHost self); + int __stdcall (*get_windowless_frame_rate)(PCefBrowserHost self); + void __stdcall (*set_windowless_frame_rate)(PCefBrowserHost self, int frame_rate); + void __stdcall (*ime_set_composition)(PCefBrowserHost self, const PCefString text, System::NativeUInt underlinesCount, const PCefCompositionUnderline underlines, const PCefRange replacement_range, const PCefRange selection_range); + void __stdcall (*ime_commit_text)(PCefBrowserHost self, const PCefString text, const PCefRange replacement_range, int relative_cursor_pos); + void __stdcall (*ime_finish_composing_text)(PCefBrowserHost self, int keep_selection); + void __stdcall (*ime_cancel_composition)(PCefBrowserHost self); + void __stdcall (*drag_target_drag_enter)(PCefBrowserHost self, PCefDragData drag_data, const PCefMouseEvent event, TCefDragOperations allowed_ops); + void __stdcall (*drag_target_drag_over)(PCefBrowserHost self, const PCefMouseEvent event, TCefDragOperations allowed_ops); + void __stdcall (*drag_target_drag_leave)(PCefBrowserHost self); + void __stdcall (*drag_target_drop)(PCefBrowserHost self, const PCefMouseEvent event); + void __stdcall (*drag_source_ended_at)(PCefBrowserHost self, int x, int y, TCefDragOperation op); + void __stdcall (*drag_source_system_drag_ended)(PCefBrowserHost self); + PCefNavigationEntry __stdcall (*get_visible_navigation_entry)(PCefBrowserHost self); + void __stdcall (*set_accessibility_state)(PCefBrowserHost self, TCefState accessibility_state); + void __stdcall (*set_auto_resize_enabled)(PCefBrowserHost self, int enabled, const PCefSize min_size, const PCefSize max_size); + void __stdcall (*set_audio_muted)(PCefBrowserHost self, int mute); + int __stdcall (*is_audio_muted)(PCefBrowserHost self); + int __stdcall (*is_fullscreen)(PCefBrowserHost self); + void __stdcall (*exit_fullscreen)(PCefBrowserHost self, int will_cause_resize); + int __stdcall (*can_execute_chrome_command)(PCefBrowserHost self, int command_id); + void __stdcall (*execute_chrome_command)(PCefBrowserHost self, int command_id, TCefWindowOpenDisposition disposition); + int __stdcall (*is_render_process_unresponsive)(PCefBrowserHost self); + TCefRuntimeStyle __stdcall (*get_runtime_style)(PCefBrowserHost self); +}; + + +struct DECLSPEC_DRECORD TCefBrowser +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_valid)(PCefBrowser self); + PCefBrowserHost __stdcall (*get_host)(PCefBrowser self); + int __stdcall (*can_go_back)(PCefBrowser self); + void __stdcall (*go_back)(PCefBrowser self); + int __stdcall (*can_go_forward)(PCefBrowser self); + void __stdcall (*go_forward)(PCefBrowser self); + int __stdcall (*is_loading)(PCefBrowser self); + void __stdcall (*reload)(PCefBrowser self); + void __stdcall (*reload_ignore_cache)(PCefBrowser self); + void __stdcall (*stop_load)(PCefBrowser self); + int __stdcall (*get_identifier)(PCefBrowser self); + int __stdcall (*is_same)(PCefBrowser self, PCefBrowser that); + int __stdcall (*is_popup)(PCefBrowser self); + int __stdcall (*has_document)(PCefBrowser self); + PCefFrame __stdcall (*get_main_frame)(PCefBrowser self); + PCefFrame __stdcall (*get_focused_frame)(PCefBrowser self); + PCefFrame __stdcall (*get_frame_by_identifier)(PCefBrowser self, const PCefString identifier); + PCefFrame __stdcall (*get_frame_by_name)(PCefBrowser self, const PCefString name); + unsigned __stdcall (*get_frame_count)(PCefBrowser self); + void __stdcall (*get_frame_identifiers)(PCefBrowser self, TCefStringList identifiers); + void __stdcall (*get_frame_names)(PCefBrowser self, TCefStringList names); +}; + + +struct DECLSPEC_DRECORD TCefResourceBundleHandler +{ +public: + TCefBaseRefCounted base; + int __stdcall (*get_localized_string)(PCefResourceBundleHandler self, int string_id, PCefString string_val); + int __stdcall (*get_data_resource)(PCefResourceBundleHandler self, int resource_id, void * &data, System::NativeUInt &data_size); + int __stdcall (*get_data_resource_for_scale)(PCefResourceBundleHandler self, int resource_id, TCefScaleFactor scale_factor, void * &data, System::NativeUInt &data_size); +}; + + +struct DECLSPEC_DRECORD TCefBrowserProcessHandler +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_register_custom_preferences)(PCefBrowserProcessHandler self, TCefPreferencesType type_, PCefPreferenceRegistrar registrar); + void __stdcall (*on_context_initialized)(PCefBrowserProcessHandler self); + void __stdcall (*on_before_child_process_launch)(PCefBrowserProcessHandler self, PCefCommandLine command_line); + int __stdcall (*on_already_running_app_relaunch)(PCefBrowserProcessHandler self, PCefCommandLine command_line, const PCefString current_directory); + void __stdcall (*on_schedule_message_pump_work)(PCefBrowserProcessHandler self, __int64 delay_ms); + PCefClient __stdcall (*get_default_client)(PCefBrowserProcessHandler self); + PCefRequestContextHandler __stdcall (*get_default_request_context_handler)(PCefBrowserProcessHandler self); +}; + + +struct DECLSPEC_DRECORD TCefApp +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_before_command_line_processing)(PCefApp self, const PCefString process_type, PCefCommandLine command_line); + void __stdcall (*on_register_custom_schemes)(PCefApp self, PCefSchemeRegistrar registrar); + PCefResourceBundleHandler __stdcall (*get_resource_bundle_handler)(PCefApp self); + PCefBrowserProcessHandler __stdcall (*get_browser_process_handler)(PCefApp self); + PCefRenderProcessHandler __stdcall (*get_render_process_handler)(PCefApp self); +}; + + +struct DECLSPEC_DRECORD TCefServer +{ +public: + TCefBaseRefCounted base; + PCefTaskRunner __stdcall (*get_task_runner)(PCefServer self); + void __stdcall (*shutdown)(PCefServer self); + int __stdcall (*is_running)(PCefServer self); + PCefStringUserFreeUtf16 __stdcall (*get_address)(PCefServer self); + int __stdcall (*has_connection)(PCefServer self); + int __stdcall (*is_valid_connection)(PCefServer self, int connection_id); + void __stdcall (*send_http200_response)(PCefServer self, int connection_id, const PCefString content_type, const void * data, System::NativeUInt data_size); + void __stdcall (*send_http404_response)(PCefServer self, int connection_id); + void __stdcall (*send_http500_response)(PCefServer self, int connection_id, const PCefString error_message); + void __stdcall (*send_http_response)(PCefServer self, int connection_id, int response_code, const PCefString content_type, __int64 content_length, TCefStringMultimap extra_headers); + void __stdcall (*send_raw_data)(PCefServer self, int connection_id, const void * data, System::NativeUInt data_size); + void __stdcall (*close_connection)(PCefServer self, int connection_id); + void __stdcall (*send_web_socket_message)(PCefServer self, int connection_id, const void * data, System::NativeUInt data_size); +}; + + +struct DECLSPEC_DRECORD TCefServerHandler +{ +public: + TCefBaseRefCounted base; + void __stdcall (*on_server_created)(PCefServerHandler self, PCefServer server); + void __stdcall (*on_server_destroyed)(PCefServerHandler self, PCefServer server); + void __stdcall (*on_client_connected)(PCefServerHandler self, PCefServer server, int connection_id); + void __stdcall (*on_client_disconnected)(PCefServerHandler self, PCefServer server, int connection_id); + void __stdcall (*on_http_request)(PCefServerHandler self, PCefServer server, int connection_id, const PCefString client_address, PCefRequest request); + void __stdcall (*on_web_socket_request)(PCefServerHandler self, PCefServer server, int connection_id, const PCefString client_address, PCefRequest request, PCefCallback callback); + void __stdcall (*on_web_socket_connected)(PCefServerHandler self, PCefServer server, int connection_id); + void __stdcall (*on_web_socket_message)(PCefServerHandler self, PCefServer server, int connection_id, const void * data, System::NativeUInt data_size); +}; + + +struct DECLSPEC_DRECORD TCefDisplay +{ +public: + TCefBaseRefCounted base; + __int64 __stdcall (*get_id)(PCefDisplay self); + float __stdcall (*get_device_scale_factor)(PCefDisplay self); + void __stdcall (*convert_point_to_pixels)(PCefDisplay self, PCefPoint point); + void __stdcall (*convert_point_from_pixels)(PCefDisplay self, PCefPoint point); + TCefRect __stdcall (*get_bounds)(PCefDisplay self); + TCefRect __stdcall (*get_work_area)(PCefDisplay self); + int __stdcall (*get_rotation)(PCefDisplay self); +}; + + +struct DECLSPEC_DRECORD TCefLayout +{ +public: + TCefBaseRefCounted base; + PCefBoxLayout __stdcall (*as_box_layout)(PCefLayout self); + PCefFillLayout __stdcall (*as_fill_layout)(PCefLayout self); + int __stdcall (*is_valid)(PCefLayout self); +}; + + +struct DECLSPEC_DRECORD TCefBoxLayout +{ +public: + TCefLayout base; + void __stdcall (*set_flex_for_view)(PCefBoxLayout self, PCefView view, int flex); + void __stdcall (*clear_flex_for_view)(PCefBoxLayout self, PCefView view); +}; + + +struct DECLSPEC_DRECORD TCefFillLayout +{ +public: + TCefLayout base; +}; + + +struct DECLSPEC_DRECORD TCefOverlayController +{ +public: + TCefBaseRefCounted base; + int __stdcall (*is_valid)(PCefOverlayController self); + int __stdcall (*is_same)(PCefOverlayController self, PCefOverlayController that); + PCefView __stdcall (*get_contents_view)(PCefOverlayController self); + PCefWindow __stdcall (*get_window)(PCefOverlayController self); + TCefDockingMode __stdcall (*get_docking_mode)(PCefOverlayController self); + void __stdcall (*destroy)(PCefOverlayController self); + void __stdcall (*set_bounds)(PCefOverlayController self, const PCefRect bounds); + TCefRect __stdcall (*get_bounds)(PCefOverlayController self); + TCefRect __stdcall (*get_bounds_in_screen)(PCefOverlayController self); + void __stdcall (*set_size)(PCefOverlayController self, const PCefSize size); + TCefSize __stdcall (*get_size)(PCefOverlayController self); + void __stdcall (*set_position)(PCefOverlayController self, const PCefPoint position); + TCefPoint __stdcall (*get_position)(PCefOverlayController self); + void __stdcall (*set_insets)(PCefOverlayController self, const PCefInsets insets); + TCefInsets __stdcall (*get_insets)(PCefOverlayController self); + void __stdcall (*size_to_preferred_size)(PCefOverlayController self); + void __stdcall (*set_visible)(PCefOverlayController self, int visible); + int __stdcall (*is_visible)(PCefOverlayController self); + int __stdcall (*is_drawn)(PCefOverlayController self); +}; + + +struct DECLSPEC_DRECORD TCefView +{ +public: + TCefBaseRefCounted base; + PCefBrowserView __stdcall (*as_browser_view)(PCefView self); + PCefButton __stdcall (*as_button)(PCefView self); + PCefPanel __stdcall (*as_panel)(PCefView self); + PCefScrollView __stdcall (*as_scroll_view)(PCefView self); + PCefTextfield __stdcall (*as_textfield)(PCefView self); + PCefStringUserFreeUtf16 __stdcall (*get_type_string)(PCefView self); + PCefStringUserFreeUtf16 __stdcall (*to_string)(PCefView self, int include_children); + int __stdcall (*is_valid)(PCefView self); + int __stdcall (*is_attached)(PCefView self); + int __stdcall (*is_same)(PCefView self, PCefView that); + PCefViewDelegate __stdcall (*get_delegate)(PCefView self); + PCefWindow __stdcall (*get_window)(PCefView self); + int __stdcall (*get_id)(PCefView self); + void __stdcall (*set_id)(PCefView self, int id); + int __stdcall (*get_group_id)(PCefView self); + void __stdcall (*set_group_id)(PCefView self, int group_id); + PCefView __stdcall (*get_parent_view)(PCefView self); + PCefView __stdcall (*get_view_for_id)(PCefView self, int id); + void __stdcall (*set_bounds)(PCefView self, const PCefRect bounds); + TCefRect __stdcall (*get_bounds)(PCefView self); + TCefRect __stdcall (*get_bounds_in_screen)(PCefView self); + void __stdcall (*set_size)(PCefView self, const PCefSize size); + TCefSize __stdcall (*get_size)(PCefView self); + void __stdcall (*set_position)(PCefView self, const PCefPoint position); + TCefPoint __stdcall (*get_position)(PCefView self); + void __stdcall (*set_insets)(PCefView self, const PCefInsets insets); + TCefInsets __stdcall (*get_insets)(PCefView self); + TCefSize __stdcall (*get_preferred_size)(PCefView self); + void __stdcall (*size_to_preferred_size)(PCefView self); + TCefSize __stdcall (*get_minimum_size)(PCefView self); + TCefSize __stdcall (*get_maximum_size)(PCefView self); + int __stdcall (*get_height_for_width)(PCefView self, int width); + void __stdcall (*invalidate_layout)(PCefView self); + void __stdcall (*set_visible)(PCefView self, int visible); + int __stdcall (*is_visible)(PCefView self); + int __stdcall (*is_drawn)(PCefView self); + void __stdcall (*set_enabled)(PCefView self, int enabled); + int __stdcall (*is_enabled)(PCefView self); + void __stdcall (*set_focusable)(PCefView self, int focusable); + int __stdcall (*is_focusable)(PCefView self); + int __stdcall (*is_accessibility_focusable)(PCefView self); + int __stdcall (*has_focus)(PCefView self); + void __stdcall (*request_focus)(PCefView self); + void __stdcall (*set_background_color)(PCefView self, TCefColor color); + TCefColor __stdcall (*get_background_color)(PCefView self); + TCefColor __stdcall (*get_theme_color)(PCefView self, int color_id); + int __stdcall (*convert_point_to_screen)(PCefView self, PCefPoint point); + int __stdcall (*convert_point_from_screen)(PCefView self, PCefPoint point); + int __stdcall (*convert_point_to_window)(PCefView self, PCefPoint point); + int __stdcall (*convert_point_from_window)(PCefView self, PCefPoint point); + int __stdcall (*convert_point_to_view)(PCefView self, PCefView view, PCefPoint point); + int __stdcall (*convert_point_from_view)(PCefView self, PCefView view, PCefPoint point); +}; + + +struct DECLSPEC_DRECORD TCefViewDelegate +{ +public: + TCefBaseRefCounted base; + TCefSize __stdcall (*get_preferred_size)(PCefViewDelegate self, PCefView view); + TCefSize __stdcall (*get_minimum_size)(PCefViewDelegate self, PCefView view); + TCefSize __stdcall (*get_maximum_size)(PCefViewDelegate self, PCefView view); + int __stdcall (*get_height_for_width)(PCefViewDelegate self, PCefView view, int width); + void __stdcall (*on_parent_view_changed)(PCefViewDelegate self, PCefView view, int added, PCefView parent); + void __stdcall (*on_child_view_changed)(PCefViewDelegate self, PCefView view, int added, PCefView child); + void __stdcall (*on_window_changed)(PCefViewDelegate self, PCefView view, int added); + void __stdcall (*on_layout_changed)(PCefViewDelegate self, PCefView view, const PCefRect new_bounds); + void __stdcall (*on_focus)(PCefViewDelegate self, PCefView view); + void __stdcall (*on_blur)(PCefViewDelegate self, PCefView view); + void __stdcall (*on_theme_changed)(PCefViewDelegate self, PCefView view); +}; + + +struct DECLSPEC_DRECORD TCefTextfield +{ +public: + TCefView base; + void __stdcall (*set_password_input)(PCefTextfield self, int password_input); + int __stdcall (*is_password_input)(PCefTextfield self); + void __stdcall (*set_read_only)(PCefTextfield self, int read_only); + int __stdcall (*is_read_only)(PCefTextfield self); + PCefStringUserFreeUtf16 __stdcall (*get_text)(PCefTextfield self); + void __stdcall (*set_text)(PCefTextfield self, const PCefString text); + void __stdcall (*append_text)(PCefTextfield self, const PCefString text); + void __stdcall (*insert_or_replace_text)(PCefTextfield self, const PCefString text); + int __stdcall (*has_selection)(PCefTextfield self); + PCefStringUserFreeUtf16 __stdcall (*get_selected_text)(PCefTextfield self); + void __stdcall (*select_all)(PCefTextfield self, int reversed); + void __stdcall (*clear_selection)(PCefTextfield self); + TCefRange __stdcall (*get_selected_range)(PCefTextfield self); + void __stdcall (*select_range)(PCefTextfield self, const PCefRange range); + unsigned __stdcall (*get_cursor_position)(PCefTextfield self); + void __stdcall (*set_text_color)(PCefTextfield self, TCefColor color); + TCefColor __stdcall (*get_text_color)(PCefTextfield self); + void __stdcall (*set_selection_text_color)(PCefTextfield self, TCefColor color); + TCefColor __stdcall (*get_selection_text_color)(PCefTextfield self); + void __stdcall (*set_selection_background_color)(PCefTextfield self, TCefColor color); + TCefColor __stdcall (*get_selection_background_color)(PCefTextfield self); + void __stdcall (*set_font_list)(PCefTextfield self, const PCefString font_list); + void __stdcall (*apply_text_color)(PCefTextfield self, TCefColor color, const PCefRange range); + void __stdcall (*apply_text_style)(PCefTextfield self, TCefTextStyle style, int add, const PCefRange range); + int __stdcall (*is_command_enabled)(PCefTextfield self, TCefTextFieldCommands command_id); + void __stdcall (*execute_command)(PCefTextfield self, TCefTextFieldCommands command_id); + void __stdcall (*clear_edit_history)(PCefTextfield self); + void __stdcall (*set_placeholder_text)(PCefTextfield self, const PCefString text); + PCefStringUserFreeUtf16 __stdcall (*get_placeholder_text)(PCefTextfield self); + void __stdcall (*set_placeholder_text_color)(PCefTextfield self, TCefColor color); + void __stdcall (*set_accessible_name)(PCefTextfield self, const PCefString name); +}; + + +struct DECLSPEC_DRECORD TCefTextfieldDelegate +{ +public: + TCefViewDelegate base; + int __stdcall (*on_key_event)(PCefTextfieldDelegate self, PCefTextfield textfield, const PCefKeyEvent event); + void __stdcall (*on_after_user_action)(PCefTextfieldDelegate self, PCefTextfield textfield); +}; + + +struct DECLSPEC_DRECORD TCefScrollView +{ +public: + TCefView base; + void __stdcall (*set_content_view)(PCefScrollView self, PCefView view); + PCefView __stdcall (*get_content_view)(PCefScrollView self); + TCefRect __stdcall (*get_visible_content_rect)(PCefScrollView self); + int __stdcall (*has_horizontal_scrollbar)(PCefScrollView self); + int __stdcall (*get_horizontal_scrollbar_height)(PCefScrollView self); + int __stdcall (*has_vertical_scrollbar)(PCefScrollView self); + int __stdcall (*get_vertical_scrollbar_width)(PCefScrollView self); +}; + + +struct DECLSPEC_DRECORD TCefPanel +{ +public: + TCefView base; + PCefWindow __stdcall (*as_window)(PCefPanel self); + PCefFillLayout __stdcall (*set_to_fill_layout)(PCefPanel self); + PCefBoxLayout __stdcall (*set_to_box_layout)(PCefPanel self, const PCefBoxLayoutSettings settings); + PCefLayout __stdcall (*get_layout)(PCefPanel self); + void __stdcall (*layout)(PCefPanel self); + void __stdcall (*add_child_view)(PCefPanel self, PCefView view); + void __stdcall (*add_child_view_at)(PCefPanel self, PCefView view, int index); + void __stdcall (*reorder_child_view)(PCefPanel self, PCefView view, int index); + void __stdcall (*remove_child_view)(PCefPanel self, PCefView view); + void __stdcall (*remove_all_child_views)(PCefPanel self); + unsigned __stdcall (*get_child_view_count)(PCefPanel self); + PCefView __stdcall (*get_child_view_at)(PCefPanel self, int index); +}; + + +struct DECLSPEC_DRECORD TCefPanelDelegate +{ +public: + TCefViewDelegate base; +}; + + +struct DECLSPEC_DRECORD TCefBrowserView +{ +public: + TCefView base; + PCefBrowser __stdcall (*get_browser)(PCefBrowserView self); + PCefView __stdcall (*get_chrome_toolbar)(PCefBrowserView self); + void __stdcall (*set_prefer_accelerators)(PCefBrowserView self, int prefer_accelerators); + TCefRuntimeStyle __stdcall (*get_runtime_style)(PCefBrowserView self); +}; + + +struct DECLSPEC_DRECORD TCefBrowserViewDelegate +{ +public: + TCefViewDelegate base; + void __stdcall (*on_browser_created)(PCefBrowserViewDelegate self, PCefBrowserView browser_view, PCefBrowser browser); + void __stdcall (*on_browser_destroyed)(PCefBrowserViewDelegate self, PCefBrowserView browser_view, PCefBrowser browser); + PCefBrowserViewDelegate __stdcall (*get_delegate_for_popup_browser_view)(PCefBrowserViewDelegate self, PCefBrowserView browser_view, const PCefBrowserSettings settings, PCefClient client, int is_devtools); + int __stdcall (*on_popup_browser_view_created)(PCefBrowserViewDelegate self, PCefBrowserView browser_view, PCefBrowserView popup_browser_view, int is_devtools); + TCefChromeToolbarType __stdcall (*get_chrome_toolbar_type)(PCefBrowserViewDelegate self, PCefBrowserView browser_view); + int __stdcall (*use_frameless_window_for_picture_in_picture)(PCefBrowserViewDelegate self, PCefBrowserView browser_view); + int __stdcall (*on_gesture_command)(PCefBrowserViewDelegate self, PCefBrowserView browser_view, TCefGestureCommand gesture_command); + TCefRuntimeStyle __stdcall (*get_browser_runtime_style)(PCefBrowserViewDelegate self); + int __stdcall (*allow_move_for_picture_in_picture)(PCefBrowserViewDelegate self, PCefBrowserView browser_view); +}; + + +struct DECLSPEC_DRECORD TCefButton +{ +public: + TCefView base; + PCefLabelButton __stdcall (*as_label_button)(PCefButton self); + void __stdcall (*set_state)(PCefButton self, TCefButtonState state); + TCefButtonState __stdcall (*get_state)(PCefButton self); + void __stdcall (*set_ink_drop_enabled)(PCefButton self, int enabled); + void __stdcall (*set_tooltip_text)(PCefButton self, const PCefString tooltip_text); + void __stdcall (*set_accessible_name)(PCefButton self, const PCefString name); +}; + + +struct DECLSPEC_DRECORD TCefButtonDelegate +{ +public: + TCefViewDelegate base; + void __stdcall (*on_button_pressed)(PCefButtonDelegate self, PCefButton button); + void __stdcall (*on_button_state_changed)(PCefButtonDelegate self, PCefButton button); +}; + + +struct DECLSPEC_DRECORD TCefLabelButton +{ +public: + TCefButton base; + PCefMenuButton __stdcall (*as_menu_button)(PCefLabelButton self); + void __stdcall (*set_text)(PCefLabelButton self, const PCefString text); + PCefStringUserFreeUtf16 __stdcall (*get_text)(PCefLabelButton self); + void __stdcall (*set_image)(PCefLabelButton self, TCefButtonState button_state, PCefImage image); + PCefImage __stdcall (*get_image)(PCefLabelButton self, TCefButtonState button_state); + void __stdcall (*set_text_color)(PCefLabelButton self, TCefButtonState for_state, TCefColor color); + void __stdcall (*set_enabled_text_colors)(PCefLabelButton self, TCefColor color); + void __stdcall (*set_font_list)(PCefLabelButton self, const PCefString font_list); + void __stdcall (*set_horizontal_alignment)(PCefLabelButton self, TCefHorizontalAlignment alignment); + void __stdcall (*set_minimum_size)(PCefLabelButton self, const PCefSize size); + void __stdcall (*set_maximum_size)(PCefLabelButton self, const PCefSize size); +}; + + +struct DECLSPEC_DRECORD TCefMenuButton +{ +public: + TCefLabelButton base; + void __stdcall (*show_menu)(PCefMenuButton self, PCefMenuModel menu_model, const PCefPoint screen_point, TCefMenuAnchorPosition anchor_position); + void __stdcall (*trigger_menu)(PCefMenuButton self); +}; + + +struct DECLSPEC_DRECORD TCefMenuButtonPressedLock +{ +public: + TCefBaseRefCounted base; +}; + + +struct DECLSPEC_DRECORD TCefMenuButtonDelegate +{ +public: + TCefButtonDelegate base; + void __stdcall (*on_menu_button_pressed)(PCefMenuButtonDelegate self, PCefMenuButton menu_button, const PCefPoint screen_point, PCefMenuButtonPressedLock button_pressed_lock); +}; + + +struct DECLSPEC_DRECORD TCefWindow +{ +public: + TCefPanel base; + void __stdcall (*show)(PCefWindow self); + void __stdcall (*show_as_browser_modal_dialog)(PCefWindow self, PCefBrowserView browser_view); + void __stdcall (*hide)(PCefWindow self); + void __stdcall (*center_window)(PCefWindow self, const PCefSize size); + void __stdcall (*close)(PCefWindow self); + int __stdcall (*is_closed)(PCefWindow self); + void __stdcall (*activate)(PCefWindow self); + void __stdcall (*deactivate)(PCefWindow self); + int __stdcall (*is_active)(PCefWindow self); + void __stdcall (*bring_to_top)(PCefWindow self); + void __stdcall (*set_always_on_top)(PCefWindow self, int on_top); + int __stdcall (*is_always_on_top)(PCefWindow self); + void __stdcall (*maximize)(PCefWindow self); + void __stdcall (*minimize)(PCefWindow self); + void __stdcall (*restore)(PCefWindow self); + void __stdcall (*set_fullscreen)(PCefWindow self, int fullscreen); + int __stdcall (*is_maximized)(PCefWindow self); + int __stdcall (*is_minimized)(PCefWindow self); + int __stdcall (*is_fullscreen)(PCefWindow self); + PCefView __stdcall (*get_focused_view)(PCefWindow self); + void __stdcall (*set_title)(PCefWindow self, const PCefString title); + PCefStringUserFreeUtf16 __stdcall (*get_title)(PCefWindow self); + void __stdcall (*set_window_icon)(PCefWindow self, PCefImage image); + PCefImage __stdcall (*get_window_icon)(PCefWindow self); + void __stdcall (*set_window_app_icon)(PCefWindow self, PCefImage image); + PCefImage __stdcall (*get_window_app_icon)(PCefWindow self); + PCefOverlayController __stdcall (*add_overlay_view)(PCefWindow self, PCefView view, TCefDockingMode docking_mode, int can_activate); + void __stdcall (*show_menu)(PCefWindow self, PCefMenuModel menu_model, const PCefPoint screen_point, TCefMenuAnchorPosition anchor_position); + void __stdcall (*cancel_menu)(PCefWindow self); + PCefDisplay __stdcall (*get_display)(PCefWindow self); + TCefRect __stdcall (*get_client_area_bounds_in_screen)(PCefWindow self); + void __stdcall (*set_draggable_regions)(PCefWindow self, System::NativeUInt regionsCount, const PCefDraggableRegionArray regions); + TCefWindowHandle __stdcall (*get_window_handle)(PCefWindow self); + void __stdcall (*send_key_press)(PCefWindow self, int key_code, unsigned event_flags); + void __stdcall (*send_mouse_move)(PCefWindow self, int screen_x, int screen_y); + void __stdcall (*send_mouse_events)(PCefWindow self, TCefMouseButtonType button, int mouse_down, int mouse_up); + void __stdcall (*set_accelerator)(PCefWindow self, int command_id, int key_code, int shift_pressed, int ctrl_pressed, int alt_pressed, int high_priority); + void __stdcall (*remove_accelerator)(PCefWindow self, int command_id); + void __stdcall (*remove_all_accelerators)(PCefWindow self); + void __stdcall (*set_theme_color)(PCefWindow self, int color_id, TCefColor color); + void __stdcall (*theme_changed)(PCefWindow self); + TCefRuntimeStyle __stdcall (*get_runtime_style)(PCefWindow self); +}; + + +struct DECLSPEC_DRECORD TCefWindowDelegate +{ +public: + TCefPanelDelegate base; + void __stdcall (*on_window_created)(PCefWindowDelegate self, PCefWindow window); + void __stdcall (*on_window_closing)(PCefWindowDelegate self, PCefWindow window); + void __stdcall (*on_window_destroyed)(PCefWindowDelegate self, PCefWindow window); + void __stdcall (*on_window_activation_changed)(PCefWindowDelegate self, PCefWindow window, int active); + void __stdcall (*on_window_bounds_changed)(PCefWindowDelegate self, PCefWindow window, const PCefRect new_bounds); + void __stdcall (*on_window_fullscreen_transition)(PCefWindowDelegate self, PCefWindow window, int is_completed); + PCefWindow __stdcall (*get_parent_window)(PCefWindowDelegate self, PCefWindow window, System::PInteger is_menu, System::PInteger can_activate_menu); + int __stdcall (*is_window_modal_dialog)(PCefWindowDelegate self, PCefWindow window); + TCefRect __stdcall (*get_initial_bounds)(PCefWindowDelegate self, PCefWindow window); + TCefShowState __stdcall (*get_initial_show_state)(PCefWindowDelegate self, PCefWindow window); + int __stdcall (*is_frameless)(PCefWindowDelegate self, PCefWindow window); + int __stdcall (*with_standard_window_buttons)(PCefWindowDelegate self, PCefWindow window); + int __stdcall (*get_titlebar_height)(PCefWindowDelegate self, PCefWindow window, System::PSingle titlebar_height); + TCefState __stdcall (*accepts_first_mouse)(PCefWindowDelegate self, PCefWindow window); + int __stdcall (*can_resize)(PCefWindowDelegate self, PCefWindow window); + int __stdcall (*can_maximize)(PCefWindowDelegate self, PCefWindow window); + int __stdcall (*can_minimize)(PCefWindowDelegate self, PCefWindow window); + int __stdcall (*can_close)(PCefWindowDelegate self, PCefWindow window); + int __stdcall (*on_accelerator)(PCefWindowDelegate self, PCefWindow window, int command_id); + int __stdcall (*on_key_event)(PCefWindowDelegate self, PCefWindow window, const PCefKeyEvent event); + void __stdcall (*on_theme_colors_changed)(PCefWindowDelegate self, PCefWindow window, int chrome_theme); + TCefRuntimeStyle __stdcall (*get_window_runtime_style)(PCefWindowDelegate self); + int __stdcall (*get_linux_window_properties)(PCefWindowDelegate self, PCefWindow window, PCefLinuxWindowProperties properties); +}; + + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Uceftypes */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFTYPES) +using namespace Uceftypes; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFTypesHPP diff --git a/CEF4Delphi/win32/hpps/uCEFUnresponsiveProcessCallback.hpp b/CEF4Delphi/win32/hpps/uCEFUnresponsiveProcessCallback.hpp new file mode 100644 index 0000000..1ab4791 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFUnresponsiveProcessCallback.hpp @@ -0,0 +1,77 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFUnresponsiveProcessCallback.pas' rev: 37.00 (Windows) + +#ifndef uCEFUnresponsiveProcessCallbackHPP +#define uCEFUnresponsiveProcessCallbackHPP + +#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 +#include +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefunresponsiveprocesscallback +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefUnresponsiveProcessCallbackRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefUnresponsiveProcessCallbackRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + void __fastcall Wait(); + void __fastcall Terminate(); + +public: + __classmethod Ucefinterfaces::_di_ICefUnresponsiveProcessCallback __fastcall UnWrap(void * data); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefUnresponsiveProcessCallbackRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefUnresponsiveProcessCallbackRef() { } + +private: + void *__ICefUnresponsiveProcessCallback; // Ucefinterfaces::ICefUnresponsiveProcessCallback + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {3E4F2B66-5AAF-4906-B946-C114D0E43C13} + operator Ucefinterfaces::_di_ICefUnresponsiveProcessCallback() + { + Ucefinterfaces::_di_ICefUnresponsiveProcessCallback intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefUnresponsiveProcessCallback*(void) { return (Ucefinterfaces::ICefUnresponsiveProcessCallback*)&__ICefUnresponsiveProcessCallback; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefunresponsiveprocesscallback */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFUNRESPONSIVEPROCESSCALLBACK) +using namespace Ucefunresponsiveprocesscallback; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFUnresponsiveProcessCallbackHPP diff --git a/CEF4Delphi/win32/hpps/uCEFUrlRequest.hpp b/CEF4Delphi/win32/hpps/uCEFUrlRequest.hpp new file mode 100644 index 0000000..d74df1c --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFUrlRequest.hpp @@ -0,0 +1,81 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFUrlRequest.pas' rev: 37.00 (Windows) + +#ifndef uCEFUrlRequestHPP +#define uCEFUrlRequestHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefurlrequest +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefUrlRequestRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefUrlRequestRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + Ucefinterfaces::_di_ICefRequest __fastcall GetRequest(); + Ucefinterfaces::_di_ICefUrlrequestClient __fastcall GetClient(); + Uceftypes::TCefUrlRequestStatus __fastcall GetRequestStatus(); + int __fastcall GetRequestError(); + Ucefinterfaces::_di_ICefResponse __fastcall GetResponse(); + bool __fastcall GetResponseWasCached(); + void __fastcall Cancel(); + +public: + __classmethod Ucefinterfaces::_di_ICefUrlRequest __fastcall UnWrap(void * data); + __classmethod Ucefinterfaces::_di_ICefUrlRequest __fastcall New(const Ucefinterfaces::_di_ICefRequest request, const Ucefinterfaces::_di_ICefUrlrequestClient client, const Ucefinterfaces::_di_ICefRequestContext requestContext); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefUrlRequestRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefUrlRequestRef() { } + +private: + void *__ICefUrlRequest; // Ucefinterfaces::ICefUrlRequest + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {59226AC1-A0FA-4D59-9DF4-A65C42391A67} + operator Ucefinterfaces::_di_ICefUrlRequest() + { + Ucefinterfaces::_di_ICefUrlRequest intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefUrlRequest*(void) { return (Ucefinterfaces::ICefUrlRequest*)&__ICefUrlRequest; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefurlrequest */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFURLREQUEST) +using namespace Ucefurlrequest; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFUrlRequestHPP diff --git a/CEF4Delphi/win32/hpps/uCEFUrlRequestClientComponent.hpp b/CEF4Delphi/win32/hpps/uCEFUrlRequestClientComponent.hpp new file mode 100644 index 0000000..5cfce0d --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFUrlRequestClientComponent.hpp @@ -0,0 +1,108 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFUrlRequestClientComponent.pas' rev: 37.00 (Windows) + +#ifndef uCEFUrlRequestClientComponentHPP +#define uCEFUrlRequestClientComponentHPP + +#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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefurlrequestclientcomponent +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCEFUrlRequestClientComponent; +//-- type declarations ------------------------------------------------------- +class PASCALIMPLEMENTATION TCEFUrlRequestClientComponent : public System::Classes::TComponent +{ + typedef System::Classes::TComponent inherited; + +protected: + Ucefinterfaces::_di_ICefUrlrequestClient FClient; + Uceftypes::TCefThreadId FThreadID; + int FComponentID; + Ucefurlrequestclientevents::TOnRequestComplete FOnRequestComplete; + Ucefurlrequestclientevents::TOnUploadProgress FOnUploadProgress; + Ucefurlrequestclientevents::TOnDownloadProgress FOnDownloadProgress; + Ucefurlrequestclientevents::TOnDownloadData FOnDownloadData; + Ucefurlrequestclientevents::TOnGetAuthCredentials FOnGetAuthCredentials; + System::Classes::TNotifyEvent FOnCreateURLRequest; + int __fastcall GetComponentID(); + void __fastcall doOnRequestComplete(const Ucefinterfaces::_di_ICefUrlRequest request); + void __fastcall doOnUploadProgress(const Ucefinterfaces::_di_ICefUrlRequest request, __int64 current, __int64 total); + void __fastcall doOnDownloadProgress(const Ucefinterfaces::_di_ICefUrlRequest request, __int64 current, __int64 total); + void __fastcall doOnDownloadData(const Ucefinterfaces::_di_ICefUrlRequest request, void * data, System::NativeUInt dataLength); + bool __fastcall doOnGetAuthCredentials(bool isProxy, const Uceftypes::ustring host, int port, const Uceftypes::ustring realm, const Uceftypes::ustring scheme, const Ucefinterfaces::_di_ICefAuthCallback callback); + void __fastcall doOnCreateURLRequest(); + void __fastcall DestroyRequestClient(); + +public: + __fastcall virtual TCEFUrlRequestClientComponent(System::Classes::TComponent* AOwner); + virtual void __fastcall AfterConstruction(); + virtual void __fastcall BeforeDestruction(); + void __fastcall AddURLRequest(); + __property Ucefinterfaces::_di_ICefUrlrequestClient Client = {read=FClient}; + __property Uceftypes::TCefThreadId ThreadID = {read=FThreadID, write=FThreadID, nodefault}; + +__published: + __property Ucefurlrequestclientevents::TOnRequestComplete OnRequestComplete = {read=FOnRequestComplete, write=FOnRequestComplete}; + __property Ucefurlrequestclientevents::TOnUploadProgress OnUploadProgress = {read=FOnUploadProgress, write=FOnUploadProgress}; + __property Ucefurlrequestclientevents::TOnDownloadProgress OnDownloadProgress = {read=FOnDownloadProgress, write=FOnDownloadProgress}; + __property Ucefurlrequestclientevents::TOnDownloadData OnDownloadData = {read=FOnDownloadData, write=FOnDownloadData}; + __property Ucefurlrequestclientevents::TOnGetAuthCredentials OnGetAuthCredentials = {read=FOnGetAuthCredentials, write=FOnGetAuthCredentials}; + __property System::Classes::TNotifyEvent OnCreateURLRequest = {read=FOnCreateURLRequest, write=FOnCreateURLRequest}; +public: + /* TComponent.Destroy */ inline __fastcall virtual ~TCEFUrlRequestClientComponent() { } + +private: + void *__ICEFUrlRequestClientEvents; // Ucefinterfaces::ICEFUrlRequestClientEvents + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {1AA800A7-56A1-43CA-A224-49368F18BDD8} + operator Ucefinterfaces::_di_ICEFUrlRequestClientEvents() + { + Ucefinterfaces::_di_ICEFUrlRequestClientEvents intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICEFUrlRequestClientEvents*(void) { return (Ucefinterfaces::ICEFUrlRequestClientEvents*)&__ICEFUrlRequestClientEvents; } + #endif + +}; + + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefurlrequestclientcomponent */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFURLREQUESTCLIENTCOMPONENT) +using namespace Ucefurlrequestclientcomponent; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFUrlRequestClientComponentHPP diff --git a/CEF4Delphi/win32/hpps/uCEFUrlRequestClientEvents.hpp b/CEF4Delphi/win32/hpps/uCEFUrlRequestClientEvents.hpp new file mode 100644 index 0000000..5a91857 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFUrlRequestClientEvents.hpp @@ -0,0 +1,49 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFUrlRequestClientEvents.pas' rev: 37.00 (Windows) + +#ifndef uCEFUrlRequestClientEventsHPP +#define uCEFUrlRequestClientEventsHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefurlrequestclientevents +{ +//-- forward type declarations ----------------------------------------------- +//-- type declarations ------------------------------------------------------- +typedef void __fastcall (__closure *TOnRequestComplete)(System::TObject* Sender, const Ucefinterfaces::_di_ICefUrlRequest request); + +typedef void __fastcall (__closure *TOnUploadProgress)(System::TObject* Sender, const Ucefinterfaces::_di_ICefUrlRequest request, __int64 current, __int64 total); + +typedef void __fastcall (__closure *TOnDownloadProgress)(System::TObject* Sender, const Ucefinterfaces::_di_ICefUrlRequest request, __int64 current, __int64 total); + +typedef void __fastcall (__closure *TOnDownloadData)(System::TObject* Sender, const Ucefinterfaces::_di_ICefUrlRequest request, void * data, System::NativeUInt dataLength); + +typedef void __fastcall (__closure *TOnGetAuthCredentials)(System::TObject* Sender, bool isProxy, const Uceftypes::ustring host, int port, const Uceftypes::ustring realm, const Uceftypes::ustring scheme, const Ucefinterfaces::_di_ICefAuthCallback callback, bool &aResult); + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefurlrequestclientevents */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFURLREQUESTCLIENTEVENTS) +using namespace Ucefurlrequestclientevents; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFUrlRequestClientEventsHPP diff --git a/CEF4Delphi/win32/hpps/uCEFUrlrequestClient.hpp b/CEF4Delphi/win32/hpps/uCEFUrlrequestClient.hpp new file mode 100644 index 0000000..c2fb79a --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFUrlrequestClient.hpp @@ -0,0 +1,144 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFUrlrequestClient.pas' rev: 37.00 (Windows) + +#ifndef uCEFUrlrequestClientHPP +#define uCEFUrlrequestClientHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefurlrequestclient +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefUrlrequestClientOwn; +class DELPHICLASS TCustomCefUrlrequestClient; +class DELPHICLASS TCefUrlrequestClientRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefUrlrequestClientOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited; + +protected: + virtual void __fastcall OnRequestComplete(const Ucefinterfaces::_di_ICefUrlRequest request); + virtual void __fastcall OnUploadProgress(const Ucefinterfaces::_di_ICefUrlRequest request, __int64 current, __int64 total); + virtual void __fastcall OnDownloadProgress(const Ucefinterfaces::_di_ICefUrlRequest request, __int64 current, __int64 total); + virtual void __fastcall OnDownloadData(const Ucefinterfaces::_di_ICefUrlRequest request, void * data, System::NativeUInt dataLength); + virtual bool __fastcall OnGetAuthCredentials(bool isProxy, const Uceftypes::ustring host, int port, const Uceftypes::ustring realm, const Uceftypes::ustring scheme, const Ucefinterfaces::_di_ICefAuthCallback callback); + virtual void __fastcall RemoveReferences(); + +public: + __fastcall virtual TCefUrlrequestClientOwn(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefUrlrequestClientOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefUrlrequestClientOwn() { } + +private: + void *__ICefUrlrequestClient; // Ucefinterfaces::ICefUrlrequestClient + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {114155BD-C248-4651-9A4F-26F3F9A4F737} + operator Ucefinterfaces::_di_ICefUrlrequestClient() + { + Ucefinterfaces::_di_ICefUrlrequestClient intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefUrlrequestClient*(void) { return (Ucefinterfaces::ICefUrlrequestClient*)&__ICefUrlrequestClient; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCustomCefUrlrequestClient : public TCefUrlrequestClientOwn +{ + typedef TCefUrlrequestClientOwn inherited; + +protected: + void *FEvents; + virtual void __fastcall OnRequestComplete(const Ucefinterfaces::_di_ICefUrlRequest request); + virtual void __fastcall OnUploadProgress(const Ucefinterfaces::_di_ICefUrlRequest request, __int64 current, __int64 total); + virtual void __fastcall OnDownloadProgress(const Ucefinterfaces::_di_ICefUrlRequest request, __int64 current, __int64 total); + virtual void __fastcall OnDownloadData(const Ucefinterfaces::_di_ICefUrlRequest request, void * data, System::NativeUInt dataLength); + virtual bool __fastcall OnGetAuthCredentials(bool isProxy, const Uceftypes::ustring host, int port, const Uceftypes::ustring realm, const Uceftypes::ustring scheme, const Ucefinterfaces::_di_ICefAuthCallback callback); + virtual void __fastcall RemoveReferences(); + +public: + __fastcall TCustomCefUrlrequestClient(const Ucefinterfaces::_di_ICEFUrlRequestClientEvents events); + __fastcall virtual ~TCustomCefUrlrequestClient(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomCefUrlrequestClient(unsigned size, bool owned) : TCefUrlrequestClientOwn(size, owned) { } + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefUrlrequestClientRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + void __fastcall OnRequestComplete(const Ucefinterfaces::_di_ICefUrlRequest request); + void __fastcall OnUploadProgress(const Ucefinterfaces::_di_ICefUrlRequest request, __int64 current, __int64 total); + void __fastcall OnDownloadProgress(const Ucefinterfaces::_di_ICefUrlRequest request, __int64 current, __int64 total); + void __fastcall OnDownloadData(const Ucefinterfaces::_di_ICefUrlRequest request, void * data, System::NativeUInt dataLength); + bool __fastcall OnGetAuthCredentials(bool isProxy, const Uceftypes::ustring host, int port, const Uceftypes::ustring realm, const Uceftypes::ustring scheme, const Ucefinterfaces::_di_ICefAuthCallback callback); + void __fastcall RemoveReferences(); + +public: + __classmethod Ucefinterfaces::_di_ICefUrlrequestClient __fastcall UnWrap(void * data); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefUrlrequestClientRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefUrlrequestClientRef() { } + +private: + void *__ICefUrlrequestClient; // Ucefinterfaces::ICefUrlrequestClient + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {114155BD-C248-4651-9A4F-26F3F9A4F737} + operator Ucefinterfaces::_di_ICefUrlrequestClient() + { + Ucefinterfaces::_di_ICefUrlrequestClient intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefUrlrequestClient*(void) { return (Ucefinterfaces::ICefUrlrequestClient*)&__ICefUrlrequestClient; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefurlrequestclient */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFURLREQUESTCLIENT) +using namespace Ucefurlrequestclient; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFUrlrequestClientHPP diff --git a/CEF4Delphi/win32/hpps/uCEFValue.hpp b/CEF4Delphi/win32/hpps/uCEFValue.hpp new file mode 100644 index 0000000..7946976 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFValue.hpp @@ -0,0 +1,96 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFValue.pas' rev: 37.00 (Windows) + +#ifndef uCEFValueHPP +#define uCEFValueHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefvalue +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefValueRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefValueRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + bool __fastcall IsValid(); + bool __fastcall IsOwned(); + bool __fastcall IsReadOnly(); + bool __fastcall IsSame(const Ucefinterfaces::_di_ICefValue that); + bool __fastcall IsEqual(const Ucefinterfaces::_di_ICefValue that); + Ucefinterfaces::_di_ICefValue __fastcall Copy(); + Uceftypes::TCefValueType __fastcall GetType(); + bool __fastcall GetBool(); + int __fastcall GetInt(); + double __fastcall GetDouble(); + Uceftypes::ustring __fastcall GetString(); + Ucefinterfaces::_di_ICefBinaryValue __fastcall GetBinary(); + Ucefinterfaces::_di_ICefDictionaryValue __fastcall GetDictionary(); + Ucefinterfaces::_di_ICefListValue __fastcall GetList(); + bool __fastcall SetNull(); + bool __fastcall SetBool(bool value); + bool __fastcall SetInt(int value); + bool __fastcall SetDouble(double value); + bool __fastcall SetString(const Uceftypes::ustring value); + bool __fastcall SetBinary(const Ucefinterfaces::_di_ICefBinaryValue value); + bool __fastcall SetDictionary(const Ucefinterfaces::_di_ICefDictionaryValue value); + bool __fastcall SetList(const Ucefinterfaces::_di_ICefListValue value); + +public: + __classmethod Ucefinterfaces::_di_ICefValue __fastcall UnWrap(void * data); + __classmethod Ucefinterfaces::_di_ICefValue __fastcall New(); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefValueRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefValueRef() { } + +private: + void *__ICefValue; // Ucefinterfaces::ICefValue + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {66F9F439-B12B-4EC3-A945-91AE4EF4D4BA} + operator Ucefinterfaces::_di_ICefValue() + { + Ucefinterfaces::_di_ICefValue intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefValue*(void) { return (Ucefinterfaces::ICefValue*)&__ICefValue; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefvalue */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFVALUE) +using namespace Ucefvalue; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFValueHPP diff --git a/CEF4Delphi/win32/hpps/uCEFView.hpp b/CEF4Delphi/win32/hpps/uCEFView.hpp new file mode 100644 index 0000000..5518674 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFView.hpp @@ -0,0 +1,127 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFView.pas' rev: 37.00 (Windows) + +#ifndef uCEFViewHPP +#define uCEFViewHPP + +#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 +#include +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefview +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefViewRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefViewRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + Ucefinterfaces::_di_ICefBrowserView __fastcall AsBrowserView(); + Ucefinterfaces::_di_ICefButton __fastcall AsButton(); + Ucefinterfaces::_di_ICefPanel __fastcall AsPanel(); + Ucefinterfaces::_di_ICefScrollView __fastcall AsScrollView(); + Ucefinterfaces::_di_ICefTextfield __fastcall AsTextfield(); + Uceftypes::ustring __fastcall GetTypeString(); + Uceftypes::ustring __fastcall ToStringEx(bool include_children); + bool __fastcall IsValid(); + bool __fastcall IsAttached(); + bool __fastcall IsSame(const Ucefinterfaces::_di_ICefView that); + Ucefinterfaces::_di_ICefViewDelegate __fastcall GetDelegate(); + Ucefinterfaces::_di_ICefWindow __fastcall GetWindow(); + int __fastcall GetID(); + void __fastcall SetID(int id_); + int __fastcall GetGroupID(); + void __fastcall SetGroupID(int group_id); + Ucefinterfaces::_di_ICefView __fastcall GetParentView(); + Ucefinterfaces::_di_ICefView __fastcall GetViewForID(int id_); + void __fastcall SetBounds(const Uceftypes::TCefRect &bounds_); + Uceftypes::TCefRect __fastcall GetBounds(); + Uceftypes::TCefRect __fastcall GetBoundsInScreen(); + void __fastcall SetSize(const Uceftypes::TCefSize &size_); + Uceftypes::TCefSize __fastcall GetSize(); + void __fastcall SetPosition(const Uceftypes::TCefPoint &position_); + Uceftypes::TCefPoint __fastcall GetPosition(); + void __fastcall SetInsets(const Uceftypes::TCefInsets &insets); + Uceftypes::TCefInsets __fastcall GetInsets(); + Uceftypes::TCefSize __fastcall GetPreferredSize(); + void __fastcall SizeToPreferredSize(); + Uceftypes::TCefSize __fastcall GetMinimumSize(); + Uceftypes::TCefSize __fastcall GetMaximumSize(); + int __fastcall GetHeightForWidth(int width); + void __fastcall InvalidateLayout(); + void __fastcall SetVisible(bool visible_); + bool __fastcall IsVisible(); + bool __fastcall IsDrawn(); + void __fastcall SetEnabled(bool enabled_); + bool __fastcall IsEnabled(); + void __fastcall SetFocusable(bool focusable_); + bool __fastcall IsFocusable(); + bool __fastcall IsAccessibilityFocusable(); + bool __fastcall HasFocus(); + void __fastcall RequestFocus(); + void __fastcall SetBackgroundColor(Uceftypes::TCefColor color); + Uceftypes::TCefColor __fastcall GetBackgroundColor(); + Uceftypes::TCefColor __fastcall GetThemeColor(int color_id); + bool __fastcall ConvertPointToScreen(Uceftypes::TCefPoint &point); + bool __fastcall ConvertPointFromScreen(Uceftypes::TCefPoint &point); + bool __fastcall ConvertPointToWindow(Uceftypes::TCefPoint &point); + bool __fastcall ConvertPointFromWindow(Uceftypes::TCefPoint &point); + bool __fastcall ConvertPointToView(const Ucefinterfaces::_di_ICefView view, Uceftypes::TCefPoint &point); + bool __fastcall ConvertPointFromView(const Ucefinterfaces::_di_ICefView view, Uceftypes::TCefPoint &point); + +public: + __classmethod Ucefinterfaces::_di_ICefView __fastcall UnWrap(void * data); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefViewRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefViewRef() { } + +private: + void *__ICefView; // Ucefinterfaces::ICefView + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {E9AF950A-F4E8-420C-BD1F-F26F4FDFA48D} + operator Ucefinterfaces::_di_ICefView() + { + Ucefinterfaces::_di_ICefView intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefView*(void) { return (Ucefinterfaces::ICefView*)&__ICefView; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefview */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFVIEW) +using namespace Ucefview; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFViewHPP diff --git a/CEF4Delphi/win32/hpps/uCEFViewComponent.hpp b/CEF4Delphi/win32/hpps/uCEFViewComponent.hpp new file mode 100644 index 0000000..f93ee56 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFViewComponent.hpp @@ -0,0 +1,201 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFViewComponent.pas' rev: 37.00 (Windows) + +#ifndef uCEFViewComponentHPP +#define uCEFViewComponentHPP + +#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 +#include +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefviewcomponent +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCEFViewComponent; +//-- type declarations ------------------------------------------------------- +class PASCALIMPLEMENTATION TCEFViewComponent : public System::Classes::TComponent +{ + typedef System::Classes::TComponent inherited; + +protected: + Ucefviewsframeworkevents::TOnGetPreferredSizeEvent FOnGetPreferredSize; + Ucefviewsframeworkevents::TOnGetMinimumSizeEvent FOnGetMinimumSize; + Ucefviewsframeworkevents::TOnGetMaximumSizeEvent FOnGetMaximumSize; + Ucefviewsframeworkevents::TOnGetHeightForWidthEvent FOnGetHeightForWidth; + Ucefviewsframeworkevents::TOnParentViewChangedEvent FOnParentViewChanged; + Ucefviewsframeworkevents::TOnChildViewChangedEvent FOnChildViewChanged; + Ucefviewsframeworkevents::TOnWindowChangedEvent FOnWindowChanged; + Ucefviewsframeworkevents::TOnLayoutChangedEvent FOnLayoutChanged; + Ucefviewsframeworkevents::TOnFocusEvent FOnFocus; + Ucefviewsframeworkevents::TOnBlurEvent FOnBlur; + Ucefviewsframeworkevents::TOnThemeChangedEvent FOnThemeChanged; + int FComponentID; + virtual void __fastcall CreateView(); + virtual void __fastcall DestroyView(); + virtual void __fastcall Initialize(); + virtual bool __fastcall GetInitialized(); + virtual Ucefinterfaces::_di_ICefView __fastcall GetAsView(); + Uceftypes::ustring __fastcall GetTypeString(); + virtual Ucefinterfaces::_di_ICefBrowserView __fastcall GetAsBrowserView(); + virtual Ucefinterfaces::_di_ICefButton __fastcall GetAsButton(); + virtual Ucefinterfaces::_di_ICefPanel __fastcall GetAsPanel(); + virtual Ucefinterfaces::_di_ICefScrollView __fastcall GetAsScrollView(); + virtual Ucefinterfaces::_di_ICefTextfield __fastcall GetAsTextfield(); + bool __fastcall GetIsValid(); + bool __fastcall GetIsAttached(); + Ucefinterfaces::_di_ICefViewDelegate __fastcall GetDelegate(); + Ucefinterfaces::_di_ICefWindow __fastcall GetWindow(); + int __fastcall GetID(); + int __fastcall GetGroupID(); + Ucefinterfaces::_di_ICefView __fastcall GetParentView(); + Uceftypes::TCefRect __fastcall GetBounds(); + Uceftypes::TCefRect __fastcall GetBoundsInScreen(); + Uceftypes::TCefSize __fastcall GetSize(); + Uceftypes::TCefPoint __fastcall GetPosition(); + Uceftypes::TCefSize __fastcall GetPreferredSize(); + Uceftypes::TCefSize __fastcall GetMinimumSize(); + Uceftypes::TCefSize __fastcall GetMaximumSize(); + bool __fastcall GetIsVisible(); + bool __fastcall GetIsDrawn(); + bool __fastcall GetIsEnabled(); + bool __fastcall GetIsFocusable(); + bool __fastcall GetIsAccessibilityFocusable(); + bool __fastcall GetHasFocus(); + Uceftypes::TCefColor __fastcall GetBackgroundColor(); + Ucefinterfaces::_di_ICefView __fastcall GetViewForID(int id_); + int __fastcall GetHeightForWidth(int width); + Uceftypes::TCefInsets __fastcall GetInsets(); + int __fastcall GetComponentID(); + void __fastcall SetID(int id_); + void __fastcall SetGroupID(int group_id); + void __fastcall SetBounds(const Uceftypes::TCefRect &bounds_); + void __fastcall SetSize(const Uceftypes::TCefSize &size_); + void __fastcall SetPosition(const Uceftypes::TCefPoint &position_); + void __fastcall SetVisible(bool visible_); + void __fastcall SetEnabled(bool enabled_); + void __fastcall SetFocusable(bool focusable_); + void __fastcall SetBackgroundColor(Uceftypes::TCefColor color); + void __fastcall SetInsets(const Uceftypes::TCefInsets &insets); + virtual void __fastcall doOnGetPreferredSize(const Ucefinterfaces::_di_ICefView view, Uceftypes::TCefSize &aResult); + virtual void __fastcall doOnGetMinimumSize(const Ucefinterfaces::_di_ICefView view, Uceftypes::TCefSize &aResult); + virtual void __fastcall doOnGetMaximumSize(const Ucefinterfaces::_di_ICefView view, Uceftypes::TCefSize &aResult); + virtual void __fastcall doOnGetHeightForWidth(const Ucefinterfaces::_di_ICefView view, int width, int &aResult); + virtual void __fastcall doOnParentViewChanged(const Ucefinterfaces::_di_ICefView view, bool added, const Ucefinterfaces::_di_ICefView parent); + virtual void __fastcall doOnChildViewChanged(const Ucefinterfaces::_di_ICefView view, bool added, const Ucefinterfaces::_di_ICefView child); + virtual void __fastcall doOnWindowChanged(const Ucefinterfaces::_di_ICefView view, bool added); + virtual void __fastcall doOnLayoutChanged(const Ucefinterfaces::_di_ICefView view, const Uceftypes::TCefRect &new_bounds); + virtual void __fastcall doOnFocus(const Ucefinterfaces::_di_ICefView view); + virtual void __fastcall doOnBlur(const Ucefinterfaces::_di_ICefView view); + virtual void __fastcall doOnThemeChanged(const Ucefinterfaces::_di_ICefView view); + virtual void __fastcall doCreateCustomView(); + +public: + __fastcall virtual TCEFViewComponent(System::Classes::TComponent* AOwner); + virtual void __fastcall AfterConstruction(); + virtual void __fastcall BeforeDestruction(); + Uceftypes::ustring __fastcall ToStringEx(bool include_children); + bool __fastcall IsSame(const Ucefinterfaces::_di_ICefView that); + void __fastcall SizeToPreferredSize(); + void __fastcall InvalidateLayout(); + void __fastcall RequestFocus(); + Uceftypes::TCefColor __fastcall GetThemeColor(int color_id); + bool __fastcall ConvertPointToScreen(Uceftypes::TCefPoint &point); + bool __fastcall ConvertPointFromScreen(Uceftypes::TCefPoint &point); + bool __fastcall ConvertPointToWindow(Uceftypes::TCefPoint &point); + bool __fastcall ConvertPointFromWindow(Uceftypes::TCefPoint &point); + bool __fastcall ConvertPointToView(const Ucefinterfaces::_di_ICefView view, Uceftypes::TCefPoint &point); + bool __fastcall ConvertPointFromView(const Ucefinterfaces::_di_ICefView view, Uceftypes::TCefPoint &point); + __property bool Initialized = {read=GetInitialized, nodefault}; + __property Ucefinterfaces::_di_ICefView AsView = {read=GetAsView}; + __property Ucefinterfaces::_di_ICefBrowserView AsBrowserView = {read=GetAsBrowserView}; + __property Ucefinterfaces::_di_ICefButton AsButton = {read=GetAsButton}; + __property Ucefinterfaces::_di_ICefPanel AsPanel = {read=GetAsPanel}; + __property Ucefinterfaces::_di_ICefScrollView AsScrollView = {read=GetAsScrollView}; + __property Ucefinterfaces::_di_ICefTextfield AsTextfield = {read=GetAsTextfield}; + __property Ucefinterfaces::_di_ICefView ViewForID[int id_] = {read=GetViewForID}; + __property bool Valid = {read=GetIsValid, nodefault}; + __property bool Attached = {read=GetIsAttached, nodefault}; + __property Ucefinterfaces::_di_ICefViewDelegate Delegate = {read=GetDelegate}; + __property Ucefinterfaces::_di_ICefWindow Window = {read=GetWindow}; + __property Ucefinterfaces::_di_ICefView ParentView = {read=GetParentView}; + __property Uceftypes::TCefRect BoundsInScreen = {read=GetBoundsInScreen}; + __property Uceftypes::TCefSize PreferredSize = {read=GetPreferredSize}; + __property Uceftypes::TCefSize MinimumSize = {read=GetMinimumSize}; + __property Uceftypes::TCefSize MaximumSize = {read=GetMaximumSize}; + __property bool Visible = {read=GetIsVisible, write=SetVisible, nodefault}; + __property bool Drawn = {read=GetIsDrawn, nodefault}; + __property bool Enabled = {read=GetIsEnabled, write=SetEnabled, nodefault}; + __property bool Focusable = {read=GetIsFocusable, write=SetFocusable, nodefault}; + __property bool AccessibilityFocusable = {read=GetIsAccessibilityFocusable, nodefault}; + __property bool HasFocus = {read=GetHasFocus, nodefault}; + __property Uceftypes::TCefColor BackgroundColor = {read=GetBackgroundColor, write=SetBackgroundColor, nodefault}; + __property int ID = {read=GetID, write=SetID, nodefault}; + __property int GroupID = {read=GetGroupID, write=SetGroupID, nodefault}; + __property Uceftypes::TCefRect Bounds = {read=GetBounds, write=SetBounds}; + __property Uceftypes::TCefSize Size = {read=GetSize, write=SetSize}; + __property Uceftypes::TCefPoint Position = {read=GetPosition, write=SetPosition}; + __property Uceftypes::TCefInsets Insets = {read=GetInsets, write=SetInsets}; + __property Uceftypes::ustring TypeString = {read=GetTypeString}; + __property int HeightForWidth[int width] = {read=GetHeightForWidth}; + +__published: + __property Ucefviewsframeworkevents::TOnGetPreferredSizeEvent OnGetPreferredSize = {read=FOnGetPreferredSize, write=FOnGetPreferredSize}; + __property Ucefviewsframeworkevents::TOnGetMinimumSizeEvent OnGetMinimumSize = {read=FOnGetMinimumSize, write=FOnGetMinimumSize}; + __property Ucefviewsframeworkevents::TOnGetMaximumSizeEvent OnGetMaximumSize = {read=FOnGetMaximumSize, write=FOnGetMaximumSize}; + __property Ucefviewsframeworkevents::TOnGetHeightForWidthEvent OnGetHeightForWidth = {read=FOnGetHeightForWidth, write=FOnGetHeightForWidth}; + __property Ucefviewsframeworkevents::TOnParentViewChangedEvent OnParentViewChanged = {read=FOnParentViewChanged, write=FOnParentViewChanged}; + __property Ucefviewsframeworkevents::TOnChildViewChangedEvent OnChildViewChanged = {read=FOnChildViewChanged, write=FOnChildViewChanged}; + __property Ucefviewsframeworkevents::TOnWindowChangedEvent OnWindowChanged = {read=FOnWindowChanged, write=FOnWindowChanged}; + __property Ucefviewsframeworkevents::TOnLayoutChangedEvent OnLayoutChanged = {read=FOnLayoutChanged, write=FOnLayoutChanged}; + __property Ucefviewsframeworkevents::TOnFocusEvent OnFocus = {read=FOnFocus, write=FOnFocus}; + __property Ucefviewsframeworkevents::TOnBlurEvent OnBlur = {read=FOnBlur, write=FOnBlur}; + __property Ucefviewsframeworkevents::TOnThemeChangedEvent OnThemeChanged = {read=FOnThemeChanged, write=FOnThemeChanged}; +public: + /* TComponent.Destroy */ inline __fastcall virtual ~TCEFViewComponent() { } + +private: + void *__ICefViewDelegateEvents; // Ucefinterfaces::ICefViewDelegateEvents + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {74DDDB37-8F08-4672-BDB6-55CA2CD374ED} + operator Ucefinterfaces::_di_ICefViewDelegateEvents() + { + Ucefinterfaces::_di_ICefViewDelegateEvents intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefViewDelegateEvents*(void) { return (Ucefinterfaces::ICefViewDelegateEvents*)&__ICefViewDelegateEvents; } + #endif + +}; + + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefviewcomponent */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFVIEWCOMPONENT) +using namespace Ucefviewcomponent; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFViewComponentHPP diff --git a/CEF4Delphi/win32/hpps/uCEFViewDelegate.hpp b/CEF4Delphi/win32/hpps/uCEFViewDelegate.hpp new file mode 100644 index 0000000..acc266e --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFViewDelegate.hpp @@ -0,0 +1,162 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFViewDelegate.pas' rev: 37.00 (Windows) + +#ifndef uCEFViewDelegateHPP +#define uCEFViewDelegateHPP + +#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 +#include +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefviewdelegate +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefViewDelegateRef; +class DELPHICLASS TCefViewDelegateOwn; +class DELPHICLASS TCustomViewDelegate; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefViewDelegateRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + void __fastcall OnGetPreferredSize(const Ucefinterfaces::_di_ICefView view, Uceftypes::TCefSize &aResult); + void __fastcall OnGetMinimumSize(const Ucefinterfaces::_di_ICefView view, Uceftypes::TCefSize &aResult); + void __fastcall OnGetMaximumSize(const Ucefinterfaces::_di_ICefView view, Uceftypes::TCefSize &aResult); + void __fastcall OnGetHeightForWidth(const Ucefinterfaces::_di_ICefView view, int width, int &aResult); + void __fastcall OnParentViewChanged(const Ucefinterfaces::_di_ICefView view, bool added, const Ucefinterfaces::_di_ICefView parent); + void __fastcall OnChildViewChanged(const Ucefinterfaces::_di_ICefView view, bool added, const Ucefinterfaces::_di_ICefView child); + void __fastcall OnWindowChanged(const Ucefinterfaces::_di_ICefView view, bool added); + void __fastcall OnLayoutChanged(const Ucefinterfaces::_di_ICefView view, const Uceftypes::TCefRect &new_bounds); + void __fastcall OnFocus(const Ucefinterfaces::_di_ICefView view); + void __fastcall OnBlur(const Ucefinterfaces::_di_ICefView view); + void __fastcall OnThemeChanged(const Ucefinterfaces::_di_ICefView view); + +public: + __classmethod Ucefinterfaces::_di_ICefViewDelegate __fastcall UnWrap(void * data); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefViewDelegateRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefViewDelegateRef() { } + +private: + void *__ICefViewDelegate; // Ucefinterfaces::ICefViewDelegate + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {5F900206-B969-4E51-B56C-0FF38D749C72} + operator Ucefinterfaces::_di_ICefViewDelegate() + { + Ucefinterfaces::_di_ICefViewDelegate intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefViewDelegate*(void) { return (Ucefinterfaces::ICefViewDelegate*)&__ICefViewDelegate; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefViewDelegateOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited; + +protected: + 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 InitializeCEFMethods(); + +public: + __fastcall virtual TCefViewDelegateOwn(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefViewDelegateOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefViewDelegateOwn() { } + +private: + void *__ICefViewDelegate; // Ucefinterfaces::ICefViewDelegate + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {5F900206-B969-4E51-B56C-0FF38D749C72} + operator Ucefinterfaces::_di_ICefViewDelegate() + { + Ucefinterfaces::_di_ICefViewDelegate intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefViewDelegate*(void) { return (Ucefinterfaces::ICefViewDelegate*)&__ICefViewDelegate; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCustomViewDelegate : public TCefViewDelegateOwn +{ + typedef TCefViewDelegateOwn 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); + +public: + __fastcall TCustomViewDelegate(const Ucefinterfaces::_di_ICefViewDelegateEvents events); + __fastcall virtual ~TCustomViewDelegate(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomViewDelegate(unsigned size, bool owned) : TCefViewDelegateOwn(size, owned) { } + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefviewdelegate */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFVIEWDELEGATE) +using namespace Ucefviewdelegate; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFViewDelegateHPP diff --git a/CEF4Delphi/win32/hpps/uCEFViewsFrameworkEvents.hpp b/CEF4Delphi/win32/hpps/uCEFViewsFrameworkEvents.hpp new file mode 100644 index 0000000..f24e86d --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFViewsFrameworkEvents.hpp @@ -0,0 +1,135 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFViewsFrameworkEvents.pas' rev: 37.00 (Windows) + +#ifndef uCEFViewsFrameworkEventsHPP +#define uCEFViewsFrameworkEventsHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefviewsframeworkevents +{ +//-- forward type declarations ----------------------------------------------- +//-- type declarations ------------------------------------------------------- +typedef void __fastcall (__closure *TOnGetPreferredSizeEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefView view, Uceftypes::TCefSize &aResult); + +typedef void __fastcall (__closure *TOnGetMinimumSizeEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefView view, Uceftypes::TCefSize &aResult); + +typedef void __fastcall (__closure *TOnGetMaximumSizeEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefView view, Uceftypes::TCefSize &aResult); + +typedef void __fastcall (__closure *TOnGetHeightForWidthEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefView view, int width, int &aResult); + +typedef void __fastcall (__closure *TOnParentViewChangedEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefView view, bool added, const Ucefinterfaces::_di_ICefView parent); + +typedef void __fastcall (__closure *TOnChildViewChangedEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefView view, bool added, const Ucefinterfaces::_di_ICefView child); + +typedef void __fastcall (__closure *TOnWindowChangedEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefView view, bool added); + +typedef void __fastcall (__closure *TOnLayoutChangedEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefView view, const Uceftypes::TCefRect &new_bounds); + +typedef void __fastcall (__closure *TOnFocusEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefView view); + +typedef void __fastcall (__closure *TOnBlurEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefView view); + +typedef void __fastcall (__closure *TOnThemeChangedEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefView view); + +typedef void __fastcall (__closure *TOnTextfieldKeyEventEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefTextfield textfield, const Uceftypes::TCefKeyEvent &event, bool &aResult); + +typedef void __fastcall (__closure *TOnAfterUserActionEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefTextfield textfield); + +typedef void __fastcall (__closure *TOnBrowserCreatedEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefBrowserView browser_view, const Ucefinterfaces::_di_ICefBrowser browser); + +typedef void __fastcall (__closure *TOnBrowserDestroyedEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefBrowserView browser_view, const Ucefinterfaces::_di_ICefBrowser browser); + +typedef void __fastcall (__closure *TOnGetDelegateForPopupBrowserViewEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefBrowserView browser_view, const Uceftypes::TCefBrowserSettings &settings, const Ucefinterfaces::_di_ICefClient client, bool is_devtools, Ucefinterfaces::_di_ICefBrowserViewDelegate &aResult); + +typedef void __fastcall (__closure *TOnPopupBrowserViewCreatedEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefBrowserView browser_view, const Ucefinterfaces::_di_ICefBrowserView popup_browser_view, bool is_devtools, bool &aResult); + +typedef void __fastcall (__closure *TOnGetChromeToolbarTypeEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefBrowserView browser_view, Uceftypes::TCefChromeToolbarType &aChromeToolbarType); + +typedef void __fastcall (__closure *TOnUseFramelessWindowForPictureInPicture)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefBrowserView browser_view, bool &aResult); + +typedef void __fastcall (__closure *TOnGestureCommandEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefBrowserView browser_view, Uceftypes::TCefGestureCommand gesture_command, bool &aResult); + +typedef void __fastcall (__closure *TOnGetBrowserRuntimeStyleEvent)(System::TObject* const Sender, Uceftypes::TCefRuntimeStyle &aResult); + +typedef void __fastcall (__closure *TOnAllowMoveForPictureInPictureEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefBrowserView browser_view, bool &aResult); + +typedef void __fastcall (__closure *TOnButtonPressedEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefButton button); + +typedef void __fastcall (__closure *TOnButtonStateChangedEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefButton button); + +typedef void __fastcall (__closure *TOnMenuButtonPressedEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefMenuButton menu_button, const Uceftypes::TCefPoint &screen_point, const Ucefinterfaces::_di_ICefMenuButtonPressedLock button_pressed_lock); + +typedef void __fastcall (__closure *TOnWindowCreatedEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_); + +typedef void __fastcall (__closure *TOnWindowClosingEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_); + +typedef void __fastcall (__closure *TOnWindowDestroyedEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_); + +typedef void __fastcall (__closure *TOnWindowActivationChangedEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, bool active); + +typedef void __fastcall (__closure *TOnWindowBoundsChangedEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, const Uceftypes::TCefRect &new_bounds); + +typedef void __fastcall (__closure *TOnWindowFullscreenTransitionEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, bool is_completed); + +typedef void __fastcall (__closure *TOnGetParentWindowEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, bool &is_menu, bool &can_activate_menu, Ucefinterfaces::_di_ICefWindow &aResult); + +typedef void __fastcall (__closure *TOnIsWindowModalDialogEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); + +typedef void __fastcall (__closure *TOnGetInitialBoundsEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, Uceftypes::TCefRect &aResult); + +typedef void __fastcall (__closure *TOnGetInitialShowStateEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, Uceftypes::TCefShowState &aResult); + +typedef void __fastcall (__closure *TOnIsFramelessEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); + +typedef void __fastcall (__closure *TOnWithStandardWindowButtonsEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); + +typedef void __fastcall (__closure *TOnGetTitlebarHeightEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, float &titlebar_height, bool &aResult); + +typedef void __fastcall (__closure *TOnAcceptsFirstMouseEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, Uceftypes::TCefState &aResult); + +typedef void __fastcall (__closure *TOnCanResizeEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); + +typedef void __fastcall (__closure *TOnCanMaximizeEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); + +typedef void __fastcall (__closure *TOnCanMinimizeEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); + +typedef void __fastcall (__closure *TOnCanCloseEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); + +typedef void __fastcall (__closure *TOnAcceleratorEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, int command_id, bool &aResult); + +typedef void __fastcall (__closure *TOnWindowKeyEventEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, const Uceftypes::TCefKeyEvent &event, bool &aResult); + +typedef void __fastcall (__closure *TOnThemeColorsChangedEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, int chrome_theme); + +typedef void __fastcall (__closure *TOnGetWindowRuntimeStyleEvent)(System::TObject* const Sender, Uceftypes::TCefRuntimeStyle &aResult); + +typedef void __fastcall (__closure *TOnGetLinuxWindowPropertiesEvent)(System::TObject* const Sender, const Ucefinterfaces::_di_ICefWindow window_, Uceftypes::TLinuxWindowProperties &properties, bool &aResult); + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefviewsframeworkevents */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFVIEWSFRAMEWORKEVENTS) +using namespace Ucefviewsframeworkevents; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFViewsFrameworkEventsHPP diff --git a/CEF4Delphi/win32/hpps/uCEFWaitableEvent.hpp b/CEF4Delphi/win32/hpps/uCEFWaitableEvent.hpp new file mode 100644 index 0000000..049c511 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFWaitableEvent.hpp @@ -0,0 +1,79 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFWaitableEvent.pas' rev: 37.00 (Windows) + +#ifndef uCEFWaitableEventHPP +#define uCEFWaitableEventHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefwaitableevent +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefWaitableEventRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefWaitableEventRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + void __fastcall Reset(); + void __fastcall Signal(); + bool __fastcall IsSignaled(); + void __fastcall Wait(); + bool __fastcall TimedWait(__int64 max_ms); + +public: + __classmethod Ucefinterfaces::_di_ICefWaitableEvent __fastcall UnWrap(void * data); + __classmethod Ucefinterfaces::_di_ICefWaitableEvent __fastcall New(bool automatic_reset, bool initially_signaled); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefWaitableEventRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefWaitableEventRef() { } + +private: + void *__ICefWaitableEvent; // Ucefinterfaces::ICefWaitableEvent + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {965C90C9-3DAE-457F-AA64-E04FF508094A} + operator Ucefinterfaces::_di_ICefWaitableEvent() + { + Ucefinterfaces::_di_ICefWaitableEvent intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefWaitableEvent*(void) { return (Ucefinterfaces::ICefWaitableEvent*)&__ICefWaitableEvent; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefwaitableevent */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFWAITABLEEVENT) +using namespace Ucefwaitableevent; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFWaitableEventHPP diff --git a/CEF4Delphi/win32/hpps/uCEFWinControl.hpp b/CEF4Delphi/win32/hpps/uCEFWinControl.hpp new file mode 100644 index 0000000..4a23940 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFWinControl.hpp @@ -0,0 +1,94 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFWinControl.pas' rev: 37.00 (Windows) + +#ifndef uCEFWinControlHPP +#define uCEFWinControlHPP + +#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 +#include +#include +#include +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefwincontrol +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCEFWinControl; +//-- type declarations ------------------------------------------------------- +class PASCALIMPLEMENTATION TCEFWinControl : public Vcl::Controls::TWinControl +{ + typedef Vcl::Controls::TWinControl inherited; + +protected: + virtual Winapi::Windows::THandle __fastcall GetChildWindowHandle(); + DYNAMIC void __fastcall Resize(); + +public: + bool __fastcall TakeSnapshot(Vcl::Graphics::TBitmap* &aBitmap); + bool __fastcall DestroyChildWindow(); + virtual void __fastcall CreateHandle(); + void __fastcall InvalidateChildren(); + virtual void __fastcall UpdateSize(); + __property Winapi::Windows::THandle ChildWindowHandle = {read=GetChildWindowHandle, nodefault}; + +__published: + __property Align = {default=0}; + __property Anchors = {default=3}; + __property Color = {default=-16777211}; + __property Constraints; + __property TabStop = {default=0}; + __property TabOrder = {default=-1}; + __property Visible = {default=1}; + __property Enabled = {default=1}; + __property ShowHint; + __property Hint = {default=0}; + __property DragKind = {default=0}; + __property DragCursor = {default=-12}; + __property DragMode = {default=0}; + __property OnResize; + __property OnEnter; + __property OnExit; + __property OnDragDrop; + __property OnDragOver; + __property OnStartDrag; + __property OnEndDrag; + __property OnCanResize; + __property Touch; + __property OnGesture; + __property DoubleBuffered; + __property ParentDoubleBuffered = {default=1}; +public: + /* TWinControl.Create */ inline __fastcall virtual TCEFWinControl(System::Classes::TComponent* AOwner) : Vcl::Controls::TWinControl(AOwner) { } + /* TWinControl.CreateParented */ inline __fastcall TCEFWinControl(HWND ParentWindow) : Vcl::Controls::TWinControl(ParentWindow) { } + /* TWinControl.Destroy */ inline __fastcall virtual ~TCEFWinControl() { } + +}; + + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefwincontrol */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFWINCONTROL) +using namespace Ucefwincontrol; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFWinControlHPP diff --git a/CEF4Delphi/win32/hpps/uCEFWindow.hpp b/CEF4Delphi/win32/hpps/uCEFWindow.hpp new file mode 100644 index 0000000..d7509fd --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFWindow.hpp @@ -0,0 +1,120 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFWindow.pas' rev: 37.00 (Windows) + +#ifndef uCEFWindowHPP +#define uCEFWindowHPP + +#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 +#include +#include +#include +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefwindow +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefWindowRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefWindowRef : public Ucefpanel::TCefPanelRef +{ + typedef Ucefpanel::TCefPanelRef inherited; + +protected: + void __fastcall Show(); + void __fastcall ShowAsBrowserModalDialog(const Ucefinterfaces::_di_ICefBrowserView browser_view); + void __fastcall Hide(); + void __fastcall CenterWindow(const Uceftypes::TCefSize &size_); + void __fastcall Close(); + bool __fastcall IsClosed(); + void __fastcall Activate(); + void __fastcall Deactivate(); + bool __fastcall IsActive(); + void __fastcall BringToTop(); + void __fastcall SetAlwaysOnTop(bool on_top); + bool __fastcall IsAlwaysOnTop(); + void __fastcall Maximize(); + void __fastcall Minimize(); + void __fastcall Restore(); + void __fastcall SetFullscreen(bool fullscreen); + bool __fastcall IsMaximized(); + bool __fastcall IsMinimized(); + bool __fastcall IsFullscreen(); + Ucefinterfaces::_di_ICefView __fastcall GetFocusedView(); + void __fastcall SetTitle(const Uceftypes::ustring title_); + Uceftypes::ustring __fastcall GetTitle(); + void __fastcall SetWindowIcon(const Ucefinterfaces::_di_ICefImage image); + Ucefinterfaces::_di_ICefImage __fastcall GetWindowIcon(); + void __fastcall SetWindowAppIcon(const Ucefinterfaces::_di_ICefImage image); + Ucefinterfaces::_di_ICefImage __fastcall GetWindowAppIcon(); + Ucefinterfaces::_di_ICefOverlayController __fastcall AddOverlayView(const Ucefinterfaces::_di_ICefView view, Uceftypes::TCefDockingMode docking_mode, bool can_activate); + void __fastcall ShowMenu(const Ucefinterfaces::_di_ICefMenuModel menu_model, const Uceftypes::TCefPoint &screen_point, Uceftypes::TCefMenuAnchorPosition anchor_position); + void __fastcall CancelMenu(); + Ucefinterfaces::_di_ICefDisplay __fastcall GetDisplay(); + Uceftypes::TCefRect __fastcall GetClientAreaBoundsInScreen(); + void __fastcall SetDraggableRegions(System::NativeUInt regionsCount, const Uceftypes::PCefDraggableRegionArray regions); + Uceftypes::TCefWindowHandle __fastcall GetWindowHandle(); + void __fastcall SendKeyPress(int key_code, unsigned event_flags); + void __fastcall SendMouseMove(int screen_x, int screen_y); + void __fastcall SendMouseEvents(Uceftypes::TCefMouseButtonType button, bool mouse_down, bool mouse_up); + void __fastcall SetAccelerator(int command_id, int key_code, bool shift_pressed, bool ctrl_pressed, bool alt_pressed, bool high_priority); + void __fastcall RemoveAccelerator(int command_id); + void __fastcall RemoveAllAccelerators(); + void __fastcall SetThemeColor(int color_id, Uceftypes::TCefColor color); + void __fastcall ThemeChanged(); + Uceftypes::TCefRuntimeStyle __fastcall GetRuntimeStyle(); + +public: + __classmethod Ucefinterfaces::_di_ICefWindow __fastcall UnWrap(void * data); + __classmethod Ucefinterfaces::_di_ICefWindow __fastcall CreateTopLevel(const Ucefinterfaces::_di_ICefWindowDelegate delegate); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefWindowRef(void * data) : Ucefpanel::TCefPanelRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefWindowRef() { } + +private: + void *__ICefWindow; // Ucefinterfaces::ICefWindow + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {C450C974-BF0A-4968-A6BE-153CEAD10DA6} + operator Ucefinterfaces::_di_ICefWindow() + { + Ucefinterfaces::_di_ICefWindow intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefWindow*(void) { return (Ucefinterfaces::ICefWindow*)&__ICefWindow; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefwindow */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFWINDOW) +using namespace Ucefwindow; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFWindowHPP diff --git a/CEF4Delphi/win32/hpps/uCEFWindowComponent.hpp b/CEF4Delphi/win32/hpps/uCEFWindowComponent.hpp new file mode 100644 index 0000000..48d9610 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFWindowComponent.hpp @@ -0,0 +1,214 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFWindowComponent.pas' rev: 37.00 (Windows) + +#ifndef uCEFWindowComponentHPP +#define uCEFWindowComponentHPP + +#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 +#include +#include +#include +#include +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefwindowcomponent +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCEFWindowComponent; +//-- type declarations ------------------------------------------------------- +class PASCALIMPLEMENTATION TCEFWindowComponent : public Ucefpanelcomponent::TCEFPanelComponent +{ + typedef Ucefpanelcomponent::TCEFPanelComponent inherited; + +protected: + Ucefinterfaces::_di_ICefWindow FWindow; + Ucefinterfaces::_di_ICefWindowDelegate FWindowDlg; + Ucefviewsframeworkevents::TOnWindowCreatedEvent FOnWindowCreated; + Ucefviewsframeworkevents::TOnWindowClosingEvent FOnWindowClosing; + Ucefviewsframeworkevents::TOnWindowDestroyedEvent FOnWindowDestroyed; + Ucefviewsframeworkevents::TOnWindowActivationChangedEvent FOnWindowActivationChanged; + Ucefviewsframeworkevents::TOnWindowBoundsChangedEvent FOnWindowBoundsChanged; + Ucefviewsframeworkevents::TOnWindowFullscreenTransitionEvent FOnWindowFullscreenTransition; + Ucefviewsframeworkevents::TOnGetParentWindowEvent FOnGetParentWindow; + Ucefviewsframeworkevents::TOnIsWindowModalDialogEvent FOnIsWindowModalDialog; + Ucefviewsframeworkevents::TOnGetInitialBoundsEvent FOnGetInitialBounds; + Ucefviewsframeworkevents::TOnGetInitialShowStateEvent FOnGetInitialShowState; + Ucefviewsframeworkevents::TOnIsFramelessEvent FOnIsFrameless; + Ucefviewsframeworkevents::TOnWithStandardWindowButtonsEvent FOnWithStandardWindowButtons; + Ucefviewsframeworkevents::TOnGetTitlebarHeightEvent FOnGetTitlebarHeight; + Ucefviewsframeworkevents::TOnAcceptsFirstMouseEvent FOnAcceptsFirstMouse; + Ucefviewsframeworkevents::TOnCanResizeEvent FOnCanResize; + Ucefviewsframeworkevents::TOnCanMaximizeEvent FOnCanMaximize; + Ucefviewsframeworkevents::TOnCanMinimizeEvent FOnCanMinimize; + Ucefviewsframeworkevents::TOnCanCloseEvent FOnCanClose; + Ucefviewsframeworkevents::TOnAcceleratorEvent FOnAccelerator; + Ucefviewsframeworkevents::TOnWindowKeyEventEvent FOnKeyEvent; + Ucefviewsframeworkevents::TOnThemeColorsChangedEvent FOnThemeColorsChanged; + Ucefviewsframeworkevents::TOnGetWindowRuntimeStyleEvent FOnGetWindowRuntimeStyle; + Ucefviewsframeworkevents::TOnGetLinuxWindowPropertiesEvent FOnGetLinuxWindowProperties; + virtual void __fastcall DestroyView(); + virtual void __fastcall Initialize(); + virtual bool __fastcall GetInitialized(); + virtual Ucefinterfaces::_di_ICefView __fastcall GetAsView(); + virtual Ucefinterfaces::_di_ICefPanel __fastcall GetAsPanel(); + virtual Ucefinterfaces::_di_ICefWindow __fastcall GetAsWindow(); + bool __fastcall GetIsClosed(); + bool __fastcall GetIsActive(); + bool __fastcall GetIsAlwaysOnTop(); + bool __fastcall GetIsMaximized(); + bool __fastcall GetIsMinimized(); + bool __fastcall GetIsFullscreen(); + Ucefinterfaces::_di_ICefView __fastcall GetFocusedView(); + Uceftypes::ustring __fastcall GetTitle(); + Ucefinterfaces::_di_ICefImage __fastcall GetWindowIcon(); + Ucefinterfaces::_di_ICefImage __fastcall GetWindowAppIcon(); + Ucefinterfaces::_di_ICefDisplay __fastcall GetDisplay(); + Uceftypes::TCefRect __fastcall GetClientAreaBoundsInScreen(); + Uceftypes::TCefWindowHandle __fastcall GetWindowHandle(); + Uceftypes::TCefRuntimeStyle __fastcall GetRuntimeStyle(); + void __fastcall SetAlwaysOnTop(bool on_top); + void __fastcall SetFullscreen(bool fullscreen); + void __fastcall SetTitle(const Uceftypes::ustring title_); + void __fastcall SetWindowIcon(const Ucefinterfaces::_di_ICefImage image); + void __fastcall SetWindowAppIcon(const Ucefinterfaces::_di_ICefImage image); + void __fastcall doOnWindowCreated(const Ucefinterfaces::_di_ICefWindow window_); + void __fastcall doOnWindowClosing(const Ucefinterfaces::_di_ICefWindow window_); + void __fastcall doOnWindowDestroyed(const Ucefinterfaces::_di_ICefWindow window_); + void __fastcall doOnWindowActivationChanged(const Ucefinterfaces::_di_ICefWindow window_, bool active); + void __fastcall doOnWindowBoundsChanged(const Ucefinterfaces::_di_ICefWindow window_, const Uceftypes::TCefRect &new_bounds); + void __fastcall doOnWindowFullscreenTransition(const Ucefinterfaces::_di_ICefWindow window_, bool is_completed); + void __fastcall doOnGetParentWindow(const Ucefinterfaces::_di_ICefWindow window_, bool &is_menu, bool &can_activate_menu, Ucefinterfaces::_di_ICefWindow &aResult); + void __fastcall doOnIsWindowModalDialog(const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); + void __fastcall doOnGetInitialBounds(const Ucefinterfaces::_di_ICefWindow window_, Uceftypes::TCefRect &aResult); + void __fastcall doOnGetInitialShowState(const Ucefinterfaces::_di_ICefWindow window_, Uceftypes::TCefShowState &aResult); + void __fastcall doOnIsFrameless(const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); + void __fastcall doOnWithStandardWindowButtons(const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); + void __fastcall doOnGetTitlebarHeight(const Ucefinterfaces::_di_ICefWindow window_, float &titlebar_height, bool &aResult); + void __fastcall doOnAcceptsFirstMouse(const Ucefinterfaces::_di_ICefWindow window_, Uceftypes::TCefState &aResult); + void __fastcall doOnCanResize(const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); + void __fastcall doOnCanMaximize(const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); + void __fastcall doOnCanMinimize(const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); + void __fastcall doOnCanClose(const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); + void __fastcall doOnAccelerator(const Ucefinterfaces::_di_ICefWindow window_, int command_id, bool &aResult); + void __fastcall doOnKeyEvent(const Ucefinterfaces::_di_ICefWindow window_, const Uceftypes::TCefKeyEvent &event, bool &aResult); + void __fastcall doOnThemeColorsChanged(const Ucefinterfaces::_di_ICefWindow window_, int chrome_theme); + void __fastcall doOnGetWindowRuntimeStyle(Uceftypes::TCefRuntimeStyle &aResult); + void __fastcall doOnGetLinuxWindowProperties(const Ucefinterfaces::_di_ICefWindow window_, Uceftypes::TLinuxWindowProperties &properties, bool &aResult); + virtual void __fastcall doCreateCustomView(); + +public: + void __fastcall CreateTopLevelWindow(); + void __fastcall Show(); + void __fastcall ShowAsBrowserModalDialog(const Ucefinterfaces::_di_ICefBrowserView browser_view); + void __fastcall Hide(); + void __fastcall CenterWindow(const Uceftypes::TCefSize &size_); + void __fastcall Close(); + void __fastcall Activate(); + void __fastcall Deactivate(); + void __fastcall BringToTop(); + void __fastcall Maximize(); + void __fastcall Minimize(); + void __fastcall Restore(); + Ucefinterfaces::_di_ICefOverlayController __fastcall AddOverlayView(const Ucefinterfaces::_di_ICefView view, Uceftypes::TCefDockingMode docking_mode, bool can_activate); + void __fastcall ShowMenu(const Ucefinterfaces::_di_ICefMenuModel menu_model, const Uceftypes::TCefPoint &screen_point, Uceftypes::TCefMenuAnchorPosition anchor_position); + void __fastcall CancelMenu(); + void __fastcall SetDraggableRegions(System::NativeUInt regionsCount, const Uceftypes::PCefDraggableRegionArray regions); + void __fastcall SendKeyPress(int key_code, unsigned event_flags); + void __fastcall SendMouseMove(int screen_x, int screen_y); + void __fastcall SendMouseEvents(Uceftypes::TCefMouseButtonType button, bool mouse_down, bool mouse_up); + void __fastcall SetAccelerator(int command_id, int key_code, bool shift_pressed, bool ctrl_pressed, bool alt_pressed, bool high_priority); + void __fastcall RemoveAccelerator(int command_id); + void __fastcall RemoveAllAccelerators(); + void __fastcall SetThemeColor(int color_id, Uceftypes::TCefColor color); + void __fastcall ThemeChanged(); + __property Ucefinterfaces::_di_ICefView FocusedView = {read=GetFocusedView}; + __property Uceftypes::ustring Title = {read=GetTitle, write=SetTitle}; + __property Ucefinterfaces::_di_ICefImage WindowIcon = {read=GetWindowIcon, write=SetWindowIcon}; + __property Ucefinterfaces::_di_ICefImage WindowAppIcon = {read=GetWindowAppIcon, write=SetWindowAppIcon}; + __property Ucefinterfaces::_di_ICefDisplay Display = {read=GetDisplay}; + __property Uceftypes::TCefRect ClientAreaBoundsInScreen = {read=GetClientAreaBoundsInScreen}; + __property Uceftypes::TCefWindowHandle WindowHandle = {read=GetWindowHandle, nodefault}; + __property bool IsClosed = {read=GetIsClosed, nodefault}; + __property bool IsActive = {read=GetIsActive, nodefault}; + __property bool IsAlwaysOnTop = {read=GetIsAlwaysOnTop, write=SetAlwaysOnTop, nodefault}; + __property bool IsFullscreen = {read=GetIsFullscreen, write=SetFullscreen, nodefault}; + __property bool IsMaximized = {read=GetIsMaximized, nodefault}; + __property bool IsMinimized = {read=GetIsMinimized, nodefault}; + __property Uceftypes::TCefRuntimeStyle RuntimeStyle = {read=GetRuntimeStyle, nodefault}; + +__published: + __property Ucefviewsframeworkevents::TOnWindowCreatedEvent OnWindowCreated = {read=FOnWindowCreated, write=FOnWindowCreated}; + __property Ucefviewsframeworkevents::TOnWindowClosingEvent OnWindowClosing = {read=FOnWindowClosing, write=FOnWindowClosing}; + __property Ucefviewsframeworkevents::TOnWindowDestroyedEvent OnWindowDestroyed = {read=FOnWindowDestroyed, write=FOnWindowDestroyed}; + __property Ucefviewsframeworkevents::TOnWindowActivationChangedEvent OnWindowActivationChanged = {read=FOnWindowActivationChanged, write=FOnWindowActivationChanged}; + __property Ucefviewsframeworkevents::TOnWindowBoundsChangedEvent OnWindowBoundsChanged = {read=FOnWindowBoundsChanged, write=FOnWindowBoundsChanged}; + __property Ucefviewsframeworkevents::TOnWindowFullscreenTransitionEvent OnWindowFullscreenTransition = {read=FOnWindowFullscreenTransition, write=FOnWindowFullscreenTransition}; + __property Ucefviewsframeworkevents::TOnGetParentWindowEvent OnGetParentWindow = {read=FOnGetParentWindow, write=FOnGetParentWindow}; + __property Ucefviewsframeworkevents::TOnIsWindowModalDialogEvent OnIsWindowModalDialog = {read=FOnIsWindowModalDialog, write=FOnIsWindowModalDialog}; + __property Ucefviewsframeworkevents::TOnGetInitialBoundsEvent OnGetInitialBounds = {read=FOnGetInitialBounds, write=FOnGetInitialBounds}; + __property Ucefviewsframeworkevents::TOnGetInitialShowStateEvent OnGetInitialShowState = {read=FOnGetInitialShowState, write=FOnGetInitialShowState}; + __property Ucefviewsframeworkevents::TOnIsFramelessEvent OnIsFrameless = {read=FOnIsFrameless, write=FOnIsFrameless}; + __property Ucefviewsframeworkevents::TOnWithStandardWindowButtonsEvent OnWithStandardWindowButtons = {read=FOnWithStandardWindowButtons, write=FOnWithStandardWindowButtons}; + __property Ucefviewsframeworkevents::TOnGetTitlebarHeightEvent OnGetTitlebarHeight = {read=FOnGetTitlebarHeight, write=FOnGetTitlebarHeight}; + __property Ucefviewsframeworkevents::TOnAcceptsFirstMouseEvent OnAcceptsFirstMouse = {read=FOnAcceptsFirstMouse, write=FOnAcceptsFirstMouse}; + __property Ucefviewsframeworkevents::TOnCanResizeEvent OnCanResize = {read=FOnCanResize, write=FOnCanResize}; + __property Ucefviewsframeworkevents::TOnCanMaximizeEvent OnCanMaximize = {read=FOnCanMaximize, write=FOnCanMaximize}; + __property Ucefviewsframeworkevents::TOnCanMinimizeEvent OnCanMinimize = {read=FOnCanMinimize, write=FOnCanMinimize}; + __property Ucefviewsframeworkevents::TOnCanCloseEvent OnCanClose = {read=FOnCanClose, write=FOnCanClose}; + __property Ucefviewsframeworkevents::TOnAcceleratorEvent OnAccelerator = {read=FOnAccelerator, write=FOnAccelerator}; + __property Ucefviewsframeworkevents::TOnWindowKeyEventEvent OnKeyEvent = {read=FOnKeyEvent, write=FOnKeyEvent}; + __property Ucefviewsframeworkevents::TOnThemeColorsChangedEvent OnThemeColorsChanged = {read=FOnThemeColorsChanged, write=FOnThemeColorsChanged}; + __property Ucefviewsframeworkevents::TOnGetWindowRuntimeStyleEvent OnGetWindowRuntimeStyle = {read=FOnGetWindowRuntimeStyle, write=FOnGetWindowRuntimeStyle}; + __property Ucefviewsframeworkevents::TOnGetLinuxWindowPropertiesEvent OnGetLinuxWindowProperties = {read=FOnGetLinuxWindowProperties, write=FOnGetLinuxWindowProperties}; +public: + /* TCEFViewComponent.Create */ inline __fastcall virtual TCEFWindowComponent(System::Classes::TComponent* AOwner) : Ucefpanelcomponent::TCEFPanelComponent(AOwner) { } + +public: + /* TComponent.Destroy */ inline __fastcall virtual ~TCEFWindowComponent() { } + +private: + void *__ICefWindowDelegateEvents; // Ucefinterfaces::ICefWindowDelegateEvents + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {05C19A41-E75D-459E-AD4D-C8A0CA4A49D3} + operator Ucefinterfaces::_di_ICefWindowDelegateEvents() + { + Ucefinterfaces::_di_ICefWindowDelegateEvents intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefWindowDelegateEvents*(void) { return (Ucefinterfaces::ICefWindowDelegateEvents*)&__ICefWindowDelegateEvents; } + #endif + +}; + + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefwindowcomponent */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFWINDOWCOMPONENT) +using namespace Ucefwindowcomponent; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFWindowComponentHPP diff --git a/CEF4Delphi/win32/hpps/uCEFWindowDelegate.hpp b/CEF4Delphi/win32/hpps/uCEFWindowDelegate.hpp new file mode 100644 index 0000000..6967ab8 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFWindowDelegate.hpp @@ -0,0 +1,211 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFWindowDelegate.pas' rev: 37.00 (Windows) + +#ifndef uCEFWindowDelegateHPP +#define uCEFWindowDelegateHPP + +#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 +#include +#include +#include +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefwindowdelegate +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefWindowDelegateRef; +class DELPHICLASS TCefWindowDelegateOwn; +class DELPHICLASS TCustomWindowDelegate; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefWindowDelegateRef : public Ucefpaneldelegate::TCefPanelDelegateRef +{ + typedef Ucefpaneldelegate::TCefPanelDelegateRef inherited; + +protected: + void __fastcall OnWindowCreated(const Ucefinterfaces::_di_ICefWindow window_); + void __fastcall OnWindowClosing(const Ucefinterfaces::_di_ICefWindow window_); + void __fastcall OnWindowDestroyed(const Ucefinterfaces::_di_ICefWindow window_); + void __fastcall OnWindowActivationChanged(const Ucefinterfaces::_di_ICefWindow window_, bool active); + void __fastcall OnWindowBoundsChanged(const Ucefinterfaces::_di_ICefWindow window_, const Uceftypes::TCefRect &new_bounds); + void __fastcall OnWindowFullscreenTransition(const Ucefinterfaces::_di_ICefWindow window_, bool is_completed); + void __fastcall OnGetParentWindow(const Ucefinterfaces::_di_ICefWindow window_, bool &is_menu, bool &can_activate_menu, Ucefinterfaces::_di_ICefWindow &aResult); + void __fastcall OnIsWindowModalDialog(const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); + void __fastcall OnGetInitialBounds(const Ucefinterfaces::_di_ICefWindow window_, Uceftypes::TCefRect &aResult); + void __fastcall OnGetInitialShowState(const Ucefinterfaces::_di_ICefWindow window_, Uceftypes::TCefShowState &aResult); + void __fastcall OnIsFrameless(const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); + void __fastcall OnWithStandardWindowButtons(const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); + void __fastcall OnGetTitlebarHeight(const Ucefinterfaces::_di_ICefWindow window_, float &titlebar_height, bool &aResult); + void __fastcall OnAcceptsFirstMouse(const Ucefinterfaces::_di_ICefWindow window_, Uceftypes::TCefState &aResult); + void __fastcall OnCanResize(const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); + void __fastcall OnCanMaximize(const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); + void __fastcall OnCanMinimize(const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); + void __fastcall OnCanClose(const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); + void __fastcall OnAccelerator(const Ucefinterfaces::_di_ICefWindow window_, int command_id, bool &aResult); + void __fastcall OnKeyEvent(const Ucefinterfaces::_di_ICefWindow window_, const Uceftypes::TCefKeyEvent &event, bool &aResult); + void __fastcall OnThemeColorsChanged(const Ucefinterfaces::_di_ICefWindow window_, int chrome_theme); + void __fastcall OnGetWindowRuntimeStyle(Uceftypes::TCefRuntimeStyle &aResult); + void __fastcall OnGetLinuxWindowProperties(const Ucefinterfaces::_di_ICefWindow window_, Uceftypes::TLinuxWindowProperties &properties, bool &aResult); + +public: + __classmethod Ucefinterfaces::_di_ICefWindowDelegate __fastcall UnWrap(void * data); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefWindowDelegateRef(void * data) : Ucefpaneldelegate::TCefPanelDelegateRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefWindowDelegateRef() { } + +private: + void *__ICefWindowDelegate; // Ucefinterfaces::ICefWindowDelegate + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {52D4EE2C-303B-42B6-A35F-30D03834A23F} + operator Ucefinterfaces::_di_ICefWindowDelegate() + { + Ucefinterfaces::_di_ICefWindowDelegate intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefWindowDelegate*(void) { return (Ucefinterfaces::ICefWindowDelegate*)&__ICefWindowDelegate; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefWindowDelegateOwn : public Ucefpaneldelegate::TCefPanelDelegateOwn +{ + typedef Ucefpaneldelegate::TCefPanelDelegateOwn inherited; + +protected: + virtual void __fastcall OnWindowCreated(const Ucefinterfaces::_di_ICefWindow window_); + virtual void __fastcall OnWindowClosing(const Ucefinterfaces::_di_ICefWindow window_); + virtual void __fastcall OnWindowDestroyed(const Ucefinterfaces::_di_ICefWindow window_); + virtual void __fastcall OnWindowActivationChanged(const Ucefinterfaces::_di_ICefWindow window_, bool active); + virtual void __fastcall OnWindowBoundsChanged(const Ucefinterfaces::_di_ICefWindow window_, const Uceftypes::TCefRect &new_bounds); + virtual void __fastcall OnWindowFullscreenTransition(const Ucefinterfaces::_di_ICefWindow window_, bool is_completed); + virtual void __fastcall OnGetParentWindow(const Ucefinterfaces::_di_ICefWindow window_, bool &is_menu, bool &can_activate_menu, Ucefinterfaces::_di_ICefWindow &aResult); + virtual void __fastcall OnIsWindowModalDialog(const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); + virtual void __fastcall OnGetInitialBounds(const Ucefinterfaces::_di_ICefWindow window_, Uceftypes::TCefRect &aResult); + virtual void __fastcall OnGetInitialShowState(const Ucefinterfaces::_di_ICefWindow window_, Uceftypes::TCefShowState &aResult); + virtual void __fastcall OnIsFrameless(const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); + virtual void __fastcall OnWithStandardWindowButtons(const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); + virtual void __fastcall OnGetTitlebarHeight(const Ucefinterfaces::_di_ICefWindow window_, float &titlebar_height, bool &aResult); + virtual void __fastcall OnAcceptsFirstMouse(const Ucefinterfaces::_di_ICefWindow window_, Uceftypes::TCefState &aResult); + virtual void __fastcall OnCanResize(const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); + virtual void __fastcall OnCanMaximize(const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); + virtual void __fastcall OnCanMinimize(const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); + virtual void __fastcall OnCanClose(const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); + virtual void __fastcall OnAccelerator(const Ucefinterfaces::_di_ICefWindow window_, int command_id, bool &aResult); + virtual void __fastcall OnKeyEvent(const Ucefinterfaces::_di_ICefWindow window_, const Uceftypes::TCefKeyEvent &event, bool &aResult); + virtual void __fastcall OnThemeColorsChanged(const Ucefinterfaces::_di_ICefWindow window_, int chrome_theme); + virtual void __fastcall OnGetWindowRuntimeStyle(Uceftypes::TCefRuntimeStyle &aResult); + virtual void __fastcall OnGetLinuxWindowProperties(const Ucefinterfaces::_di_ICefWindow window_, Uceftypes::TLinuxWindowProperties &properties, bool &aResult); + virtual void __fastcall InitializeCEFMethods(); + +public: + __fastcall virtual TCefWindowDelegateOwn(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefWindowDelegateOwn(unsigned size, bool owned) : Ucefpaneldelegate::TCefPanelDelegateOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefWindowDelegateOwn() { } + +private: + void *__ICefWindowDelegate; // Ucefinterfaces::ICefWindowDelegate + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {52D4EE2C-303B-42B6-A35F-30D03834A23F} + operator Ucefinterfaces::_di_ICefWindowDelegate() + { + Ucefinterfaces::_di_ICefWindowDelegate intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefWindowDelegate*(void) { return (Ucefinterfaces::ICefWindowDelegate*)&__ICefWindowDelegate; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCustomWindowDelegate : public TCefWindowDelegateOwn +{ + typedef TCefWindowDelegateOwn 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 OnWindowCreated(const Ucefinterfaces::_di_ICefWindow window_); + virtual void __fastcall OnWindowClosing(const Ucefinterfaces::_di_ICefWindow window_); + virtual void __fastcall OnWindowDestroyed(const Ucefinterfaces::_di_ICefWindow window_); + virtual void __fastcall OnWindowActivationChanged(const Ucefinterfaces::_di_ICefWindow window_, bool active); + virtual void __fastcall OnWindowBoundsChanged(const Ucefinterfaces::_di_ICefWindow window_, const Uceftypes::TCefRect &new_bounds); + virtual void __fastcall OnWindowFullscreenTransition(const Ucefinterfaces::_di_ICefWindow window_, bool is_completed); + virtual void __fastcall OnGetParentWindow(const Ucefinterfaces::_di_ICefWindow window_, bool &is_menu, bool &can_activate_menu, Ucefinterfaces::_di_ICefWindow &aResult); + virtual void __fastcall OnIsWindowModalDialog(const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); + virtual void __fastcall OnGetInitialBounds(const Ucefinterfaces::_di_ICefWindow window_, Uceftypes::TCefRect &aResult); + virtual void __fastcall OnGetInitialShowState(const Ucefinterfaces::_di_ICefWindow window_, Uceftypes::TCefShowState &aResult); + virtual void __fastcall OnIsFrameless(const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); + virtual void __fastcall OnWithStandardWindowButtons(const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); + virtual void __fastcall OnGetTitlebarHeight(const Ucefinterfaces::_di_ICefWindow window_, float &titlebar_height, bool &aResult); + virtual void __fastcall OnAcceptsFirstMouse(const Ucefinterfaces::_di_ICefWindow window_, Uceftypes::TCefState &aResult); + virtual void __fastcall OnCanResize(const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); + virtual void __fastcall OnCanMaximize(const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); + virtual void __fastcall OnCanMinimize(const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); + virtual void __fastcall OnCanClose(const Ucefinterfaces::_di_ICefWindow window_, bool &aResult); + virtual void __fastcall OnAccelerator(const Ucefinterfaces::_di_ICefWindow window_, int command_id, bool &aResult); + virtual void __fastcall OnKeyEvent(const Ucefinterfaces::_di_ICefWindow window_, const Uceftypes::TCefKeyEvent &event, bool &aResult); + virtual void __fastcall OnThemeColorsChanged(const Ucefinterfaces::_di_ICefWindow window_, int chrome_theme); + virtual void __fastcall OnGetWindowRuntimeStyle(Uceftypes::TCefRuntimeStyle &aResult); + virtual void __fastcall OnGetLinuxWindowProperties(const Ucefinterfaces::_di_ICefWindow window_, Uceftypes::TLinuxWindowProperties &properties, bool &aResult); + +public: + __fastcall TCustomWindowDelegate(const Ucefinterfaces::_di_ICefWindowDelegateEvents events); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomWindowDelegate(unsigned size, bool owned) : TCefWindowDelegateOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCustomWindowDelegate() { } + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefwindowdelegate */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFWINDOWDELEGATE) +using namespace Ucefwindowdelegate; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFWindowDelegateHPP diff --git a/CEF4Delphi/win32/hpps/uCEFWindowInfoWrapper.hpp b/CEF4Delphi/win32/hpps/uCEFWindowInfoWrapper.hpp new file mode 100644 index 0000000..894b2a0 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFWindowInfoWrapper.hpp @@ -0,0 +1,100 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFWindowInfoWrapper.pas' rev: 37.00 (Windows) + +#ifndef uCEFWindowInfoWrapperHPP +#define uCEFWindowInfoWrapperHPP + +#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 +#include +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefwindowinfowrapper +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCEFWindowInfoWrapper; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCEFWindowInfoWrapper : public System::TObject +{ + typedef System::TObject inherited; + +protected: + Uceftypes::TCefWindowInfo FWindowInfo; + Uceftypes::ustring __fastcall GetWindowName(); + Uceftypes::TCefRect __fastcall GetBounds(); + Uceftypes::TCefWindowHandle __fastcall GetParentWindow(); + bool __fastcall GetWindowlessRenderingEnabled(); + bool __fastcall GetSharedTextureEnabled(); + bool __fastcall GetExternalBeginFrameEnabled(); + Uceftypes::TCefWindowHandle __fastcall GetWindow(); + Uceftypes::TCefRuntimeStyle __fastcall GetRuntimeStyle(); + unsigned __fastcall GetExStyle(); + unsigned __fastcall GetStyle(); + HMENU __fastcall GetMenu(); + void __fastcall SetWindowName(const Uceftypes::ustring aValue); + void __fastcall SetBounds(const Uceftypes::TCefRect &aValue); + void __fastcall SetParentWindow(Uceftypes::TCefWindowHandle aValue); + void __fastcall SetWindowlessRenderingEnabled(bool aValue); + void __fastcall SetSharedTextureEnabled(bool aValue); + void __fastcall SetExternalBeginFrameEnabled(bool aValue); + void __fastcall SetWindow(Uceftypes::TCefWindowHandle aValue); + void __fastcall SetRuntimeStyle(Uceftypes::TCefRuntimeStyle aValue); + void __fastcall SetExStyle(unsigned aValue); + void __fastcall SetStyle(unsigned aValue); + void __fastcall SetMenu(HMENU aValue); + +public: + __fastcall TCEFWindowInfoWrapper(); + void __fastcall CopyFromWindowInfo(const Uceftypes::TCefWindowInfo &aSrcWindowInfo); + __classmethod void __fastcall AsChild(Uceftypes::TCefWindowInfo &aWindowInfo, Uceftypes::TCefWindowHandle aParent, const System::Types::TRect &aWindowBounds); + void __fastcall SetAsChild(Uceftypes::TCefWindowHandle aParent, const System::Types::TRect &aWindowBounds); + __classmethod void __fastcall AsPopup(Uceftypes::TCefWindowInfo &aWindowInfo, Uceftypes::TCefWindowHandle aParent, const Uceftypes::ustring aWindowName); + void __fastcall SetAsPopup(Uceftypes::TCefWindowHandle aParent, const Uceftypes::ustring aWindowName); + __classmethod void __fastcall AsWindowless(Uceftypes::TCefWindowInfo &aWindowInfo, Uceftypes::TCefWindowHandle aParent); + void __fastcall SetAsWindowless(Uceftypes::TCefWindowHandle aParent); + __property Uceftypes::TCefWindowInfo WindowInfoRecord = {read=FWindowInfo, write=FWindowInfo}; + __property Uceftypes::ustring WindowName = {read=GetWindowName, write=SetWindowName}; + __property Uceftypes::TCefRect Bounds = {read=GetBounds, write=SetBounds}; + __property bool WindowlessRenderingEnabled = {read=GetWindowlessRenderingEnabled, write=SetWindowlessRenderingEnabled, nodefault}; + __property bool SharedTextureEnabled = {read=GetSharedTextureEnabled, write=SetSharedTextureEnabled, nodefault}; + __property bool ExternalBeginFrameEnabled = {read=GetExternalBeginFrameEnabled, write=SetExternalBeginFrameEnabled, nodefault}; + __property Uceftypes::TCefRuntimeStyle RuntimeStyle = {read=GetRuntimeStyle, write=SetRuntimeStyle, nodefault}; + __property unsigned ExStyle = {read=GetExStyle, write=SetExStyle, nodefault}; + __property unsigned Style = {read=GetStyle, write=SetStyle, nodefault}; + __property HMENU Menu = {read=GetMenu, write=SetMenu, nodefault}; + __property Uceftypes::TCefWindowHandle ParentWindow = {read=GetParentWindow, write=SetParentWindow, nodefault}; + __property Uceftypes::TCefWindowHandle Window = {read=GetWindow, write=SetWindow, nodefault}; +public: + /* TObject.Destroy */ inline __fastcall virtual ~TCEFWindowInfoWrapper() { } + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefwindowinfowrapper */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFWINDOWINFOWRAPPER) +using namespace Ucefwindowinfowrapper; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFWindowInfoWrapperHPP diff --git a/CEF4Delphi/win32/hpps/uCEFWindowParent.hpp b/CEF4Delphi/win32/hpps/uCEFWindowParent.hpp new file mode 100644 index 0000000..062d59a --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFWindowParent.hpp @@ -0,0 +1,60 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFWindowParent.pas' rev: 37.00 (Windows) + +#ifndef uCEFWindowParentHPP +#define uCEFWindowParentHPP + +#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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefwindowparent +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCEFWindowParent; +//-- type declarations ------------------------------------------------------- +class PASCALIMPLEMENTATION TCEFWindowParent : public Ucefwincontrol::TCEFWinControl +{ + typedef Ucefwincontrol::TCEFWinControl inherited; + +protected: + virtual void __fastcall WndProc(Winapi::Messages::TMessage &aMessage); +public: + /* TWinControl.Create */ inline __fastcall virtual TCEFWindowParent(System::Classes::TComponent* AOwner) : Ucefwincontrol::TCEFWinControl(AOwner) { } + /* TWinControl.CreateParented */ inline __fastcall TCEFWindowParent(HWND ParentWindow) : Ucefwincontrol::TCEFWinControl(ParentWindow) { } + /* TWinControl.Destroy */ inline __fastcall virtual ~TCEFWindowParent() { } + +}; + + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefwindowparent */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFWINDOWPARENT) +using namespace Ucefwindowparent; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFWindowParentHPP diff --git a/CEF4Delphi/win32/hpps/uCEFWorkScheduler.hpp b/CEF4Delphi/win32/hpps/uCEFWorkScheduler.hpp new file mode 100644 index 0000000..182938a --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFWorkScheduler.hpp @@ -0,0 +1,92 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFWorkScheduler.pas' rev: 37.00 (Windows) + +#ifndef uCEFWorkSchedulerHPP +#define uCEFWorkSchedulerHPP + +#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 +#include +#include +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefworkscheduler +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCEFWorkScheduler; +//-- type declarations ------------------------------------------------------- +class PASCALIMPLEMENTATION TCEFWorkScheduler : public System::Classes::TComponent +{ + typedef System::Classes::TComponent inherited; + +protected: + Ucefworkschedulerthread::TCEFWorkSchedulerThread* FThread; + Ucefworkschedulerqueuethread::TCEFWorkSchedulerQueueThread* FQueueThread; + unsigned FDepleteWorkCycles; + unsigned FDepleteWorkDelay; + int FDefaultInterval; + bool FStopped; + bool FUseQueueThread; + HWND FCompHandle; + System::Classes::TThreadPriority FPriority; + void __fastcall CreateQueueThread(); + void __fastcall DestroyQueueThread(); + void __fastcall QueueThread_OnPulse(System::TObject* Sender, int aDelay); + void __fastcall DestroyThread(); + void __fastcall DepleteWork(); + void __fastcall WndProc(Winapi::Messages::TMessage &aMessage); + void __fastcall DeallocateWindowHandle(); + void __fastcall NextPulse(int aInterval); + void __fastcall ScheduleWork(const __int64 delay_ms); + void __fastcall DoWork(); + void __fastcall DoMessageLoopWork(); + void __fastcall Initialize(); + void __fastcall SetDefaultInterval(int aValue); + void __fastcall SetPriority(System::Classes::TThreadPriority aValue); + void __fastcall Thread_OnPulse(System::TObject* Sender); + +public: + __fastcall virtual TCEFWorkScheduler(System::Classes::TComponent* AOwner); + __fastcall TCEFWorkScheduler(); + __fastcall virtual ~TCEFWorkScheduler(); + void __fastcall ScheduleMessagePumpWork(const __int64 delay_ms); + void __fastcall StopScheduler(); + void __fastcall CreateThread(); + +__published: + __property System::Classes::TThreadPriority Priority = {read=FPriority, write=SetPriority, default=3}; + __property int DefaultInterval = {read=FDefaultInterval, write=SetDefaultInterval, default=33}; + __property unsigned DepleteWorkCycles = {read=FDepleteWorkCycles, write=FDepleteWorkCycles, default=10}; + __property unsigned DepleteWorkDelay = {read=FDepleteWorkDelay, write=FDepleteWorkDelay, default=50}; + __property bool UseQueueThread = {read=FUseQueueThread, write=FUseQueueThread, default=0}; +}; + + +//-- var, const, procedure --------------------------------------------------- +extern DELPHI_PACKAGE TCEFWorkScheduler* GlobalCEFWorkScheduler; +extern DELPHI_PACKAGE void __fastcall DestroyGlobalCEFWorkScheduler(void); +} /* namespace Ucefworkscheduler */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFWORKSCHEDULER) +using namespace Ucefworkscheduler; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFWorkSchedulerHPP diff --git a/CEF4Delphi/win32/hpps/uCEFWorkSchedulerQueueThread.hpp b/CEF4Delphi/win32/hpps/uCEFWorkSchedulerQueueThread.hpp new file mode 100644 index 0000000..b3ee4ac --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFWorkSchedulerQueueThread.hpp @@ -0,0 +1,79 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFWorkSchedulerQueueThread.pas' rev: 37.00 (Windows) + +#ifndef uCEFWorkSchedulerQueueThreadHPP +#define uCEFWorkSchedulerQueueThreadHPP + +#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 +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefworkschedulerqueuethread +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCEFWorkSchedulerQueueThread; +//-- type declarations ------------------------------------------------------- +typedef void __fastcall (__closure *TOnPulseEvent)(System::TObject* Sender, int aDelay); + +typedef System::DynamicArray TValuesArray; + +class PASCALIMPLEMENTATION TCEFWorkSchedulerQueueThread : public System::Classes::TThread +{ + typedef System::Classes::TThread inherited; + +protected: + System::Syncobjs::TCriticalSection* FQueueCS; + System::Syncobjs::TEvent* FEvent; + bool FWaiting; + bool FStop; + bool FReady; + TValuesArray FValues; + TOnPulseEvent FOnPulse; + int __fastcall GetAvailableValue(); + bool __fastcall GetHasPendingValue(); + bool __fastcall Lock(); + void __fastcall Unlock(); + bool __fastcall CanContinue(); + void __fastcall ReadAllPendingValues(); + void __fastcall DoOnPulse(); + virtual void __fastcall Execute(); + __property int AvailableValue = {read=GetAvailableValue, nodefault}; + __property bool HasPendingValue = {read=GetHasPendingValue, nodefault}; + +public: + __fastcall TCEFWorkSchedulerQueueThread(); + __fastcall virtual ~TCEFWorkSchedulerQueueThread(); + virtual void __fastcall AfterConstruction(); + void __fastcall StopThread(); + void __fastcall EnqueueValue(int aValue); + __property bool Ready = {read=FReady, nodefault}; + __property TOnPulseEvent OnPulse = {read=FOnPulse, write=FOnPulse}; +}; + + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefworkschedulerqueuethread */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFWORKSCHEDULERQUEUETHREAD) +using namespace Ucefworkschedulerqueuethread; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFWorkSchedulerQueueThreadHPP diff --git a/CEF4Delphi/win32/hpps/uCEFWorkSchedulerThread.hpp b/CEF4Delphi/win32/hpps/uCEFWorkSchedulerThread.hpp new file mode 100644 index 0000000..76160a1 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFWorkSchedulerThread.hpp @@ -0,0 +1,70 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFWorkSchedulerThread.pas' rev: 37.00 (Windows) + +#ifndef uCEFWorkSchedulerThreadHPP +#define uCEFWorkSchedulerThreadHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefworkschedulerthread +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCEFWorkSchedulerThread; +//-- type declarations ------------------------------------------------------- +class PASCALIMPLEMENTATION TCEFWorkSchedulerThread : public System::Classes::TThread +{ + typedef System::Classes::TThread inherited; + +protected: + System::Syncobjs::TCriticalSection* FCritSect; + int FInterval; + System::Syncobjs::TEvent* FEvent; + System::Classes::TNotifyEvent FOnPulse; + bool FPulsing; + bool FMustReset; + int FDefaultInterval; + bool __fastcall Lock(); + void __fastcall Unlock(); + bool __fastcall CanPulse(int &aInterval); + void __fastcall DoOnPulseEvent(); + void __fastcall EventTimeOut(); + void __fastcall SignaledEvent(); + virtual void __fastcall Execute(); + +public: + __fastcall TCEFWorkSchedulerThread(); + __fastcall virtual ~TCEFWorkSchedulerThread(); + virtual void __fastcall AfterConstruction(); + void __fastcall NextPulse(int aInterval); + __property int DefaultInterval = {read=FDefaultInterval, write=FDefaultInterval, default=33}; + __property System::Classes::TNotifyEvent OnPulse = {read=FOnPulse, write=FOnPulse}; +}; + + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefworkschedulerthread */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFWORKSCHEDULERTHREAD) +using namespace Ucefworkschedulerthread; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFWorkSchedulerThreadHPP diff --git a/CEF4Delphi/win32/hpps/uCEFWriteHandler.hpp b/CEF4Delphi/win32/hpps/uCEFWriteHandler.hpp new file mode 100644 index 0000000..8860a7d --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFWriteHandler.hpp @@ -0,0 +1,108 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFWriteHandler.pas' rev: 37.00 (Windows) + +#ifndef uCEFWriteHandlerHPP +#define uCEFWriteHandlerHPP + +#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 +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefwritehandler +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefWriteHandlerOwn; +class DELPHICLASS TCefBytesWriteHandler; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefWriteHandlerOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited; + +protected: + virtual System::NativeUInt __fastcall Write(const void * ptr, System::NativeUInt size, System::NativeUInt n); + virtual int __fastcall Seek(__int64 offset, int whence); + virtual __int64 __fastcall Tell(); + virtual int __fastcall Flush(); + virtual bool __fastcall MayBlock(); + +public: + __fastcall virtual TCefWriteHandlerOwn(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefWriteHandlerOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefWriteHandlerOwn() { } + +private: + void *__ICefWriteHandler; // Ucefinterfaces::ICefWriteHandler + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {F2431888-4EAB-421E-9EC3-320BE695AF30} + operator Ucefinterfaces::_di_ICefWriteHandler() + { + Ucefinterfaces::_di_ICefWriteHandler intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefWriteHandler*(void) { return (Ucefinterfaces::ICefWriteHandler*)&__ICefWriteHandler; } + #endif + +}; + +#pragma pack(pop) + +class PASCALIMPLEMENTATION TCefBytesWriteHandler : public TCefWriteHandlerOwn +{ + typedef TCefWriteHandlerOwn inherited; + +protected: + Winapi::Windows::TRTLCriticalSection FCriticalSection; + System::NativeUInt FGrow; + void *FBuffer; + __int64 FBufferSize; + __int64 FOffset; + System::NativeUInt __fastcall Grow(System::NativeUInt size); + +public: + __fastcall TCefBytesWriteHandler(System::NativeUInt aGrow); + __fastcall virtual ~TCefBytesWriteHandler(); + virtual System::NativeUInt __fastcall Write(const void * ptr, System::NativeUInt size, System::NativeUInt n); + virtual int __fastcall Seek(__int64 offset, int whence); + virtual __int64 __fastcall Tell(); + virtual int __fastcall Flush(); + virtual bool __fastcall MayBlock(); + void * __fastcall GetData(); + __int64 __fastcall GetDataSize(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefBytesWriteHandler(unsigned size, bool owned) : TCefWriteHandlerOwn(size, owned) { } + +}; + + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefwritehandler */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFWRITEHANDLER) +using namespace Ucefwritehandler; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFWriteHandlerHPP diff --git a/CEF4Delphi/win32/hpps/uCEFX509CertPrincipal.hpp b/CEF4Delphi/win32/hpps/uCEFX509CertPrincipal.hpp new file mode 100644 index 0000000..0a2cbff --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFX509CertPrincipal.hpp @@ -0,0 +1,81 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFX509CertPrincipal.pas' rev: 37.00 (Windows) + +#ifndef uCEFX509CertPrincipalHPP +#define uCEFX509CertPrincipalHPP + +#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 +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefx509certprincipal +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefX509CertPrincipalRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefX509CertPrincipalRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + Uceftypes::ustring __fastcall GetDisplayName(); + Uceftypes::ustring __fastcall GetCommonName(); + Uceftypes::ustring __fastcall GetLocalityName(); + Uceftypes::ustring __fastcall GetStateOrProvinceName(); + Uceftypes::ustring __fastcall GetCountryName(); + void __fastcall GetOrganizationNames(System::Classes::TStrings* const names); + void __fastcall GetOrganizationUnitNames(System::Classes::TStrings* const names); + +public: + __classmethod Ucefinterfaces::_di_ICefX509CertPrincipal __fastcall UnWrap(void * data); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefX509CertPrincipalRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefX509CertPrincipalRef() { } + +private: + void *__ICefX509CertPrincipal; // Ucefinterfaces::ICefX509CertPrincipal + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {CD3621ED-7D68-4A1F-95B5-190C7001B65F} + operator Ucefinterfaces::_di_ICefX509CertPrincipal() + { + Ucefinterfaces::_di_ICefX509CertPrincipal intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefX509CertPrincipal*(void) { return (Ucefinterfaces::ICefX509CertPrincipal*)&__ICefX509CertPrincipal; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefx509certprincipal */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFX509CERTPRINCIPAL) +using namespace Ucefx509certprincipal; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFX509CertPrincipalHPP diff --git a/CEF4Delphi/win32/hpps/uCEFX509Certificate.hpp b/CEF4Delphi/win32/hpps/uCEFX509Certificate.hpp new file mode 100644 index 0000000..5d2cdff --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFX509Certificate.hpp @@ -0,0 +1,88 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFX509Certificate.pas' rev: 37.00 (Windows) + +#ifndef uCEFX509CertificateHPP +#define uCEFX509CertificateHPP + +#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 +#include +#include +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefx509certificate +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCEFX509CertificateRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCEFX509CertificateRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + Ucefinterfaces::_di_ICefX509CertPrincipal __fastcall GetSubject(); + Ucefinterfaces::_di_ICefX509CertPrincipal __fastcall GetIssuer(); + Ucefinterfaces::_di_ICefBinaryValue __fastcall GetSerialNumber(); + Uceftypes::TCefBaseTime __fastcall GetValidStart(); + Uceftypes::TCefBaseTime __fastcall GetValidExpiry(); + System::TDateTime __fastcall GetValidStartAsDateTime(); + System::TDateTime __fastcall GetValidExpiryAsDateTime(); + Ucefinterfaces::_di_ICefBinaryValue __fastcall GetDerEncoded(); + Ucefinterfaces::_di_ICefBinaryValue __fastcall GetPemEncoded(); + System::NativeUInt __fastcall GetIssuerChainSize(); + void __fastcall GetDEREncodedIssuerChain(System::NativeUInt chainCount, Ucefinterfaces::TCefBinaryValueArray &chain); + void __fastcall GetPEMEncodedIssuerChain(System::NativeUInt chainCount, Ucefinterfaces::TCefBinaryValueArray &chain); + +public: + __classmethod Ucefinterfaces::_di_ICefX509Certificate __fastcall UnWrap(void * data); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCEFX509CertificateRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCEFX509CertificateRef() { } + +private: + void *__ICefX509Certificate; // Ucefinterfaces::ICefX509Certificate + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {C897979D-F068-4428-82DF-4221612FF7E0} + operator Ucefinterfaces::_di_ICefX509Certificate() + { + Ucefinterfaces::_di_ICefX509Certificate intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefX509Certificate*(void) { return (Ucefinterfaces::ICefX509Certificate*)&__ICefX509Certificate; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefx509certificate */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFX509CERTIFICATE) +using namespace Ucefx509certificate; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFX509CertificateHPP diff --git a/CEF4Delphi/win32/hpps/uCEFXmlReader.hpp b/CEF4Delphi/win32/hpps/uCEFXmlReader.hpp new file mode 100644 index 0000000..463c504 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFXmlReader.hpp @@ -0,0 +1,103 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFXmlReader.pas' rev: 37.00 (Windows) + +#ifndef uCEFXmlReaderHPP +#define uCEFXmlReaderHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefxmlreader +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefXmlReaderRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefXmlReaderRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + bool __fastcall MoveToNextNode(); + bool __fastcall Close(); + bool __fastcall HasError(); + Uceftypes::ustring __fastcall GetError(); + Uceftypes::TCefXmlNodeType __fastcall GetType(); + int __fastcall GetDepth(); + Uceftypes::ustring __fastcall GetLocalName(); + Uceftypes::ustring __fastcall GetPrefix(); + Uceftypes::ustring __fastcall GetQualifiedName(); + Uceftypes::ustring __fastcall GetNamespaceUri(); + Uceftypes::ustring __fastcall GetBaseUri(); + Uceftypes::ustring __fastcall GetXmlLang(); + bool __fastcall IsEmptyElement(); + bool __fastcall HasValue(); + Uceftypes::ustring __fastcall GetValue(); + bool __fastcall HasAttributes(); + System::NativeUInt __fastcall GetAttributeCount(); + Uceftypes::ustring __fastcall GetAttributeByIndex(int index); + Uceftypes::ustring __fastcall GetAttributeByQName(const Uceftypes::ustring qualifiedName); + Uceftypes::ustring __fastcall GetAttributeByLName(const Uceftypes::ustring localName, const Uceftypes::ustring namespaceURI); + Uceftypes::ustring __fastcall GetInnerXml(); + Uceftypes::ustring __fastcall GetOuterXml(); + int __fastcall GetLineNumber(); + bool __fastcall MoveToAttributeByIndex(int index); + bool __fastcall MoveToAttributeByQName(const Uceftypes::ustring qualifiedName); + bool __fastcall MoveToAttributeByLName(const Uceftypes::ustring localName, const Uceftypes::ustring namespaceURI); + bool __fastcall MoveToFirstAttribute(); + bool __fastcall MoveToNextAttribute(); + bool __fastcall MoveToCarryingElement(); + +public: + __classmethod Ucefinterfaces::_di_ICefXmlReader __fastcall UnWrap(void * data); + __classmethod Ucefinterfaces::_di_ICefXmlReader __fastcall New(const Ucefinterfaces::_di_ICefStreamReader stream, Uceftypes::TCefXmlEncodingType encodingType, const Uceftypes::ustring URI); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefXmlReaderRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefXmlReaderRef() { } + +private: + void *__ICefXmlReader; // Ucefinterfaces::ICefXmlReader + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {0DE686C3-A8D7-45D2-82FD-92F7F4E62A90} + operator Ucefinterfaces::_di_ICefXmlReader() + { + Ucefinterfaces::_di_ICefXmlReader intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefXmlReader*(void) { return (Ucefinterfaces::ICefXmlReader*)&__ICefXmlReader; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefxmlreader */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFXMLREADER) +using namespace Ucefxmlreader; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFXmlReaderHPP diff --git a/CEF4Delphi/win32/hpps/uCEFZipReader.hpp b/CEF4Delphi/win32/hpps/uCEFZipReader.hpp new file mode 100644 index 0000000..60c314e --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFZipReader.hpp @@ -0,0 +1,86 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFZipReader.pas' rev: 37.00 (Windows) + +#ifndef uCEFZipReaderHPP +#define uCEFZipReaderHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefzipreader +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefZipReaderRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefZipReaderRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + bool __fastcall MoveToFirstFile(); + bool __fastcall MoveToNextFile(); + bool __fastcall MoveToFile(const Uceftypes::ustring fileName, bool caseSensitive); + bool __fastcall Close(); + Uceftypes::ustring __fastcall GetFileName(); + __int64 __fastcall GetFileSize(); + Uceftypes::TCefBaseTime __fastcall GetFileLastModified(); + bool __fastcall OpenFile(const Uceftypes::ustring password); + bool __fastcall CloseFile(); + int __fastcall ReadFile(void * buffer, System::NativeUInt bufferSize); + __int64 __fastcall Tell(); + bool __fastcall Eof(); + +public: + __classmethod Ucefinterfaces::_di_ICefZipReader __fastcall UnWrap(void * data); + __classmethod Ucefinterfaces::_di_ICefZipReader __fastcall New(const Ucefinterfaces::_di_ICefStreamReader stream); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefZipReaderRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefZipReaderRef() { } + +private: + void *__ICefZipReader; // Ucefinterfaces::ICefZipReader + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {3B6C591F-9877-42B3-8892-AA7B27DA34A8} + operator Ucefinterfaces::_di_ICefZipReader() + { + Ucefinterfaces::_di_ICefZipReader intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefZipReader*(void) { return (Ucefinterfaces::ICefZipReader*)&__ICefZipReader; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefzipreader */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFZIPREADER) +using namespace Ucefzipreader; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFZipReaderHPP diff --git a/CEF4Delphi/win32/hpps/uCEFv8Accessor.hpp b/CEF4Delphi/win32/hpps/uCEFv8Accessor.hpp new file mode 100644 index 0000000..3f54a4a --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFv8Accessor.hpp @@ -0,0 +1,97 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFv8Accessor.pas' rev: 37.00 (Windows) + +#ifndef uCEFv8AccessorHPP +#define uCEFv8AccessorHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefv8accessor +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefV8AccessorOwn; +class DELPHICLASS TCefFastV8Accessor; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefV8AccessorOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited; + +protected: + virtual bool __fastcall Get(const Uceftypes::ustring name, const Ucefinterfaces::_di_ICefv8Value object_, Ucefinterfaces::_di_ICefv8Value &retval, Uceftypes::ustring &exception); + virtual bool __fastcall Set_(const Uceftypes::ustring name, const Ucefinterfaces::_di_ICefv8Value object_, const Ucefinterfaces::_di_ICefv8Value value, Uceftypes::ustring &exception); + +public: + __fastcall virtual TCefV8AccessorOwn(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefV8AccessorOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefV8AccessorOwn() { } + +private: + void *__ICefV8Accessor; // Ucefinterfaces::ICefV8Accessor + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {DCA6D4A2-726A-4E24-AA64-5E8C731D868A} + operator Ucefinterfaces::_di_ICefV8Accessor() + { + Ucefinterfaces::_di_ICefV8Accessor intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefV8Accessor*(void) { return (Ucefinterfaces::ICefV8Accessor*)&__ICefV8Accessor; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefFastV8Accessor : public TCefV8AccessorOwn +{ + typedef TCefV8AccessorOwn inherited; + +protected: + Ucefinterfaces::_di_TCefV8AccessorGetterProc FGetter; + Ucefinterfaces::_di_TCefV8AccessorSetterProc FSetter; + virtual bool __fastcall Get(const Uceftypes::ustring name, const Ucefinterfaces::_di_ICefv8Value object_, Ucefinterfaces::_di_ICefv8Value &retval, Uceftypes::ustring &exception); + virtual bool __fastcall Set_(const Uceftypes::ustring name, const Ucefinterfaces::_di_ICefv8Value object_, const Ucefinterfaces::_di_ICefv8Value value, Uceftypes::ustring &exception); + +public: + __fastcall TCefFastV8Accessor(const Ucefinterfaces::_di_TCefV8AccessorGetterProc getter, const Ucefinterfaces::_di_TCefV8AccessorSetterProc setter); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefFastV8Accessor(unsigned size, bool owned) : TCefV8AccessorOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefFastV8Accessor() { } + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefv8accessor */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFV8ACCESSOR) +using namespace Ucefv8accessor; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFv8AccessorHPP diff --git a/CEF4Delphi/win32/hpps/uCEFv8ArrayBufferReleaseCallback.hpp b/CEF4Delphi/win32/hpps/uCEFv8ArrayBufferReleaseCallback.hpp new file mode 100644 index 0000000..5411f6d --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFv8ArrayBufferReleaseCallback.hpp @@ -0,0 +1,129 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFv8ArrayBufferReleaseCallback.pas' rev: 37.00 (Windows) + +#ifndef uCEFv8ArrayBufferReleaseCallbackHPP +#define uCEFv8ArrayBufferReleaseCallbackHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefv8arraybufferreleasecallback +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefv8ArrayBufferReleaseCallbackOwn; +class DELPHICLASS TCefFastv8ArrayBufferReleaseCallback; +class DELPHICLASS TCefv8ArrayBufferReleaseCallbackRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefv8ArrayBufferReleaseCallbackOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited; + +protected: + virtual void __fastcall ReleaseBuffer(void * buffer); + +public: + __fastcall virtual TCefv8ArrayBufferReleaseCallbackOwn(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefv8ArrayBufferReleaseCallbackOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefv8ArrayBufferReleaseCallbackOwn() { } + +private: + void *__ICefv8ArrayBufferReleaseCallback; // Ucefinterfaces::ICefv8ArrayBufferReleaseCallback + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {4EAAB422-D046-43DF-B1F0-5503116A5816} + operator Ucefinterfaces::_di_ICefv8ArrayBufferReleaseCallback() + { + Ucefinterfaces::_di_ICefv8ArrayBufferReleaseCallback intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefv8ArrayBufferReleaseCallback*(void) { return (Ucefinterfaces::ICefv8ArrayBufferReleaseCallback*)&__ICefv8ArrayBufferReleaseCallback; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefFastv8ArrayBufferReleaseCallback : public TCefv8ArrayBufferReleaseCallbackOwn +{ + typedef TCefv8ArrayBufferReleaseCallbackOwn inherited; + +protected: + Ucefinterfaces::_di_TCefv8ArrayBufferReleaseCallbackProc FCallback; + virtual void __fastcall ReleaseBuffer(void * buffer); + +public: + __fastcall TCefFastv8ArrayBufferReleaseCallback(const Ucefinterfaces::_di_TCefv8ArrayBufferReleaseCallbackProc callback); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefFastv8ArrayBufferReleaseCallback(unsigned size, bool owned) : TCefv8ArrayBufferReleaseCallbackOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefFastv8ArrayBufferReleaseCallback() { } + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefv8ArrayBufferReleaseCallbackRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + virtual void __fastcall ReleaseBuffer(void * buffer); + +public: + __classmethod Ucefinterfaces::_di_ICefv8ArrayBufferReleaseCallback __fastcall UnWrap(void * data); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefv8ArrayBufferReleaseCallbackRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefv8ArrayBufferReleaseCallbackRef() { } + +private: + void *__ICefv8ArrayBufferReleaseCallback; // Ucefinterfaces::ICefv8ArrayBufferReleaseCallback + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {4EAAB422-D046-43DF-B1F0-5503116A5816} + operator Ucefinterfaces::_di_ICefv8ArrayBufferReleaseCallback() + { + Ucefinterfaces::_di_ICefv8ArrayBufferReleaseCallback intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefv8ArrayBufferReleaseCallback*(void) { return (Ucefinterfaces::ICefv8ArrayBufferReleaseCallback*)&__ICefv8ArrayBufferReleaseCallback; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefv8arraybufferreleasecallback */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFV8ARRAYBUFFERRELEASECALLBACK) +using namespace Ucefv8arraybufferreleasecallback; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFv8ArrayBufferReleaseCallbackHPP diff --git a/CEF4Delphi/win32/hpps/uCEFv8Context.hpp b/CEF4Delphi/win32/hpps/uCEFv8Context.hpp new file mode 100644 index 0000000..0c26cfd --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFv8Context.hpp @@ -0,0 +1,84 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFv8Context.pas' rev: 37.00 (Windows) + +#ifndef uCEFv8ContextHPP +#define uCEFv8ContextHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefv8context +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefv8ContextRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefv8ContextRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + Ucefinterfaces::_di_ICefTaskRunner __fastcall GetTaskRunner(); + bool __fastcall IsValid(); + Ucefinterfaces::_di_ICefBrowser __fastcall GetBrowser(); + Ucefinterfaces::_di_ICefFrame __fastcall GetFrame(); + Ucefinterfaces::_di_ICefv8Value __fastcall GetGlobal(); + bool __fastcall Enter(); + bool __fastcall Exit(); + bool __fastcall IsSame(const Ucefinterfaces::_di_ICefv8Context that); + bool __fastcall Eval(const Uceftypes::ustring code, const Uceftypes::ustring script_url, int start_line, Ucefinterfaces::_di_ICefv8Value &retval, Ucefinterfaces::_di_ICefV8Exception &exception); + +public: + __classmethod Ucefinterfaces::_di_ICefv8Context __fastcall UnWrap(void * data); + __classmethod Ucefinterfaces::_di_ICefv8Context __fastcall Current(); + __classmethod Ucefinterfaces::_di_ICefv8Context __fastcall Entered(); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefv8ContextRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefv8ContextRef() { } + +private: + void *__ICefv8Context; // Ucefinterfaces::ICefv8Context + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {2295A11A-8773-41F2-AD42-308C215062D9} + operator Ucefinterfaces::_di_ICefv8Context() + { + Ucefinterfaces::_di_ICefv8Context intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefv8Context*(void) { return (Ucefinterfaces::ICefv8Context*)&__ICefv8Context; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefv8context */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFV8CONTEXT) +using namespace Ucefv8context; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFv8ContextHPP diff --git a/CEF4Delphi/win32/hpps/uCEFv8Exception.hpp b/CEF4Delphi/win32/hpps/uCEFv8Exception.hpp new file mode 100644 index 0000000..3451ffc --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFv8Exception.hpp @@ -0,0 +1,81 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFv8Exception.pas' rev: 37.00 (Windows) + +#ifndef uCEFv8ExceptionHPP +#define uCEFv8ExceptionHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefv8exception +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefV8ExceptionRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefV8ExceptionRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + Uceftypes::ustring __fastcall GetMessage(); + Uceftypes::ustring __fastcall GetSourceLine(); + Uceftypes::ustring __fastcall GetScriptResourceName(); + int __fastcall GetLineNumber(); + int __fastcall GetStartPosition(); + int __fastcall GetEndPosition(); + int __fastcall GetStartColumn(); + int __fastcall GetEndColumn(); + +public: + __classmethod Ucefinterfaces::_di_ICefV8Exception __fastcall UnWrap(void * data); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefV8ExceptionRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefV8ExceptionRef() { } + +private: + void *__ICefV8Exception; // Ucefinterfaces::ICefV8Exception + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {7E422CF0-05AC-4A60-A029-F45105DCE6A4} + operator Ucefinterfaces::_di_ICefV8Exception() + { + Ucefinterfaces::_di_ICefV8Exception intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefV8Exception*(void) { return (Ucefinterfaces::ICefV8Exception*)&__ICefV8Exception; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefv8exception */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFV8EXCEPTION) +using namespace Ucefv8exception; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFv8ExceptionHPP diff --git a/CEF4Delphi/win32/hpps/uCEFv8Handler.hpp b/CEF4Delphi/win32/hpps/uCEFv8Handler.hpp new file mode 100644 index 0000000..7105b40 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFv8Handler.hpp @@ -0,0 +1,180 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFv8Handler.pas' rev: 37.00 (Windows) + +#ifndef uCEFv8HandlerHPP +#define uCEFv8HandlerHPP + +#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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefv8handler +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefv8HandlerRef; +class DELPHICLASS TCefv8HandlerOwn; +class DELPHICLASS TCefCustomUserData; +class DELPHICLASS TCefRTTIExtension; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefv8HandlerRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + bool __fastcall Execute(const Uceftypes::ustring name, const Ucefinterfaces::_di_ICefv8Value object_, const Ucefinterfaces::TCefv8ValueArray arguments, Ucefinterfaces::_di_ICefv8Value &retval, Uceftypes::ustring &exception); + +public: + __classmethod Ucefinterfaces::_di_ICefv8Handler __fastcall UnWrap(void * data); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefv8HandlerRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefv8HandlerRef() { } + +private: + void *__ICefv8Handler; // Ucefinterfaces::ICefv8Handler + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {F94CDC60-FDCB-422D-96D5-D2A775BD5D73} + operator Ucefinterfaces::_di_ICefv8Handler() + { + Ucefinterfaces::_di_ICefv8Handler intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefv8Handler*(void) { return (Ucefinterfaces::ICefv8Handler*)&__ICefv8Handler; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefv8HandlerOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited; + +protected: + virtual bool __fastcall Execute(const Uceftypes::ustring name, const Ucefinterfaces::_di_ICefv8Value object_, const Ucefinterfaces::TCefv8ValueArray arguments, Ucefinterfaces::_di_ICefv8Value &retval, Uceftypes::ustring &exception); + +public: + __fastcall virtual TCefv8HandlerOwn(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefv8HandlerOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefv8HandlerOwn() { } + +private: + void *__ICefv8Handler; // Ucefinterfaces::ICefv8Handler + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {F94CDC60-FDCB-422D-96D5-D2A775BD5D73} + operator Ucefinterfaces::_di_ICefv8Handler() + { + Ucefinterfaces::_di_ICefv8Handler intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefv8Handler*(void) { return (Ucefinterfaces::ICefv8Handler*)&__ICefv8Handler; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefCustomUserData : public Ucefbaserefcounted::TCefBaseRefCountedOwn +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited; + +protected: + void *FUserDataType; + void *FUserData; + void * __fastcall GetUserDataType(); + void * __fastcall GetUserData(); + +public: + __fastcall TCefCustomUserData(void * aUserDataType, void * aUserData); + __fastcall virtual ~TCefCustomUserData(); + __classmethod Ucefinterfaces::_di_ICefCustomUserData __fastcall UnWrap(void * data); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefCustomUserData(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { } + +private: + void *__ICefCustomUserData; // Ucefinterfaces::ICefCustomUserData + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {BEC09DE3-AB0A-4F5E-8461-5F9F4520FDEF} + operator Ucefinterfaces::_di_ICefCustomUserData() + { + Ucefinterfaces::_di_ICefCustomUserData intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefCustomUserData*(void) { return (Ucefinterfaces::ICefCustomUserData*)&__ICefCustomUserData; } + #endif + +}; + +#pragma pack(pop) + +class PASCALIMPLEMENTATION TCefRTTIExtension : public TCefv8HandlerOwn +{ + typedef TCefv8HandlerOwn inherited; + +protected: + System::Rtti::TValue FValue; + System::Rtti::TRttiContext FCtx; + bool FSyncMainThread; + bool __fastcall GetValue(System::Typinfo::PTypeInfo pi, const Ucefinterfaces::_di_ICefv8Value v, System::Rtti::TValue &ret); + bool __fastcall SetValue(const System::Rtti::TValue &v, Ucefinterfaces::_di_ICefv8Value &ret); + bool __fastcall HandleProperties(const Uceftypes::ustring name, const Ucefinterfaces::TCefv8ValueArray arguments, Ucefinterfaces::_di_ICefv8Value &retval); + virtual bool __fastcall Execute(const Uceftypes::ustring name, const Ucefinterfaces::_di_ICefv8Value object_, const Ucefinterfaces::TCefv8ValueArray arguments, Ucefinterfaces::_di_ICefv8Value &retval, Uceftypes::ustring &exception); + +public: + __fastcall TCefRTTIExtension(const System::Rtti::TValue &value, bool SyncMainThread); + __fastcall virtual ~TCefRTTIExtension(); + __classmethod bool __fastcall Register(const Uceftypes::ustring name, const System::Rtti::TValue &value, bool SyncMainThread = false); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefRTTIExtension(unsigned size, bool owned) : TCefv8HandlerOwn(size, owned) { } + +}; + + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefv8handler */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFV8HANDLER) +using namespace Ucefv8handler; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFv8HandlerHPP diff --git a/CEF4Delphi/win32/hpps/uCEFv8Interceptor.hpp b/CEF4Delphi/win32/hpps/uCEFv8Interceptor.hpp new file mode 100644 index 0000000..0cf301b --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFv8Interceptor.hpp @@ -0,0 +1,103 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFv8Interceptor.pas' rev: 37.00 (Windows) + +#ifndef uCEFv8InterceptorHPP +#define uCEFv8InterceptorHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefv8interceptor +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefV8InterceptorOwn; +class DELPHICLASS TCefFastV8Interceptor; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefV8InterceptorOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited; + +protected: + virtual bool __fastcall GetByName(const Uceftypes::ustring name, const Ucefinterfaces::_di_ICefv8Value object_, Ucefinterfaces::_di_ICefv8Value &retval, Uceftypes::ustring &exception); + virtual bool __fastcall GetByIndex(int index, const Ucefinterfaces::_di_ICefv8Value object_, Ucefinterfaces::_di_ICefv8Value &retval, Uceftypes::ustring &exception); + virtual bool __fastcall SetByName(const Uceftypes::ustring name, const Ucefinterfaces::_di_ICefv8Value object_, const Ucefinterfaces::_di_ICefv8Value value, Uceftypes::ustring &exception); + virtual bool __fastcall SetByIndex(int index, const Ucefinterfaces::_di_ICefv8Value object_, const Ucefinterfaces::_di_ICefv8Value value, Uceftypes::ustring &exception); + +public: + __fastcall virtual TCefV8InterceptorOwn(); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefV8InterceptorOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefV8InterceptorOwn() { } + +private: + void *__ICefV8Interceptor; // Ucefinterfaces::ICefV8Interceptor + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {B3B8FD7C-A916-4B25-93A2-2892AC324F21} + operator Ucefinterfaces::_di_ICefV8Interceptor() + { + Ucefinterfaces::_di_ICefV8Interceptor intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefV8Interceptor*(void) { return (Ucefinterfaces::ICefV8Interceptor*)&__ICefV8Interceptor; } + #endif + +}; + +#pragma pack(pop) + +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefFastV8Interceptor : public TCefV8InterceptorOwn +{ + typedef TCefV8InterceptorOwn inherited; + +protected: + Ucefinterfaces::_di_TCefV8InterceptorGetterByNameProc FGetterByName; + Ucefinterfaces::_di_TCefV8InterceptorSetterByNameProc FSetterByName; + Ucefinterfaces::_di_TCefV8InterceptorGetterByIndexProc FGetterByIndex; + Ucefinterfaces::_di_TCefV8InterceptorSetterByIndexProc FSetterByIndex; + virtual bool __fastcall GetByName(const Uceftypes::ustring name, const Ucefinterfaces::_di_ICefv8Value object_, Ucefinterfaces::_di_ICefv8Value &retval, Uceftypes::ustring &exception); + virtual bool __fastcall GetByIndex(int index, const Ucefinterfaces::_di_ICefv8Value object_, Ucefinterfaces::_di_ICefv8Value &retval, Uceftypes::ustring &exception); + virtual bool __fastcall SetByName(const Uceftypes::ustring name, const Ucefinterfaces::_di_ICefv8Value object_, const Ucefinterfaces::_di_ICefv8Value value, Uceftypes::ustring &exception); + virtual bool __fastcall SetByIndex(int index, const Ucefinterfaces::_di_ICefv8Value object_, const Ucefinterfaces::_di_ICefv8Value value, Uceftypes::ustring &exception); + +public: + __fastcall TCefFastV8Interceptor(const Ucefinterfaces::_di_TCefV8InterceptorGetterByNameProc getterbyname, const Ucefinterfaces::_di_TCefV8InterceptorSetterByNameProc setterbyname, const Ucefinterfaces::_di_TCefV8InterceptorGetterByIndexProc getterbyindex, const Ucefinterfaces::_di_TCefV8InterceptorSetterByIndexProc setterbyindex); +public: + /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefFastV8Interceptor(unsigned size, bool owned) : TCefV8InterceptorOwn(size, owned) { } + /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefFastV8Interceptor() { } + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefv8interceptor */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFV8INTERCEPTOR) +using namespace Ucefv8interceptor; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFv8InterceptorHPP diff --git a/CEF4Delphi/win32/hpps/uCEFv8StackFrame.hpp b/CEF4Delphi/win32/hpps/uCEFv8StackFrame.hpp new file mode 100644 index 0000000..1feadb5 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFv8StackFrame.hpp @@ -0,0 +1,81 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFv8StackFrame.pas' rev: 37.00 (Windows) + +#ifndef uCEFv8StackFrameHPP +#define uCEFv8StackFrameHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefv8stackframe +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefV8StackFrameRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefV8StackFrameRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + bool __fastcall IsValid(); + Uceftypes::ustring __fastcall GetScriptName(); + Uceftypes::ustring __fastcall GetScriptNameOrSourceUrl(); + Uceftypes::ustring __fastcall GetFunctionName(); + int __fastcall GetLineNumber(); + int __fastcall GetColumn(); + bool __fastcall IsEval(); + bool __fastcall IsConstructor(); + +public: + __classmethod Ucefinterfaces::_di_ICefV8StackFrame __fastcall UnWrap(void * data); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefV8StackFrameRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefV8StackFrameRef() { } + +private: + void *__ICefV8StackFrame; // Ucefinterfaces::ICefV8StackFrame + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {BA1FFBF4-E9F2-4842-A827-DC220F324286} + operator Ucefinterfaces::_di_ICefV8StackFrame() + { + Ucefinterfaces::_di_ICefV8StackFrame intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefV8StackFrame*(void) { return (Ucefinterfaces::ICefV8StackFrame*)&__ICefV8StackFrame; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefv8stackframe */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFV8STACKFRAME) +using namespace Ucefv8stackframe; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFv8StackFrameHPP diff --git a/CEF4Delphi/win32/hpps/uCEFv8StackTrace.hpp b/CEF4Delphi/win32/hpps/uCEFv8StackTrace.hpp new file mode 100644 index 0000000..0eecd22 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFv8StackTrace.hpp @@ -0,0 +1,77 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFv8StackTrace.pas' rev: 37.00 (Windows) + +#ifndef uCEFv8StackTraceHPP +#define uCEFv8StackTraceHPP + +#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 +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefv8stacktrace +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefV8StackTraceRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefV8StackTraceRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + bool __fastcall IsValid(); + int __fastcall GetFrameCount(); + Ucefinterfaces::_di_ICefV8StackFrame __fastcall GetFrame(int index); + +public: + __classmethod Ucefinterfaces::_di_ICefV8StackTrace __fastcall UnWrap(void * data); + __classmethod Ucefinterfaces::_di_ICefV8StackTrace __fastcall Current(int frameLimit); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefV8StackTraceRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefV8StackTraceRef() { } + +private: + void *__ICefV8StackTrace; // Ucefinterfaces::ICefV8StackTrace + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {32111C84-B7F7-4E3A-92B9-7CA1D0ADB613} + operator Ucefinterfaces::_di_ICefV8StackTrace() + { + Ucefinterfaces::_di_ICefV8StackTrace intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefV8StackTrace*(void) { return (Ucefinterfaces::ICefV8StackTrace*)&__ICefV8StackTrace; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefv8stacktrace */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFV8STACKTRACE) +using namespace Ucefv8stacktrace; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFv8StackTraceHPP diff --git a/CEF4Delphi/win32/hpps/uCEFv8Value.hpp b/CEF4Delphi/win32/hpps/uCEFv8Value.hpp new file mode 100644 index 0000000..65f8cc7 --- /dev/null +++ b/CEF4Delphi/win32/hpps/uCEFv8Value.hpp @@ -0,0 +1,142 @@ +// CodeGear C++Builder +// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. +// All rights reserved + +// (DO NOT EDIT: machine generated header) 'uCEFv8Value.pas' rev: 37.00 (Windows) + +#ifndef uCEFv8ValueHPP +#define uCEFv8ValueHPP + +#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 +#include +#include +#include +#include +#include +#include + +//-- user supplied ----------------------------------------------------------- + +namespace Ucefv8value +{ +//-- forward type declarations ----------------------------------------------- +class DELPHICLASS TCefv8ValueRef; +//-- type declarations ------------------------------------------------------- +#pragma pack(push,4) +class PASCALIMPLEMENTATION TCefv8ValueRef : public Ucefbaserefcounted::TCefBaseRefCountedRef +{ + typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; + +protected: + bool __fastcall IsValid(); + bool __fastcall IsUndefined(); + bool __fastcall IsNull(); + bool __fastcall IsBool(); + bool __fastcall IsInt(); + bool __fastcall IsUInt(); + bool __fastcall IsDouble(); + bool __fastcall IsDate(); + bool __fastcall IsString(); + bool __fastcall IsObject(); + bool __fastcall IsArray(); + bool __fastcall IsArrayBuffer(); + bool __fastcall IsFunction(); + bool __fastcall IsPromise(); + bool __fastcall IsSame(const Ucefinterfaces::_di_ICefv8Value that); + bool __fastcall GetBoolValue(); + int __fastcall GetIntValue(); + unsigned __fastcall GetUIntValue(); + double __fastcall GetDoubleValue(); + System::TDateTime __fastcall GetDateValue(); + Uceftypes::ustring __fastcall GetStringValue(); + bool __fastcall IsUserCreated(); + bool __fastcall HasException(); + Ucefinterfaces::_di_ICefV8Exception __fastcall GetException(); + bool __fastcall ClearException(); + bool __fastcall WillRethrowExceptions(); + bool __fastcall SetRethrowExceptions(bool rethrow); + bool __fastcall HasValueByKey(const Uceftypes::ustring key); + bool __fastcall HasValueByIndex(int index); + bool __fastcall DeleteValueByKey(const Uceftypes::ustring key); + bool __fastcall DeleteValueByIndex(int index); + Ucefinterfaces::_di_ICefv8Value __fastcall GetValueByKey(const Uceftypes::ustring key); + Ucefinterfaces::_di_ICefv8Value __fastcall GetValueByIndex(int index); + bool __fastcall SetValueByKey(const Uceftypes::ustring key, const Ucefinterfaces::_di_ICefv8Value value, Uceftypes::TCefV8PropertyAttributes attribute); + bool __fastcall SetValueByIndex(int index, const Ucefinterfaces::_di_ICefv8Value value); + bool __fastcall SetValueByAccessor(const Uceftypes::ustring key, Uceftypes::TCefV8PropertyAttributes attribute); + int __fastcall GetKeys(System::Classes::TStrings* const keys); + bool __fastcall SetUserData(const Ucefinterfaces::_di_ICefCustomUserData data); + Ucefinterfaces::_di_ICefCustomUserData __fastcall GetUserData(); + int __fastcall GetExternallyAllocatedMemory(); + int __fastcall AdjustExternallyAllocatedMemory(int changeInBytes); + int __fastcall GetArrayLength(); + Ucefinterfaces::_di_ICefv8ArrayBufferReleaseCallback __fastcall GetArrayBufferReleaseCallback(); + bool __fastcall NeuterArrayBuffer(); + System::NativeUInt __fastcall GetArrayBufferByteLength(); + void * __fastcall GetArrayBufferData(); + Uceftypes::ustring __fastcall GetFunctionName(); + Ucefinterfaces::_di_ICefv8Handler __fastcall GetFunctionHandler(); + Ucefinterfaces::_di_ICefv8Value __fastcall ExecuteFunction(const Ucefinterfaces::_di_ICefv8Value obj, const Ucefinterfaces::TCefv8ValueArray arguments); + Ucefinterfaces::_di_ICefv8Value __fastcall ExecuteFunctionWithContext(const Ucefinterfaces::_di_ICefv8Context context, const Ucefinterfaces::_di_ICefv8Value obj, const Ucefinterfaces::TCefv8ValueArray arguments); + bool __fastcall ResolvePromise(const Ucefinterfaces::_di_ICefv8Value arg); + bool __fastcall RejectPromise(const Uceftypes::ustring errorMsg); + +public: + __classmethod Ucefinterfaces::_di_ICefv8Value __fastcall UnWrap(void * data); + __classmethod Ucefinterfaces::_di_ICefv8Value __fastcall NewUndefined(); + __classmethod Ucefinterfaces::_di_ICefv8Value __fastcall NewNull(); + __classmethod Ucefinterfaces::_di_ICefv8Value __fastcall NewBool(bool value); + __classmethod Ucefinterfaces::_di_ICefv8Value __fastcall NewInt(int value); + __classmethod Ucefinterfaces::_di_ICefv8Value __fastcall NewUInt(unsigned value); + __classmethod Ucefinterfaces::_di_ICefv8Value __fastcall NewDouble(double value); + __classmethod Ucefinterfaces::_di_ICefv8Value __fastcall NewDate(System::TDateTime value); + __classmethod Ucefinterfaces::_di_ICefv8Value __fastcall NewString(const Uceftypes::ustring str); + __classmethod Ucefinterfaces::_di_ICefv8Value __fastcall NewObject(const Ucefinterfaces::_di_ICefV8Accessor Accessor, const Ucefinterfaces::_di_ICefV8Interceptor Interceptor); + __classmethod Ucefinterfaces::_di_ICefv8Value __fastcall NewObjectProc(const Ucefinterfaces::_di_TCefV8AccessorGetterProc getter, const Ucefinterfaces::_di_TCefV8AccessorSetterProc setter, const Ucefinterfaces::_di_TCefV8InterceptorGetterByNameProc getterbyname, const Ucefinterfaces::_di_TCefV8InterceptorSetterByNameProc setterbyname, const Ucefinterfaces::_di_TCefV8InterceptorGetterByIndexProc getterbyindex, const Ucefinterfaces::_di_TCefV8InterceptorSetterByIndexProc setterbyindex); + __classmethod Ucefinterfaces::_di_ICefv8Value __fastcall NewArray(int len); + __classmethod Ucefinterfaces::_di_ICefv8Value __fastcall NewArrayBuffer(void * buffer, System::NativeUInt length, const Ucefinterfaces::_di_ICefv8ArrayBufferReleaseCallback callback); + __classmethod Ucefinterfaces::_di_ICefv8Value __fastcall NewArrayBufferWithCopy(void * buffer, System::NativeUInt length); + __classmethod Ucefinterfaces::_di_ICefv8Value __fastcall NewFunction(const Uceftypes::ustring name, const Ucefinterfaces::_di_ICefv8Handler handler); + __classmethod Ucefinterfaces::_di_ICefv8Value __fastcall NewPromise(); +public: + /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefv8ValueRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } + /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefv8ValueRef() { } + +private: + void *__ICefv8Value; // Ucefinterfaces::ICefv8Value + +public: + #if defined(MANAGED_INTERFACE_OPERATORS) + // {52319B8D-75A8-422C-BD4B-16FA08CC7F42} + operator Ucefinterfaces::_di_ICefv8Value() + { + Ucefinterfaces::_di_ICefv8Value intf; + this->GetInterface(intf); + return intf; + } + #else + operator Ucefinterfaces::ICefv8Value*(void) { return (Ucefinterfaces::ICefv8Value*)&__ICefv8Value; } + #endif + +}; + +#pragma pack(pop) + +//-- var, const, procedure --------------------------------------------------- +} /* namespace Ucefv8value */ +#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFV8VALUE) +using namespace Ucefv8value; +#endif +#pragma pack(pop) +#pragma option pop + +#pragma delphiheader end. +//-- end unit ---------------------------------------------------------------- +#endif // uCEFv8ValueHPP diff --git a/CEF4Delphi/win32/libs/CEF4DelphiVCLRTL.lib b/CEF4Delphi/win32/libs/CEF4DelphiVCLRTL.lib new file mode 100644 index 0000000..7ed32ad Binary files /dev/null and b/CEF4Delphi/win32/libs/CEF4DelphiVCLRTL.lib differ diff --git a/Global/BaseThread.cpp b/Global/BaseThread.cpp new file mode 100644 index 0000000..93e5dac --- /dev/null +++ b/Global/BaseThread.cpp @@ -0,0 +1,45 @@ +//--------------------------------------------------------------------------- +#include +#pragma hdrstop + +#include "BaseThread.h" +//--------------------------------------------------------------------------- +#pragma package(smart_init) + +__fastcall TBaseThread::TBaseThread() + : TThread(true) +{ + m_bWaiting = false; + m_hHaltSema = CreateSemaphore( NULL, 0, 1, NULL ); +} +//--------------------------------------------------------------------------- + +__fastcall TBaseThread::~TBaseThread() +{ + if( m_hHaltSema ){ + CloseHandle( m_hHaltSema ); + m_hHaltSema = NULL; + } +} +//--------------------------------------------------------------------------- + +bool __fastcall TBaseThread::Halt( DWORD dwMS ) +{ + if( int(dwMS)>0 ){ +// m_bWaiting = true; + WaitForSingleObject( m_hHaltSema, dwMS ); +// m_bWaiting = false; + } + + return !Terminated; +} +//--------------------------------------------------------------------------- + +void __fastcall TBaseThread::Cancel(void) +{ + Terminate(); + Suspended = false; + ReleaseSemaphore( m_hHaltSema, 1, NULL ); +} +//--------------------------------------------------------------------------- + diff --git a/Global/BaseThread.h b/Global/BaseThread.h new file mode 100644 index 0000000..a97e6ab --- /dev/null +++ b/Global/BaseThread.h @@ -0,0 +1,23 @@ +//--------------------------------------------------------------------------- + +#ifndef BaseThreadH +#define BaseThreadH +//--------------------------------------------------------------------------- +/////////////////////////////// +// +// ߳ +// +class TBaseThread : public TThread +{ +protected: + HANDLE m_hHaltSema; + bool m_bWaiting; + + bool __fastcall Halt( DWORD dwMS ); + +public: + __fastcall TBaseThread(); + __fastcall ~TBaseThread(); + virtual void __fastcall Cancel(); +}; +#endif diff --git a/Global/CommonV8Handler.cpp b/Global/CommonV8Handler.cpp new file mode 100644 index 0000000..afadcf5 --- /dev/null +++ b/Global/CommonV8Handler.cpp @@ -0,0 +1,72 @@ +//--------------------------------------------------------------------------- +#include +#pragma hdrstop + +#include "CommonV8Handler.h" +//--------------------------------------------------------------------------- +#pragma package(smart_init) +#pragma comment(lib, "CEF4DelphiVCLRTL") +//--------------------------------------------------------------------------- + +TV8Handler* u_pV8handler = NULL; + +bool __fastcall TV8Handler::Execute(const ustring name, const _di_ICefv8Value obj, + const TCefv8ValueArray arguments, _di_ICefv8Value &retval, ustring &exception) +{ + if( arguments.Length>0 ){ + _di_ICefProcessMessage msg = TCefProcessMessageRef::New(name); + for( int i=0; iIsString() ) + if( arguments[i]->IsInt() ) + msg->ArgumentList->SetString(i, IntToStr(arguments[i]->GetIntValue()) ); + else if( arguments[i]->IsDouble() ) + msg->ArgumentList->SetString(i, FloatToStr(arguments[i]->GetDoubleValue()) ); + else + msg->ArgumentList->SetString(i, arguments[i]->GetStringValue() ); + } + + TCefv8ContextRef::Current()->Browser->MainFrame->SendProcessMessage(PID_BROWSER, msg); + + return true; + } + + return false; +} +//////////////////////////////////////////////////////////////////////////////// + +void __fastcall TWebKitInitializeEvent::Invoke() +{ + String app_code = + "var cefApp;" + "if(!cefApp)" + "cefApp={};" + "(function(){" + "cefApp.ReturnJQValue = function(){" + "native function ReturnJQValue();" + "return ReturnJQValue.apply(null,arguments);" + "};" + "cefApp.GetUserInfo=function(){" + "native function GetUserInfo();" + "return GetUserInfo.apply(null,arguments);" + "};" + "cefApp.GetRegInfo=function(){" + "native function GetRegInfo();" + "return GetRegInfo.apply(null,arguments);" + "};" + "cefApp.GetPageCode=function(){" + "native function GetPageCode();" + "return GetPageCode.apply(null,arguments);" + "};" + "cefApp.OnJSMessage = function(){" + "native function OnJSMessage();" + "return OnJSMessage.apply(null,arguments);" + "};" + "})();"; + + if( !u_pV8handler ) + u_pV8handler = new TV8Handler; + + CefRegisterExtension("v8/cefApp", app_code, *u_pV8handler); +} +//////////////////////////////////////////////////////////////////////////////// + diff --git a/Global/CommonV8Handler.h b/Global/CommonV8Handler.h new file mode 100644 index 0000000..c146d3e --- /dev/null +++ b/Global/CommonV8Handler.h @@ -0,0 +1,24 @@ +//--------------------------------------------------------------------------- + +#ifndef CommonV8HandlerH +#define CommonV8HandlerH + +#include "CEF4DelphiVCLRTL.hpp" + +//--------------------------------------------------------------------------- + +class TV8Handler : public TCefv8HandlerOwn +{ +protected: + virtual bool __fastcall Execute(const ustring name, const _di_ICefv8Value obj, + const TCefv8ValueArray arguments, _di_ICefv8Value &retval, ustring &exception); +}; + +class TWebKitInitializeEvent : public TCppInterfacedObject +{ +public: + INTFOBJECT_IMPL_IUNKNOWN(TInterfacedObject); + void __fastcall Invoke(); +}; + +#endif diff --git a/Global/GlobalUnit.cpp b/Global/GlobalUnit.cpp new file mode 100644 index 0000000..dbfa97d --- /dev/null +++ b/Global/GlobalUnit.cpp @@ -0,0 +1,150 @@ +//--------------------------------------------------------------------------- +#include +#include +#include +#include +#include + +#include "GlobalUnit.h" +#pragma hdrstop + +//--------------------------------------------------------------------------- +#pragma package(smart_init) + +//--------------------------------------------------------------------------- +// ȫֱ +HINSTANCE g_hPMDll = NULL; +PM_PARAMENCODE PM_ParamEncode = NULL; + +char g_AppPath[256] = ""; //Ӧó· +bool g_bTesting = false, //Ƿģʽ + g_bPassLogin = false, //Ƿƹ¼֤ + g_bRestart = false; //ǷظִͬһĿ¼µexe +UINT g_xDpi=96, g_yDpi=96; + +unsigned g_uid = 0; //û +char g_sWebUN[32] = ""; //û +//char g_sAgentDomain[32] = ""; // +char g_sWebID[16] = ""; //û + +#if defined(_PKH_) + char g_strWebsite[256] = "http:\/\/x76.fut168.com"; +#elif defined(_SX_) || defined(_SSCSX_) + char g_strWebsite[256] = "http:\/\/x76.fut168.com"; +#elif defined(_GD_) + char g_strWebsite[256] = "http:\/\/hkh360.com"; +#elif defined(_CJ_) + char g_strWebsite[256] = "http:\/\/ww165421.gh.qy63.com"; +#elif defined(_HKCHB_) + char g_strWebsite[256] = "http:\/\/www.vin211.com"; +#elif defined(_TYSSC_) + char g_strWebsite[256] = "https:\/\/www.vip66606.com"; +#elif defined(_XBSSC_) + char g_strWebsite[256] = "http:\/\/103.31.220.87"; +//#elif defined(_ABG_) +// char g_strWebsite[256] = "https:\/\/www.abg7777.net"; +#else + char g_strWebsite[256] = ""; +#endif + +#if defined(_PKH_) + char g_strWebsiteHdg[256] = "https:\/\/www.sg909.com"; // "www.vin211.com" +#elif defined(_HKCHDG_) + char g_strWebsiteHdg[256] = "http:\/\/ww165421.gh.qy63.com"; +#elif defined(_HDG_) + char g_strWebsiteHdg[256] = ""; +#endif + +#if defined(_PKH_) || defined(_HKCHDG_) +// char g_sWebUNHdg[32] = ""; //Գû +// char g_sAgentDomainHdg[32] = ""; +#endif + +//--------------------------------------------------------------------------- +//ȫֺ +void DebugPrint(const char * fmt, ...) +{ +#ifdef _DEBUG + char sDebug[10240]; + sDebug[0] = '\0'; + + char tbuffer[9]; + _strtime(tbuffer); + + sprintf(sDebug, "[%s] ", tbuffer); + + va_list vaParams; + va_start(vaParams, fmt); + + vsprintf(sDebug + strlen(sDebug), fmt, vaParams); + OutputDebugStringA(sDebug); +#endif +} +//--------------------------------------------------------------------------- +#include +unsigned __fastcall GetCompileTime() +{ + char sMon[4] = {0}; + int year, mon, day, hour, min, sec; + + sscanf(__TIME__, "%d:%d:%d", &hour, &min, &sec); + sscanf(__DATE__, "%3s %d %d", sMon, &day, &year); + if(sMon[0]=='J'){ + if(sMon[1]=='a') mon = 1; //Jan + else if(sMon[2]=='n') mon = 6; //Jun + else mon = 7; //Jul + } + else if(sMon[0]=='F') mon = 2; //Feb + else if(sMon[0]=='M'){ + if(sMon[2]=='r') mon = 3; //Mar + else mon = 5; //May + } + else if(sMon[0]=='A'){ + if(sMon[1]=='p') mon = 4; //Apr + else mon = 8; //Aug + } + else if(sMon[0]=='S') mon = 9; //Sep + else if(sMon[0]=='O') mon = 10; //Oct + else if(sMon[0]=='N') mon = 11; //Nov + else mon = 12; //Dec + TDateTime dt; + TryEncodeDateTime(year, mon, day, hour, min, sec, 0, dt); + return DateTimeToUnix(dt, false); +} +//--------------------------------------------------------------------------- + +//--------------------------------------------------------------------------- +//TLog +TLog u_Log; +//--------------------------------------------------------------------------- + +HANDLE TLog::m_hLogSema = CreateSemaphore( NULL, 1, 1, NULL ); + +__fastcall TLog::~TLog() +{ + if( m_hLogSema ) + CloseHandle(m_hLogSema); +} +//--------------------------------------------------------------------------- + +void __fastcall TLog::WriteLog( String msg ) +{ + SYSTEMTIME st; + GetLocalTime(&st); + + char szLogFile[256]; + sprintf( szLogFile, "%s%s%04d%02d%02d.log", g_AppPath, APPABBR, st.wYear, st.wMonth, st.wDay); + + WaitForSingleObject( m_hLogSema, 1000 ); + + FILE* fp = fopen( szLogFile, "a+" ); + if( fp ){ + fprintf( fp, "[%02d:%02d:%02d] ", st.wHour, st.wMinute, st.wSecond ); + fprintf( fp, "%s\n" , ((AnsiString)msg).c_str() ); + + fclose( fp ); + } + + ReleaseSemaphore( m_hLogSema, 1, NULL ); +} +//--------------------------------------------------------------------------- diff --git a/Global/GlobalUnit.h b/Global/GlobalUnit.h new file mode 100644 index 0000000..f5c9519 --- /dev/null +++ b/Global/GlobalUnit.h @@ -0,0 +1,413 @@ +//--------------------------------------------------------------------------- + +#ifndef GlobalUnitH +#define GlobalUnitH + +//--------------------------------------------------------------------------- + +// ԶϢ +#define UM_VCCOMPLETE WM_USER+0x1000 +#define UM_WEBLOADED WM_USER+0x1001 +#define UM_VALUEVISIT WM_USER+0x1002 +#define UM_IMAGELODED WM_USER+0x1003 +#define UM_AUTOBETEND WM_USER+0x1004 +#define UM_STATUS WM_USER+0x1005 +#define UM_DATALOADED WM_USER+0x1006 +#define UM_RESTORE WM_USER+0x1007 +#define UM_INITGAME WM_USER+0x1008 +#define UM_WEBLOGIN WM_USER+0x1009 +#define UM_HTTPRETURN WM_USER+0x100A +#define UM_WEBREFRESH WM_USER+0x100B +#define UM_WEBREGISTER WM_USER+0x100C +#define UM_USERCONFIRM WM_USER+0x100D +#define UM_MEMBERCLOSE WM_USER+0x100E +#define UM_RENEWCREDIT WM_USER+0x100F +#define UM_STATISTICS WM_USER+0x1010 +#define UM_SETSIMMODE WM_USER+0x1011 +#define UM_URLRETURN WM_USER+0x1012 +#define UM_JSHANDLED WM_USER+0x1013 +#define UM_BETFAILED WM_USER+0x1014 +#define UM_SHOWBETPAGE WM_USER+0x1015 +#define UM_EXPIRED WM_USER+0x1016 +#define UM_REFRESHTAB WM_USER+0x1017 +#define UM_XHRLOADED WM_USER+0x1018 +#define UM_SHOWDATA WM_USER+0x1019 +#define UM_LOADCONFIG WM_USER+0x101A +#define UM_VELOCITY WM_USER+0x101B +#define UM_REDIRECT WM_USER+0x101C +#define UM_CHRMREADY WM_USER+0x101D +#define UM_SETBET WM_USER+0x101E +#define UM_SETTRIAL WM_USER+0x101F +#define UM_SHOWEXPIRE WM_USER+0x1020 +#define UM_CHECKCEF WM_USER+0x1021 +#define UM_SUBFORMSHOWN WM_USER+0x1022 +#define UM_SUBFORMCLOSED WM_USER+0x1023 +#define UM_ENTERGAME WM_USER+0x1024 +#define UM_ONLINEDATA WM_USER+0x1025 +#define UM_ADDTABLE WM_USER+0x1026 +#define UM_WEBDEAD WM_USER+0x1027 +#define UM_POLICYCHANGED WM_USER+0x1028 +#define UM_IDLE WM_USER+0x1029 +#define UM_OPENMAUAL WM_USER+0x102A + + +#if defined(_LOTFIN_) +// #define APPNAME L"Ʊ\0" +// #define APPABBR "ltfn" +// #define SOFTWARE_ID 0 // +// #define SORTWARE_VER 200 //汾 +//#elif defined(_XBZK_) +// #define APPNAME L"СԿ\0" +// #define APPABBR "xbzk" +// #define SOFTWARE_ID 1 // +// #define SORTWARE_VER 204 //汾 +// #define REGKEY_CODES L"{5189B25C-5758-4BF2-BCA4-289B01BD29E2}" +//#elif defined(_XINH_) +// #define APPNAME L"κֲ\0" +// #define APPABBR "xhszc" +// #define SOFTWARE_ID 2 // +// #define SORTWARE_VER 104 //汾 +// #define REGKEY_CODES L"{89B01BD2-BC57-F24B-58A4-295189B25CE2}" +//#elif defined(_SBBAC_) +// #define APPNAME L"격ټ\0" +// #define APPABBR "snbt" +// #define SOFTWARE_ID 3 // +// #define SORTWARE_VER 1008 //汾 +// #define REGKEY_CODES L"{389B25C5-7584-BF2B-CA42-89B01BD29E25}" +//#elif defined(_KLHDSSC_) +// #define APPNAME L"hdʱʱ\0" +// #define APPABBR "klhdssc" +// #define SOFTWARE_ID 4 // +// #define SORTWARE_VER 100 //汾 +// #define REGKEY_CODES L"{49B25C57-584B-F2BC-A428-9B01BD29E251}" +//#elif defined(_XINH2_) +// #define APPNAME L"Ǵֲ\0" +// #define APPABBR "xhlmp" +// #define SOFTWARE_ID 5 // +// #define SORTWARE_VER 102 //汾 +// #define REGKEY_CODES L"{53BBEE32-1710-4F5C-B8F0-523BABB6C153}" +//#elif defined(_BOSS2_) +// #define APPNAME L"BOSSСͨ\0" +// #define APPABBR "bsxst" +// #define SOFTWARE_ID 6 // +// #define SORTWARE_VER 105 //汾 +// #define REGKEY_CODES L"{62b81249-4ebc-49bb-a9b6-9c1f65d5f575}" +//#elif defined(_XINHXST_) +// #define APPNAME L"κСͨ\0" +// #define APPABBR "xhxst" +// #define SOFTWARE_ID 7 // +// #define SORTWARE_VER 105 //汾 +// #define REGKEY_CODES L"{71EE56D8-EE30-4F0D-AE56-2E647BDA28AE}" +//#elif defined(_BDHDXYDW_) +// #define APPNAME L"ٴ˶λ\0" +// #define APPABBR "bdhgxydw" +// #define SOFTWARE_ID 8 // +// #define SORTWARE_VER 100 //汾 +// #define REGKEY_CODES L"{8CE3AE4F-C8D2-4BEB-9EE8-11854615F645}" +//#elif defined(_KKWBAC_) +// #define APPNAME L"ٰټ\0" +// #define APPABBR "bdbac" +// #define SOFTWARE_ID 9 // +// #define SORTWARE_VER 104 //汾 +// #define REGKEY_CODES L"{9C59B808-BAA7-4AD0-848F-0FDC9C3D612A}" +//#elif defined(_KKWLMP_) +// #define APPNAME L"Ǵ\0" +// #define APPABBR "bdlmp" +// #define SOFTWARE_ID 10 // +// #define SORTWARE_VER 100 //汾 +// #define REGKEY_CODES L"{ADA91D42-5A88-4530-80EF-3F83C0F67DE0}" +//#elif defined(_KLJMSB_) +// #define APPNAME L"격\0" +// #define APPABBR "kljmsb" +// #define SOFTWARE_ID 11 // +// #define SORTWARE_VER 104 //汾 +// #define REGKEY_CODES L"{B124B325-2DAF-46B4-B2BE-EAE31F9BD593}" +//#elif defined(_BDYXXB_) +// #define APPNAME L"ϷС\0" +// #define APPABBR "bdyxxb" +// #define SOFTWARE_ID 12 // +// #define SORTWARE_VER 106 //汾 +// #define REGKEY_CODES L"{CEE9C31C-7124-4266-947C-FCFF6CE63D71}" +//#elif defined(_KLZJSB_) +// #define APPNAME L"격\0" +// #define APPABBR "klzjsb" +// #define SOFTWARE_ID 13 // +// #define SORTWARE_VER 101 //汾 +// #define REGKEY_CODES L"{DE814441-BEEA-4F20-99FB-4E219506AFC8}" +//#elif defined(_XYFTHDG_) +// #define APPNAME L"˶Գ\0" +// #define APPABBR "bdxyfthdg" +// #define SOFTWARE_ID 0 // +// #define SORTWARE_VER 101 //汾 +//#elif defined(_TOWEST_) +// #define APPNAME L"һ·\0" +// #define APPABBR "twst" +// #define SOFTWARE_ID 0 // +// #define SORTWARE_VER 200 //汾 +//#elif defined(_SBHDG_) +// #define APPNAME L"ټֶԳ\0" +// #define APPABBR "snbthdg" +// #define SOFTWARE_ID 0 // +// #define SORTWARE_VER 100 //汾 +//#elif defined(_TWOPASS_) +// #define APPNAME L"ټִ\0" +// #define APPABBR "bacctp" +// #define SOFTWARE_ID 0 // +// #define SORTWARE_VER 100 //汾 +//#elif defined(_AL5P_) +// #define APPNAME L"5Ԥ\0" +// #define APPABBR "al5p" +// #define SOFTWARE_ID 0 // +// #define SORTWARE_VER 100 //汾 +//#elif defined(_AL5P3_) +// #define APPNAME L"5Ԥ\0" +// #define APPABBR "al5p3" +// #define SOFTWARE_ID 1 // +// #define SORTWARE_VER 103 //汾 +//#elif defined(_BACPASS_) +// #define APPNAME L"ټֹԤ\0" +// #define APPABBR "bacpass" +// #define SOFTWARE_ID 1 // +// #define SORTWARE_VER 100 //汾 +//#elif defined(_TYKKW_) +// #define APPNAME L"KKWԶע\0" +// #define APPABBR "tykkw" +// #define SOFTWARE_ID 2 // +// #define SORTWARE_VER 100 +//#elif defined(_TYBAC_) +// #define APPNAME L"ټԶע\0" +// #define APPABBR "tybac" +// #define SOFTWARE_ID 1 // +// #define SORTWARE_VER 104 //汾 +#elif defined(_TYWYZ_) + #define APPNAME L"\0" + #define APPABBR "tywyz" + #define SOFTWARE_ID 0 // + #define SORTWARE_VER 100 +#elif defined(_ABG_) + #define APPNAME L"컨\0" + #define APPABBR "abgthb" + #define SOFTWARE_ID 18 // + #define SORTWARE_VER 310 +#elif defined(_RBM_) + #define APPNAME L"ʦ\0" + #define APPABBR "rbmaster" + #define SOFTWARE_ID 23 // + #define SINGLE_INSTANCE 1 //Ψһʵ +#elif defined(_RBMabc_) + #define APPNAME L"ʦABC\0" + #define APPABBR "rbabc" + #define SOFTWARE_ID 24 // + #define SINGLE_INSTANCE 1 //Ψһʵ +//#elif defined(_HEATV_) +// #define APPNAME L"99V\0" +// #define APPABBR "htv" +// #define SOFTWARE_ID 0 // +// #define SORTWARE_VER 100 //汾 +//#elif defined(_HEAT_) +// #define APPNAME L"99\0" +// #define APPABBR "ht" +// #define SOFTWARE_ID 0 // +// #define SORTWARE_VER 200 //汾 +//#elif defined(_HOTSPOT_) +// #define APPNAME L"ȶ\0" +// #define APPABBR "htsp" +// #define SOFTWARE_ID 0 // +// #define SORTWARE_VER 101 //汾 +#elif defined(_SPTHDG_) + #define APPNAME "ʶԳ幤\0" + #define APPABBR "spth" + #define SOFTWARE_ID 13 // 13=ʶԳ幤 + #define SORTWARE_VER 320 //汾 + #define SINGLE_INSTANCE 1 //Ψһʵ +#elif defined(_TGOAL_) + #define APPNAME "ܽԱ\0" + #define APPABBR "tgoal" + #define SOFTWARE_ID 14 // 13=ʶԳ幤 + #define SORTWARE_VER 111 //汾 + #define SINGLE_INSTANCE 1 //Ψһʵ +#elif defined(_GOALS_) + #define APPNAME "\0" + #define APPABBR "goals" + #define SOFTWARE_ID 14 // 13=ʶԳ幤 + #define SORTWARE_VER 101 //汾 + #define SINGLE_INSTANCE 1 //Ψһʵ +//#elif defined(_TGDEMO_) +// #define APPNAME "ܽ\0" +// #define APPABBR "tgdemo" +// #define SOFTWARE_ID 14 // 13=ʶԳ幤 +// #define SORTWARE_VER 100 //汾 +// #define SINGLE_INSTANCE 1 //Ψһʵ +//#elif defined(_XBSSC_) +// #define APPNAME "ʱʱ-׷\0" +// #define APPABBR "xbss" +// #define REGKEY_SOFTWARE L"SOFTWARE\\DataTao\\HQFSSCXB\\" +// #define SOFTWARE_ID 12 // 12=ʱʱ± +// #define SORTWARE_VER 101 //汾 +//#elif defined(_SLHDG_) +// #define APPCLASS L"DataTao::SLHedging" + #define APPNAME "Գ幤\0" + #define APPABBR "slhdg" +// #define REGKEY_SOFTWARE L"SOFTWARE\\DataTao\\SLHedging\\" + #define SOFTWARE_ID 11 // 11=Գ幤 + #define SORTWARE_VER 501 //汾 + #define SINGLE_INSTANCE 1 //Ψһʵ +#elif defined(_RBHDG_) + #define APPNAME "Գ\0" + #define APPABBR "rbhdg" + #define SOFTWARE_ID 16 // 16=Գ + #define SORTWARE_VER 105 //汾 +#elif defined(_OUHLP_) + #define APPNAME "С\0" + #define APPABBR "ouhlp" + #define SOFTWARE_ID 19 // 19=С 19=°汾 + #define SORTWARE_VER 300 //汾 +#elif defined(_OUBTR_) + #define APPNAME "Сע\0" + #define APPABBR "oubtr" + #define SOFTWARE_ID 20 // 20=Сע + #define SORTWARE_VER 204 //汾 +#elif defined(_WJODD_) + #define APPNAME "޼Ԥⵥ˫\0" + #define APPABBR "wjodd" + #define SOFTWARE_ID 21 // 21=޼Ԥⵥ˫ + #define SORTWARE_VER 302 //汾 +#elif defined(_WJROLL_) + #define APPNAME "޼Ԥ\0" + #define APPABBR "wjroll" + #define SOFTWARE_ID 22 // 22=޼Ԥ + #define SORTWARE_VER 100 //汾 +#elif defined(_SCRTRDR_) + #define APPNAME "\0" + #define APPABBR "scrtrdr" + #define SOFTWARE_ID 12 // 12= + #define SORTWARE_VER 103 //汾 +//#elif defined(_SSCSX_) +// #define APPNAME "ʱʱʤׯ(ʤ)\0" +// #define REGKEY_SOFTWARE L"SOFTWARE\\DataTao\\SSCSX\\" +// #define SOFTWARE_ID 10 // 10=ʱʱʸʤ +// #define SORTWARE_VER 102 //汾 +//#elif defined(_HKCHB_) +// #define APPNAME "۲(Ʋ)\0" +// #define REGKEY_SOFTWARE L"SOFTWARE\\HQWin\\HKCHB\\" +// #define SOFTWARE_ID 9 // 9=۲ʺƲ +// #define SORTWARE_VER 106 //汾 +//#elif defined(_HKCHDG_) +// #define APPNAME "۲(Գ)\0" +// #define REGKEY_SOFTWARE L"SOFTWARE\\HQWin\\HKCHedge\\" +// #define SOFTWARE_ID 8 // 8=۲ʶԳ +// #define SORTWARE_VER 101 //汾 +//#elif defined(_PKH_) +// #define APPNAME "֮Գ\0" +// #define REGKEY_SOFTWARE L"SOFTWARE\\DataTao\\PK10Hedge\\" +// #define SOFTWARE_ID 7 // 7=PK10Գ +// #define SORTWARE_VER 203 //汾 +//#elif defined(_HKCCJ_) +// #define APPNAME "۲()\0" +// #define REGKEY_SOFTWARE L"SOFTWARE\\HQWin\\HKCCJ\\" +// #define SOFTWARE_ID 6 // 6=۲ʳ +// #define SORTWARE_VER 100 //汾 +//#elif defined(_HQ_) +// #define APPNAME "򱱾ʤׯ\0" +// #define REGKEY_SOFTWARE L"SOFTWARE\\HQWin\\HQPK10\\" +// #define SOFTWARE_ID 5 // 5= +// #define SORTWARE_VER 100 //汾 +//#elif defined(_HB_) +// #define APPNAME "֮Զϵͳ(Ʋ)\0" +// #define REGKEY_SOFTWARE L"SOFTWARE\\DataTao\\PK10HB\\" +// #define SOFTWARE_ID 2 // 2=Ʋ +// #define SORTWARE_VER 204 //汾 +//#elif defined(_SX_) +// #define APPNAME "֮Զϵͳ(ʤ)\0" +// #define REGKEY_SOFTWARE L"SOFTWARE\\DataTao\\PK10SX\\" +// #define SOFTWARE_ID 3 // 3=ʤ +// #define SORTWARE_VER 208 //汾 +//#elif defined(_KH_) +// #define APPNAME "֮Զϵͳ()\0" +// #define REGKEY_SOFTWARE L"SOFTWARE\\DataTao\\PK10KH\\" +// #define SOFTWARE_ID 4 // 4= +// #define SORTWARE_VER 206 //汾 +#else +// #define APPNAME "֮Զϵͳ(ڲ)\0" +// #define REGKEY_SOFTWARE L"SOFTWARE\\DataTao\\BJCars\\" +// #define SOFTWARE_ID 1 // 1=ڲԼϰ +#endif + +#if defined(_HENLY_) + #define GLOBAL_VAR_FILE "hlglbvrf.cnf" +#elif defined(_SPTHDG_) + #define GLOBAL_VAR_FILE "sptgvf.cnf" +#elif defined(_SLHDG_) + #define GLOBAL_VAR_FILE "slhglbvrf.cnf" +#elif defined(_SCRTRDR_) + #define GLOBAL_VAR_FILE "stglbvrf.cnf" +#elif defined(_ABG_) + #define GLOBAL_VAR_FILE "abgglbvrf.cnf" +#else + #define GLOBAL_VAR_FILE "glbvrf.cnf" +#endif + +#define UPDATE_APP_NAME "AppUpgrade.exe" +#define MD5_FILE_NAME "filemd5.lst" + +#define GLOBAL_VAR_VERSION 0x03 + +#define ID_ABOUT_MENU 101 + +#define SAFE_DELETE(p) { if(p) { delete (p); (p)=NULL; } } + +#define DPIX(x) (MulDiv(x,g_xDpi,96)) +#define DPIY(y) (MulDiv(y,g_yDpi,96)) + +typedef struct tGVFHeader{ + char head[4]; + WORD idSoftware; + WORD iUpdate; + + tGVFHeader(){ + head[0] = 'G'; + head[1] = 'V'; + head[2] = 'F'; + head[3] = GLOBAL_VAR_VERSION; + + idSoftware = SOFTWARE_ID; + iUpdate = 0; + } +} TGVFHEADER; + +// ȫֱ +extern HINSTANCE g_hPMDll; +typedef int (*PM_PARAMENCODE)( char* strEncode, int* len, char (*arrMap)[2][256], int num ); +extern PM_PARAMENCODE PM_ParamEncode; + +extern char g_AppPath[]; +extern bool g_bTesting, g_bRestart, g_bPassLogin; +extern UINT g_xDpi, g_yDpi; + +extern char g_strWebsite[]; + +extern unsigned g_uid; //û +extern char g_sWebUN[]; //û +//extern char g_sAgentDomain[]; // +extern char g_sWebID[]; //û + +#if defined(_PKH_) || defined(_HKCHDG_) || defined(_HDG_) + extern char g_strWebsiteHdg[]; + extern char g_sWebUNHdg[]; //Գû +// extern char g_sAgentDomainHdg[]; +#endif + +// ȫֺ +void DebugPrint(const char * fmt, ...); +unsigned __fastcall GetCompileTime(); + +class TLog +{ +private: + static HANDLE m_hLogSema; +public: + __fastcall ~TLog(); + static void __fastcall WriteLog(String msg); +}; + +#endif diff --git a/Global/HttpThread.cpp b/Global/HttpThread.cpp new file mode 100644 index 0000000..bb964d9 --- /dev/null +++ b/Global/HttpThread.cpp @@ -0,0 +1,588 @@ +//--------------------------------------------------------------------------- +#include +#include +#include +#include +#include +//#include +#pragma hdrstop + +#include "HttpThread.h" +#include "GlobalUnit.h" +//--------------------------------------------------------------------------- +#pragma package(smart_init) +#pragma comment(lib, "wininet") + +//--------------------------------------------------------------------------- + +DWORD WINAPI HttpProc(LPVOID args) +{ + THttpParam* param = (THttpParam*)args; + + TCHAR hdrsStream[] = _T("Content-Type: application/octet-stream\r\n"), + hdrsXForm[] = _T("Content-Type: application/x-www-form-urlencoded\r\n"), + *hdrs = param->iMode==0 ? hdrsStream : hdrsXForm; + LPCTSTR lpszAccept[] = { _T("text/html"), NULL };//{ _T("application/json"), NULL };// + char szBuffer[1024]; + DWORD dwFlags = INTERNET_FLAG_RELOAD | INTERNET_FLAG_NO_CACHE_WRITE, + dwByteRead = 0, + dwAllBytes = 0, + dwSize = 4; + int pos = 0; + bool bSent = false; +// char srvAddr[256]; + + //Open internet connection + param->hSession = InternetOpen( L"HttpPost/1.0", INTERNET_OPEN_TYPE_PRECONFIG, NULL, NULL, 0 ); + if( !param->hSession ){ + param->errCode = ERROR_INTERNET_OPEN; + return 0; + } + + char addr[80]; + int port = 80; + + char* p = strstr( param->server, ":" ); + if( p ){ + memcpy( addr, param->server, p - param->server ); + addr[p - param->server] = 0; + + sscanf( p+1, "%d", &port ); + } + else + strcpy( addr, param->server ); + + param->hConnect = InternetConnect(param->hSession, + (String(addr)).w_str(), + port,//INTERNET_DEFAULT_HTTP_PORT, + NULL, + NULL, + INTERNET_SERVICE_HTTP, + 0, + 1); + if( param->hConnect ){ + if( port==INTERNET_DEFAULT_HTTPS_PORT ) + dwFlags |= INTERNET_FLAG_SECURE; + + param->hRequest = HttpOpenRequest(param->hConnect, + _T("POST"), + ((String)param->api).c_str(), + NULL, + NULL, + NULL,//lpszAccept,// + dwFlags, + 1); + + if( param->hRequest ){ + if( port==INTERNET_DEFAULT_HTTPS_PORT ){ + DWORD flags = 0; + DWORD bufflen = sizeof(flags); + + InternetQueryOption(param->hRequest, INTERNET_OPTION_SECURITY_FLAGS, + (LPVOID)&flags, &bufflen); + flags |= SECURITY_FLAG_IGNORE_REVOCATION; + InternetSetOption(param->hRequest, INTERNET_OPTION_SECURITY_FLAGS, + (LPVOID)&flags, sizeof(flags)); + } + + if( HttpSendRequest( param->hRequest, hdrs, wcslen(hdrs), + param->dataIn, param->sizeIn) ){ + bSent = true; + } + else{ + param->errCode = GetLastError(); + } + } + else{ + param->errCode = GetLastError(); + } + } + else{ + param->errCode = GetLastError(); + } + + if( !param->hConnect ){ + param->errCode = ERROR_INTERNET_CONN; + return 0; + } + + if( !param->hRequest ){ + param->errCode = ERROR_INTERNET_REQ; + return 0; + } + + if( !bSent ){ + param->errCode = ERROR_INTERNET_SEND; + return 0; + } + +// if( param->bGetDT ){ +// SYSTEMTIME sysTime; +// SecureZeroMemory(&sysTime, sizeof(SYSTEMTIME)); +// DWORD dwSize = sizeof(SYSTEMTIME); +// if( HttpQueryInfo( param->hRequest, HTTP_QUERY_DATE|HTTP_QUERY_FLAG_SYSTEMTIME, +// &sysTime, &dwSize, NULL ) ){ +// TDateTime dt = SystemTimeToDateTime(sysTime); +// param->dwDateTime = DateTimeToUnix(dt); +// } +// else +// param->dwDateTime = 0; +// } + + if( !HttpQueryInfo( param->hRequest, HTTP_QUERY_CONTENT_LENGTH|HTTP_QUERY_FLAG_NUMBER, + &dwAllBytes, &dwSize, NULL ) ){ + dwAllBytes = 0; + } + + // ֹķǽ + ZeroMemory(szBuffer, sizeof(szBuffer)); + ZeroMemory(param->dataOut, param->sizeOut); + + // ѭȡֱ + while( param->hRequest && InternetReadFile(param->hRequest, szBuffer, sizeof(szBuffer), + &dwByteRead) && dwByteRead > 0 ){ + if( pos + dwByteRead > param->sizeOut ){ + param->errCode = ERROR_SIZE; + return 0; + } + + // + memcpy( param->dataOut+pos, szBuffer, dwByteRead ); + pos += dwByteRead; + + // ջԱһζȡ + ZeroMemory(szBuffer, sizeof(szBuffer)); + } + + if( !param->hRequest ){ + param->errCode = ERROR_INTERNET_REQ; + } + else if( dwAllBytes>0 && pos!=dwAllBytes ){ + param->errCode = ERROR_SIZE; + } + else{ + param->dataOut[pos] = 0; + param->sizeOut = pos; + } + + return 0; +} +//--------------------------------------------------------------------------- + +DWORD WINAPI VeloProc(LPVOID args) +{ + TVeloParam* param = (TVeloParam*)args; + + TCHAR hdrs[] = _T("Content-Type: application/x-www-form-urlencoded\r\n"); +// TCHAR hdrs[] = _T("Content-Type: text/html\r\n"); + LPCTSTR lpszAccept[] = { _T("*/*"), NULL }; +// char srvAddr[256]; + + //Open internet connection + param->hSession = InternetOpen(L"Velocity",INTERNET_OPEN_TYPE_PRECONFIG, NULL, NULL, 0); + if( !param->hSession ){ + param->errCode = ERROR_INTERNET_OPEN; + return 0; + } + + param->hConnect = InternetConnect(param->hSession, + (String(param->addr)).w_str(), + param->port, + NULL, + NULL, + INTERNET_SERVICE_HTTP, + 0, + 0); + if( !param->hConnect ){ + param->errCode = ERROR_INTERNET_CONN; + return 0; + } + + param->hRequest = HttpOpenRequest(param->hConnect, + _T("GET"), + ((String)param->api).c_str(), + _T("HTTP/1.1"), + NULL, + NULL,//lpszAccept, + param->flag, + 0); + if( !param->hRequest ){ + //param->errCode = ERROR_INTERNET_REQ; + return 0; + } + + if( param->port==INTERNET_DEFAULT_HTTPS_PORT ){ + DWORD flags = 0; + DWORD bufflen = sizeof(flags); + + InternetQueryOption(param->hRequest, INTERNET_OPTION_SECURITY_FLAGS, + (LPVOID)&flags, &bufflen); + flags |= SECURITY_FLAG_IGNORE_REVOCATION | SECURITY_FLAG_IGNORE_UNKNOWN_CA | SECURITY_FLAG_IGNORE_CERT_CN_INVALID; + InternetSetOption(param->hRequest, INTERNET_OPTION_SECURITY_FLAGS, + (LPVOID)&flags, sizeof(flags)); + } + + if( !HttpSendRequest( param->hRequest, hdrs, wcslen(hdrs), NULL, 0) ){ + //param->errCode = ERROR_INTERNET_SEND; + int err = GetLastError(); + return 0; + } + + DWORD dwCode = 0, + dwSize = sizeof(DWORD); + if( HttpQueryInfo( param->hRequest, HTTP_QUERY_STATUS_CODE |HTTP_QUERY_FLAG_NUMBER, + &dwCode, &dwSize, NULL ) ){ + if( dwCodeerrCode = 1; + ReleaseSemaphore( param->hSema, 1, NULL ); + } + } + + return 0; +} +//--------------------------------------------------------------------------- + +DWORD WINAPI ProbProc(LPVOID args) +{ + TProbParam* param = (TProbParam*)args; + + param->hSession = InternetOpen( L"RookIE/1.0", INTERNET_OPEN_TYPE_PRECONFIG, NULL, NULL, 0 ); + if( param->hSession ){ + String api = L"http://" + (String)param->server + L"/Api/chkServer"; + + param->hRequest = InternetOpenUrl( param->hSession, api.c_str(), NULL, 0, + INTERNET_FLAG_DONT_CACHE|INTERNET_FLAG_RELOAD|INTERNET_FLAG_PRAGMA_NOCACHE, 0 ); + if( param->hRequest ){ + DWORD dwByteRead = 0; + char szBuffer[1024]; + + ZeroMemory(szBuffer, sizeof(szBuffer)); + + InternetReadFile(param->hRequest, szBuffer, sizeof(szBuffer), &dwByteRead); + + if( dwByteRead==2 && szBuffer[0]=='o' && szBuffer[1]=='k' ){ + param->errCode = 1; + ReleaseSemaphore( param->hSema, 1, NULL ); + } + } + else + param->errCode = ERROR_INTERNET_REQ; + } + else + param->errCode = ERROR_INTERNET_OPEN; + + return 0; +} +//--------------------------------------------------------------------------- + +DWORD WINAPI UrlProc(LPVOID args) +{ + TUrlParam* param = (TUrlParam*)args; + + param->hSession = InternetOpen( L"RookIE/1.0", INTERNET_OPEN_TYPE_PRECONFIG, NULL, NULL, 0 ); + if( param->hSession ){ + param->hRequest = InternetOpenUrl( param->hSession, param->url.c_str(), param->header.c_str(), 0, + INTERNET_FLAG_DONT_CACHE|INTERNET_FLAG_RELOAD|INTERNET_FLAG_PRAGMA_NOCACHE, 0 ); + if( param->hRequest ){ + int pos = 0; + DWORD dwByteRead = 0; + char szBuffer[10240]; + + ZeroMemory(szBuffer, sizeof(szBuffer)); + ZeroMemory(param->dataOut, param->sizeOut); + + // ѭȡֱ + while( param->hRequest && InternetReadFile(param->hRequest, szBuffer, 10240, &dwByteRead) + && dwByteRead > 0){ + if( pos + dwByteRead > param->sizeOut ){ + param->errCode = ERROR_SIZE; + break; + } + + // + memcpy( param->dataOut+pos, szBuffer, dwByteRead ); + pos += dwByteRead; + + // ջԱһζȡ + ZeroMemory(szBuffer, 10240); + } + + param->dataOut[pos] = 0; + param->sizeOut = pos; + + if( param->hRequest ) + return 0; + } + + param->errCode = ERROR_INTERNET_REQ; + } + else + param->errCode = ERROR_INTERNET_OPEN; + + return 0; +} +//--------------------------------------------------------------------------- + +bool IsPureUrl(String url) +{ + bool bPure = false; + int num = 0; + int len = url.Length(); + + for( int i=1; i<=len && num<5; i++ ){ + if( url[i]=='/' ){ + num++; + } + } + + if( num<3 ) + bPure = true; + else if( num==3 && url[len]=='/' ) + bPure = true; + + return bPure; +} + +///////////////////////////////////////////////////////////////////////////// +// TBaseWebThread +__fastcall TBaseWebThread::TBaseWebThread( HWND handle ) + : TThread(true) +{ + m_hWnd = handle; + m_hSema = CreateSemaphore( NULL, 0, 1, NULL ); +} +//--------------------------------------------------------------------------- + +__fastcall TBaseWebThread::~TBaseWebThread() +{ + if( m_hSema ) + CloseHandle( m_hSema ); +} +//--------------------------------------------------------------------------- + +void __fastcall TBaseWebThread::Cancel() +{ + Terminate(); + ReleaseSemaphore( m_hSema, 1, NULL ); +} +//--------------------------------------------------------------------------- + +///////////////////////////////////////////////////////////////////////////// +// TAsynHttpThread +__fastcall TAsynHttpThread::TAsynHttpThread( HWND handle, char* server, String api, + char* dataIn, int sizeIn, int op, int mode ) + : TBaseWebThread( handle ) +{ + memcpy( m_dataIn, dataIn, sizeIn ); + m_dataIn[sizeIn] = 0; + m_sizeIn = sizeIn; + + memset( m_dataOut, 0, sizeof(m_dataOut) ); + m_sizeOut = 0; + + strcpy( m_server, server ); + m_api = api; + m_iOp = op; + m_iMode = mode; +} +//--------------------------------------------------------------------------- + +void __fastcall TAsynHttpThread::Execute() +{ + char szReturn[10240]; + int errCode = 0; + + THttpParam param; + param.iMode = m_iMode; + param.sizeIn = m_sizeIn; + param.dataIn = m_dataIn; + param.sizeOut = 10240; + param.dataOut = szReturn; + strcpy( param.server, m_server ); + strcpy( param.api, ((AnsiString)m_api).c_str() ); + + DWORD id; + HANDLE hThread = CreateThread( NULL, 0, HttpProc, ¶m, 0, &id ); + if( hThread ){ + HANDLE aHandle[2] = { m_hSema, hThread }; + + DWORD dwRet = WaitForMultipleObjects( 2, aHandle, FALSE, 15000 ); + if( param.hRequest ) + InternetCloseHandle( param.hRequest ); + if( param.hConnect ) + InternetCloseHandle( param.hConnect ); + if( param.hSession ) + InternetCloseHandle( param.hSession ); + + param.hSession = param.hConnect = param.hRequest = NULL; + + WaitForSingleObject( hThread, 200 ); + CloseHandle( hThread ); + + if( dwRet==WAIT_OBJECT_0 ){ //û˳ + return;//errCode = ERROR_INTERNET_CANCEL; + } + else if( dwRet==WAIT_OBJECT_0+1 && param.errCode==0 ){ //߳˳ + m_sizeOut = param.sizeOut; + memcpy( m_dataOut, szReturn, m_sizeOut ); + m_dataOut[m_sizeOut] = 0; + } + else if( dwRet==WAIT_TIMEOUT ) //ʱ + errCode = ERROR_INTERNET_TMOUT; + else if( param.errCode==0 )// + errCode = ERROR_INTERNET_UNKNOWN; + } + else + errCode = ERROR_INTERNET_UNKNOWN; + + if( m_hWnd ) + PostMessage( m_hWnd, UM_HTTPRETURN, errCode, m_iOp ); +} +//--------------------------------------------------------------------------- + +///////////////////////////////////////////////////////////////////////////// +// TAsynUrlThread +__fastcall TAsynUrlThread::TAsynUrlThread( HWND handle, String api, char* pzOut, int& szOut, int op, String header ) + : TBaseWebThread( handle ), m_szOut(szOut) +{ + m_url = api; + m_pzOut = pzOut; + m_iOp = op; + m_header = header; +} +//--------------------------------------------------------------------------- + +void __fastcall TAsynUrlThread::Execute() +{ + int errCode = 0; + + TUrlParam param; + param.url = m_url; + param.header = m_header; + param.dataOut = m_pzOut; + param.sizeOut = m_szOut; + + DWORD id; + HANDLE hThread = CreateThread( NULL, 0, UrlProc, ¶m, 0, &id ); + if( hThread ){ + HANDLE aHandle[2] = { m_hSema, hThread }; + + DWORD dwRet = WaitForMultipleObjects( 2, aHandle, FALSE, 15000 ); + if( param.hRequest ) + InternetCloseHandle( param.hRequest ); + if( param.hSession ) + InternetCloseHandle( param.hSession ); + + param.hSession = param.hRequest = NULL; + + WaitForSingleObject( hThread, 200 ); + CloseHandle( hThread ); + + if( dwRet==WAIT_OBJECT_0 ){ //û˳ + return; + } + else if( dwRet==WAIT_OBJECT_0+1 ){ //߳˳ + m_szOut = param.sizeOut; + errCode = param.errCode; + } + else if( dwRet==WAIT_TIMEOUT ) //ʱ + errCode = ERROR_INTERNET_TMOUT; + else if( param.errCode==0 )// + errCode = ERROR_INTERNET_UNKNOWN; + } + else + errCode = ERROR_INTERNET_UNKNOWN; + + if( m_hWnd ) + PostMessage( m_hWnd, UM_URLRETURN, errCode, m_iOp ); +} +//--------------------------------------------------------------------------- + +///////////////////////////////////////////////////////////////////////////// +// TVeloThread +__fastcall TVeloThread::TVeloThread( HWND handle, int nWS, char* websites[], + int ports[], char* api, int msWait ) + : TBaseWebThread( handle ) +{ + m_nWS = nWS; + m_websites = websites; + m_ports = ports; + m_msWait = msWait; + strcpy(m_sApi, api); +} +//--------------------------------------------------------------------------- + +void __fastcall TVeloThread::Execute() +{ + HANDLE *aHandle = new HANDLE[m_nWS]; + TVeloParam* aParam = new TVeloParam[m_nWS]; + HANDLE hWaitSema = CreateSemaphore( NULL, 0, m_nWS>1 ? 2 : 1, NULL ); + DWORD id; + + for( int i=0; i0 && m_sWebsite.Pos(m_websites[i])){ + aHandle[i] = NULL; + } + else{ + aParam[i].hSema = hWaitSema; + aParam[i].port = m_ports ? m_ports[i] : INTERNET_DEFAULT_HTTPS_PORT; + aParam[i].flag = INTERNET_FLAG_RELOAD | INTERNET_FLAG_NO_CACHE_WRITE; + if( aParam[i].port==INTERNET_DEFAULT_HTTPS_PORT ) + aParam[i].flag |= INTERNET_FLAG_SECURE; + + strcpy( aParam[i].addr, m_websites[i] ); + strcpy( aParam[i].api, m_sApi ); + //aParam[i].api[0] = 0; + + aHandle[i] = CreateThread( NULL, 0, VeloProc, &aParam[i], CREATE_SUSPENDED, &id ); + ResumeThread(aHandle[i]); + } + } + + DWORD dwRet = WaitForSingleObject( hWaitSema, m_msWait ); + + int sel = -1; + for( int i=0; i +#pragma hdrstop + +#include "ResourceHandler.h" +//#include "GlobalUnit.h" +//--------------------------------------------------------------------------- +#pragma package(smart_init) + +//--------------------------------------------------------------------------- + +__fastcall TResHandler::TResHandler(const _di_ICefBrowser browser, const _di_ICefFrame frame, + const _di_ICefRequest request, HWND wnd, int msg) +: TCefResourceHandlerOwn( browser, frame, "ImgHandler", request ) +{ + _size = _offset = 0; + _callback = NULL; + _response = NULL; + _wnd = wnd; + _msg = msg; +} +//--------------------------------------------------------------------------- + +bool __fastcall TResHandler::ProcessRequest(const _di_ICefRequest request, const _di_ICefCallback callback) +{ + _offset = 0; + _callback = callback; + + TCefUrlRequestFlags flags = request->GetFlags(); + flags << UR_FLAG_ALLOW_CACHED_CREDENTIALS << UR_FLAG_SKIP_CACHE; + request->SetFlags( flags ); + + TResRequestClient* client = new TResRequestClient( this ); + + TCefUrlRequestRef::New( request, *client, NULL/*callback*/ ); + + return true; +} +//--------------------------------------------------------------------------- + +void __fastcall TResHandler::GetResponseHeaders(const _di_ICefResponse response, /* out */ __int64 &responseLength, /* out */ ustring &redirectUrl) +{ + if( _response ){ + _di_ICefStringMultimap map = *(new TCefStringMultimapOwn()); + _response->GetHeaderMap( map ); + response->SetHeaderMap( map ); + + response->SetMimeType( _response->GetMimeType() ); + response->SetStatus( _response->GetStatus() ); + response->SetStatusText( _response->GetStatusText() ); + } + + responseLength = _size; +} +//--------------------------------------------------------------------------- + +bool __fastcall TResHandler::ReadResponse(const void * dataOut, int bytesToRead, int &bytesRead, const _di_ICefCallback callback) +{ + if( _offset < _size ){ + bytesRead = _size - _offset; + if( bytesRead > bytesToRead ) + bytesRead = bytesToRead; + + char* pData = (char*)dataOut; + memcpy( pData, _data + _offset, bytesRead ); + + _offset += bytesRead; + + return true; + } + + return false; +} +//--------------------------------------------------------------------------- + +__fastcall TResRequestClient::TResRequestClient(TResHandler* handler) +{ + _resHandler = handler; +} +//--------------------------------------------------------------------------- + +void __fastcall TResRequestClient::OnRequestComplete(const _di_ICefUrlRequest request) +{ + _resHandler->_response = request->GetResponse(); + TCefResourceType type = request->GetRequest()->GetResourceType(); +// String str = _imgHandler->_response->GetMimeType(); +// if( str.Pos("image") ) + if( type==RT_IMAGE || type==RT_XHR ) + SendMessage( _resHandler->_wnd, _resHandler->_msg, + _resHandler->_size, (int)_resHandler->_data ); + + if( _resHandler->_callback ) + _resHandler->_callback->Cont(); +} +//--------------------------------------------------------------------------- + +void __fastcall TResRequestClient::OnDownloadData(const _di_ICefUrlRequest request, void * data, NativeUInt dataLength) +{ + char* pData = _resHandler->_data; + int& nSize = _resHandler->_size; + memcpy( pData + nSize, data, dataLength ); + nSize += dataLength; +} +//--------------------------------------------------------------------------- + + diff --git a/Global/ResourceHandler.h b/Global/ResourceHandler.h new file mode 100644 index 0000000..22b4e80 --- /dev/null +++ b/Global/ResourceHandler.h @@ -0,0 +1,46 @@ +//--------------------------------------------------------------------------- + +#ifndef ResourceHandlerH +#define ResourceHandlerH + +#include "ceflib.hpp" +//--------------------------------------------------------------------------- +class TResHandler : public TCefResourceHandlerOwn +{ +public: + HWND _wnd; + int _msg; + char _data[10240]; + int _size, _offset; + _di_ICefCallback _callback; + _di_ICefResponse _response; + + virtual bool __fastcall ProcessRequest(const _di_ICefRequest request, const _di_ICefCallback callback); + virtual void __fastcall GetResponseHeaders(const _di_ICefResponse response, /* out */ __int64 &responseLength, /* out */ ustring &redirectUrl); + virtual bool __fastcall ReadResponse(const void * dataOut, int bytesToRead, int &bytesRead, const _di_ICefCallback callback); + virtual bool __fastcall CanGetCookie(const PCefCookie cookie){return true;}; + virtual bool __fastcall CanSetCookie(const PCefCookie cookie){return true;}; + virtual void __fastcall Cancel(void){}; + + __fastcall TResHandler(const _di_ICefBrowser browser, const _di_ICefFrame frame, + const _di_ICefRequest request, HWND wnd, int msg); +}; + +class TResRequestClient : public TCefUrlrequestClientOwn +{ +public: + TResHandler* _resHandler; + + virtual void __fastcall OnRequestComplete(const _di_ICefUrlRequest request); + virtual void __fastcall OnDownloadData(const _di_ICefUrlRequest request, void * data, NativeUInt dataLength); + virtual void __fastcall OnUploadProgress(const _di_ICefUrlRequest request, + __int64 current, __int64 total){}; + virtual void __fastcall OnDownloadProgress(const _di_ICefUrlRequest request, + __int64 current, __int64 total){}; + bool __fastcall OnGetAuthCredentials(bool isProxy, const ustring host, int port, + const ustring realm, const ustring scheme, + const _di_ICefAuthCallback callback){return true;}; + + __fastcall TResRequestClient(TResHandler* handler); +}; +#endif diff --git a/Global/SHA2.cpp b/Global/SHA2.cpp new file mode 100644 index 0000000..f547a87 --- /dev/null +++ b/Global/SHA2.cpp @@ -0,0 +1,327 @@ +/* + * FIPS-180-2 compliant SHA-256 implementation + * + * Copyright (C) 2006-2007 Christophe Devine + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ +/* + * The SHA-256 Secure Hash Standard was published by NIST in 2002. + * + * http://csrc.nist.gov/publications/fips/fips180-2/fips180-2.pdf + */ + +//#include "StdAfx.h" +#include "sha2.h" +#include +#include +#include +/* + * 32-bit integer manipulation macros (big endian) + */ +#ifndef GET_ULONG_BE +#define GET_ULONG_BE(n,b,i) \ +{ \ + (n) = ( (unsigned long) (b)[(i) ] << 24 ) \ + | ( (unsigned long) (b)[(i) + 1] << 16 ) \ + | ( (unsigned long) (b)[(i) + 2] << 8 ) \ + | ( (unsigned long) (b)[(i) + 3] ); \ +} +#endif + +#ifndef PUT_ULONG_BE +#define PUT_ULONG_BE(n,b,i) \ +{ \ + (b)[(i) ] = (unsigned char) ( (n) >> 24 ); \ + (b)[(i) + 1] = (unsigned char) ( (n) >> 16 ); \ + (b)[(i) + 2] = (unsigned char) ( (n) >> 8 ); \ + (b)[(i) + 3] = (unsigned char) ( (n) ); \ +} +#endif + +static const unsigned char sha2_padding[64] = +{ + 0x80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +}; + +/* + * SHA-256 context setup + */ +void sha2_starts( sha2_context *ctx, int is224 ) +{ + ctx->total[0] = 0; + ctx->total[1] = 0; + + if( is224 == 0 ) + { + /* SHA-256 */ + ctx->state[0] = 0x6A09E667; + ctx->state[1] = 0xBB67AE85; + ctx->state[2] = 0x3C6EF372; + ctx->state[3] = 0xA54FF53A; + ctx->state[4] = 0x510E527F; + ctx->state[5] = 0x9B05688C; + ctx->state[6] = 0x1F83D9AB; + ctx->state[7] = 0x5BE0CD19; + } + else + { + /* SHA-224 */ + ctx->state[0] = 0xC1059ED8; + ctx->state[1] = 0x367CD507; + ctx->state[2] = 0x3070DD17; + ctx->state[3] = 0xF70E5939; + ctx->state[4] = 0xFFC00B31; + ctx->state[5] = 0x68581511; + ctx->state[6] = 0x64F98FA7; + ctx->state[7] = 0xBEFA4FA4; + } + + ctx->is224 = is224; +} + +static void sha2_process( sha2_context *ctx, unsigned char data[64] ) +{ + unsigned long temp1, temp2, W[64]; + unsigned long A, B, C, D, E, F, G, H; + + GET_ULONG_BE( W[ 0], data, 0 ); + GET_ULONG_BE( W[ 1], data, 4 ); + GET_ULONG_BE( W[ 2], data, 8 ); + GET_ULONG_BE( W[ 3], data, 12 ); + GET_ULONG_BE( W[ 4], data, 16 ); + GET_ULONG_BE( W[ 5], data, 20 ); + GET_ULONG_BE( W[ 6], data, 24 ); + GET_ULONG_BE( W[ 7], data, 28 ); + GET_ULONG_BE( W[ 8], data, 32 ); + GET_ULONG_BE( W[ 9], data, 36 ); + GET_ULONG_BE( W[10], data, 40 ); + GET_ULONG_BE( W[11], data, 44 ); + GET_ULONG_BE( W[12], data, 48 ); + GET_ULONG_BE( W[13], data, 52 ); + GET_ULONG_BE( W[14], data, 56 ); + GET_ULONG_BE( W[15], data, 60 ); + +#define SHR(x,n) ((x & 0xFFFFFFFF) >> n) +#define ROTR(x,n) (SHR(x,n) | (x << (32 - n))) + +#define S0(x) (ROTR(x, 7) ^ ROTR(x,18) ^ SHR(x, 3)) +#define S1(x) (ROTR(x,17) ^ ROTR(x,19) ^ SHR(x,10)) + +#define S2(x) (ROTR(x, 2) ^ ROTR(x,13) ^ ROTR(x,22)) +#define S3(x) (ROTR(x, 6) ^ ROTR(x,11) ^ ROTR(x,25)) + +#define F0(x,y,z) ((x & y) | (z & (x | y))) +#define F1(x,y,z) (z ^ (x & (y ^ z))) + +#define R(t) \ +( \ + W[t] = S1(W[t - 2]) + W[t - 7] + \ + S0(W[t - 15]) + W[t - 16] \ +) + +#define P(a,b,c,d,e,f,g,h,x,K) \ +{ \ + temp1 = h + S3(e) + F1(e,f,g) + K + x; \ + temp2 = S2(a) + F0(a,b,c); \ + d += temp1; h = temp1 + temp2; \ +} + + A = ctx->state[0]; + B = ctx->state[1]; + C = ctx->state[2]; + D = ctx->state[3]; + E = ctx->state[4]; + F = ctx->state[5]; + G = ctx->state[6]; + H = ctx->state[7]; + + P( A, B, C, D, E, F, G, H, W[ 0], 0x428A2F98 ); + P( H, A, B, C, D, E, F, G, W[ 1], 0x71374491 ); + P( G, H, A, B, C, D, E, F, W[ 2], 0xB5C0FBCF ); + P( F, G, H, A, B, C, D, E, W[ 3], 0xE9B5DBA5 ); + P( E, F, G, H, A, B, C, D, W[ 4], 0x3956C25B ); + P( D, E, F, G, H, A, B, C, W[ 5], 0x59F111F1 ); + P( C, D, E, F, G, H, A, B, W[ 6], 0x923F82A4 ); + P( B, C, D, E, F, G, H, A, W[ 7], 0xAB1C5ED5 ); + P( A, B, C, D, E, F, G, H, W[ 8], 0xD807AA98 ); + P( H, A, B, C, D, E, F, G, W[ 9], 0x12835B01 ); + P( G, H, A, B, C, D, E, F, W[10], 0x243185BE ); + P( F, G, H, A, B, C, D, E, W[11], 0x550C7DC3 ); + P( E, F, G, H, A, B, C, D, W[12], 0x72BE5D74 ); + P( D, E, F, G, H, A, B, C, W[13], 0x80DEB1FE ); + P( C, D, E, F, G, H, A, B, W[14], 0x9BDC06A7 ); + P( B, C, D, E, F, G, H, A, W[15], 0xC19BF174 ); + P( A, B, C, D, E, F, G, H, R(16), 0xE49B69C1 ); + P( H, A, B, C, D, E, F, G, R(17), 0xEFBE4786 ); + P( G, H, A, B, C, D, E, F, R(18), 0x0FC19DC6 ); + P( F, G, H, A, B, C, D, E, R(19), 0x240CA1CC ); + P( E, F, G, H, A, B, C, D, R(20), 0x2DE92C6F ); + P( D, E, F, G, H, A, B, C, R(21), 0x4A7484AA ); + P( C, D, E, F, G, H, A, B, R(22), 0x5CB0A9DC ); + P( B, C, D, E, F, G, H, A, R(23), 0x76F988DA ); + P( A, B, C, D, E, F, G, H, R(24), 0x983E5152 ); + P( H, A, B, C, D, E, F, G, R(25), 0xA831C66D ); + P( G, H, A, B, C, D, E, F, R(26), 0xB00327C8 ); + P( F, G, H, A, B, C, D, E, R(27), 0xBF597FC7 ); + P( E, F, G, H, A, B, C, D, R(28), 0xC6E00BF3 ); + P( D, E, F, G, H, A, B, C, R(29), 0xD5A79147 ); + P( C, D, E, F, G, H, A, B, R(30), 0x06CA6351 ); + P( B, C, D, E, F, G, H, A, R(31), 0x14292967 ); + P( A, B, C, D, E, F, G, H, R(32), 0x27B70A85 ); + P( H, A, B, C, D, E, F, G, R(33), 0x2E1B2138 ); + P( G, H, A, B, C, D, E, F, R(34), 0x4D2C6DFC ); + P( F, G, H, A, B, C, D, E, R(35), 0x53380D13 ); + P( E, F, G, H, A, B, C, D, R(36), 0x650A7354 ); + P( D, E, F, G, H, A, B, C, R(37), 0x766A0ABB ); + P( C, D, E, F, G, H, A, B, R(38), 0x81C2C92E ); + P( B, C, D, E, F, G, H, A, R(39), 0x92722C85 ); + P( A, B, C, D, E, F, G, H, R(40), 0xA2BFE8A1 ); + P( H, A, B, C, D, E, F, G, R(41), 0xA81A664B ); + P( G, H, A, B, C, D, E, F, R(42), 0xC24B8B70 ); + P( F, G, H, A, B, C, D, E, R(43), 0xC76C51A3 ); + P( E, F, G, H, A, B, C, D, R(44), 0xD192E819 ); + P( D, E, F, G, H, A, B, C, R(45), 0xD6990624 ); + P( C, D, E, F, G, H, A, B, R(46), 0xF40E3585 ); + P( B, C, D, E, F, G, H, A, R(47), 0x106AA070 ); + P( A, B, C, D, E, F, G, H, R(48), 0x19A4C116 ); + P( H, A, B, C, D, E, F, G, R(49), 0x1E376C08 ); + P( G, H, A, B, C, D, E, F, R(50), 0x2748774C ); + P( F, G, H, A, B, C, D, E, R(51), 0x34B0BCB5 ); + P( E, F, G, H, A, B, C, D, R(52), 0x391C0CB3 ); + P( D, E, F, G, H, A, B, C, R(53), 0x4ED8AA4A ); + P( C, D, E, F, G, H, A, B, R(54), 0x5B9CCA4F ); + P( B, C, D, E, F, G, H, A, R(55), 0x682E6FF3 ); + P( A, B, C, D, E, F, G, H, R(56), 0x748F82EE ); + P( H, A, B, C, D, E, F, G, R(57), 0x78A5636F ); + P( G, H, A, B, C, D, E, F, R(58), 0x84C87814 ); + P( F, G, H, A, B, C, D, E, R(59), 0x8CC70208 ); + P( E, F, G, H, A, B, C, D, R(60), 0x90BEFFFA ); + P( D, E, F, G, H, A, B, C, R(61), 0xA4506CEB ); + P( C, D, E, F, G, H, A, B, R(62), 0xBEF9A3F7 ); + P( B, C, D, E, F, G, H, A, R(63), 0xC67178F2 ); + + ctx->state[0] += A; + ctx->state[1] += B; + ctx->state[2] += C; + ctx->state[3] += D; + ctx->state[4] += E; + ctx->state[5] += F; + ctx->state[6] += G; + ctx->state[7] += H; +} + +/* + * SHA-256 process buffer + */ +void sha2_update( sha2_context *ctx, unsigned char *input, int ilen ) +{ + int fill; + unsigned long left; + + if( ilen <= 0 ) + return; + + left = ctx->total[0] & 0x3F; + fill = 64 - left; + + ctx->total[0] += ilen; + ctx->total[0] &= 0xFFFFFFFF; + + if( ctx->total[0] < (unsigned long) ilen ) + ctx->total[1]++; + + if( left && ilen >= fill ) + { + memcpy( (void *) (ctx->buffer + left), + (void *) input, fill ); + sha2_process( ctx, ctx->buffer ); + input += fill; + ilen -= fill; + left = 0; + } + + while( ilen >= 64 ) + { + sha2_process( ctx, input ); + input += 64; + ilen -= 64; + } + + if( ilen > 0 ) + { + memcpy( (void *) (ctx->buffer + left), + (void *) input, ilen ); + } +} + +/* + * SHA-256 final digest + */ +void sha2_finish( sha2_context *ctx, unsigned char output[32] ) +{ + unsigned long last, padn; + unsigned long high, low; + unsigned char msglen[8]; + + high = ( ctx->total[0] >> 29 ) + | ( ctx->total[1] << 3 ); + low = ( ctx->total[0] << 3 ); + + PUT_ULONG_BE( high, msglen, 0 ); + PUT_ULONG_BE( low, msglen, 4 ); + + last = ctx->total[0] & 0x3F; + padn = ( last < 56 ) ? ( 56 - last ) : ( 120 - last ); + + sha2_update( ctx, (unsigned char *) sha2_padding, padn ); + sha2_update( ctx, msglen, 8 ); + + PUT_ULONG_BE( ctx->state[0], output, 0 ); + PUT_ULONG_BE( ctx->state[1], output, 4 ); + PUT_ULONG_BE( ctx->state[2], output, 8 ); + PUT_ULONG_BE( ctx->state[3], output, 12 ); + PUT_ULONG_BE( ctx->state[4], output, 16 ); + PUT_ULONG_BE( ctx->state[5], output, 20 ); + PUT_ULONG_BE( ctx->state[6], output, 24 ); + + if( ctx->is224 == 0 ) + PUT_ULONG_BE( ctx->state[7], output, 28 ); +} + +int MD5_Get_SHA256( char *chIn, char* chOut ) +{ + sha2_context m_Context2; + unsigned char result[32] = { 0 }; + + sha2_starts( &m_Context2, 0 ); + + sha2_update( &m_Context2, (unsigned char*)chIn, strlen(chIn) ); + + sha2_finish( &m_Context2, result ); + + chOut[0] = 0; + for(int i = 0; i < 32; i++) + { + char temp[3]; + sprintf( temp, "%02x", result[i] ); + strcat( chOut, temp ); + } + + return 0; +} \ No newline at end of file diff --git a/Global/SHA2.h b/Global/SHA2.h new file mode 100644 index 0000000..23d4fc6 --- /dev/null +++ b/Global/SHA2.h @@ -0,0 +1,55 @@ + +/** + * file sha2.h + */ +#ifndef _SHA2_H +#define _SHA2_H + +/** + * brief SHA-256 context structure + */ +typedef struct +{ + unsigned long total[2]; /*!< number of bytes processed */ + unsigned long state[8]; /*!< intermediate digest state */ + unsigned char buffer[64]; /*!< data block being processed */ + + unsigned char ipad[64]; /*!< HMAC: inner padding */ + unsigned char opad[64]; /*!< HMAC: outer padding */ + int is224; /*!< 0 => SHA-256, else SHA-224 */ +} +sha2_context; + +#ifdef __cplusplus +extern "C" { +#endif + + /** + * brief SHA-256 context setup + * param ctx context to be initialized + * param is224 0 = use SHA256, 1 = use SHA224 + */ + void sha2_starts( sha2_context *ctx, int is224 ); + + /** + * brief SHA-256 process buffer + * param ctx SHA-256 context + * param input buffer holding the data + * param ilen length of the input data + */ + void sha2_update( sha2_context *ctx, unsigned char *input, int ilen ); + + /** + * brief SHA-256 final digest + * param ctx SHA-256 context + * param output SHA-224/256 checksum result + */ + void sha2_finish( sha2_context *ctx, unsigned char output[32] ); + + int MD5_Get_SHA256(char *chIn, char* chOut); + +#ifdef __cplusplus +} +#endif + +#endif /* sha2.h */ diff --git a/Global/SimpleMutex.cpp b/Global/SimpleMutex.cpp new file mode 100644 index 0000000..5cea54f --- /dev/null +++ b/Global/SimpleMutex.cpp @@ -0,0 +1,88 @@ +#include +//#include + +#include +#include "SimpleMutex.h" +//#include "GlobalUnit.h" + +//////////////////////////////////////////////////////////////////// +//CSema +CSema::CSema(const char *sName, unsigned int nInit, bool bCreate) +{ + m_bCreate = bCreate; + if (!m_bCreate) + return; + + m_hSema = CreateSemaphore(NULL,nInit,0xffff,NULL); + if (!m_hSema){ + char txt[256]; + sprintf(txt, "Create semaphore error, errno=%d\n", errno); + OutputDebugStringA( txt ); + } +} + +CSema::~CSema() +{ + if (!m_bCreate) + return; + + if( !CloseHandle(m_hSema) ){ + char txt[256]; + sprintf(txt, "Close semaphore error, errno=%d\n", errno); + OutputDebugStringA( txt ); + } +} + +int CSema::ActP(DWORD dwTimeout) +{ + if (!m_bCreate) + return -1; + + int ret = WaitForSingleObject(m_hSema, dwTimeout); + if( ret==WAIT_TIMEOUT ){ + OutputDebugStringA("WaitforSingleObject timeout!\n"); + return 1; + } + else if( ret!=0 ){ + char txt[256]; + sprintf(txt, "sema wait error, errno=%d\n", errno); + OutputDebugStringA( txt ); + } + + return ret; +} + +void CSema::ActV() +{ + if (!m_bCreate) + return; + + if (!ReleaseSemaphore(m_hSema,1,NULL)){ + char txt[256]; + sprintf(txt, "sema release error, errno=%d\n", errno); + OutputDebugStringA( txt ); + } +} + +//////////////////////////////////////////////////////////////////// +//CMutextLock +CMutexLock::CMutexLock(bool bCreate) +{ + m_psmMut = new CSema( NULL, 1, bCreate ); + + m_psmMut->ActP(); +} + +CMutexLock::CMutexLock(CSema * pSema, DWORD dwTimeOut) +{ + m_psmMut = pSema; + + m_psmMut->ActP(dwTimeOut); +} + +CMutexLock::~CMutexLock() +{ + if( m_psmMut!=NULL ) + m_psmMut->ActV(); +} +//////////////////////////////////////////////////////////////////// diff --git a/Global/SimpleMutex.h b/Global/SimpleMutex.h new file mode 100644 index 0000000..d386642 --- /dev/null +++ b/Global/SimpleMutex.h @@ -0,0 +1,41 @@ +#ifndef SimpleMutexH +#define SimpleMutexH + +#include + +#ifndef INFINITE +#define INFINITE 0x7FFFFFFF +#endif + +////////////////////////////// +// +// 信号量 +// +class CSema +{ +protected: + bool m_bCreate;// 用来控制是否生成信号量,缺省情况下生成。 + HANDLE m_hSema; + +public: + CSema(const char *sName, unsigned int nInit, bool bCreate=true); + ~CSema(); + int ActP(DWORD dwTimeOut = INFINITE); // 等待状态 + void ActV(); // 非等待状态 +}; + +/////////////////////////////// +// +// 互斥量 +// +class CMutexLock +{ +protected: + CSema * m_psmMut; +public: + CMutexLock(bool bCreate=true); + CMutexLock(CSema * pSema, DWORD dwTimeOut = INFINITE); + ~CMutexLock(); +}; + +#endif //SimpleMutexH diff --git a/res/AppIcon.ico b/res/AppIcon.ico new file mode 100644 index 0000000..87a27ee Binary files /dev/null and b/res/AppIcon.ico differ diff --git a/res/RBmaster.Artwork/Windows/AppIcon.icns b/res/RBmaster.Artwork/Windows/AppIcon.icns new file mode 100644 index 0000000..c947735 Binary files /dev/null and b/res/RBmaster.Artwork/Windows/AppIcon.icns differ diff --git a/res/RBmaster.Artwork/Windows/AppIcon.ico b/res/RBmaster.Artwork/Windows/AppIcon.ico new file mode 100644 index 0000000..e632782 Binary files /dev/null and b/res/RBmaster.Artwork/Windows/AppIcon.ico differ diff --git a/res/RBmaster.Artwork/Windows/Uwp_150.png b/res/RBmaster.Artwork/Windows/Uwp_150.png new file mode 100644 index 0000000..f1bc6aa Binary files /dev/null and b/res/RBmaster.Artwork/Windows/Uwp_150.png differ diff --git a/res/RBmaster.Artwork/Windows/Uwp_44.png b/res/RBmaster.Artwork/Windows/Uwp_44.png new file mode 100644 index 0000000..f5893c1 Binary files /dev/null and b/res/RBmaster.Artwork/Windows/Uwp_44.png differ diff --git a/res/RBmaster_Icon.ico b/res/RBmaster_Icon.ico new file mode 100644 index 0000000..744ef4a Binary files /dev/null and b/res/RBmaster_Icon.ico differ diff --git a/res/Tyyl.ico b/res/Tyyl.ico new file mode 100644 index 0000000..5191acd Binary files /dev/null and b/res/Tyyl.ico differ diff --git a/res/aozxy5.ico b/res/aozxy5.ico new file mode 100644 index 0000000..a1ec5ee Binary files /dev/null and b/res/aozxy5.ico differ diff --git a/res/borton.png b/res/borton.png new file mode 100644 index 0000000..23495c6 Binary files /dev/null and b/res/borton.png differ diff --git a/res/burton.ico b/res/burton.ico new file mode 100644 index 0000000..ce9201d Binary files /dev/null and b/res/burton.ico differ diff --git a/res/down.bmp b/res/down.bmp new file mode 100644 index 0000000..7e00167 Binary files /dev/null and b/res/down.bmp differ diff --git a/res/favicon.ico b/res/favicon.ico new file mode 100644 index 0000000..744ef4a Binary files /dev/null and b/res/favicon.ico differ diff --git a/res/oubo.ico b/res/oubo.ico new file mode 100644 index 0000000..ffb9d12 Binary files /dev/null and b/res/oubo.ico differ diff --git a/res/oubo.png b/res/oubo.png new file mode 100644 index 0000000..cec5e99 Binary files /dev/null and b/res/oubo.png differ diff --git a/res/rnb.psd b/res/rnb.psd new file mode 100644 index 0000000..eed7821 Binary files /dev/null and b/res/rnb.psd differ diff --git a/res/snd1.wav b/res/snd1.wav new file mode 100644 index 0000000..a49a7e8 Binary files /dev/null and b/res/snd1.wav differ diff --git a/res/snd2.wav b/res/snd2.wav new file mode 100644 index 0000000..3b6a598 Binary files /dev/null and b/res/snd2.wav differ diff --git a/res/snd3.wav b/res/snd3.wav new file mode 100644 index 0000000..ed23a56 Binary files /dev/null and b/res/snd3.wav differ diff --git a/res/snd4.wav b/res/snd4.wav new file mode 100644 index 0000000..401d48f Binary files /dev/null and b/res/snd4.wav differ diff --git a/res/snd5.wav b/res/snd5.wav new file mode 100644 index 0000000..2e40024 Binary files /dev/null and b/res/snd5.wav differ diff --git a/res/snd6.wav b/res/snd6.wav new file mode 100644 index 0000000..3037e87 Binary files /dev/null and b/res/snd6.wav differ diff --git a/res/soundoff.bmp b/res/soundoff.bmp new file mode 100644 index 0000000..9016681 Binary files /dev/null and b/res/soundoff.bmp differ diff --git a/res/soundon.bmp b/res/soundon.bmp new file mode 100644 index 0000000..3e97b8d Binary files /dev/null and b/res/soundon.bmp differ diff --git a/res/up.bmp b/res/up.bmp new file mode 100644 index 0000000..3044432 Binary files /dev/null and b/res/up.bmp differ