Unit 'uWVBrowserBase' Package
[Overview][Classes][Index] [#pl_win_webview]

TWVBrowserBase

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: uWVBrowserBase.pas line 30

type TWVBrowserBase = class(TComponent,IWVBrowserEvents)

protected

  FCoreWebView2PrintSettings: TCoreWebView2PrintSettings;

  

  FCoreWebView2Settings: TCoreWebView2Settings;

  

  FCoreWebView2Environment: TCoreWebView2Environment;

  

  FCoreWebView2Controller: TCoreWebView2Controller;

  

  FCoreWebView2CompositionController: TCoreWebView2CompositionController;

  

  FCoreWebView2: TCoreWebView2;

  

  FCoreWebView2Profile: TCoreWebView2Profile;

  

  FWindowParentHandle: THandle;

  

  FUseDefaultEnvironment: Boolean;

  

  FUseCompositionController: Boolean;

  

  FDefaultURL: wvstring;

  

  FBrowserExecPath: wvstring;

  

  FUserDataFolder: wvstring;

  

  FAdditionalBrowserArguments: wvstring;

  

  FLanguage: wvstring;

  

  FTargetCompatibleBrowserVersion: wvstring;

  

  FAllowSingleSignOnUsingOSPrimaryAccount: Boolean;

  

  FExclusiveUserDataFolderAccess: Boolean;

  

  FCustomCrashReportingEnabled: Boolean;

  

  FIgnoreCertificateErrors: Boolean;

  

  FZoomStep: Byte;

  

  FOffline: Boolean;

  

  FIsNavigating: Boolean;

  

  FProfileName: wvstring;

  

  FIsInPrivateModeEnabled: Boolean;

  

  FMenuItemHandler: ICoreWebView2CustomItemSelectedEventHandler;

  

  FClearBrowsingDataCompletedHandler: ICoreWebView2ClearBrowsingDataCompletedHandler;

  

  FSetPermissionStateCompletedHandler: ICoreWebView2SetPermissionStateCompletedHandler;

  

  FGetNonDefaultPermissionSettingsCompletedHandler: ICoreWebView2GetNonDefaultPermissionSettingsCompletedHandler;

  

  FProfileAddBrowserExtensionCompletedHandler: ICoreWebView2ProfileAddBrowserExtensionCompletedHandler;

  

  FProfileGetBrowserExtensionsCompletedHandler: ICoreWebView2ProfileGetBrowserExtensionsCompletedHandler;

  

  FEnableTrackingPrevention: Boolean;

  

  FAreBrowserExtensionsEnabled: Boolean;

  

  FPreferredTrackingPreventionLevel: TWVTrackingPreventionLevel;

  

  FScriptLocale: wvstring;

  

  FOldWidget0CompWndPrc: TFNWndProc;

  

  FOldWidget1CompWndPrc: TFNWndProc;

  

  FOldRenderCompWndPrc: TFNWndProc;

  

  FOldD3DWindowCompWndPrc: TFNWndProc;

  

  FWidget0CompStub: Pointer;

  

  FWidget1CompStub: Pointer;

  

  FRenderCompStub: Pointer;

  

  FD3DWindowCompStub: Pointer;

  

  FWidget0CompHWND: THandle;

  

  FWidget1CompHWND: THandle;

  

  FRenderCompHWND: THandle;

  

  FD3DWindowCompHWND: THandle;

  

  FOnInitializationError: TOnInitializationErrorEvent;

  

  FOnEnvironmentCompleted: TNotifyEvent;

  

  FOnControllerCompleted: TNotifyEvent;

  

  FOnAfterCreated: TNotifyEvent;

  

  FOnExecuteScriptCompleted: TOnExecuteScriptCompletedEvent;

  

  FOnCapturePreviewCompleted: TOnCapturePreviewCompletedEvent;

  

  FOnNavigationStarting: TOnNavigationStartingEvent;

  

  FOnNavigationCompleted: TOnNavigationCompletedEvent;

  

  FOnFrameNavigationStarting: TOnNavigationStartingEvent;

  

  FOnFrameNavigationCompleted: TOnNavigationCompletedEvent;

  

  FOnSourceChanged: TOnSourceChangedEvent;

  

  FOnHistoryChanged: TNotifyEvent;

  

  FOnContentLoading: TOnContentLoadingEvent;

  

  FOnDocumentTitleChanged: TNotifyEvent;

  

  FOnNewWindowRequested: TOnNewWindowRequestedEvent;

  

  FOnWebResourceRequested: TOnWebResourceRequestedEvent;

  

  FOnScriptDialogOpening: TOnScriptDialogOpeningEvent;

  

  FOnPermissionRequested: TOnPermissionRequestedEvent;

  

  FOnProcessFailed: TOnProcessFailedEvent;

  

  FOnWebMessageReceived: TOnWebMessageReceivedEvent;

  

  FOnContainsFullScreenElementChanged: TNotifyEvent;

  

  FOnWindowCloseRequested: TNotifyEvent;

  

  FOnDevToolsProtocolEventReceived: TOnDevToolsProtocolEventReceivedEvent;

  

  FOnZoomFactorChanged: TNotifyEvent;

  

  FOnMoveFocusRequested: TOnMoveFocusRequestedEvent;

  

  FOnAcceleratorKeyPressed: TOnAcceleratorKeyPressedEvent;

  

  FOnGotFocus: TNotifyEvent;

  

  FOnLostFocus: TNotifyEvent;

  

  FOnCursorChanged: TNotifyEvent;

  

  FOnBrowserProcessExited: TOnBrowserProcessExitedEvent;

  

  FOnRasterizationScaleChanged: TNotifyEvent;

  

  FOnWebResourceResponseReceived: TOnWebResourceResponseReceivedEvent;

  

  FOnDOMContentLoaded: TOnDOMContentLoadedEvent;

  

  FOnWebResourceResponseViewGetContentCompleted: TOnWebResourceResponseViewGetContentCompletedEvent;

  

  FOnGetCookiesCompleted: TOnGetCookiesCompletedEvent;

  

  FOnTrySuspendCompleted: TOnTrySuspendCompletedEvent;

  

  FOnFrameCreated: TOnFrameCreatedEvent;

  

  FOnDownloadStarting: TOnDownloadStartingEvent;

  

  FOnClientCertificateRequested: TOnClientCertificateRequestedEvent;

  

  FOnPrintToPdfCompleted: TOnPrintToPdfCompletedEvent;

  

  FOnBytesReceivedChanged: TOnBytesReceivedChangedEvent;

  

  FOnEstimatedEndTimeChanged: TOnEstimatedEndTimeChangedEvent;

  

  FOnDownloadStateChanged: TOnDownloadStateChangedEvent;

  

  FOnFrameNameChanged: TOnFrameNameChangedEvent;

  

  FOnFrameDestroyed: TOnFrameDestroyedEvent;

  

  FOnCompositionControllerCompleted: TNotifyEvent;

  

  FOnCallDevToolsProtocolMethodCompleted: TOnCallDevToolsProtocolMethodCompletedEvent;

  

  FOnAddScriptToExecuteOnDocumentCreatedCompleted: TOnAddScriptToExecuteOnDocumentCreatedCompletedEvent;

  

  FOnWidget0CompMsg: TOnCompMsgEvent;

  

  FOnWidget1CompMsg: TOnCompMsgEvent;

  

  FOnRenderCompMsg: TOnCompMsgEvent;

  

  FOnD3DWindowCompMsg: TOnCompMsgEvent;

  

  FOnPrintCompleted: TOnPrintCompletedEvent;

  

  FOnRetrieveHTMLCompleted: TOnRetrieveHTMLCompletedEvent;

  

  FOnRetrieveTextCompleted: TOnRetrieveTextCompletedEvent;

  

  FOnRetrieveMHTMLCompleted: TOnRetrieveMHTMLCompletedEvent;

  

  FOnClearCacheCompleted: TOnClearCacheCompletedEvent;

  

  FOnClearDataForOriginCompleted: TOnClearDataForOriginCompletedEvent;

  

  FOnOfflineCompleted: TOnOfflineCompletedEvent;

  

  FOnIgnoreCertificateErrorsCompleted: TOnIgnoreCertificateErrorsCompletedEvent;

  

  FOnRefreshIgnoreCacheCompleted: TOnRefreshIgnoreCacheCompletedEvent;

  

  FOnSimulateKeyEventCompleted: TOnSimulateKeyEventCompletedEvent;

  

  FOnIsMutedChanged: TOnIsMutedChangedEvent;

  

  FOnIsDocumentPlayingAudioChanged: TOnIsDocumentPlayingAudioChangedEvent;

  

  FOnIsDefaultDownloadDialogOpenChanged: TOnIsDefaultDownloadDialogOpenChangedEvent;

  

  FOnProcessInfosChanged: TOnProcessInfosChangedEvent;

  

  FOnFrameNavigationStarting2: TOnFrameNavigationStartingEvent;

  

  FOnFrameNavigationCompleted2: TOnFrameNavigationCompletedEvent;

  

  FOnFrameContentLoading: TOnFrameContentLoadingEvent;

  

  FOnFrameDOMContentLoaded: TOnFrameDOMContentLoadedEvent;

  

  FOnFrameWebMessageReceived: TOnFrameWebMessageReceivedEvent;

  

  FOnBasicAuthenticationRequested: TOnBasicAuthenticationRequestedEvent;

  

  FOnContextMenuRequested: TOnContextMenuRequestedEvent;

  

  FOnCustomItemSelected: TOnCustomItemSelectedEvent;

  

  FOnStatusBarTextChanged: TOnStatusBarTextChangedEvent;

  

  FOnFramePermissionRequested: TOnFramePermissionRequestedEvent;

  

  FOnClearBrowsingDataCompleted: TOnClearBrowsingDataCompletedEvent;

  

  FOnServerCertificateErrorActionsCompleted: TOnServerCertificateErrorActionsCompletedEvent;

  

  FOnServerCertificateErrorDetected: TOnServerCertificateErrorDetectedEvent;

  

  FOnFaviconChanged: TOnFaviconChangedEvent;

  

  FOnGetFaviconCompleted: TOnGetFaviconCompletedEvent;

  

  FOnPrintToPdfStreamCompleted: TOnPrintToPdfStreamCompletedEvent;

  

  FOnGetCustomSchemes: TOnGetCustomSchemesEvent;

  

  FOnGetNonDefaultPermissionSettingsCompleted: TOnGetNonDefaultPermissionSettingsCompletedEvent;

  

  FOnSetPermissionStateCompleted: TOnSetPermissionStateCompletedEvent;

  

  FOnLaunchingExternalUriScheme: TOnLaunchingExternalUriSchemeEvent;

  

  FOnGetProcessExtendedInfosCompleted: TOnGetProcessExtendedInfosCompletedEvent;

  

  FOnBrowserExtensionRemoveCompleted: TOnBrowserExtensionRemoveCompletedEvent;

  

  FOnBrowserExtensionEnableCompleted: TOnBrowserExtensionEnableCompletedEvent;

  

  FOnProfileAddBrowserExtensionCompleted: TOnProfileAddBrowserExtensionCompletedEvent;

  

  FOnProfileGetBrowserExtensionsCompleted: TOnProfileGetBrowserExtensionsCompletedEvent;

  

  FOnProfileDeleted: TOnProfileDeletedEvent;

  

  function GetBrowserProcessID;

  

  function GetBrowserVersionInfo;

  

  function GetCanGoBack;

  

  function GetCanGoForward;

  

  function GetContainsFullScreenElement;

  

  function GetDocumentTitle;

  

  function GetSource;

  

  function GetCookieManager;

  

  function GetInitialized;

  

  function GetZoomFactor;

  

  function GetZoomPct;

  

  function GetBuiltInErrorPageEnabled;

  

  function GetDefaultContextMenusEnabled;

  

  function GetDefaultScriptDialogsEnabled;

  

  function GetDevToolsEnabled;

  

  function GetScriptEnabled;

  

  function GetStatusBarEnabled;

  

  function GetWebMessageEnabled;

  

  function GetZoomControlEnabled;

  

  function GetIsVisible;

  

  function GetBounds;

  

  function GetParentWindow;

  

  function GetDefaultBackgroundColor;

  

  function GetRasterizationScale;

  

  function GetShouldDetectMonitorScaleChanges;

  

  function GetBoundsMode;

  

  function GetAreHostObjectsAllowed;

  

  function GetUserAgent;

  

  function GetAreBrowserAcceleratorKeysEnabled;

  

  function GetIsPasswordAutosaveEnabled;

  

  function GetIsGeneralAutofillEnabled;

  

  function GetIsPinchZoomEnabled;

  

  function GetIsSwipeNavigationEnabled;

  

  function GetIsSuspended;

  

  function GetUserDataFolder;

  

  function GetRootVisualTarget;

  

  function GetCursor;

  

  function GetSystemCursorID;

  

  function GetAutomationProvider;

  

  function GetProcessInfos;

  

  function GetIsMuted;

  

  function GetIsDocumentPlayingAudio;

  

  function GetIsDefaultDownloadDialogOpen;

  

  function GetDefaultDownloadDialogCornerAlignment;

  

  function GetDefaultDownloadDialogMargin;

  

  function GetStatusBarText;

  

  function GetAllowExternalDrop;

  

  function GetHiddenPdfToolbarItems;

  

  function GetIsReputationCheckingRequired;

  

  function GetCustomItemSelectedEventHandler;

  

  function GetFaviconURI;

  

  function GetScreenScale; virtual;

  

  function GetProfileName;

  

  function GetIsInPrivateModeEnabled;

  

  function GetProfilePath;

  

  function GetDefaultDownloadFolderPath;

  

  function GetPreferredColorScheme;

  

  function GetPreferredTrackingPreventionLevel;

  

  function GetProfileCookieManager;

  

  function GetProfileIsPasswordAutosaveEnabled;

  

  function GetProfileIsGeneralAutofillEnabled;

  

  function GetMemoryUsageTargetLevel;

  

  function GetFrameID;

  

  procedure SetBuiltInErrorPageEnabled();

  

  procedure SetDefaultContextMenusEnabled();

  

  procedure SetDefaultScriptDialogsEnabled();

  

  procedure SetDevToolsEnabled();

  

  procedure SetScriptEnabled();

  

  procedure SetStatusBarEnabled();

  

  procedure SetWebMessageEnabled();

  

  procedure SetZoomControlEnabled();

  

  procedure SetZoomFactor();

  

  procedure SetZoomPct();

  

  procedure SetZoomStep();

  

  procedure SetIsVisible();

  

  procedure SetBounds();

  

  procedure SetParentWindow();

  

  procedure SetDefaultBackgroundColor();

  

  procedure SetRasterizationScale();

  

  procedure SetShouldDetectMonitorScaleChanges();

  

  procedure SetBoundsMode();

  

  procedure SetAreHostObjectsAllowed();

  

  procedure SetUserAgent();

  

  procedure SetAreBrowserAcceleratorKeysEnabled();

  

  procedure SetIsPasswordAutosaveEnabled();

  

  procedure SetIsGeneralAutofillEnabled();

  

  procedure SetIsPinchZoomEnabled();

  

  procedure SetIsSwipeNavigationEnabled();

  

  procedure SetOffline();

  

  procedure SetIgnoreCertificateErrors();

  

  procedure SetRootVisualTarget();

  

  procedure SetIsMuted();

  

  procedure SetDefaultDownloadDialogCornerAlignment();

  

  procedure SetDefaultDownloadDialogMargin();

  

  procedure SetAllowExternalDrop();

  

  procedure SetHiddenPdfToolbarItems();

  

  procedure SetIsReputationCheckingRequired();

  

  procedure SetProfileName();

  

  procedure SetDefaultDownloadFolderPath();

  

  procedure SetPreferredColorScheme();

  

  procedure SetPreferredTrackingPreventionLevel();

  

  procedure SetProfileIsPasswordAutosaveEnabled();

  

  procedure SetProfileIsGeneralAutofillEnabled();

  

  procedure SetMemoryUsageTargetLevel();

  

  function CreateEnvironment;

  

  function CreateCompositionController;

  

  function CreateController;

  

  procedure DestroyEnvironment;

  

  procedure DestroyController;

  

  procedure DestroyCompositionController;

  

  procedure DestroyWebView;

  

  procedure DestroyProfile;

  

  procedure DestroySettings;

  

  procedure DestroyPrintSettings;

  

  procedure DestroyMenuItemHandler;

  

  procedure UpdateZoomStep();

  

  procedure UpdateZoomPct();

  

  procedure CreateStub();

  

  procedure FreeAndNilStub();

  

  function InstallCompWndProc();

  

  procedure RestoreCompWndProc();

  

  procedure CallOldCompWndProc();

  

  procedure Widget0CompWndProc();

  

  procedure Widget1CompWndProc();

  

  procedure RenderCompWndProc();

  

  procedure D3DWindowCompWndProc();

  

  procedure RestoreOldCompWndProc;

  

  procedure ReplaceWndProcs;

  

  function ExtractJSONData(); virtual;

  

  function ExtractEncodedJSON();

  

  function EnvironmentCompletedHandler_Invoke();

  

  function ControllerCompletedHandler_Invoke();

  

  function ExecuteScriptCompletedHandler_Invoke();

  

  function CapturePreviewCompletedHandler_Invoke();

  

  function NavigationStartingEventHandler_Invoke();

  

  function NavigationCompletedEventHandler_Invoke();

  

  function FrameNavigationStartingEventHandler_Invoke();

  

  function FrameNavigationCompletedEventHandler_Invoke();

  

  function SourceChangedEventHandler_Invoke();

  

  function HistoryChangedEventHandler_Invoke();

  

  function ContentLoadingEventHandler_Invoke();

  

  function DocumentTitleChangedEventHandler_Invoke();

  

  function NewWindowRequestedEventHandler_Invoke();

  

  function WebResourceRequestedEventHandler_Invoke();

  

  function ScriptDialogOpeningEventHandler_Invoke();

  

  function PermissionRequestedEventHandler_Invoke();

  

  function ProcessFailedEventHandler_Invoke();

  

  function WebMessageReceivedEventHandler_Invoke();

  

  function ContainsFullScreenElementChangedEventHandler_Invoke();

  

  function WindowCloseRequestedEventHandler_Invoke();

  

  function DevToolsProtocolEventReceivedEventHandler_Invoke();

  

  function ZoomFactorChangedEventHandler_Invoke();

  

  function MoveFocusRequestedEventHandler_Invoke();

  

  function AcceleratorKeyPressedEventHandler_Invoke();

  

  function GotFocusEventHandler_Invoke();

  

  function LostFocusEventHandler_Invoke();

  

  function CreateCoreWebView2CompositionControllerCompletedHandler_Invoke();

  

  function CursorChangedEventHandler_Invoke();

  

  function BrowserProcessExitedEventHandler_Invoke();

  

  function RasterizationScaleChangedEventHandler_Invoke();

  

  function WebResourceResponseReceivedEventHandler_Invoke();

  

  function DOMContentLoadedEventHandler_Invoke();

  

  function WebResourceResponseViewGetContentCompletedHandler_Invoke();

  

  function GetCookiesCompletedHandler_Invoke();

  

  function TrySuspendCompletedHandler_Invoke();

  

  function FrameCreatedEventHandler_Invoke();

  

  function DownloadStartingEventHandler_Invoke();

  

  function ClientCertificateRequestedEventHandler_Invoke();

  

  function PrintToPdfCompletedHandler_Invoke();

  

  function BytesReceivedChangedEventHandler_Invoke();

  

  function EstimatedEndTimeChangedEventHandler_Invoke();

  

  function StateChangedEventHandler_Invoke();

  

  function FrameNameChangedEventHandler_Invoke();

  

  function FrameDestroyedEventHandler_Invoke();

  

  function CallDevToolsProtocolMethodCompletedHandler_Invoke();

  

  function AddScriptToExecuteOnDocumentCreatedCompletedHandler_Invoke();

  

  function IsMutedChangedEventHandler_Invoke();

  

  function IsDocumentPlayingAudioChangedEventHandler_Invoke();

  

  function IsDefaultDownloadDialogOpenChangedEventHandler_Invoke();

  

  function ProcessInfosChangedEventHandler_Invoke();

  

  function FrameNavigationStartingEventHandler2_Invoke();

  

  function FrameNavigationCompletedEventHandler2_Invoke();

  

  function FrameContentLoadingEventHandler_Invoke();

  

  function FrameDOMContentLoadedEventHandler_Invoke();

  

  function FrameWebMessageReceivedEventHandler_Invoke();

  

  function BasicAuthenticationRequestedEventHandler_Invoke();

  

  function ContextMenuRequestedEventHandler_Invoke();

  

  function CustomItemSelectedEventHandler_Invoke();

  

  function StatusBarTextChangedEventHandler_Invoke();

  

  function FramePermissionRequestedEventHandler_Invoke();

  

  function ClearBrowsingDataCompletedHandler_Invoke();

  

  function ClearServerCertificateErrorActionsCompletedHandler_Invoke();

  

  function ServerCertificateErrorDetectedEventHandler_Invoke();

  

  function FaviconChangedEventHandler_Invoke();

  

  function GetFaviconCompletedHandler_Invoke();

  

  function PrintCompletedHandler_Invoke();

  

  function PrintToPdfStreamCompletedHandler_Invoke();

  

  function GetNonDefaultPermissionSettingsCompletedHandler_Invoke();

  

  function SetPermissionStateCompletedHandler_Invoke();

  

  function LaunchingExternalUriSchemeEventHandler_Invoke();

  

  function GetProcessExtendedInfosCompletedHandler_Invoke();

  

  function BrowserExtensionRemoveCompletedHandler_Invoke();

  

  function BrowserExtensionEnableCompletedHandler_Invoke();

  

  function ProfileAddBrowserExtensionCompletedHandler_Invoke();

  

  function ProfileGetBrowserExtensionsCompletedHandler_Invoke();

  

  function ProfileDeletedEventHandler_Invoke();

  

  procedure doOnInitializationError(); virtual;

  

  procedure doOnEnvironmentCompleted; virtual;

  

  procedure doOnControllerCompleted; virtual;

  

  procedure doOnAfterCreated; virtual;

  

  procedure doOnExecuteScriptCompleted(); virtual;

  

  procedure doCapturePreviewCompleted(); virtual;

  

  procedure doOnNavigationStarting(); virtual;

  

  procedure doOnNavigationCompleted(); virtual;

  

  procedure doOnFrameNavigationStarting(); virtual;

  

  procedure doOnFrameNavigationCompleted(); virtual;

  

  procedure doOnSourceChanged(); virtual;

  

  procedure doOnHistoryChanged(); virtual;

  

  procedure doOnContentLoading(); virtual;

  

  procedure doOnDocumentTitleChanged(); virtual;

  

  procedure doOnNewWindowRequested(); virtual;

  

  procedure doOnWebResourceRequested(); virtual;

  

  procedure doOnScriptDialogOpening(); virtual;

  

  procedure doOnPermissionRequested(); virtual;

  

  procedure doOnProcessFailed(); virtual;

  

  procedure doOnWebMessageReceived(); virtual;

  

  procedure doOnContainsFullScreenElementChanged(); virtual;

  

  procedure doOnWindowCloseRequested(); virtual;

  

  procedure doOnDevToolsProtocolEventReceived(); virtual;

  

  procedure doOnZoomFactorChanged(); virtual;

  

  procedure doOnMoveFocusRequested(); virtual;

  

  procedure doOnAcceleratorKeyPressed(); virtual;

  

  procedure doOnGotFocus(); virtual;

  

  procedure doOnLostFocus(); virtual;

  

  procedure doOnCompositionControllerCompleted; virtual;

  

  procedure doOnCursorChangedEvent(); virtual;

  

  procedure doOnBrowserProcessExitedEvent(); virtual;

  

  procedure doOnRasterizationScaleChangedEvent(); virtual;

  

  procedure doOnWebResourceResponseReceivedEvent(); virtual;

  

  procedure doOnDOMContentLoadedEvent(); virtual;

  

  procedure doOnWebResourceResponseViewGetContentCompletedEvent(); virtual;

  

  procedure doOnGetCookiesCompletedEvent(); virtual;

  

  procedure doOnTrySuspendCompletedEvent(); virtual;

  

  procedure doOnFrameCreatedEvent(); virtual;

  

  procedure doOnDownloadStartingEvent(); virtual;

  

  procedure doOnClientCertificateRequestedEvent(); virtual;

  

  procedure doOnPrintToPdfCompletedEvent(); virtual;

  

  procedure doOnBytesReceivedChangedEventEvent(); virtual;

  

  procedure doOnEstimatedEndTimeChangedEvent(); virtual;

  

  procedure doOnStateChangedEvent(); virtual;

  

  procedure doOnFrameNameChangedEvent(); virtual;

  

  procedure doOnFrameDestroyedEvent(); virtual;

  

  procedure doOnCallDevToolsProtocolMethodCompletedEvent(); virtual;

  

  procedure doOnAddScriptToExecuteOnDocumentCreatedCompletedEvent(); virtual;

  

  procedure doOnRetrieveHTMLCompleted(); virtual;

  

  procedure doOnRetrieveTextCompleted(); virtual;

  

  procedure doOnRetrieveMHTMLCompleted(); virtual;

  

  procedure doOnClearCacheCompleted(); virtual;

  

  procedure doOnClearDataForOriginCompleted(); virtual;

  

  procedure doOnOfflineCompleted(); virtual;

  

  procedure doOnIgnoreCertificateErrorsCompleted(); virtual;

  

  procedure doOnRefreshIgnoreCacheCompleted(); virtual;

  

  procedure doOnSimulateKeyEventCompleted(); virtual;

  

  procedure doOnIsMutedChanged(); virtual;

  

  procedure doOnIsDocumentPlayingAudioChanged(); virtual;

  

  procedure doOnIsDefaultDownloadDialogOpenChanged(); virtual;

  

  procedure doOnProcessInfosChangedEvent(); virtual;

  

  procedure doOnFrameNavigationStarting2(); virtual;

  

  procedure doOnFrameNavigationCompleted2(); virtual;

  

  procedure doOnFrameContentLoadingEvent(); virtual;

  

  procedure doOnFrameDOMContentLoadedEvent(); virtual;

  

  procedure doOnFrameWebMessageReceivedEvent(); virtual;

  

  procedure doOnBasicAuthenticationRequestedEvent(); virtual;

  

  procedure doOnContextMenuRequestedEvent(); virtual;

  

  procedure doOnCustomItemSelectedEvent(); virtual;

  

  procedure doOnStatusBarTextChangedEvent(); virtual;

  

  procedure doOnFramePermissionRequestedEvent(); virtual;

  

  procedure doOnClearBrowsingDataCompletedEvent(); virtual;

  

  procedure doOnServerCertificateErrorActionsCompletedEvent(); virtual;

  

  procedure doOnServerCertificateErrorDetectedEvent(); virtual;

  

  procedure doOnFaviconChangedEvent(); virtual;

  

  procedure doOnGetFaviconCompletedEvent(); virtual;

  

  procedure doOnPrintCompletedEvent(); virtual;

  

  procedure doOnPrintToPdfStreamCompletedEvent(); virtual;

  

  procedure doOnGetCustomSchemes(); virtual;

  

  procedure doOnGetNonDefaultPermissionSettingsCompleted(); virtual;

  

  procedure doOnSetPermissionStateCompleted(); virtual;

  

  procedure doOnLaunchingExternalUriSchemeEvent(); virtual;

  

  procedure doOnGetProcessExtendedInfosCompletedEvent(); virtual;

  

  procedure doOnBrowserExtensionRemoveCompletedEvent(); virtual;

  

  procedure doOnBrowserExtensionEnableCompletedEvent(); virtual;

  

  procedure doOnProfileAddBrowserExtensionCompletedEvent(); virtual;

  

  procedure doOnProfileGetBrowserExtensionsCompletedEvent(); virtual;

  

  procedure doOnProfileDeletedEvent(); virtual;

  

public

  constructor Create(); override;

  

  destructor Destroy; override;

  

  procedure AfterConstruction; override;

  

  function CreateBrowser();

  

  function CreateWindowlessBrowser();

  

  function GoBack;

  

  function GoForward;

  

  function Refresh;

  

  function RefreshIgnoreCache;

  

  function Stop;

  

  function Navigate();

  

  function NavigateToString();

  

  function NavigateWithWebResourceRequest();

  

  function SubscribeToDevToolsProtocolEvent();

  

  function CallDevToolsProtocolMethod();

  

  function CallDevToolsProtocolMethodForSession();

  

  function SetFocus;

  

  function FocusNext;

  

  function FocusPrevious;

  

  function ExecuteScript();

  

  function CapturePreview();

  

  function NotifyParentWindowPositionChanged;

  

  function SetPermissionState();

  

  function GetNonDefaultPermissionSettings;

  

  function AddBrowserExtension();

  

  function GetBrowserExtensions;

  

  function DeleteProfile;

  

  function TrySuspend;

  

  function Resume;

  

  function SetVirtualHostNameToFolderMapping();

  

  function ClearVirtualHostNameToFolderMapping();

  

  function RetrieveHTML;

  

  function RetrieveText;

  

  function RetrieveMHTML;

  

  function Print;

  

  function ShowPrintUI();

  

  function PrintToPdf();

  

  function PrintToPdfStream;

  

  function OpenDevToolsWindow;

  

  function OpenTaskManagerWindow;

  

  function PostWebMessageAsJson();

  

  function PostWebMessageAsString();

  

  function AddWebResourceRequestedFilter();

  

  function RemoveWebResourceRequestedFilter();

  

  function AddHostObjectToScript();

  

  function RemoveHostObjectFromScript();

  

  function AddScriptToExecuteOnDocumentCreated();

  

  function RemoveScriptToExecuteOnDocumentCreated();

  

  function CreateCookie();

  

  function CopyCookie();

  

  function GetCookies();

  

  function AddOrUpdateCookie();

  

  function DeleteCookie();

  

  function DeleteCookies();

  

  function DeleteCookiesWithDomainAndPath();

  

  function DeleteAllCookies;

  

  procedure MoveFormTo(); virtual; abstract;

  

  procedure MoveFormBy(); virtual; abstract;

  

  procedure ResizeFormWidthTo(); virtual; abstract;

  

  procedure ResizeFormHeightTo(); virtual; abstract;

  

  procedure SetFormLeftTo(); virtual; abstract;

  

  procedure SetFormTopTo(); virtual; abstract;

  

  procedure IncZoomStep;

  

  procedure DecZoomStep;

  

  procedure ResetZoom;

  

  function SetBoundsAndZoomFactor();

  

  procedure ToggleMuteState;

  

  function OpenDefaultDownloadDialog;

  

  function CloseDefaultDownloadDialog;

  

  function SimulateEditingCommand();

  

  function SimulateKeyEvent(); virtual;

  

  function KeyboardShortcutSearch; virtual;

  

  function KeyboardShortcutRefreshIgnoreCache; virtual;

  

  function SendMouseInput();

  

  function SendPointerInput();

  

  function DragEnter();

  

  function DragLeave;

  

  function DragOver();

  

  function Drop();

  

  function ClearCache;

  

  function ClearDataForOrigin();

  

  function ClearBrowsingData();

  

  function ClearBrowsingDataInTimeRange();

  

  function ClearBrowsingDataAll;

  

  function ClearServerCertificateErrorActions;

  

  function GetFavicon();

  

  function CreateSharedBuffer();

  

  function PostSharedBufferToScript();

  

  function GetProcessExtendedInfos;

  

  property Initialized: Boolean; [r]

  

  property CoreWebView2PrintSettings: TCoreWebView2PrintSettings; [r]

  

  property CoreWebView2Settings: TCoreWebView2Settings; [r]

  

  property CoreWebView2Environment: TCoreWebView2Environment; [r]

  

  property CoreWebView2Controller: TCoreWebView2Controller; [r]

  

  property CoreWebView2CompositionController: TCoreWebView2CompositionController; [r]

  

  property CoreWebView2: TCoreWebView2; [r]

  

  property Profile: TCoreWebView2Profile; [r]

  

  property DefaultURL: wvstring; [rw]

  

  property IsNavigating: Boolean; [r]

  

  property ZoomPct: Double; [rw]

  

  property ZoomStep: Byte; [rw]

  

  property Widget0CompHWND: THandle; [r]

  

  property Widget1CompHWND: THandle; [r]

  

  property RenderCompHWND: THandle; [r]

  

  property D3DWindowCompHWND: THandle; [r]

  

  property CustomItemSelectedEventHandler: ICoreWebView2CustomItemSelectedEventHandler; [r]

  

  property ScreenScale: single; [r]

  

  property Offline: Boolean; [rw]

  

  property IgnoreCertificateErrors: Boolean; [rw]

  

  property BrowserExecPath: wvstring; [rw]

  

  property UserDataFolder: wvstring; [rw]

  

  property AdditionalBrowserArguments: wvstring; [rw]

  

  property Language: wvstring; [rw]

  

  property TargetCompatibleBrowserVersion: wvstring; [rw]

  

  property AllowSingleSignOnUsingOSPrimaryAccount: Boolean; [rw]

  

  property ExclusiveUserDataFolderAccess: Boolean; [rw]

  

  property CustomCrashReportingEnabled: Boolean; [rw]

  

  property EnableTrackingPrevention: Boolean; [rw]

  

  property AreBrowserExtensionsEnabled: Boolean; [rw]

  

  property BrowserVersionInfo: wvstring; [r]

  

  property BrowserProcessID: Cardinal; [r]

  

  property CanGoBack: Boolean; [r]

  

  property CanGoForward: Boolean; [r]

  

  property ContainsFullScreenElement: Boolean; [r]

  

  property DocumentTitle: wvstring; [r]

  

  property Source: wvstring; [r]

  

  property CookieManager: ICoreWebView2CookieManager; [r]

  

  property IsSuspended: Boolean; [r]

  

  property IsDocumentPlayingAudio: Boolean; [r]

  

  property IsMuted: Boolean; [rw]

  

  property DefaultDownloadDialogCornerAlignment: TWVDefaultDownloadDialogCornerAlignment; [rw]

  

  property DefaultDownloadDialogMargin: TPoint; [rw]

  

  property IsDefaultDownloadDialogOpen: Boolean; [r]

  

  property StatusBarText: wvstring; [r]

  

  property FaviconURI: wvstring; [r]

  

  property MemoryUsageTargetLevel: TWVMemoryUsageTargetLevel; [rw]

  

  property Bounds: TRect; [rw]

  

  property IsVisible: Boolean; [rw]

  

  property ParentWindow: THandle; [rw]

  

  property ZoomFactor: Double; [rw]

  

  property DefaultBackgroundColor: TColor; [rw]

  

  property BoundsMode: TWVBoundsMode; [rw]

  

  property RasterizationScale: Double; [rw]

  

  property ShouldDetectMonitorScaleChanges: Boolean; [rw]

  

  property AllowExternalDrop: Boolean; [rw]

  

  property DefaultContextMenusEnabled: Boolean; [rw]

  

  property DefaultScriptDialogsEnabled: Boolean; [rw]

  

  property DevToolsEnabled: Boolean; [rw]

  

  property AreHostObjectsAllowed: Boolean; [rw]

  

  property BuiltInErrorPageEnabled: Boolean; [rw]

  

  property ScriptEnabled: Boolean; [rw]

  

  property StatusBarEnabled: Boolean; [rw]

  

  property WebMessageEnabled: Boolean; [rw]

  

  property ZoomControlEnabled: Boolean; [rw]

  

  property UserAgent: wvstring; [rw]

  

  property AreBrowserAcceleratorKeysEnabled: Boolean; [rw]

  

  property IsGeneralAutofillEnabled: Boolean; [rw]

  

  property IsPasswordAutosaveEnabled: Boolean; [rw]

  

  property IsPinchZoomEnabled: Boolean; [rw]

  

  property IsSwipeNavigationEnabled: Boolean; [rw]

  

  property HiddenPdfToolbarItems: TWVPDFToolbarItems; [rw]

  

  property IsReputationCheckingRequired: Boolean; [rw]

  

  property Cursor: HCURSOR; [r]

  

  property RootVisualTarget: IUnknown; [rw]

  

  property SystemCursorID: Cardinal; [r]

  

  property AutomationProvider: IUnknown; [r]

  

  property ProcessInfos: ICoreWebView2ProcessInfoCollection; [r]

  

  property ProfileName: wvstring; [rw]

  

  property IsInPrivateModeEnabled: Boolean; [rw]

  

  property ScriptLocale: wvstring; [rw]

  

  property ProfilePath: wvstring; [r]

  

  property DefaultDownloadFolderPath: wvstring; [rw]

  

  property PreferredColorScheme: TWVPreferredColorScheme; [rw]

  

  property PreferredTrackingPreventionLevel: TWVTrackingPreventionLevel; [rw]

  

  property ProfileCookieManager: ICoreWebView2CookieManager; [r]

  

  property ProfileIsPasswordAutosaveEnabled: Boolean; [rw]

  

  property ProfileIsGeneralAutofillEnabled: Boolean; [rw]

  

  property FrameId: Cardinal; [r]

  

  property OnBrowserProcessExited: TOnBrowserProcessExitedEvent; [rw]

  

  property OnProcessInfosChanged: TOnProcessInfosChangedEvent; [rw]

  

  property OnContainsFullScreenElementChanged: TNotifyEvent; [rw]

  

  property OnContentLoading: TOnContentLoadingEvent; [rw]

  

  property OnDocumentTitleChanged: TNotifyEvent; [rw]

  

  property OnFrameNavigationCompleted: TOnNavigationCompletedEvent; [rw]

  

  property OnFrameNavigationStarting: TOnNavigationStartingEvent; [rw]

  

  property OnHistoryChanged: TNotifyEvent; [rw]

  

  property OnNavigationCompleted: TOnNavigationCompletedEvent; [rw]

  

  property OnNavigationStarting: TOnNavigationStartingEvent; [rw]

  

  property OnNewWindowRequested: TOnNewWindowRequestedEvent; [rw]

  

  property OnPermissionRequested: TOnPermissionRequestedEvent; [rw]

  

  property OnProcessFailed: TOnProcessFailedEvent; [rw]

  

  property OnScriptDialogOpening: TOnScriptDialogOpeningEvent; [rw]

  

  property OnSourceChanged: TOnSourceChangedEvent; [rw]

  

  property OnWebMessageReceived: TOnWebMessageReceivedEvent; [rw]

  

  property OnWebResourceRequested: TOnWebResourceRequestedEvent; [rw]

  

  property OnWindowCloseRequested: TNotifyEvent; [rw]

  

  property OnDOMContentLoaded: TOnDOMContentLoadedEvent; [rw]

  

  property OnWebResourceResponseReceived: TOnWebResourceResponseReceivedEvent; [rw]

  

  property OnDownloadStarting: TOnDownloadStartingEvent; [rw]

  

  property OnFrameCreated: TOnFrameCreatedEvent; [rw]

  

  property OnClientCertificateRequested: TOnClientCertificateRequestedEvent; [rw]

  

  property OnIsDocumentPlayingAudioChanged: TOnIsDocumentPlayingAudioChangedEvent; [rw]

  

  property OnIsMutedChanged: TOnIsMutedChangedEvent; [rw]

  

  property OnIsDefaultDownloadDialogOpenChanged: TOnIsDefaultDownloadDialogOpenChangedEvent; [rw]

  

  property OnBasicAuthenticationRequested: TOnBasicAuthenticationRequestedEvent; [rw]

  

  property OnContextMenuRequested: TOnContextMenuRequestedEvent; [rw]

  

  property OnStatusBarTextChanged: TOnStatusBarTextChangedEvent; [rw]

  

  property OnServerCertificateErrorActionsCompleted: TOnServerCertificateErrorActionsCompletedEvent; [rw]

  

  property OnServerCertificateErrorDetected: TOnServerCertificateErrorDetectedEvent; [rw]

  

  property OnFaviconChanged: TOnFaviconChangedEvent; [rw]

  

  property OnGetFaviconCompleted: TOnGetFaviconCompletedEvent; [rw]

  

  property OnPrintCompleted: TOnPrintCompletedEvent; [rw]

  

  property OnPrintToPdfStreamCompleted: TOnPrintToPdfStreamCompletedEvent; [rw]

  

  property OnAcceleratorKeyPressed: TOnAcceleratorKeyPressedEvent; [rw]

  

  property OnGotFocus: TNotifyEvent; [rw]

  

  property OnLostFocus: TNotifyEvent; [rw]

  

  property OnMoveFocusRequested: TOnMoveFocusRequestedEvent; [rw]

  

  property OnZoomFactorChanged: TNotifyEvent; [rw]

  

  property OnRasterizationScaleChanged: TNotifyEvent; [rw]

  

  property OnCursorChanged: TNotifyEvent; [rw]

  

  property OnBytesReceivedChanged: TOnBytesReceivedChangedEvent; [rw]

  

  property OnEstimatedEndTimeChanged: TOnEstimatedEndTimeChangedEvent; [rw]

  

  property OnDownloadStateChanged: TOnDownloadStateChangedEvent; [rw]

  

  property OnFrameDestroyed: TOnFrameDestroyedEvent; [rw]

  

  property OnFrameNameChanged: TOnFrameNameChangedEvent; [rw]

  

  property OnFrameNavigationStarting2: TOnFrameNavigationStartingEvent; [rw]

  

  property OnFrameNavigationCompleted2: TOnFrameNavigationCompletedEvent; [rw]

  

  property OnFrameContentLoading: TOnFrameContentLoadingEvent; [rw]

  

  property OnFrameDOMContentLoaded: TOnFrameDOMContentLoadedEvent; [rw]

  

  property OnFrameWebMessageReceived: TOnFrameWebMessageReceivedEvent; [rw]

  

  property OnFramePermissionRequested: TOnFramePermissionRequestedEvent; [rw]

  

  property OnDevToolsProtocolEventReceived: TOnDevToolsProtocolEventReceivedEvent; [rw]

  

  property OnCustomItemSelected: TOnCustomItemSelectedEvent; [rw]

  

  property OnClearBrowsingDataCompleted: TOnClearBrowsingDataCompletedEvent; [rw]

  

  property OnInitializationError: TOnInitializationErrorEvent; [rw]

  

  property OnEnvironmentCompleted: TNotifyEvent; [rw]

  

  property OnControllerCompleted: TNotifyEvent; [rw]

  

  property OnAfterCreated: TNotifyEvent; [rw]

  

  property OnExecuteScriptCompleted: TOnExecuteScriptCompletedEvent; [rw]

  

  property OnCapturePreviewCompleted: TOnCapturePreviewCompletedEvent; [rw]

  

  property OnGetCookiesCompleted: TOnGetCookiesCompletedEvent; [rw]

  

  property OnTrySuspendCompleted: TOnTrySuspendCompletedEvent; [rw]

  

  property OnPrintToPdfCompleted: TOnPrintToPdfCompletedEvent; [rw]

  

  property OnCompositionControllerCompleted: TNotifyEvent; [rw]

  

  property OnCallDevToolsProtocolMethodCompleted: TOnCallDevToolsProtocolMethodCompletedEvent; [rw]

  

  property OnAddScriptToExecuteOnDocumentCreatedCompleted: TOnAddScriptToExecuteOnDocumentCreatedCompletedEvent; [rw]

  

  property OnWebResourceResponseViewGetContentCompleted: TOnWebResourceResponseViewGetContentCompletedEvent; [rw]

  

  property OnWidget0CompMsg: TOnCompMsgEvent; [rw]

  

  property OnWidget1CompMsg: TOnCompMsgEvent; [rw]

  

  property OnRenderCompMsg: TOnCompMsgEvent; [rw]

  

  property OnD3DWindowCompMsg: TOnCompMsgEvent; [rw]

  

  property OnRetrieveHTMLCompleted: TOnRetrieveHTMLCompletedEvent; [rw]

  

  property OnRetrieveTextCompleted: TOnRetrieveTextCompletedEvent; [rw]

  

  property OnRetrieveMHTMLCompleted: TOnRetrieveMHTMLCompletedEvent; [rw]

  

  property OnClearCacheCompleted: TOnClearCacheCompletedEvent; [rw]

  

  property OnClearDataForOriginCompleted: TOnClearDataForOriginCompletedEvent; [rw]

  

  property OnOfflineCompleted: TOnOfflineCompletedEvent; [rw]

  

  property OnIgnoreCertificateErrorsCompleted: TOnIgnoreCertificateErrorsCompletedEvent; [rw]

  

  property OnRefreshIgnoreCacheCompleted: TOnRefreshIgnoreCacheCompletedEvent; [rw]

  

  property OnSimulateKeyEventCompleted: TOnSimulateKeyEventCompletedEvent; [rw]

  

  property OnGetCustomSchemes: TOnGetCustomSchemesEvent; [rw]

  

  property OnGetNonDefaultPermissionSettingsCompleted: TOnGetNonDefaultPermissionSettingsCompletedEvent; [rw]

  

  property OnSetPermissionStateCompleted: TOnSetPermissionStateCompletedEvent; [rw]

  

  property OnLaunchingExternalUriScheme: TOnLaunchingExternalUriSchemeEvent; [rw]

  

  property OnGetProcessExtendedInfosCompleted: TOnGetProcessExtendedInfosCompletedEvent; [rw]

  

  property OnBrowserExtensionRemoveCompleted: TOnBrowserExtensionRemoveCompletedEvent; [rw]

  

  property OnBrowserExtensionEnableCompleted: TOnBrowserExtensionEnableCompletedEvent; [rw]

  

  property OnProfileAddBrowserExtensionCompleted: TOnProfileAddBrowserExtensionCompletedEvent; [rw]

  

  property OnProfileGetBrowserExtensionsCompleted: TOnProfileGetBrowserExtensionsCompletedEvent; [rw]

  

  property OnProfileDeleted: TOnProfileDeletedEvent; [rw]

  

end;

Inheritance

TWVBrowserBase

  

|

TObject,IWVBrowserEvents



CT Web help

CodeTyphon Studio