Class TChromiumWrapper

Description
Hierarchy
Nested Types
Fields
Methods
Properties

Unit

Declaration

type TChromiumWrapper = class(TObject)

Description

TChromiumWrapper

Hierarchy

Overview

Nested Types

Protected TWrapperState = (...);

Fields

Protected FChromium: TEmbeddedChromium;
Protected FWrapperState: TWrapperState;
Protected FBrowserWindow: TBrowserWindow;

Methods

Protected procedure DoOnAfterCreated(Sender: TObject);
Protected procedure DoOnBeforeClose(Sender: TObject);
Protected procedure BrowserThread_OnClose(Sender: TObject; const browser: ICefBrowser; var aAction : TCefCloseBrowserAction);
Protected procedure BrowserThread_OnGotFocus(Sender: TObject; const browser: ICefBrowser);
Protected procedure MaybeDestroy;
Public constructor Create(AOwner: TBrowserWindow); reintroduce;
Public destructor Destroy; override;
Public function CreateBrowser: boolean;
Public procedure LoadURL(aURL: ustring);
Public procedure CloseBrowser(aForceClose: boolean);
Public function IsClosed: boolean;
Public procedure WaitForBrowserClosed;

Properties

Published property Chromium: TEmbeddedChromium read FChromium;

Description

Nested Types

Protected TWrapperState = (...);

This item has no description.

Values
  • wsNone
  • wsWaitingForClose
  • wsSentCloseEventAfterWait
  • wsDestroyAfterWait

Fields

Protected FChromium: TEmbeddedChromium;

This item has no description.

Protected FWrapperState: TWrapperState;

This item has no description.

Protected FBrowserWindow: TBrowserWindow;

This item has no description.

Methods

Protected procedure DoOnAfterCreated(Sender: TObject);

This item has no description.

Protected procedure DoOnBeforeClose(Sender: TObject);

This item has no description.

Protected procedure BrowserThread_OnClose(Sender: TObject; const browser: ICefBrowser; var aAction : TCefCloseBrowserAction);

This item has no description.

Protected procedure BrowserThread_OnGotFocus(Sender: TObject; const browser: ICefBrowser);

This item has no description.

Protected procedure MaybeDestroy;

This item has no description.

Public constructor Create(AOwner: TBrowserWindow); reintroduce;

This item has no description.

Public destructor Destroy; override;

This item has no description.

Public function CreateBrowser: boolean;

This item has no description.

Public procedure LoadURL(aURL: ustring);

This item has no description.

Public procedure CloseBrowser(aForceClose: boolean);

This item has no description.

Public function IsClosed: boolean;

This item has no description.

Public procedure WaitForBrowserClosed;

WaitForBrowserClosed calls ProcessMessages. It therefore is possible that the TBrowserWindow will be destroyed when this method returns. It is the callers responsibility to take any necessary precaution.

Properties

Published property Chromium: TEmbeddedChromium read FChromium;

This item has no description.


Generated by PasDoc 0.16.0-snapshot.