# Class TCefApplication

Description
Hierarchy
Fields
Methods
Properties

## Unit

uCEFApplication

## Declaration

`type TCefApplication = class(TCefApplicationCore)`

## Description

Main class used to simplify the CEF initialization and destruction.

## Hierarchy

- TInterfacedObject
- TCefApplicationCore
- TCefApplication

## Overview

### Fields

Protected | `FDestroyApplicationObject: boolean;`
Protected | `FDestroyAppWindows: boolean;`
Protected | `FContextInitializedHandlers: TMethodList;`

### Methods

Protected | `procedure CallContextInitializedHandlers(Data: PtrInt);`
Protected | `procedure doOnContextInitialized; override;`
Protected | `procedure BeforeInitSubProcess; override;`
Public | `constructor Create;`
Public | `destructor Destroy; override;`
Public | `procedure UpdateDeviceScaleFactor; override;`
Public | `Procedure AddContextInitializedHandler(AHandler: TNotifyEvent);`
Public | `Procedure RemoveContextInitializedHandler(AHandler: TNotifyEvent);`

### Properties

Public | `property DestroyApplicationObject : boolean read FDestroyApplicationObject write FDestroyApplicationObject;`
Public | `property DestroyAppWindows : boolean read FDestroyAppWindows write FDestroyAppWindows;`

## Description

### Fields

Protected | `FDestroyApplicationObject: boolean;`
This item has no description.

Protected | `FDestroyAppWindows: boolean;`
This item has no description.

Protected | `FContextInitializedHandlers: TMethodList;`
This item has no description.

### Methods

Protected | `procedure CallContextInitializedHandlers(Data: PtrInt);`
This item has no description.

Protected | `procedure doOnContextInitialized; override;`
This item has no description.

Protected | `procedure BeforeInitSubProcess; override;`
This item has no description.

Public | `constructor Create;`
This item has no description.

Public | `destructor Destroy; override;`
This item has no description.

Public | `procedure UpdateDeviceScaleFactor; override;`
This item has no description. Showing description inherited from TCefApplicationCore.UpdateDeviceScaleFactor. Update the DeviceScaleFactor value with the current monitor scale.

Public | `Procedure AddContextInitializedHandler(AHandler: TNotifyEvent);`
This item has no description.

Public | `Procedure RemoveContextInitializedHandler(AHandler: TNotifyEvent);`
This item has no description.

### Properties

Public | `property DestroyApplicationObject : boolean read FDestroyApplicationObject write FDestroyApplicationObject;`
This item has no description.

Public | `property DestroyAppWindows : boolean read FDestroyAppWindows write FDestroyAppWindows;`
This item has no description.

Generated by PasDoc 1.0.4.