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

TCoreWebView2Frame

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

Declaration

Source position: uWVCoreWebView2Frame.pas line 25

type TCoreWebView2Frame = class

protected

  FBaseIntf: ICoreWebView2Frame;

  

  FBaseIntf2: ICoreWebView2Frame2;

  

  FBaseIntf3: ICoreWebView2Frame3;

  

  FBaseIntf4: ICoreWebView2Frame4;

  

  FBaseIntf5: ICoreWebView2Frame5;

  

  FNameChangedToken: EventRegistrationToken;

  

  FDestroyedToken: EventRegistrationToken;

  

  FFrameNavigationStartingToken: EventRegistrationToken;

  

  FFrameNavigationCompletedToken: EventRegistrationToken;

  

  FFrameContentLoadingToken: EventRegistrationToken;

  

  FFrameDOMContentLoadedToken: EventRegistrationToken;

  

  FFrameWebMessageReceivedToken: EventRegistrationToken;

  

  FPermissionRequestedToken: EventRegistrationToken;

  

  FFrameIDCopy: Cardinal;

  

  function GetInitialized;

  

  function GetName;

  

  function GetIsDestroyed;

  

  function GetFrameID;

  

  procedure InitializeFields;

  

  procedure InitializeTokens;

  

  procedure RemoveAllEvents;

  

  function AddFrameNameChangedEvent();

  

  function AddFrameDestroyedEvent();

  

  function AddFrameNavigationStartingEvent();

  

  function AddFrameNavigationCompletedEvent();

  

  function AddFrameContentLoadingEvent();

  

  function AddFrameDOMContentLoadedEvent();

  

  function AddFrameWebMessageReceivedEvent();

  

  function AddPermissionRequestedEvent();

  

public

  constructor Create();

  

  destructor Destroy; override;

  

  function AddAllBrowserEvents();

  

  function AddHostObjectToScriptWithOrigins();

  

  function RemoveHostObjectFromScript();

  

  function ExecuteScript();

  

  function PostWebMessageAsJson();

  

  function PostWebMessageAsString();

  

  function PostSharedBufferToScript();

  

  property Initialized: Boolean; [r]

  

  property BaseIntf: ICoreWebView2Frame; [r]

  

  property FrameID: Cardinal; [r]

  

  property Name: wvstring; [r]

  

  property IsDestroyed: Boolean; [r]

  

end;

Inheritance

TCoreWebView2Frame

  

|

TObject



CT Web help

CodeTyphon Studio