Class TCefApplicationCore

Description
Hierarchy
Fields
Methods
Properties

Unit

Declaration

type TCefApplicationCore = class(TInterfacedObject, IApplicationCoreEvents)

Description

Parent class of TCefApplication used to simplify the CEF initialization and destruction.

Hierarchy

Overview

Fields

Protected FNoSandbox: boolean;
Protected FBrowserSubprocessPath: ustring;
Protected FFrameworkDirPath: ustring;
Protected FMainBundlePath: ustring;
Protected FMultiThreadedMessageLoop: boolean;
Protected FExternalMessagePump: boolean;
Protected FWindowlessRenderingEnabled: boolean;
Protected FCommandLineArgsDisabled: boolean;
Protected FCache: ustring;
Protected FRootCache: ustring;
Protected FPersistSessionCookies: boolean;
Protected FUserAgent: ustring;
Protected FUserAgentProduct: ustring;
Protected FLocale: ustring;
Protected FLogFile: ustring;
Protected FLogSeverity: TCefLogSeverity;
Protected FLogItems: TCefLogItems;
Protected FJavaScriptFlags: ustring;
Protected FResourcesDirPath: ustring;
Protected FLocalesDirPath: ustring;
Protected FRemoteDebuggingPort: integer;
Protected FUncaughtExceptionStackSize: integer;
Protected FIgnoreCertificateErrors: boolean;
Protected FBackgroundColor: TCefColor;
Protected FAcceptLanguageList: ustring;
Protected FCookieableSchemesList: ustring;
Protected FCookieableSchemesExcludeDefaults: boolean;
Protected FChromePolicyId: ustring;
Protected FChromeAppIconId: integer;
Protected FSingleProcess: boolean;
Protected FEnableMediaStream: boolean;
Protected FEnableSpeechInput: boolean;
Protected FUseFakeUIForMediaStream: boolean;
Protected FEnableUsermediaScreenCapturing: boolean;
Protected FEnableGPU: boolean;
Protected FEnableFeatures: ustring;
Protected FDisableFeatures: ustring;
Protected FEnableBlinkFeatures: ustring;
Protected FDisableBlinkFeatures: ustring;
Protected FBlinkSettings: ustring;
Protected FForceFieldTrials: ustring;
Protected FForceFieldTrialParams: ustring;
Protected FSmoothScrolling: TCefState;
Protected FMuteAudio: boolean;
Protected FSitePerProcess: boolean;
Protected FDisableWebSecurity: boolean;
Protected FDisablePDFExtension: boolean;
Protected FDisableSiteIsolationTrials: boolean;
Protected FDisableChromeLoginPrompt: boolean;
Protected FDisableExtensions: boolean;
Protected FAutoplayPolicy: TCefAutoplayPolicy;
Protected FDisableBackgroundNetworking: boolean;
Protected FMetricsRecordingOnly: boolean;
Protected FAllowFileAccessFromFiles: boolean;
Protected FAllowRunningInsecureContent: boolean;
Protected FEnablePrintPreview: boolean;
Protected FDefaultEncoding: ustring;
Protected FDisableJavascript: boolean;
Protected FDisableJavascriptCloseWindows: boolean;
Protected FDisableJavascriptAccessClipboard: boolean;
Protected FDisableJavascriptDomPaste: boolean;
Protected FAllowUniversalAccessFromFileUrls: boolean;
Protected FDisableImageLoading: boolean;
Protected FImageShrinkStandaloneToFit: boolean;
Protected FDisableTextAreaResize: boolean;
Protected FDisableTabToLinks: boolean;
Protected FEnableProfanityFilter: boolean;
Protected FDisableSpellChecking: boolean;
Protected FOverrideSpellCheckLang: ustring;
Protected FTouchEvents: TCefState;
Protected FDisableReadingFromCanvas: boolean;
Protected FHyperlinkAuditing: boolean;
Protected FDisableNewBrowserInfoTimeout: boolean;
Protected FDevToolsProtocolLogFile: ustring;
Protected FForcedDeviceScaleFactor: single;
Protected FDisableZygote: boolean;
Protected FUseMockKeyChain: boolean;
Protected FDisableRequestHandlingForTesting: boolean;
Protected FDisablePopupBlocking: boolean;
Protected FDisableBackForwardCache: boolean;
Protected FDisableComponentUpdate: boolean;
Protected FAllowInsecureLocalhost: boolean;
Protected FKioskPrinting: boolean;
Protected FTreatInsecureOriginAsSecure: ustring;
Protected FNetLogEnabled: boolean;
Protected FNetLogFile: ustring;
Protected FNetLogCaptureMode: TCefNetLogCaptureMode;
Protected FRemoteAllowOrigins: ustring;
Protected FAutoAcceptCamAndMicCapture: boolean;
Protected FUIColorMode: TCefUIColorMode;
Protected FDisableHangMonitor: boolean;
Protected FHideCrashRestoreBubble: boolean;
Protected FPostQuantumKyber: TCefState;
Protected FWindowsSandboxInfo: pointer;
Protected FDeleteCache: boolean;
Protected FDeleteCookies: boolean;
Protected FCheckCEFFiles: boolean;
Protected FShowMessageDlg: boolean;
Protected FMissingBinariesException: boolean;
Protected FSetCurrentDir: boolean;
Protected FGlobalContextInitialized: boolean;
Protected FChromeVersionInfo: TFileVersionInfo;
Protected FLibLoaded: boolean;
Protected FLogProcessInfo: boolean;
Protected FReRaiseExceptions: boolean;
Protected FDeviceScaleFactor: single;
Protected FLocalesRequired: ustring;
Protected FProcessType: TCefProcessType;
Protected FMustCreateResourceBundleHandler: boolean;
Protected FMustCreateBrowserProcessHandler: boolean;
Protected FMustCreateRenderProcessHandler: boolean;
Protected FMustCreateLoadHandler: boolean;
Protected FStatus: TCefAplicationStatus;
Protected FMissingLibFiles: string;
Protected FMustFreeLibrary: boolean;
Protected FLastErrorMessage: ustring;
Protected FLibHandle: TLibHandle;
Protected FCustomCommandLines: TStringList;
Protected FCustomCommandLineValues: TStringList;
Protected FAppSettings: TCefSettings;
Protected FDisableGPUCache: boolean;
Protected FComponentIDList: TCEFComponentIdList;
Protected FOnRegisterCustomSchemes: TOnRegisterCustomSchemesEvent;
Protected FOnRegisterCustomPreferences: TOnRegisterCustomPreferencesEvent;
Protected FOnContextInitialized: TOnContextInitializedEvent;
Protected FOnBeforeChildProcessLaunch: TOnBeforeChildProcessLaunchEvent;
Protected FOnAlreadyRunningAppRelaunch: TOnAlreadyRunningAppRelaunchEvent;
Protected FOnScheduleMessagePumpWork: TOnScheduleMessagePumpWorkEvent;
Protected FOnGetDefaultClient: TOnGetDefaultClientEvent;
Protected FOnGetDefaultRequestContextHandler: TOnGetDefaultRequestContextHandlerEvent;
Protected FOnGetLocalizedString: TOnGetLocalizedStringEvent;
Protected FOnGetDataResource: TOnGetDataResourceEvent;
Protected FOnGetDataResourceForScale: TOnGetDataResourceForScaleEvent;
Protected FOnWebKitInitialized: TOnWebKitInitializedEvent;
Protected FOnBrowserCreated: TOnBrowserCreatedEvent;
Protected FOnBrowserDestroyed: TOnBrowserDestroyedEvent;
Protected FOnContextCreated: TOnContextCreatedEvent;
Protected FOnContextReleased: TOnContextReleasedEvent;
Protected FOnUncaughtException: TOnUncaughtExceptionEvent;
Protected FOnFocusedNodeChanged: TOnFocusedNodeChangedEvent;
Protected FOnProcessMessageReceived: TOnProcessMessageReceivedEvent;
Protected FOnLoadingStateChange: TOnRenderLoadingStateChange;
Protected FOnLoadStart: TOnRenderLoadStart;
Protected FOnLoadEnd: TOnRenderLoadEnd;
Protected FOnLoadError: TOnRenderLoadError;

Methods

Protected procedure SetCache(const aValue : ustring);
Protected procedure SetRootCache(const aValue : ustring);
Protected procedure SetBrowserSubprocessPath(const aValue : ustring);
Protected procedure SetFrameworkDirPath(const aValue : ustring);
Protected procedure SetResourcesDirPath(const aValue : ustring);
Protected procedure SetLocalesDirPath(const aValue : ustring);
Protected procedure SetOsmodalLoop(aValue : boolean);
Protected procedure SetKioskPrinting(aValue : boolean);
Protected function GetChromeVersion: ustring;
Protected function GetLibCefVersion: ustring;
Protected function GetLibCefPath: ustring;
Protected function GetChromeElfPath: ustring;
Protected function GetLocalesDirPath: ustring;
Protected function GetResourcesDirPath: ustring;
Protected function GetMustCreateResourceBundleHandler: boolean; virtual;
Protected function GetMustCreateBrowserProcessHandler: boolean; virtual;
Protected function GetMustCreateRenderProcessHandler: boolean; virtual;
Protected function GetMustCreateLoadHandler: boolean; virtual;
Protected function GetGlobalContextInitialized: boolean;
Protected function GetChildProcessesCount: integer;
Protected function GetUsedMemory: uint64;
Protected function GetTotalSystemMemory: uint64;
Protected function GetAvailableSystemMemory: uint64;
Protected function GetSystemMemoryLoad: cardinal;
Protected function GetApiHashUniversal: ustring;
Protected function GetApiHashPlatform: ustring;
Protected function GetApiHashCommit: ustring;
Protected function GetExitCode: TCefResultCode;
Protected function LoadCEFlibrary: boolean; virtual;
Protected function Load_cef_api_hash_h: boolean;
Protected function Load_cef_app_capi_h: boolean;
Protected function Load_cef_app_win_h: boolean;
Protected function Load_cef_browser_capi_h: boolean;
Protected function Load_cef_command_line_capi_h: boolean;
Protected function Load_cef_cookie_capi_h: boolean;
Protected function Load_cef_crash_util_h: boolean;
Protected function Load_cef_drag_data_capi_h: boolean;
Protected function Load_cef_dump_without_crashing_internal_h: boolean;
Protected function Load_cef_file_util_capi_h: boolean;
Protected function Load_cef_i18n_util_capi_h: boolean;
Protected function Load_cef_image_capi_h: boolean;
Protected function Load_cef_menu_model_capi_h: boolean;
Protected function Load_cef_media_router_capi_h: boolean;
Protected function Load_cef_origin_whitelist_capi_h: boolean;
Protected function Load_cef_parser_capi_h: boolean;
Protected function Load_cef_path_util_capi_h: boolean;
Protected function Load_cef_preference_capi_h: boolean;
Protected function Load_cef_print_settings_capi_h: boolean;
Protected function Load_cef_process_message_capi_h: boolean;
Protected function Load_cef_process_util_capi_h: boolean;
Protected function Load_cef_request_capi_h: boolean;
Protected function Load_cef_request_context_capi_h: boolean;
Protected function Load_cef_resource_bundle_capi_h: boolean;
Protected function Load_cef_response_capi_h: boolean;
Protected function Load_cef_scheme_capi_h: boolean;
Protected function Load_cef_server_capi_h: boolean;
Protected function Load_cef_shared_process_message_builder_capi_h: boolean;
Protected function Load_cef_ssl_info_capi_h: boolean;
Protected function Load_cef_stream_capi_h: boolean;
Protected function Load_cef_task_capi_h: boolean;
Protected function Load_cef_task_manager_capi_h: boolean;
Protected function Load_cef_thread_capi_h: boolean;
Protected function Load_cef_trace_capi_h: boolean;
Protected function Load_cef_urlrequest_capi_h: boolean;
Protected function Load_cef_v8_capi_h: boolean;
Protected function Load_cef_values_capi_h: boolean;
Protected function Load_cef_waitable_event_capi_h: boolean;
Protected function Load_cef_xml_reader_capi_h: boolean;
Protected function Load_cef_zip_reader_capi_h: boolean;
Protected function Load_cef_logging_internal_h: boolean;
Protected function Load_cef_string_list_h: boolean;
Protected function Load_cef_string_map_h: boolean;
Protected function Load_cef_string_multimap_h: boolean;
Protected function Load_cef_string_types_h: boolean;
Protected function Load_cef_thread_internal_h: boolean;
Protected function Load_cef_trace_event_internal_h: boolean;
Protected function Load_cef_browser_view_capi_h: boolean;
Protected function Load_cef_display_capi_h: boolean;
Protected function Load_cef_label_button_capi_h: boolean;
Protected function Load_cef_menu_button_capi_h: boolean;
Protected function Load_cef_panel_capi_h: boolean;
Protected function Load_cef_scroll_view_capi_h: boolean;
Protected function Load_cef_textfield_capi_h: boolean;
Protected function Load_cef_window_capi_h: boolean;
Protected function Load_cef_types_linux_h: boolean;
Protected function Load_cef_time_h: boolean;
Protected procedure doOnBeforeCommandLineProcessing(const processType: ustring; const commandLine: ICefCommandLine); virtual;
Protected procedure doOnRegisterCustomSchemes(const registrar: TCefSchemeRegistrarRef); virtual;
Protected procedure doOnRegisterCustomPreferences(type_: TCefPreferencesType; registrar: PCefPreferenceRegistrar); virtual;
Protected procedure doOnContextInitialized; virtual;
Protected procedure doOnBeforeChildProcessLaunch(const commandLine: ICefCommandLine); virtual;
Protected procedure doOnAlreadyRunningAppRelaunch(const commandLine: ICefCommandLine; const current_directory: ustring; var aResult: boolean); virtual;
Protected procedure doOnScheduleMessagePumpWork(const delayMs: Int64); virtual;
Protected procedure doGetDefaultClient(var aClient : ICefClient); virtual;
Protected procedure doGetDefaultRequestContextHandler(var aRequestContextHandler : ICefRequestContextHandler); virtual;
Protected function doGetLocalizedString(stringid: Integer; var stringVal: ustring): Boolean; virtual;
Protected function doGetDataResource(resourceId: Integer; var data: Pointer; var dataSize: NativeUInt): Boolean; virtual;
Protected function doGetDataResourceForScale(resourceId: Integer; scaleFactor: TCefScaleFactor; var data: Pointer; var dataSize: NativeUInt): Boolean; virtual;
Protected procedure doOnWebKitInitialized; virtual;
Protected procedure doOnBrowserCreated(const browser: ICefBrowser; const extra_info: ICefDictionaryValue); virtual;
Protected procedure doOnBrowserDestroyed(const browser: ICefBrowser); virtual;
Protected procedure doOnContextCreated(const browser: ICefBrowser; const frame: ICefFrame; const context: ICefv8Context); virtual;
Protected procedure doOnContextReleased(const browser: ICefBrowser; const frame: ICefFrame; const context: ICefv8Context); virtual;
Protected procedure doOnUncaughtException(const browser: ICefBrowser; const frame: ICefFrame; const context: ICefv8Context; const V8Exception: ICefV8Exception; const stackTrace: ICefV8StackTrace); virtual;
Protected procedure doOnFocusedNodeChanged(const browser: ICefBrowser; const frame: ICefFrame; const node: ICefDomNode); virtual;
Protected procedure doOnProcessMessageReceived(const browser: ICefBrowser; const frame: ICefFrame; sourceProcess: TCefProcessId; const aMessage: ICefProcessMessage; var aHandled : boolean); virtual;
Protected procedure doOnLoadingStateChange(const browser: ICefBrowser; isLoading, canGoBack, canGoForward: Boolean); virtual;
Protected procedure doOnLoadStart(const browser: ICefBrowser; const frame: ICefFrame; transitionType: TCefTransitionType); virtual;
Protected procedure doOnLoadEnd(const browser: ICefBrowser; const frame: ICefFrame; httpStatusCode: Integer); virtual;
Protected procedure doOnLoadError(const browser: ICefBrowser; const frame: ICefFrame; errorCode: TCefErrorCode; const errorText, failedUrl: ustring); virtual;
Protected procedure ShutDown;
Protected procedure FreeLibcefLibrary;
Protected function ExecuteProcess(const aApp : ICefApp) : integer;
Protected procedure InitializeCefMainArgs(var aCefMainArgs : TCefMainArgs);
Protected procedure InitializeSettings(var aSettings : TCefSettings);
Protected function InitializeLibrary(const aApp : ICefApp) : boolean;
Protected procedure RenameAndDeleteDir(const aDirectory : string; aKeepCookies : boolean = False);
Protected procedure DeleteCacheContents(const aDirectory : string);
Protected procedure DeleteCookiesDB(const aDirectory : string);
Protected procedure MoveCookiesDB(const aSrcDirectory, aDstDirectory : string);
Protected function MultiExeProcessing: boolean;
Protected function SingleExeProcessing: boolean;
Protected procedure BeforeInitSubProcess; virtual;
Protected function CheckCEFResources: boolean; virtual;
Protected function CheckCEFDLL: boolean; virtual;
Protected function CheckWindowsVersion: boolean; virtual;
Protected procedure ShowErrorMessageDlg(const aError : string); virtual;
Protected function ParseProcessType: TCefProcessType;
Protected procedure AddCustomCommandLineSwitches(var aKeys, aValues : TStringList); virtual;
Protected procedure AppendSwitch(var aKeys, aValues : TStringList; const aNewKey : ustring; const aNewValue : ustring = '');
Protected procedure ReplaceSwitch(var aKeys, aValues : TStringList; const aNewKey : ustring; const aNewValue : ustring = '');
Protected procedure CleanupFeatures(var aKeys, aValues : TStringList; const aEnableKey, aDisableKey : string);
Protected procedure ClearSchemeHandlerFactories;
Public constructor Create;
Public destructor Destroy; override;
Public procedure AfterConstruction; override;
Public procedure AddCustomCommandLine(const aCommandLine : string; const aValue : string = '');
Public function CheckCEFLibrary: boolean;
Public function StartMainProcess: boolean;
Public function StartSubProcess: boolean;
Public procedure DoMessageLoopWork;
Public procedure RunMessageLoop;
Public procedure QuitMessageLoop;
Public procedure UpdateDeviceScaleFactor; virtual;
Public function ValidComponentID(aComponentID : integer) : boolean;
Public function NextComponentID: integer;
Public procedure RemoveComponentID(aComponentID : integer);
Public function DumpWithoutCrashing(mseconds_between_dumps: int64; const function_name, file_name: ustring; line_number: integer): boolean;
Public function DumpWithoutCrashingUnthrottled: boolean;

Properties

Public property NoSandbox : Boolean read FNoSandbox write FNoSandbox;
Public property BrowserSubprocessPath : ustring read FBrowserSubprocessPath write SetBrowserSubprocessPath;
Public property FrameworkDirPath : ustring read FFrameworkDirPath write SetFrameworkDirPath;
Public property MainBundlePath : ustring read FMainBundlePath write FMainBundlePath;
Public property MultiThreadedMessageLoop : boolean read FMultiThreadedMessageLoop write FMultiThreadedMessageLoop;
Public property ExternalMessagePump : boolean read FExternalMessagePump write FExternalMessagePump;
Public property WindowlessRenderingEnabled : Boolean read FWindowlessRenderingEnabled write FWindowlessRenderingEnabled;
Public property CommandLineArgsDisabled : Boolean read FCommandLineArgsDisabled write FCommandLineArgsDisabled;
Public property Cache : ustring read FCache write SetCache;
Public property RootCache : ustring read FRootCache write SetRootCache;
Public property PersistSessionCookies : Boolean read FPersistSessionCookies write FPersistSessionCookies;
Public property UserAgent : ustring read FUserAgent write FUserAgent;
Public property UserAgentProduct : ustring read FUserAgentProduct write FUserAgentProduct;
Public property Locale : ustring read FLocale write FLocale;
Public property LogFile : ustring read FLogFile write FLogFile;
Public property LogSeverity : TCefLogSeverity read FLogSeverity write FLogSeverity;
Public property LogItems : TCefLogItems read FLogItems write FLogItems;
Public property JavaScriptFlags : ustring read FJavaScriptFlags write FJavaScriptFlags;
Public property ResourcesDirPath : ustring read GetResourcesDirPath write SetResourcesDirPath;
Public property LocalesDirPath : ustring read GetLocalesDirPath write SetLocalesDirPath;
Public property RemoteDebuggingPort : Integer read FRemoteDebuggingPort write FRemoteDebuggingPort;
Public property UncaughtExceptionStackSize : Integer read FUncaughtExceptionStackSize write FUncaughtExceptionStackSize;
Public property BackgroundColor : TCefColor read FBackgroundColor write FBackgroundColor;
Public property AcceptLanguageList : ustring read FAcceptLanguageList write FAcceptLanguageList;
Public property CookieableSchemesList : ustring read FCookieableSchemesList write FCookieableSchemesList;
Public property CookieableSchemesExcludeDefaults : boolean read FCookieableSchemesExcludeDefaults write FCookieableSchemesExcludeDefaults;
Public property ChromePolicyId : ustring read FChromePolicyId write FChromePolicyId;
Public property ChromeAppIconId : integer read FChromeAppIconId write FChromeAppIconId;
Public property SingleProcess : Boolean read FSingleProcess write FSingleProcess;
Public property EnableMediaStream : boolean read FEnableMediaStream write FEnableMediaStream;
Public property EnableSpeechInput : boolean read FEnableSpeechInput write FEnableSpeechInput;
Public property UseFakeUIForMediaStream : boolean read FUseFakeUIForMediaStream write FUseFakeUIForMediaStream;
Public property EnableUsermediaScreenCapturing : boolean read FEnableUsermediaScreenCapturing write FEnableUsermediaScreenCapturing;
Public property EnableGPU : boolean read FEnableGPU write FEnableGPU;
Public property EnableFeatures : ustring read FEnableFeatures write FEnableFeatures;
Public property DisableFeatures : ustring read FDisableFeatures write FDisableFeatures;
Public property EnableBlinkFeatures : ustring read FEnableBlinkFeatures write FEnableBlinkFeatures;
Public property DisableBlinkFeatures : ustring read FDisableBlinkFeatures write FDisableBlinkFeatures;
Public property BlinkSettings : ustring read FBlinkSettings write FBlinkSettings;
Public property ForceFieldTrials : ustring read FForceFieldTrials write FForceFieldTrials;
Public property ForceFieldTrialParams : ustring read FForceFieldTrialParams write FForceFieldTrialParams;
Public property SmoothScrolling : TCefState read FSmoothScrolling write FSmoothScrolling;
Public property MuteAudio : boolean read FMuteAudio write FMuteAudio;
Public property SitePerProcess : boolean read FSitePerProcess write FSitePerProcess;
Public property DisableWebSecurity : boolean read FDisableWebSecurity write FDisableWebSecurity;
Public property DisablePDFExtension : boolean read FDisablePDFExtension write FDisablePDFExtension;
Public property DisableSiteIsolationTrials : boolean read FDisableSiteIsolationTrials write FDisableSiteIsolationTrials;
Public property DisableChromeLoginPrompt : boolean read FDisableChromeLoginPrompt write FDisableChromeLoginPrompt;
Public property DisableExtensions : boolean read FDisableExtensions write FDisableExtensions;
Public property AutoplayPolicy : TCefAutoplayPolicy read FAutoplayPolicy write FAutoplayPolicy;
Public property DisableBackgroundNetworking : boolean read FDisableBackgroundNetworking write FDisableBackgroundNetworking;
Public property MetricsRecordingOnly : boolean read FMetricsRecordingOnly write FMetricsRecordingOnly;
Public property AllowFileAccessFromFiles : boolean read FAllowFileAccessFromFiles write FAllowFileAccessFromFiles;
Public property AllowRunningInsecureContent : boolean read FAllowRunningInsecureContent write FAllowRunningInsecureContent;
Public property EnablePrintPreview : boolean read FEnablePrintPreview write FEnablePrintPreview;
Public property DefaultEncoding : ustring read FDefaultEncoding write FDefaultEncoding;
Public property DisableJavascript : boolean read FDisableJavascript write FDisableJavascript;
Public property DisableJavascriptCloseWindows : boolean read FDisableJavascriptCloseWindows write FDisableJavascriptCloseWindows;
Public property DisableJavascriptAccessClipboard : boolean read FDisableJavascriptAccessClipboard write FDisableJavascriptAccessClipboard;
Public property DisableJavascriptDomPaste : boolean read FDisableJavascriptDomPaste write FDisableJavascriptDomPaste;
Public property AllowUniversalAccessFromFileUrls : boolean read FAllowUniversalAccessFromFileUrls write FAllowUniversalAccessFromFileUrls;
Public property DisableImageLoading : boolean read FDisableImageLoading write FDisableImageLoading;
Public property ImageShrinkStandaloneToFit : boolean read FImageShrinkStandaloneToFit write FImageShrinkStandaloneToFit;
Public property DisableTextAreaResize : boolean read FDisableTextAreaResize write FDisableTextAreaResize;
Public property DisableTabToLinks : boolean read FDisableTabToLinks write FDisableTabToLinks;
Public property EnableProfanityFilter : boolean read FEnableProfanityFilter write FEnableProfanityFilter;
Public property DisableSpellChecking : boolean read FDisableSpellChecking write FDisableSpellChecking;
Public property OverrideSpellCheckLang : ustring read FOverrideSpellCheckLang write FOverrideSpellCheckLang;
Public property TouchEvents : TCefState read FTouchEvents write FTouchEvents;
Public property DisableReadingFromCanvas : boolean read FDisableReadingFromCanvas write FDisableReadingFromCanvas;
Public property HyperlinkAuditing : boolean read FHyperlinkAuditing write FHyperlinkAuditing;
Public property DisableNewBrowserInfoTimeout : boolean read FDisableNewBrowserInfoTimeout write FDisableNewBrowserInfoTimeout;
Public property DevToolsProtocolLogFile : ustring read FDevToolsProtocolLogFile write FDevToolsProtocolLogFile;
Public property ForcedDeviceScaleFactor : single read FForcedDeviceScaleFactor write FForcedDeviceScaleFactor;
Public property DisableZygote : boolean read FDisableZygote write FDisableZygote;
Public property UseMockKeyChain : boolean read FUseMockKeyChain write FUseMockKeyChain;
Public property DisableRequestHandlingForTesting : boolean read FDisableRequestHandlingForTesting write FDisableRequestHandlingForTesting;
Public property DisablePopupBlocking : boolean read FDisablePopupBlocking write FDisablePopupBlocking;
Public property DisableBackForwardCache : boolean read FDisableBackForwardCache write FDisableBackForwardCache;
Public property DisableComponentUpdate : boolean read FDisableComponentUpdate write FDisableComponentUpdate;
Public property AllowInsecureLocalhost : boolean read FAllowInsecureLocalhost write FAllowInsecureLocalhost;
Public property KioskPrinting : boolean read FKioskPrinting write SetKioskPrinting;
Public property TreatInsecureOriginAsSecure : ustring read FTreatInsecureOriginAsSecure write FTreatInsecureOriginAsSecure;
Public property NetLogEnabled : boolean read FNetLogEnabled write FNetLogEnabled;
Public property NetLogFile : ustring read FNetLogFile write FNetLogFile;
Public property NetLogCaptureMode : TCefNetLogCaptureMode read FNetLogCaptureMode write FNetLogCaptureMode;
Public property RemoteAllowOrigins : ustring read FRemoteAllowOrigins write FRemoteAllowOrigins;
Public property AutoAcceptCamAndMicCapture : boolean read FAutoAcceptCamAndMicCapture write FAutoAcceptCamAndMicCapture;
Public property UIColorMode : TCefUIColorMode read FUIColorMode write FUIColorMode;
Public property DisableHangMonitor : boolean read FDisableHangMonitor write FDisableHangMonitor;
Public property HideCrashRestoreBubble : boolean read FHideCrashRestoreBubble write FHideCrashRestoreBubble;
Public property TLS13HybridizedKyberSupport : TCefState read FPostQuantumKyber write FPostQuantumKyber;
Public property IgnoreCertificateErrors : Boolean read FIgnoreCertificateErrors write FIgnoreCertificateErrors;
Public property WindowsSandboxInfo : Pointer read FWindowsSandboxInfo write FWindowsSandboxInfo;
Public property DeleteCache : boolean read FDeleteCache write FDeleteCache;
Public property DeleteCookies : boolean read FDeleteCookies write FDeleteCookies;
Public property CheckCEFFiles : boolean read FCheckCEFFiles write FCheckCEFFiles;
Public property ShowMessageDlg : boolean read FShowMessageDlg write FShowMessageDlg;
Public property MissingBinariesException : boolean read FMissingBinariesException write FMissingBinariesException;
Public property SetCurrentDir : boolean read FSetCurrentDir write FSetCurrentDir;
Public property GlobalContextInitialized : boolean read GetGlobalContextInitialized;
Public property ChromeMajorVer : uint16 read FChromeVersionInfo.MajorVer;
Public property ChromeMinorVer : uint16 read FChromeVersionInfo.MinorVer;
Public property ChromeRelease : uint16 read FChromeVersionInfo.Release;
Public property ChromeBuild : uint16 read FChromeVersionInfo.Build;
Public property ChromeVersion : ustring read GetChromeVersion;
Public property LibCefVersion : ustring read GetLibCefVersion;
Public property LibCefPath : ustring read GetLibCefPath;
Public property ChromeElfPath : ustring read GetChromeElfPath;
Public property LibLoaded : boolean read FLibLoaded;
Public property LogProcessInfo : boolean read FLogProcessInfo write FLogProcessInfo;
Public property ReRaiseExceptions : boolean read FReRaiseExceptions write FReRaiseExceptions;
Public property DeviceScaleFactor : single read FDeviceScaleFactor;
Public property LocalesRequired : ustring read FLocalesRequired write FLocalesRequired;
Public property ProcessType : TCefProcessType read FProcessType;
Public property MustCreateResourceBundleHandler : boolean read GetMustCreateResourceBundleHandler write FMustCreateResourceBundleHandler;
Public property MustCreateBrowserProcessHandler : boolean read GetMustCreateBrowserProcessHandler write FMustCreateBrowserProcessHandler;
Public property MustCreateRenderProcessHandler : boolean read GetMustCreateRenderProcessHandler write FMustCreateRenderProcessHandler;
Public property MustCreateLoadHandler : boolean read GetMustCreateLoadHandler write FMustCreateLoadHandler;
Public property OsmodalLoop : boolean write SetOsmodalLoop;
Public property Status : TCefAplicationStatus read FStatus;
Public property MissingLibFiles : string read FMissingLibFiles;
Public property MustFreeLibrary : boolean read FMustFreeLibrary write FMustFreeLibrary;
Public property ChildProcessesCount : integer read GetChildProcessesCount;
Public property UsedMemory : uint64 read GetUsedMemory;
Public property TotalSystemMemory : uint64 read GetTotalSystemMemory;
Public property AvailableSystemMemory : uint64 read GetAvailableSystemMemory;
Public property SystemMemoryLoad : cardinal read GetSystemMemoryLoad;
Public property ApiHashUniversal : ustring read GetApiHashUniversal;
Public property ApiHashPlatform : ustring read GetApiHashPlatform;
Public property ApiHashCommit : ustring read GetApiHashCommit;
Public property ExitCode : TCefResultCode read GetExitCode;
Public property LastErrorMessage : ustring read FLastErrorMessage;
Public property OnRegCustomSchemes : TOnRegisterCustomSchemesEvent read FOnRegisterCustomSchemes write FOnRegisterCustomSchemes;
Public property OnRegisterCustomPreferences : TOnRegisterCustomPreferencesEvent read FOnRegisterCustomPreferences write FOnRegisterCustomPreferences;
Public property OnContextInitialized : TOnContextInitializedEvent read FOnContextInitialized write FOnContextInitialized;
Public property OnBeforeChildProcessLaunch : TOnBeforeChildProcessLaunchEvent read FOnBeforeChildProcessLaunch write FOnBeforeChildProcessLaunch;
Public property OnAlreadyRunningAppRelaunch : TOnAlreadyRunningAppRelaunchEvent read FOnAlreadyRunningAppRelaunch write FOnAlreadyRunningAppRelaunch;
Public property OnScheduleMessagePumpWork : TOnScheduleMessagePumpWorkEvent read FOnScheduleMessagePumpWork write FOnScheduleMessagePumpWork;
Public property OnGetDefaultClient : TOnGetDefaultClientEvent read FOnGetDefaultClient write FOnGetDefaultClient;
Public property OnGetDefaultRequestContextHandler : TOnGetDefaultRequestContextHandlerEvent read FOnGetDefaultRequestContextHandler write FOnGetDefaultRequestContextHandler;
Public property OnGetLocalizedString : TOnGetLocalizedStringEvent read FOnGetLocalizedString write FOnGetLocalizedString;
Public property OnGetDataResource : TOnGetDataResourceEvent read FOnGetDataResource write FOnGetDataResource;
Public property OnGetDataResourceForScale : TOnGetDataResourceForScaleEvent read FOnGetDataResourceForScale write FOnGetDataResourceForScale;
Public property OnWebKitInitialized : TOnWebKitInitializedEvent read FOnWebKitInitialized write FOnWebKitInitialized;
Public property OnBrowserCreated : TOnBrowserCreatedEvent read FOnBrowserCreated write FOnBrowserCreated;
Public property OnBrowserDestroyed : TOnBrowserDestroyedEvent read FOnBrowserDestroyed write FOnBrowserDestroyed;
Public property OnContextCreated : TOnContextCreatedEvent read FOnContextCreated write FOnContextCreated;
Public property OnContextReleased : TOnContextReleasedEvent read FOnContextReleased write FOnContextReleased;
Public property OnUncaughtException : TOnUncaughtExceptionEvent read FOnUncaughtException write FOnUncaughtException;
Public property OnFocusedNodeChanged : TOnFocusedNodeChangedEvent read FOnFocusedNodeChanged write FOnFocusedNodeChanged;
Public property OnProcessMessageReceived : TOnProcessMessageReceivedEvent read FOnProcessMessageReceived write FOnProcessMessageReceived;
Public property OnLoadingStateChange : TOnRenderLoadingStateChange read FOnLoadingStateChange write FOnLoadingStateChange;
Public property OnLoadStart : TOnRenderLoadStart read FOnLoadStart write FOnLoadStart;
Public property OnLoadEnd : TOnRenderLoadEnd read FOnLoadEnd write FOnLoadEnd;
Public property OnLoadError : TOnRenderLoadError read FOnLoadError write FOnLoadError;

Description

Fields

Protected FNoSandbox: boolean;

Fields used to populate TCefSettings

Protected FBrowserSubprocessPath: ustring;

This item has no description.

Protected FFrameworkDirPath: ustring;

This item has no description.

Protected FMainBundlePath: ustring;

This item has no description.

Protected FMultiThreadedMessageLoop: boolean;

Only used in macOS

Protected FExternalMessagePump: boolean;

This item has no description.

Protected FWindowlessRenderingEnabled: boolean;

This item has no description.

Protected FCommandLineArgsDisabled: boolean;

This item has no description.

Protected FCache: ustring;

This item has no description.

Protected FRootCache: ustring;

This item has no description.

Protected FPersistSessionCookies: boolean;

This item has no description.

Protected FUserAgent: ustring;

This item has no description.

Protected FUserAgentProduct: ustring;

This item has no description.

Protected FLocale: ustring;

This item has no description.

Protected FLogFile: ustring;

This item has no description.

Protected FLogSeverity: TCefLogSeverity;

This item has no description.

Protected FLogItems: TCefLogItems;

This item has no description.

Protected FJavaScriptFlags: ustring;

This item has no description.

Protected FResourcesDirPath: ustring;

This item has no description.

Protected FLocalesDirPath: ustring;

This item has no description.

Protected FRemoteDebuggingPort: integer;

This item has no description.

Protected FUncaughtExceptionStackSize: integer;

This item has no description.

Protected FIgnoreCertificateErrors: boolean;

This item has no description.

Protected FBackgroundColor: TCefColor;

This item has no description.

Protected FAcceptLanguageList: ustring;

This item has no description.

Protected FCookieableSchemesList: ustring;

This item has no description.

Protected FCookieableSchemesExcludeDefaults: boolean;

This item has no description.

Protected FChromePolicyId: ustring;

This item has no description.

Protected FChromeAppIconId: integer;

This item has no description.

Protected FSingleProcess: boolean;

Fields used to set command line switches

Protected FEnableMediaStream: boolean;

This item has no description.

Protected FEnableSpeechInput: boolean;

This item has no description.

Protected FUseFakeUIForMediaStream: boolean;

This item has no description.

Protected FEnableUsermediaScreenCapturing: boolean;

This item has no description.

Protected FEnableGPU: boolean;

This item has no description.

Protected FEnableFeatures: ustring;

This item has no description.

Protected FDisableFeatures: ustring;

This item has no description.

Protected FEnableBlinkFeatures: ustring;

This item has no description.

Protected FDisableBlinkFeatures: ustring;

This item has no description.

Protected FBlinkSettings: ustring;

This item has no description.

Protected FForceFieldTrials: ustring;

This item has no description.

Protected FForceFieldTrialParams: ustring;

This item has no description.

Protected FSmoothScrolling: TCefState;

This item has no description.

Protected FMuteAudio: boolean;

This item has no description.

Protected FSitePerProcess: boolean;

This item has no description.

Protected FDisableWebSecurity: boolean;

This item has no description.

Protected FDisablePDFExtension: boolean;

This item has no description.

Protected FDisableSiteIsolationTrials: boolean;

This item has no description.

Protected FDisableChromeLoginPrompt: boolean;

This item has no description.

Protected FDisableExtensions: boolean;

This item has no description.

Protected FAutoplayPolicy: TCefAutoplayPolicy;

This item has no description.

Protected FDisableBackgroundNetworking: boolean;

This item has no description.

Protected FMetricsRecordingOnly: boolean;

This item has no description.

Protected FAllowFileAccessFromFiles: boolean;

This item has no description.

Protected FAllowRunningInsecureContent: boolean;

This item has no description.

Protected FEnablePrintPreview: boolean;

This item has no description.

Protected FDefaultEncoding: ustring;

This item has no description.

Protected FDisableJavascript: boolean;

This item has no description.

Protected FDisableJavascriptCloseWindows: boolean;

This item has no description.

Protected FDisableJavascriptAccessClipboard: boolean;

This item has no description.

Protected FDisableJavascriptDomPaste: boolean;

This item has no description.

Protected FAllowUniversalAccessFromFileUrls: boolean;

This item has no description.

Protected FDisableImageLoading: boolean;

This item has no description.

Protected FImageShrinkStandaloneToFit: boolean;

This item has no description.

Protected FDisableTextAreaResize: boolean;

This item has no description.

Protected FDisableTabToLinks: boolean;

This item has no description.

Protected FEnableProfanityFilter: boolean;

This item has no description.

Protected FDisableSpellChecking: boolean;

This item has no description.

Protected FOverrideSpellCheckLang: ustring;

This item has no description.

Protected FTouchEvents: TCefState;

This item has no description.

Protected FDisableReadingFromCanvas: boolean;

This item has no description.

Protected FHyperlinkAuditing: boolean;

This item has no description.

Protected FDisableNewBrowserInfoTimeout: boolean;

This item has no description.

Protected FDevToolsProtocolLogFile: ustring;

This item has no description.

Protected FForcedDeviceScaleFactor: single;

This item has no description.

Protected FDisableZygote: boolean;

This item has no description.

Protected FUseMockKeyChain: boolean;

Only used in Linux

Protected FDisableRequestHandlingForTesting: boolean;

Only used in macOS

Protected FDisablePopupBlocking: boolean;

This item has no description.

Protected FDisableBackForwardCache: boolean;

This item has no description.

Protected FDisableComponentUpdate: boolean;

This item has no description.

Protected FAllowInsecureLocalhost: boolean;

This item has no description.

Protected FKioskPrinting: boolean;

This item has no description.

Protected FTreatInsecureOriginAsSecure: ustring;

This item has no description.

Protected FNetLogEnabled: boolean;

This item has no description.

Protected FNetLogFile: ustring;

This item has no description.

Protected FNetLogCaptureMode: TCefNetLogCaptureMode;

This item has no description.

Protected FRemoteAllowOrigins: ustring;

This item has no description.

Protected FAutoAcceptCamAndMicCapture: boolean;

This item has no description.

Protected FUIColorMode: TCefUIColorMode;

This item has no description.

Protected FDisableHangMonitor: boolean;

This item has no description.

Protected FHideCrashRestoreBubble: boolean;

This item has no description.

Protected FPostQuantumKyber: TCefState;

This item has no description.

Protected FWindowsSandboxInfo: pointer;

Fields used during the CEF initialization

Protected FDeleteCache: boolean;

Fields used by custom properties

Protected FDeleteCookies: boolean;

This item has no description.

Protected FCheckCEFFiles: boolean;

This item has no description.

Protected FShowMessageDlg: boolean;

This item has no description.

Protected FMissingBinariesException: boolean;

This item has no description.

Protected FSetCurrentDir: boolean;

This item has no description.

Protected FGlobalContextInitialized: boolean;

This item has no description.

Protected FChromeVersionInfo: TFileVersionInfo;

This item has no description.

Protected FLibLoaded: boolean;

This item has no description.

Protected FLogProcessInfo: boolean;

This item has no description.

Protected FReRaiseExceptions: boolean;

This item has no description.

Protected FDeviceScaleFactor: single;

This item has no description.

Protected FLocalesRequired: ustring;

This item has no description.

Protected FProcessType: TCefProcessType;

This item has no description.

Protected FMustCreateResourceBundleHandler: boolean;

This item has no description.

Protected FMustCreateBrowserProcessHandler: boolean;

This item has no description.

Protected FMustCreateRenderProcessHandler: boolean;

This item has no description.

Protected FMustCreateLoadHandler: boolean;

This item has no description.

Protected FStatus: TCefAplicationStatus;

This item has no description.

Protected FMissingLibFiles: string;

This item has no description.

Protected FMustFreeLibrary: boolean;

This item has no description.

Protected FLastErrorMessage: ustring;

This item has no description.

Protected FLibHandle: TLibHandle;

Internal fields

Protected FCustomCommandLines: TStringList;

This item has no description.

Protected FCustomCommandLineValues: TStringList;

This item has no description.

Protected FAppSettings: TCefSettings;

This item has no description.

Protected FDisableGPUCache: boolean;

This item has no description.

Protected FComponentIDList: TCEFComponentIdList;

This item has no description.

Protected FOnRegisterCustomSchemes: TOnRegisterCustomSchemesEvent;

ICefApp

Protected FOnRegisterCustomPreferences: TOnRegisterCustomPreferencesEvent;

ICefBrowserProcessHandler

Protected FOnContextInitialized: TOnContextInitializedEvent;

This item has no description.

Protected FOnBeforeChildProcessLaunch: TOnBeforeChildProcessLaunchEvent;

This item has no description.

Protected FOnAlreadyRunningAppRelaunch: TOnAlreadyRunningAppRelaunchEvent;

This item has no description.

Protected FOnScheduleMessagePumpWork: TOnScheduleMessagePumpWorkEvent;

This item has no description.

Protected FOnGetDefaultClient: TOnGetDefaultClientEvent;

This item has no description.

Protected FOnGetDefaultRequestContextHandler: TOnGetDefaultRequestContextHandlerEvent;

This item has no description.

Protected FOnGetLocalizedString: TOnGetLocalizedStringEvent;

ICefResourceBundleHandler

Protected FOnGetDataResource: TOnGetDataResourceEvent;

This item has no description.

Protected FOnGetDataResourceForScale: TOnGetDataResourceForScaleEvent;

This item has no description.

Protected FOnWebKitInitialized: TOnWebKitInitializedEvent;

ICefRenderProcessHandler

Protected FOnBrowserCreated: TOnBrowserCreatedEvent;

This item has no description.

Protected FOnBrowserDestroyed: TOnBrowserDestroyedEvent;

This item has no description.

Protected FOnContextCreated: TOnContextCreatedEvent;

This item has no description.

Protected FOnContextReleased: TOnContextReleasedEvent;

This item has no description.

Protected FOnUncaughtException: TOnUncaughtExceptionEvent;

This item has no description.

Protected FOnFocusedNodeChanged: TOnFocusedNodeChangedEvent;

This item has no description.

Protected FOnProcessMessageReceived: TOnProcessMessageReceivedEvent;

This item has no description.

Protected FOnLoadingStateChange: TOnRenderLoadingStateChange;

ICefLoadHandler

Protected FOnLoadStart: TOnRenderLoadStart;

This item has no description.

Protected FOnLoadEnd: TOnRenderLoadEnd;

This item has no description.

Protected FOnLoadError: TOnRenderLoadError;

This item has no description.

Methods

Protected procedure SetCache(const aValue : ustring);

This item has no description.

Protected procedure SetRootCache(const aValue : ustring);

This item has no description.

Protected procedure SetBrowserSubprocessPath(const aValue : ustring);

This item has no description.

Protected procedure SetFrameworkDirPath(const aValue : ustring);

This item has no description.

Protected procedure SetResourcesDirPath(const aValue : ustring);

This item has no description.

Protected procedure SetLocalesDirPath(const aValue : ustring);

This item has no description.

Protected procedure SetOsmodalLoop(aValue : boolean);

This item has no description.

Protected procedure SetKioskPrinting(aValue : boolean);

This item has no description.

Protected function GetChromeVersion: ustring;

This item has no description.

Protected function GetLibCefVersion: ustring;

This item has no description.

Protected function GetLibCefPath: ustring;

This item has no description.

Protected function GetChromeElfPath: ustring;

This item has no description.

Protected function GetLocalesDirPath: ustring;

This item has no description.

Protected function GetResourcesDirPath: ustring;

This item has no description.

Protected function GetMustCreateResourceBundleHandler: boolean; virtual;

This item has no description.

Protected function GetMustCreateBrowserProcessHandler: boolean; virtual;

This item has no description.

Protected function GetMustCreateRenderProcessHandler: boolean; virtual;

This item has no description.

Protected function GetMustCreateLoadHandler: boolean; virtual;

This item has no description.

Protected function GetGlobalContextInitialized: boolean;

This item has no description.

Protected function GetChildProcessesCount: integer;

This item has no description.

Protected function GetUsedMemory: uint64;

This item has no description.

Protected function GetTotalSystemMemory: uint64;

This item has no description.

Protected function GetAvailableSystemMemory: uint64;

This item has no description.

Protected function GetSystemMemoryLoad: cardinal;

This item has no description.

Protected function GetApiHashUniversal: ustring;

This item has no description.

Protected function GetApiHashPlatform: ustring;

This item has no description.

Protected function GetApiHashCommit: ustring;

This item has no description.

Protected function GetExitCode: TCefResultCode;

This item has no description.

Protected function LoadCEFlibrary: boolean; virtual;

This item has no description.

Protected function Load_cef_api_hash_h: boolean;

This item has no description.

Protected function Load_cef_app_capi_h: boolean;

This item has no description.

Protected function Load_cef_app_win_h: boolean;

This item has no description.

Protected function Load_cef_browser_capi_h: boolean;

This item has no description.

Protected function Load_cef_command_line_capi_h: boolean;

This item has no description.

Protected function Load_cef_cookie_capi_h: boolean;

This item has no description.

Protected function Load_cef_crash_util_h: boolean;

This item has no description.

Protected function Load_cef_drag_data_capi_h: boolean;

This item has no description.

Protected function Load_cef_dump_without_crashing_internal_h: boolean;

This item has no description.

Protected function Load_cef_file_util_capi_h: boolean;

This item has no description.

Protected function Load_cef_i18n_util_capi_h: boolean;

This item has no description.

Protected function Load_cef_image_capi_h: boolean;

This item has no description.

Protected function Load_cef_menu_model_capi_h: boolean;

This item has no description.

Protected function Load_cef_media_router_capi_h: boolean;

This item has no description.

Protected function Load_cef_origin_whitelist_capi_h: boolean;

This item has no description.

Protected function Load_cef_parser_capi_h: boolean;

This item has no description.

Protected function Load_cef_path_util_capi_h: boolean;

This item has no description.

Protected function Load_cef_preference_capi_h: boolean;

This item has no description.

Protected function Load_cef_print_settings_capi_h: boolean;

This item has no description.

Protected function Load_cef_process_message_capi_h: boolean;

This item has no description.

Protected function Load_cef_process_util_capi_h: boolean;

This item has no description.

Protected function Load_cef_request_capi_h: boolean;

This item has no description.

Protected function Load_cef_request_context_capi_h: boolean;

This item has no description.

Protected function Load_cef_resource_bundle_capi_h: boolean;

This item has no description.

Protected function Load_cef_response_capi_h: boolean;

This item has no description.

Protected function Load_cef_scheme_capi_h: boolean;

This item has no description.

Protected function Load_cef_server_capi_h: boolean;

This item has no description.

Protected function Load_cef_shared_process_message_builder_capi_h: boolean;

This item has no description.

Protected function Load_cef_ssl_info_capi_h: boolean;

This item has no description.

Protected function Load_cef_stream_capi_h: boolean;

This item has no description.

Protected function Load_cef_task_capi_h: boolean;

This item has no description.

Protected function Load_cef_task_manager_capi_h: boolean;

This item has no description.

Protected function Load_cef_thread_capi_h: boolean;

This item has no description.

Protected function Load_cef_trace_capi_h: boolean;

This item has no description.

Protected function Load_cef_urlrequest_capi_h: boolean;

This item has no description.

Protected function Load_cef_v8_capi_h: boolean;

This item has no description.

Protected function Load_cef_values_capi_h: boolean;

This item has no description.

Protected function Load_cef_waitable_event_capi_h: boolean;

This item has no description.

Protected function Load_cef_xml_reader_capi_h: boolean;

This item has no description.

Protected function Load_cef_zip_reader_capi_h: boolean;

This item has no description.

Protected function Load_cef_logging_internal_h: boolean;

This item has no description.

Protected function Load_cef_string_list_h: boolean;

This item has no description.

Protected function Load_cef_string_map_h: boolean;

This item has no description.

Protected function Load_cef_string_multimap_h: boolean;

This item has no description.

Protected function Load_cef_string_types_h: boolean;

This item has no description.

Protected function Load_cef_thread_internal_h: boolean;

This item has no description.

Protected function Load_cef_trace_event_internal_h: boolean;

This item has no description.

Protected function Load_cef_browser_view_capi_h: boolean;

This item has no description.

Protected function Load_cef_display_capi_h: boolean;

This item has no description.

Protected function Load_cef_label_button_capi_h: boolean;

This item has no description.

Protected function Load_cef_menu_button_capi_h: boolean;

This item has no description.

Protected function Load_cef_panel_capi_h: boolean;

This item has no description.

Protected function Load_cef_scroll_view_capi_h: boolean;

This item has no description.

Protected function Load_cef_textfield_capi_h: boolean;

This item has no description.

Protected function Load_cef_window_capi_h: boolean;

This item has no description.

Protected function Load_cef_types_linux_h: boolean;

This item has no description.

Protected function Load_cef_time_h: boolean;

This item has no description.

Protected procedure doOnBeforeCommandLineProcessing(const processType: ustring; const commandLine: ICefCommandLine); virtual;

ICefApp

Protected procedure doOnRegisterCustomSchemes(const registrar: TCefSchemeRegistrarRef); virtual;

This item has no description.

Protected procedure doOnRegisterCustomPreferences(type_: TCefPreferencesType; registrar: PCefPreferenceRegistrar); virtual;

ICefBrowserProcessHandler

Protected procedure doOnContextInitialized; virtual;

This item has no description.

Protected procedure doOnBeforeChildProcessLaunch(const commandLine: ICefCommandLine); virtual;

This item has no description.

Protected procedure doOnAlreadyRunningAppRelaunch(const commandLine: ICefCommandLine; const current_directory: ustring; var aResult: boolean); virtual;

This item has no description.

Protected procedure doOnScheduleMessagePumpWork(const delayMs: Int64); virtual;

This item has no description.

Protected procedure doGetDefaultClient(var aClient : ICefClient); virtual;

This item has no description.

Protected procedure doGetDefaultRequestContextHandler(var aRequestContextHandler : ICefRequestContextHandler); virtual;

This item has no description.

Protected function doGetLocalizedString(stringid: Integer; var stringVal: ustring): Boolean; virtual;

ICefResourceBundleHandler

Protected function doGetDataResource(resourceId: Integer; var data: Pointer; var dataSize: NativeUInt): Boolean; virtual;

This item has no description.

Protected function doGetDataResourceForScale(resourceId: Integer; scaleFactor: TCefScaleFactor; var data: Pointer; var dataSize: NativeUInt): Boolean; virtual;

This item has no description.

Protected procedure doOnWebKitInitialized; virtual;

ICefRenderProcessHandler

Protected procedure doOnBrowserCreated(const browser: ICefBrowser; const extra_info: ICefDictionaryValue); virtual;

This item has no description.

Protected procedure doOnBrowserDestroyed(const browser: ICefBrowser); virtual;

This item has no description.

Protected procedure doOnContextCreated(const browser: ICefBrowser; const frame: ICefFrame; const context: ICefv8Context); virtual;

This item has no description.

Protected procedure doOnContextReleased(const browser: ICefBrowser; const frame: ICefFrame; const context: ICefv8Context); virtual;

This item has no description.

Protected procedure doOnUncaughtException(const browser: ICefBrowser; const frame: ICefFrame; const context: ICefv8Context; const V8Exception: ICefV8Exception; const stackTrace: ICefV8StackTrace); virtual;

This item has no description.

Protected procedure doOnFocusedNodeChanged(const browser: ICefBrowser; const frame: ICefFrame; const node: ICefDomNode); virtual;

This item has no description.

Protected procedure doOnProcessMessageReceived(const browser: ICefBrowser; const frame: ICefFrame; sourceProcess: TCefProcessId; const aMessage: ICefProcessMessage; var aHandled : boolean); virtual;

This item has no description.

Protected procedure doOnLoadingStateChange(const browser: ICefBrowser; isLoading, canGoBack, canGoForward: Boolean); virtual;

ICefLoadHandler

Protected procedure doOnLoadStart(const browser: ICefBrowser; const frame: ICefFrame; transitionType: TCefTransitionType); virtual;

This item has no description.

Protected procedure doOnLoadEnd(const browser: ICefBrowser; const frame: ICefFrame; httpStatusCode: Integer); virtual;

This item has no description.

Protected procedure doOnLoadError(const browser: ICefBrowser; const frame: ICefFrame; errorCode: TCefErrorCode; const errorText, failedUrl: ustring); virtual;

This item has no description.

Protected procedure ShutDown;

This item has no description.

Protected procedure FreeLibcefLibrary;

This item has no description.

Protected function ExecuteProcess(const aApp : ICefApp) : integer;

This item has no description.

Protected procedure InitializeCefMainArgs(var aCefMainArgs : TCefMainArgs);

This item has no description.

Protected procedure InitializeSettings(var aSettings : TCefSettings);

This item has no description.

Protected function InitializeLibrary(const aApp : ICefApp) : boolean;

This item has no description.

Protected procedure RenameAndDeleteDir(const aDirectory : string; aKeepCookies : boolean = False);

This item has no description.

Protected procedure DeleteCacheContents(const aDirectory : string);

This item has no description.

Protected procedure DeleteCookiesDB(const aDirectory : string);

This item has no description.

Protected procedure MoveCookiesDB(const aSrcDirectory, aDstDirectory : string);

This item has no description.

Protected function MultiExeProcessing: boolean;

This item has no description.

Protected function SingleExeProcessing: boolean;

This item has no description.

Protected procedure BeforeInitSubProcess; virtual;

This item has no description.

Protected function CheckCEFResources: boolean; virtual;

This item has no description.

Protected function CheckCEFDLL: boolean; virtual;

This item has no description.

Protected function CheckWindowsVersion: boolean; virtual;

This item has no description.

Protected procedure ShowErrorMessageDlg(const aError : string); virtual;

This item has no description.

Protected function ParseProcessType: TCefProcessType;

This item has no description.

Protected procedure AddCustomCommandLineSwitches(var aKeys, aValues : TStringList); virtual;

This item has no description.

Protected procedure AppendSwitch(var aKeys, aValues : TStringList; const aNewKey : ustring; const aNewValue : ustring = '');

This item has no description.

Protected procedure ReplaceSwitch(var aKeys, aValues : TStringList; const aNewKey : ustring; const aNewValue : ustring = '');

This item has no description.

Protected procedure CleanupFeatures(var aKeys, aValues : TStringList; const aEnableKey, aDisableKey : string);

This item has no description.

Protected procedure ClearSchemeHandlerFactories;

This item has no description.

Public constructor Create;

This item has no description.

Public destructor Destroy; override;

This item has no description.

Public procedure AfterConstruction; override;

This item has no description.

Public procedure AddCustomCommandLine(const aCommandLine : string; const aValue : string = '');

Used to add any command line switch that is not available as a TCEFApplicationCore property.

Public function CheckCEFLibrary: boolean;

Used to check the CEF binaries manually.

Public function StartMainProcess: boolean;

Used to initialize CEF in the main browser process. In case CEF is configured to used the same executable for all processes then all processes must call this function. CEF can only be initialized once per process. This is a CEF feature and there's no workaround. This function returns immediately in when called in the main process and it blocks the execution when it's called from a CEF subprocess until that process ends.

Public function StartSubProcess: boolean;

Used to initialize CEF in the subprocesses. This function can only be used when CEF is configured to use a different executable for the subprocesses. This function blocks the execution until the process ends.

Public procedure DoMessageLoopWork;

Perform a single iteration of CEF message loop processing. This function is provided for cases where the CEF message loop must be integrated into an existing application message loop. Use of this function is not recommended for most users; use either the RunMessageLoop function or TCefSettings.multi_threaded_message_loop if possible. When using this function care must be taken to balance performance against excessive CPU usage. It is recommended to enable the TCefSettings.external_message_pump option when using this function so that ICefBrowserProcessHandler.OnScheduleMessagePumpWork callbacks can facilitate the scheduling process. This function should only be called on the main application thread and only if cef_initialize() is called with a TCefSettings.multi_threaded_message_loop value of false (0). This function will not block.

Public procedure RunMessageLoop;

Run the CEF message loop. Use this function instead of an application- provided message loop to get the best balance between performance and CPU usage. This function should only be called on the main application thread and only if cef_initialize() is called with a TCefSettings.multi_threaded_message_loop value of false (0). This function will block until a quit message is received by the system.

Public procedure QuitMessageLoop;

Quit the CEF message loop that was started by calling RunMessageLoop. This function should only be called on the main application thread and only if RunMessageLoop was used.

Public procedure UpdateDeviceScaleFactor; virtual;

Update the DeviceScaleFactor value with the current monitor scale.

Public function ValidComponentID(aComponentID : integer) : boolean;

Returns true if a custom component ID is valid before executing a CEF task.

Public function NextComponentID: integer;

Returns the next component ID and adds this value to the valid ID list.

Public procedure RemoveComponentID(aComponentID : integer);

Removes a component ID from the valid ID list when a component is destroyed.

Public function DumpWithoutCrashing(mseconds_between_dumps: int64; const function_name, file_name: ustring; line_number: integer): boolean;

DumpWithoutCrashing allows for generating crash dumps with a throttling mechanism, preventing frequent dumps from being generated in a short period of time from the same location. The |function_name|, |file_name|, and |line_number| determine the location of the dump. The |mseconds_between_dumps| is an interval between consecutive dumps in milliseconds from the same location.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/base/cef_dump_without_crashing.h">CEF source file: /include/base/cef_dump_without_crashing.h (CefDumpWithoutCrashing))

Returns

Returns true if the dump was successfully generated, false otherwise

Public function DumpWithoutCrashingUnthrottled: boolean;

DumpWithoutCrashingUnthrottled allows for immediate crash dumping without any throttling constraints.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/base/cef_dump_without_crashing.h">CEF source file: /include/base/cef_dump_without_crashing.h (CefDumpWithoutCrashingUnthrottled))

Returns

Returns true if the dump was successfully generated, false otherwise

Properties

Public property NoSandbox : Boolean read FNoSandbox write FNoSandbox;

Set to true (1) to disable the sandbox for sub-processes. See cef_sandbox_win.h for requirements to enable the sandbox on Windows. Also configurable using the "no-sandbox" command-line switch.

Public property BrowserSubprocessPath : ustring read FBrowserSubprocessPath write SetBrowserSubprocessPath;

The path to a separate executable that will be launched for sub-processes. If this value is empty on Windows or Linux then the main process executable will be used. If this value is empty on macOS then a helper executable must exist at "Contents/Frameworks/<app> Helper.app/Contents/MacOS/<app> Helper" in the top-level app bundle. See the comments on CefExecuteProcess() for details. If this value is non-empty then it must be an absolute path. Also configurable using the "browser-subprocess-path" command-line switch.

Public property FrameworkDirPath : ustring read FFrameworkDirPath write SetFrameworkDirPath;

The path to the CEF framework directory on macOS. If this value is empty then the framework must exist at "Contents/Frameworks/Chromium Embedded Framework.framework" in the top-level app bundle. If this value is non-empty then it must be an absolute path. Also configurable using the "framework-dir-path" command-line switch.

Public property MainBundlePath : ustring read FMainBundlePath write FMainBundlePath;

The path to the main bundle on macOS. If this value is empty then it defaults to the top-level app bundle. If this value is non-empty then it must be an absolute path. Also configurable using the "main-bundle-path" command-line switch.

Public property MultiThreadedMessageLoop : boolean read FMultiThreadedMessageLoop write FMultiThreadedMessageLoop;

Set to true (1) to have the browser process message loop run in a separate thread. If false (0) then the CefDoMessageLoopWork() function must be called from your application message loop. This option is only supported on Windows and Linux.

Public property ExternalMessagePump : boolean read FExternalMessagePump write FExternalMessagePump;

Set to true (1) to control browser process main (UI) thread message pump scheduling via the ICefBrowserProcessHandler.OnScheduleMessagePumpWork() callback. This option is recommended for use in combination with the CefDoMessageLoopWork() function in cases where the CEF message loop must be integrated into an existing application message loop (see additional comments and warnings on CefDoMessageLoopWork). Enabling this option is not recommended for most users; leave this option disabled and use either the CefRunMessageLoop() function or multi_threaded_message_loop if possible.

Public property WindowlessRenderingEnabled : Boolean read FWindowlessRenderingEnabled write FWindowlessRenderingEnabled;

Set to true (1) to enable windowless (off-screen) rendering support. Do not enable this value if the application does not use windowless rendering as it may reduce rendering performance on some systems.

Public property CommandLineArgsDisabled : Boolean read FCommandLineArgsDisabled write FCommandLineArgsDisabled;

Set to true (1) to disable configuration of browser process features using standard CEF and Chromium command-line arguments. Configuration can still be specified using CEF data structures or via the ICefApp.OnBeforeCommandLineProcessing() method.

Public property Cache : ustring read FCache write SetCache;

The directory where data for the global browser cache will be stored on disk. If this value is non-empty then it must be an absolute path that is either equal to or a child directory of CefSettings.root_cache_path. If this value is empty then browsers will be created in "incognito mode" where in-memory caches are used for storage and no profile-specific data is persisted to disk (installation-specific data will still be persisted in root_cache_path). HTML5 databases such as localStorage will only persist across sessions if a cache path is specified. Can be overridden for individual CefRequestContext instances via the TCefRequestContextSettings.cache_path value. Any child directory value will be ignored and the "default" profile (also a child directory) will be used instead.

Public property RootCache : ustring read FRootCache write SetRootCache;

The root directory for installation-specific data and the parent directory for profile-specific data. All TCefSettings.cache_path and ICefRequestContextSettings.cache_path values must have this parent directory in common. If this value is empty and TCefSettings.cache_path is non-empty then it will default to the TCefSettings.cache_path value. Any non-empty value must be an absolute path. If both values are empty then the default platform-specific directory will be used ("~/.config/cef_user_data" directory on Linux, "~/Library/Application Support/CEF/User Data" directory on MacOS, "AppData\Local\CEF\User Data" directory under the user profile directory on Windows). Use of the default directory is not recommended in production applications (see below).

Multiple application instances writing to the same root_cache_path directory could result in data corruption. A process singleton lock based on the root_cache_path value is therefore used to protect against this. This singleton behavior applies to all CEF-based applications using version 120 or newer. You should customize root_cache_path for your application and implement ICefBrowserProcessHandler.OnAlreadyRunningAppRelaunch, which will then be called on any app relaunch with the same root_cache_path value.

Failure to set the root_cache_path value correctly may result in startup crashes or other unexpected behaviors (for example, the sandbox blocking read/write access to certain files).

Public property PersistSessionCookies : Boolean read FPersistSessionCookies write FPersistSessionCookies;

To persist session cookies (cookies without an expiry date or validity interval) by default when using the global cookie manager set this value to true (1). Session cookies are generally intended to be transient and most Web browsers do not persist them. A |cache_path| value must also be specified to enable this feature. Also configurable using the "persist-session-cookies" command-line switch. Can be overridden for individual CefRequestContext instances via the TCefRequestContextSettings.persist_session_cookies value.

Public property UserAgent : ustring read FUserAgent write FUserAgent;

Value that will be returned as the User-Agent HTTP header. If empty the default User-Agent string will be used. Also configurable using the "user-agent" command-line switch.

Public property UserAgentProduct : ustring read FUserAgentProduct write FUserAgentProduct;

Value that will be inserted as the product portion of the default User-Agent string. If empty the Chromium product version will be used. If |userAgent| is specified this value will be ignored. Also configurable using the "user-agent-product" command-line switch.

Public property Locale : ustring read FLocale write FLocale;

The locale string that will be passed to WebKit. If empty the default locale of "en-US" will be used. This value is ignored on Linux where locale is determined using environment variable parsing with the precedence order: LANGUAGE, LC_ALL, LC_MESSAGES and LANG. Also configurable using the "lang" command-line switch.

Public property LogFile : ustring read FLogFile write FLogFile;

The directory and file name to use for the debug log. If empty a default log file name and location will be used. On Windows and Linux a "debug.log" file will be written in the main executable directory. On MacOS a "~/Library/Logs/[app name]_debug.log" file will be written where [app name] is the name of the main app executable. Also configurable using the "log-file" command-line switch.

Public property LogSeverity : TCefLogSeverity read FLogSeverity write FLogSeverity;

The log severity. Only messages of this severity level or higher will be logged. When set to DISABLE no messages will be written to the log file, but FATAL messages will still be output to stderr. Also configurable using the "log-severity" command-line switch with a value of "verbose", "info", "warning", "error", "fatal" or "disable".

Public property LogItems : TCefLogItems read FLogItems write FLogItems;

The log items prepended to each log line. If not set the default log items will be used. Also configurable using the "log-items" command-line switch with a value of "none" for no log items, or a comma-delimited list of values "pid", "tid", "timestamp" or "tickcount" for custom log items.

Public property JavaScriptFlags : ustring read FJavaScriptFlags write FJavaScriptFlags;

Custom flags that will be used when initializing the V8 JavaScript engine. The consequences of using custom flags may not be well tested. Also configurable using the "js-flags" command-line switch.

Public property ResourcesDirPath : ustring read GetResourcesDirPath write SetResourcesDirPath;

The fully qualified path for the resources directory. If this value is empty the *.pak files must be located in the module directory on Windows/Linux or the app bundle Resources directory on MacOS. If this value is non-empty then it must be an absolute path. Also configurable using the "resources-dir-path" command-line switch.

Public property LocalesDirPath : ustring read GetLocalesDirPath write SetLocalesDirPath;

The fully qualified path for the locales directory. If this value is empty the locales directory must be located in the module directory. If this value is non-empty then it must be an absolute path. This value is ignored on MacOS where pack files are always loaded from the app bundle Resources directory. Also configurable using the "locales-dir-path" command-line switch.

Public property RemoteDebuggingPort : Integer read FRemoteDebuggingPort write FRemoteDebuggingPort;

Set to a value between 1024 and 65535 to enable remote debugging on the specified port. Also configurable using the "remote-debugging-port" command-line switch. Specifying 0 via the command-line switch will result in the selection of an ephemeral port and the port number will be printed as part of the WebSocket endpoint URL to stderr. If a cache directory path is provided the port will also be written to the <cache-dir>/DevToolsActivePort file. Remote debugging can be accessed by loading the chrome://inspect page in Google Chrome. Port numbers 9222 and 9229 are discoverable by default. Other port numbers may need to be configured via "Discover network targets" on the Devices tab.

Public property UncaughtExceptionStackSize : Integer read FUncaughtExceptionStackSize write FUncaughtExceptionStackSize;

The number of stack trace frames to capture for uncaught exceptions. Specify a positive value to enable the ICefRenderProcessHandler.OnUncaughtException() callback. Specify 0 (default value) and OnUncaughtException() will not be called. Also configurable using the "uncaught-exception-stack-size" command-line switch.

Public property BackgroundColor : TCefColor read FBackgroundColor write FBackgroundColor;

Background color used for the browser before a document is loaded and when no document color is specified. The alpha component must be either fully opaque (0xFF) or fully transparent (0x00). If the alpha component is fully opaque then the RGB components will be used as the background color. If the alpha component is fully transparent for a windowed browser then the default value of opaque white be used. If the alpha component is fully transparent for a windowless (off-screen) browser then transparent painting will be enabled.

Public property AcceptLanguageList : ustring read FAcceptLanguageList write FAcceptLanguageList;

Comma delimited ordered list of language codes without any whitespace that will be used in the "Accept-Language" HTTP request header and "navigator.language" JS attribute. Can be overridden for individual ICefRequestContext instances via the TCefRequestContextSettingsCefRequestContextSettings.accept_language_list value.

Public property CookieableSchemesList : ustring read FCookieableSchemesList write FCookieableSchemesList;

Comma delimited list of schemes supported by the associated ICefCookieManager. If |cookieable_schemes_exclude_defaults| is false (0) the default schemes ("http", "https", "ws" and "wss") will also be supported. Not specifying a |cookieable_schemes_list| value and setting |cookieable_schemes_exclude_defaults| to true (1) will disable all loading and saving of cookies. These settings will only impact the global ICefRequestContext. Individual ICefRequestContext instances can be configured via the TCefRequestContextSettings.cookieable_schemes_list and TCefRequestContextSettings.cookieable_schemes_exclude_defaults values.

Public property CookieableSchemesExcludeDefaults : boolean read FCookieableSchemesExcludeDefaults write FCookieableSchemesExcludeDefaults;

See the CookieableSchemesList property.

Public property ChromePolicyId : ustring read FChromePolicyId write FChromePolicyId;

Specify an ID to enable Chrome policy management via Platform and OS-user policies. On Windows, this is a registry key like "SOFTWARE\\Policies\\Google\\Chrome". On MacOS, this is a bundle ID like "com.google.Chrome". On Linux, this is an absolute directory path like "/etc/opt/chrome/policies". Only supported with Chrome style. See https://support.google.com/chrome/a/answer/9037717 for details.

Chrome Browser Cloud Management integration, when enabled via the "enable-chrome-browser-cloud-management" command-line flag, will also use the specified ID. See https://support.google.com/chrome/a/answer/9116814 for details.

Public property ChromeAppIconId : integer read FChromeAppIconId write FChromeAppIconId;

Specify an ID for an ICON resource that can be loaded from the main executable and used when creating default Chrome windows such as DevTools and Task Manager. If unspecified the default Chromium ICON (IDR_MAINFRAME [101]) will be loaded from libcef.dll. Only supported with Chrome style on Windows.

Public property SingleProcess : Boolean read FSingleProcess write FSingleProcess;

Runs the renderer and plugins in the same process as the browser.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –single-process)

Public property EnableMediaStream : boolean read FEnableMediaStream write FEnableMediaStream;

Enable media (WebRTC audio/video) streaming.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/libcef/common/cef_switches.cc">Uses the following command line switch: –enable-media-stream)

Public property EnableSpeechInput : boolean read FEnableSpeechInput write FEnableSpeechInput;

Enable speech input (x-webkit-speech).

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/libcef/common/cef_switches.cc">Uses the following command line switch: –enable-speech-input)

Public property UseFakeUIForMediaStream : boolean read FUseFakeUIForMediaStream write FUseFakeUIForMediaStream;

Bypass the media stream infobar by selecting the default device for media streams (e.g. WebRTC). Works with –use-fake-device-for-media-stream.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –single-process)

Public property EnableUsermediaScreenCapturing : boolean read FEnableUsermediaScreenCapturing write FEnableUsermediaScreenCapturing;

Enable screen capturing support for MediaStream API.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –enable-usermedia-screen-capturing)

Public property EnableGPU : boolean read FEnableGPU write FEnableGPU;

Enable GPU hardware acceleration.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –disable-gpu)

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –disable-gpu-compositing)

Public property EnableFeatures : ustring read FEnableFeatures write FEnableFeatures;

List of feature names to enable.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –enable-features)

The list of features you can enable is here:

https://chromium.googlesource.com/chromium/src/+/master/chrome/common/chrome_features.cc

https://source.chromium.org/chromium/chromium/src/+/main:content/public/common/content_features.cc

https://source.chromium.org/search?q=base::Feature

Public property DisableFeatures : ustring read FDisableFeatures write FDisableFeatures;

List of feature names to disable.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –disable-features)

The list of features you can disable is here:

https://chromium.googlesource.com/chromium/src/+/master/chrome/common/chrome_features.cc

https://source.chromium.org/chromium/chromium/src/+/main:content/public/common/content_features.cc

https://source.chromium.org/search?q=base::Feature

Public property EnableBlinkFeatures : ustring read FEnableBlinkFeatures write FEnableBlinkFeatures;

Enable one or more Blink runtime-enabled features.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –enable-blink-features)

The list of Blink features you can enable is here:

https://cs.chromium.org/chromium/src/third_party/blink/renderer/platform/runtime_enabled_features.json5

Public property DisableBlinkFeatures : ustring read FDisableBlinkFeatures write FDisableBlinkFeatures;

Disable one or more Blink runtime-enabled features.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –disable-blink-features)

The list of Blink features you can disable is here:

https://cs.chromium.org/chromium/src/third_party/blink/renderer/platform/runtime_enabled_features.json5

Public property BlinkSettings : ustring read FBlinkSettings write FBlinkSettings;

Set blink settings. Format is <name>[=<value],<name>[=<value>],... The names are declared in Settings.json5. For boolean type, use "true", "false", or omit '=<value>' part to set to true. For enum type, use the int value of the enum value. Applied after other command line flags and prefs.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –blink-settings)

The list of Blink settings you can disable is here:

https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/renderer/core/frame/settings.json5

Public property ForceFieldTrials : ustring read FForceFieldTrials write FForceFieldTrials;

This option can be used to force field trials when testing changes locally. The argument is a list of name and value pairs, separated by slashes. If a trial name is prefixed with an asterisk, that trial will start activated. For example, the following argument defines two trials, with the second one activated: "GoogleNow/Enable/*MaterialDesignNTP/Default/" This option can also be used by the browser process to send the list of trials to a non-browser process, using the same format. See FieldTrialList::CreateTrialsFromString() in field_trial.h for details.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –force-fieldtrials)

https://source.chromium.org/chromium/chromium/src/+/master:base/base_switches.cc

Public property ForceFieldTrialParams : ustring read FForceFieldTrialParams write FForceFieldTrialParams;

This option can be used to force parameters of field trials when testing changes locally. The argument is a param list of (key, value) pairs prefixed by an associated (trial, group) pair. You specify the param list for multiple (trial, group) pairs with a comma separator. Example: "Trial1.Group1:k1/v1/k2/v2,Trial2.Group2:k3/v3/k4/v4" Trial names, groups names, parameter names, and value should all be URL escaped for all non-alphanumeric characters.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –force-fieldtrial-params)

https://source.chromium.org/chromium/chromium/src/+/master:components/variations/variations_switches.cc

Public property SmoothScrolling : TCefState read FSmoothScrolling write FSmoothScrolling;

On platforms that support it, enables smooth scroll animation.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –enable-smooth-scrolling)

Public property MuteAudio : boolean read FMuteAudio write FMuteAudio;

Mutes audio sent to the audio device so it is not audible during automated testing.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –mute-audio)

Public property SitePerProcess : boolean read FSitePerProcess write FSitePerProcess;

Enforces a one-site-per-process security policy: Each renderer process, for its whole lifetime, is dedicated to rendering pages for just one site. Thus, pages from different sites are never in the same process. A renderer process's access rights are restricted based on its site.All cross-site navigations force process swaps. <iframe>s are rendered out-of-process whenever the src= is cross-site.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –site-per-process)

More details here:

https://www.chromium.org/developers/design-documents/site-isolation

https://www.chromium.org/developers/design-documents/process-models

Public property DisableWebSecurity : boolean read FDisableWebSecurity write FDisableWebSecurity;

Don't enforce the same-origin policy.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –disable-web-security)

Public property DisablePDFExtension : boolean read FDisablePDFExtension write FDisablePDFExtension;

Disable the PDF extension.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/libcef/common/cef_switches.cc">Uses the following command line switch: –disable-pdf-extension)

Public property DisableSiteIsolationTrials : boolean read FDisableSiteIsolationTrials write FDisableSiteIsolationTrials;

Disables site isolation.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –disable-site-isolation-trials)

Public property DisableChromeLoginPrompt : boolean read FDisableChromeLoginPrompt write FDisableChromeLoginPrompt;

Delegate all login requests to the client GetAuthCredentials callback.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/libcef/common/cef_switches.cc">Uses the following command line switch: –disable-chrome-login-prompt)

Public property DisableExtensions : boolean read FDisableExtensions write FDisableExtensions;

Disable extensions.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –disable-extensions)

Public property AutoplayPolicy : TCefAutoplayPolicy read FAutoplayPolicy write FAutoplayPolicy;

Autoplay policy.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –autoplay-policy)

Public property DisableBackgroundNetworking : boolean read FDisableBackgroundNetworking write FDisableBackgroundNetworking;

Disable several subsystems which run network requests in the background.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –disable-background-networking)

Public property MetricsRecordingOnly : boolean read FMetricsRecordingOnly write FMetricsRecordingOnly;

Enables the recording of metrics reports but disables reporting.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –metrics-recording-only)

Public property AllowFileAccessFromFiles : boolean read FAllowFileAccessFromFiles write FAllowFileAccessFromFiles;

By default, file:// URIs cannot read other file:// URIs. This is an override for developers who need the old behavior for testing.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –allow-file-access-from-files)

Public property AllowRunningInsecureContent : boolean read FAllowRunningInsecureContent write FAllowRunningInsecureContent;

By default, an https page cannot run JavaScript, CSS or plugins from http URLs. This provides an override to get the old insecure behavior.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –allow-running-insecure-content)

Public property EnablePrintPreview : boolean read FEnablePrintPreview write FEnablePrintPreview;

Enable print preview.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/libcef/common/cef_switches.cc">Uses the following command line switch: –enable-print-preview)

Public property DefaultEncoding : ustring read FDefaultEncoding write FDefaultEncoding;

Default encoding.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/libcef/common/cef_switches.cc">Uses the following command line switch: –default-encoding)

Public property DisableJavascript : boolean read FDisableJavascript write FDisableJavascript;

Disable JavaScript.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/libcef/common/cef_switches.cc">Uses the following command line switch: –disable-javascript)

Public property DisableJavascriptCloseWindows : boolean read FDisableJavascriptCloseWindows write FDisableJavascriptCloseWindows;

Disable closing of windows via JavaScript.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/libcef/common/cef_switches.cc">Uses the following command line switch: –disable-javascript-close-windows)

Public property DisableJavascriptAccessClipboard : boolean read FDisableJavascriptAccessClipboard write FDisableJavascriptAccessClipboard;

Disable clipboard access via JavaScript.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/libcef/common/cef_switches.cc">Uses the following command line switch: –disable-javascript-access-clipboard)

Public property DisableJavascriptDomPaste : boolean read FDisableJavascriptDomPaste write FDisableJavascriptDomPaste;

Disable DOM paste via JavaScript execCommand("paste").

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/libcef/common/cef_switches.cc">Uses the following command line switch: –disable-javascript-dom-paste)

Public property AllowUniversalAccessFromFileUrls : boolean read FAllowUniversalAccessFromFileUrls write FAllowUniversalAccessFromFileUrls;

Allow universal access from file URLs.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/libcef/common/cef_switches.cc">Uses the following command line switch: –allow-universal-access-from-files)

Public property DisableImageLoading : boolean read FDisableImageLoading write FDisableImageLoading;

Disable loading of images from the network. A cached image will still be rendered if requested.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/libcef/common/cef_switches.cc">Uses the following command line switch: –disable-image-loading)

Public property ImageShrinkStandaloneToFit : boolean read FImageShrinkStandaloneToFit write FImageShrinkStandaloneToFit;

Shrink stand-alone images to fit.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/libcef/common/cef_switches.cc">Uses the following command line switch: –image-shrink-standalone-to-fit)

Public property DisableTextAreaResize : boolean read FDisableTextAreaResize write FDisableTextAreaResize;

Disable resizing of text areas.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/libcef/common/cef_switches.cc">Uses the following command line switch: –disable-text-area-resize)

Public property DisableTabToLinks : boolean read FDisableTabToLinks write FDisableTabToLinks;

Disable using the tab key to advance focus to links.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/libcef/common/cef_switches.cc">Uses the following command line switch: –disable-tab-to-links)

Public property EnableProfanityFilter : boolean read FEnableProfanityFilter write FEnableProfanityFilter;

Enable the speech input profanity filter.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/libcef/common/cef_switches.cc">Uses the following command line switch: –enable-profanity-filter)

Public property DisableSpellChecking : boolean read FDisableSpellChecking write FDisableSpellChecking;

Disable spell checking.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/libcef/common/cef_switches.cc">Uses the following command line switch: –disable-spell-checking)

Public property OverrideSpellCheckLang : ustring read FOverrideSpellCheckLang write FOverrideSpellCheckLang;

Override the default spellchecking language which comes from locales.pak.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/libcef/common/cef_switches.cc">Uses the following command line switch: –override-spell-check-lang)

Public property TouchEvents : TCefState read FTouchEvents write FTouchEvents;

Enable support for touch event feature detection.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –touch-events)

Public property DisableReadingFromCanvas : boolean read FDisableReadingFromCanvas write FDisableReadingFromCanvas;

Taints all <canvas> elements, regardless of origin.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –disable-reading-from-canvas)

Public property HyperlinkAuditing : boolean read FHyperlinkAuditing write FHyperlinkAuditing;

Don't send hyperlink auditing pings.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –no-pings)

Public property DisableNewBrowserInfoTimeout : boolean read FDisableNewBrowserInfoTimeout write FDisableNewBrowserInfoTimeout;

Disable the timeout for delivering new browser info to the renderer process.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/libcef/common/cef_switches.cc">Uses the following command line switch: –disable-new-browser-info-timeout)

Public property DevToolsProtocolLogFile : ustring read FDevToolsProtocolLogFile write FDevToolsProtocolLogFile;

File used for logging DevTools protocol messages.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/libcef/common/cef_switches.cc">Uses the following command line switch: –devtools-protocol-log-file)

Public property ForcedDeviceScaleFactor : single read FForcedDeviceScaleFactor write FForcedDeviceScaleFactor;

Overrides the device scale factor for the browser UI and the contents.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –force-device-scale-factor)

Public property DisableZygote : boolean read FDisableZygote write FDisableZygote;

Disables the use of a zygote process for forking child processes. Instead, child processes will be forked and exec'd directly.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –no-zygote)

Public property UseMockKeyChain : boolean read FUseMockKeyChain write FUseMockKeyChain;

Uses mock keychain for testing purposes, which prevents blocking dialogs from causing timeouts.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –use-mock-keychain)

Public property DisableRequestHandlingForTesting : boolean read FDisableRequestHandlingForTesting write FDisableRequestHandlingForTesting;

Disable request handling in CEF to faciliate debugging of network-related issues.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/libcef/common/cef_switches.cc">Uses the following command line switch: –disable-request-handling-for-testing)

Public property DisablePopupBlocking : boolean read FDisablePopupBlocking write FDisablePopupBlocking;

Disables pop-up blocking.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –disable-popup-blocking)

Public property DisableBackForwardCache : boolean read FDisableBackForwardCache write FDisableBackForwardCache;

Disables the BackForwardCache feature.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –disable-back-forward-cache)

Public property DisableComponentUpdate : boolean read FDisableComponentUpdate write FDisableComponentUpdate;

Disable the component updater. Widevine will not be downloaded or initialized.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –disable-component-update)

Public property AllowInsecureLocalhost : boolean read FAllowInsecureLocalhost write FAllowInsecureLocalhost;

Enables TLS/SSL errors on localhost to be ignored (no interstitial, no blocking of requests).

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –allow-insecure-localhost)

Public property KioskPrinting : boolean read FKioskPrinting write SetKioskPrinting;

Enable automatically pressing the print button in print preview.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –kiosk-printing)

Public property TreatInsecureOriginAsSecure : ustring read FTreatInsecureOriginAsSecure write FTreatInsecureOriginAsSecure;

Treat given (insecure) origins as secure origins. Multiple origins can be supplied as a comma-separated list. For the definition of secure contexts, see https://w3c.github.io/webappsec-secure-contexts/ and https://www.w3.org/TR/powerful-features/#is-origin-trustworthy Example: –unsafely-treat-insecure-origin-as-secure=http://a.test,http://b.test

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –unsafely-treat-insecure-origin-as-secure)

Public property NetLogEnabled : boolean read FNetLogEnabled write FNetLogEnabled;

Enables saving net log events to a file.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –log-net-log)

Public property NetLogFile : ustring read FNetLogFile write FNetLogFile;

File name used to log net events. If a value is given, it used as the path the the file, otherwise the file is named netlog.json and placed in the user data directory.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –log-net-log)

Public property NetLogCaptureMode : TCefNetLogCaptureMode read FNetLogCaptureMode write FNetLogCaptureMode;

Sets the granularity of events to capture in the network log.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –net-log-capture-mode)

Public property RemoteAllowOrigins : ustring read FRemoteAllowOrigins write FRemoteAllowOrigins;

Enables web socket connections from the specified origins only. '*' allows any origin.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –remote-allow-origins)

Public property AutoAcceptCamAndMicCapture : boolean read FAutoAcceptCamAndMicCapture write FAutoAcceptCamAndMicCapture;

Bypasses the dialog prompting the user for permission to capture cameras and microphones. Useful in automatic tests of video-conferencing Web applications. This is nearly identical to kUseFakeUIForMediaStream, with the exception being that this flag does NOT affect screen-capture.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –auto-accept-camera-and-microphone-capture)

Public property UIColorMode : TCefUIColorMode read FUIColorMode write FUIColorMode;

Forces light or dark mode in UI for platforms that support it.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switches: –force-dark-mode –force-light-mode)

Public property DisableHangMonitor : boolean read FDisableHangMonitor write FDisableHangMonitor;

Suppresses hang monitor dialogs in renderer processes. This may allow slow unload handlers on a page to prevent the tab from closing, but the Task Manager can be used to terminate the offending process in this case.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –disable-hang-monitor)

Public property HideCrashRestoreBubble : boolean read FHideCrashRestoreBubble write FHideCrashRestoreBubble;

Does not show the "Restore pages" popup bubble after incorrect shutdown.

<see href="https://peter.sh/experiments/chromium-command-line-switches/">Uses the following command line switch: –hide-crash-restore-bubble)

Public property TLS13HybridizedKyberSupport : TCefState read FPostQuantumKyber write FPostQuantumKyber;

This option enables a combination of X25519 and Kyber in TLS 1.3.

Public property IgnoreCertificateErrors : Boolean read FIgnoreCertificateErrors write FIgnoreCertificateErrors;

Ignores certificate-related errors.

<see href="https://source.chromium.org/chromium/chromium/src/+/main:components/network_session_configurator/common/network_switch_list.h">Uses the following command line switch: –ignore-certificate-errors)

Public property WindowsSandboxInfo : Pointer read FWindowsSandboxInfo write FWindowsSandboxInfo;

Pointer to the sandbox info. Currently unused in Delphi and Lazarus.

Public property DeleteCache : boolean read FDeleteCache write FDeleteCache;

Used to delete all the cache files before CEF is initialized.

Public property DeleteCookies : boolean read FDeleteCookies write FDeleteCookies;

Used to delete all the cookies before CEF is initialized.

Public property CheckCEFFiles : boolean read FCheckCEFFiles write FCheckCEFFiles;

Checks if the CEF binaries are present and the DLL version.

Public property ShowMessageDlg : boolean read FShowMessageDlg write FShowMessageDlg;

Set to true when you need to use a showmessage dialog to show the error messages.

Public property MissingBinariesException : boolean read FMissingBinariesException write FMissingBinariesException;

Raise an exception when the CEF binaries check fails.

Public property SetCurrentDir : boolean read FSetCurrentDir write FSetCurrentDir;

Used to set the current directory when the CEF libraries are loaded. This is required if the application is launched from a different application.

Public property GlobalContextInitialized : boolean read GetGlobalContextInitialized;

Set to True when the global context is initialized and the application can start creating web browsers.

Public property ChromeMajorVer : uint16 read FChromeVersionInfo.MajorVer;

Returns the major version information from Chromium.

Public property ChromeMinorVer : uint16 read FChromeVersionInfo.MinorVer;

Returns the minor version information from Chromium.

Public property ChromeRelease : uint16 read FChromeVersionInfo.Release;

Returns the release version information from Chromium.

Public property ChromeBuild : uint16 read FChromeVersionInfo.Build;

Returns the build version information from Chromium.

Public property ChromeVersion : ustring read GetChromeVersion;

Returns the full version information from Chromium.

Public property LibCefVersion : ustring read GetLibCefVersion;

Complete libcef version information.

Public property LibCefPath : ustring read GetLibCefPath;

Path to libcef.dll or libcef.so

Public property ChromeElfPath : ustring read GetChromeElfPath;

Returns the path to chrome_elf.dll.

Public property LibLoaded : boolean read FLibLoaded;

Set to true when TCEFApplicationCore has loaded the CEF libraries.

Public property LogProcessInfo : boolean read FLogProcessInfo write FLogProcessInfo;

Add a debug log information line when the CEF libraries are loaded.

Public property ReRaiseExceptions : boolean read FReRaiseExceptions write FReRaiseExceptions;

Set to true to raise all exceptions.

Public property DeviceScaleFactor : single read FDeviceScaleFactor;

Returns the device scale factor used in OSR mode.

Public property LocalesRequired : ustring read FLocalesRequired write FLocalesRequired;

List of locale files that will be checked with CheckCEFFiles.

Public property ProcessType : TCefProcessType read FProcessType;

CEF process type currently running.

Public property MustCreateResourceBundleHandler : boolean read GetMustCreateResourceBundleHandler write FMustCreateResourceBundleHandler;

Force the creation of ICefResourceBundleHandler.

Public property MustCreateBrowserProcessHandler : boolean read GetMustCreateBrowserProcessHandler write FMustCreateBrowserProcessHandler;

Force the creation of ICefBrowserProcessHandler.

Public property MustCreateRenderProcessHandler : boolean read GetMustCreateRenderProcessHandler write FMustCreateRenderProcessHandler;

Force the creation of ICefRenderProcessHandler.

Public property MustCreateLoadHandler : boolean read GetMustCreateLoadHandler write FMustCreateLoadHandler;

Force the creation of ICefLoadHandler.

Public property OsmodalLoop : boolean write SetOsmodalLoop;

Set to true (1) before calling Windows APIs like TrackPopupMenu that enter a modal message loop. Set to false (0) after exiting the modal message loop.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/internal/cef_app_win.h">CEF source file: /include/internal/cef_app_win.h (cef_set_osmodal_loop))

Public property Status : TCefAplicationStatus read FStatus;

Returns the TCEFApplicationCore initialization status.

Public property MissingLibFiles : string read FMissingLibFiles;

List of missing CEF library files.

Public property MustFreeLibrary : boolean read FMustFreeLibrary write FMustFreeLibrary;

Set to true to free the library handle when TCEFApplicationCore is destroyed.

Public property ChildProcessesCount : integer read GetChildProcessesCount;

Returns the number of CEF subprocesses running at that moment.

Public property UsedMemory : uint64 read GetUsedMemory;

Total used memory by all CEF processes.

Public property TotalSystemMemory : uint64 read GetTotalSystemMemory;

Total system memory in Windows.

Public property AvailableSystemMemory : uint64 read GetAvailableSystemMemory;

Calculates the available memory in Windows.

Public property SystemMemoryLoad : cardinal read GetSystemMemoryLoad;

Memory load in Windows.

Public property ApiHashUniversal : ustring read GetApiHashUniversal;

Calls cef_api_hash to get the universal hash.

Public property ApiHashPlatform : ustring read GetApiHashPlatform;

Calls cef_api_hash to get the platform hash.

Public property ApiHashCommit : ustring read GetApiHashCommit;

Calls cef_api_hash to get the commit hash.

Public property ExitCode : TCefResultCode read GetExitCode;

This property can optionally be read on the main application thread after CefInitialize to retrieve the initialization exit code. When CefInitialize returns true (1) the exit code will be 0 (CEF_RESULT_CODE_NORMAL_EXIT). Otherwise, see TCefResultCode for possible exit code values including browser process initialization errors and normal early exit conditions (such as CEF_RESULT_CODE_NORMAL_EXIT_PROCESS_NOTIFIED for process singleton relaunch behavior).

Public property LastErrorMessage : ustring read FLastErrorMessage;

Last error message that is usually shown when CEF finds a problem at initialization.

Public property OnRegCustomSchemes : TOnRegisterCustomSchemesEvent read FOnRegisterCustomSchemes write FOnRegisterCustomSchemes;

Provides an opportunity to register custom schemes. Do not keep a reference to the |registrar| object. This function is called on the main thread for each process and the registered schemes should be the same across all processes.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_app_capi.h">CEF source file: /include/capi/cef_app_capi.h (cef_app_t))

Public property OnRegisterCustomPreferences : TOnRegisterCustomPreferencesEvent read FOnRegisterCustomPreferences write FOnRegisterCustomPreferences;

Provides an opportunity to register custom preferences prior to global and request context initialization.

If |type| is CEF_PREFERENCES_TYPE_GLOBAL the registered preferences can be accessed via ICefPreferenceManager.GetGlobalPreferences after OnContextInitialized is called. Global preferences are registered a single time at application startup. See related TCefSettings.cache_path configuration.

If |type| is CEF_PREFERENCES_TYPE_REQUEST_CONTEXT the preferences can be accessed via the ICefRequestContext after ICefRequestContextHandler.OnRequestContextInitialized is called. Request context preferences are registered each time a new ICefRequestContext is created. It is intended but not required that all request contexts have the same registered preferences. See related TCefRequestContextSettings.cache_path configuration.

Do not keep a reference to the |registrar| object. This function is called on the browser process UI thread.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_browser_process_handler_capi.h">CEF source file: /include/capi/cef_browser_process_handler_capi.h (cef_browser_process_handler_t))

Public property OnContextInitialized : TOnContextInitializedEvent read FOnContextInitialized write FOnContextInitialized;

Called on the browser process UI thread immediately after the CEF context has been initialized.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_browser_process_handler_capi.h">CEF source file: /include/capi/cef_browser_process_handler_capi.h (cef_browser_process_handler_t))

Public property OnBeforeChildProcessLaunch : TOnBeforeChildProcessLaunchEvent read FOnBeforeChildProcessLaunch write FOnBeforeChildProcessLaunch;

Called before a child process is launched. Will be called on the browser process UI thread when launching a render process and on the browser process IO thread when launching a GPU process. Provides an opportunity to modify the child process command line. Do not keep a reference to |command_line| outside of this function.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_browser_process_handler_capi.h">CEF source file: /include/capi/cef_browser_process_handler_capi.h (cef_browser_process_handler_t))

Public property OnAlreadyRunningAppRelaunch : TOnAlreadyRunningAppRelaunchEvent read FOnAlreadyRunningAppRelaunch write FOnAlreadyRunningAppRelaunch;

Implement this function to provide app-specific behavior when an already running app is relaunched with the same TCefSettings.root_cache_path value. For example, activate an existing app window or create a new app window. |command_line| will be read-only. Do not keep a reference to |command_line| outside of this function. Return true (1) if the relaunch is handled or false (0) for default relaunch behavior. Default behavior will create a new default styled Chrome window.

To avoid cache corruption only a single app instance is allowed to run for a given TCefSettings.root_cache_path value. On relaunch the app checks a process singleton lock and then forwards the new launch arguments to the already running app process before exiting early. Client apps should therefore check the cef_initialize() return value for early exit before proceeding.

This function will be called on the browser process UI thread.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_browser_process_handler_capi.h">CEF source file: /include/capi/cef_browser_process_handler_capi.h (cef_browser_process_handler_t))

Public property OnScheduleMessagePumpWork : TOnScheduleMessagePumpWorkEvent read FOnScheduleMessagePumpWork write FOnScheduleMessagePumpWork;

Called from any thread when work has been scheduled for the browser process main (UI) thread. This callback is used in combination with TCefSettings.external_message_pump and GlobalCEFApp.DoMessageLoopWork in cases where the CEF message loop must be integrated into an existing application message loop (see additional comments and warnings on GlobalCEFApp.DoMessageLoopWork). This callback should schedule a GlobalCEFApp.DoMessageLoopWork call to happen on the main (UI) thread. |delay_ms| is the requested delay in milliseconds. If |delay_ms| is <= 0 then the call should happen reasonably soon. If |delay_ms| is > 0 then the call should be scheduled to happen after the specified delay and any currently pending scheduled call should be cancelled.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_browser_process_handler_capi.h">CEF source file: /include/capi/cef_browser_process_handler_capi.h (cef_browser_process_handler_t))

Public property OnGetDefaultClient : TOnGetDefaultClientEvent read FOnGetDefaultClient write FOnGetDefaultClient;

Return the default client for use with a newly created browser window (TCefBrowser object). If null is returned the TCefBrowser will be unmanaged (no callbacks will be executed for that TCefBrowser) and application shutdown will be blocked until the browser window is closed manually. This function is currently only used with Chrome style when creating new browser windows via Chrome UI.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_browser_process_handler_capi.h">CEF source file: /include/capi/cef_browser_process_handler_capi.h (cef_browser_process_handler_t))

Public property OnGetDefaultRequestContextHandler : TOnGetDefaultRequestContextHandlerEvent read FOnGetDefaultRequestContextHandler write FOnGetDefaultRequestContextHandler;

Return the default handler for use with a new user or incognito profile (TCefRequestContext object). If null is returned the TCefRequestContext will be unmanaged (no callbacks will be executed for that TCefRequestContext). This function is currently only used with Chrome style when creating new browser windows via Chrome UI.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_browser_process_handler_capi.h">CEF source file: /include/capi/cef_browser_process_handler_capi.h (cef_browser_process_handler_t))

Public property OnGetLocalizedString : TOnGetLocalizedStringEvent read FOnGetLocalizedString write FOnGetLocalizedString;

Called to retrieve a localized translation for the specified |string_id|. To provide the translation set |string| to the translation string and return true (1). To use the default translation return false (0). Include cef_pack_strings.h for a listing of valid string ID values.

This event may be called on multiple threads.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_resource_bundle_handler_capi.h">CEF source file: /include/capi/cef_resource_bundle_handler_capi.h (cef_resource_bundle_handler_t))

Public property OnGetDataResource : TOnGetDataResourceEvent read FOnGetDataResource write FOnGetDataResource;

Called to retrieve data for the specified scale independent |resource_id|. To provide the resource data set |data| and |data_size| to the data pointer and size respectively and return true (1). To use the default resource data return false (0). The resource data will not be copied and must remain resident in memory. Include cef_pack_resources.h for a listing of valid resource ID values.

This event may be called on multiple threads.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_resource_bundle_handler_capi.h">CEF source file: /include/capi/cef_resource_bundle_handler_capi.h (cef_resource_bundle_handler_t))

Public property OnGetDataResourceForScale : TOnGetDataResourceForScaleEvent read FOnGetDataResourceForScale write FOnGetDataResourceForScale;

Called to retrieve data for the specified |resource_id| nearest the scale factor |scale_factor|. To provide the resource data set |data| and |data_size| to the data pointer and size respectively and return true (1). To use the default resource data return false (0). The resource data will not be copied and must remain resident in memory. Include cef_pack_resources.h for a listing of valid resource ID values.

This event may be called on multiple threads.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_resource_bundle_handler_capi.h">CEF source file: /include/capi/cef_resource_bundle_handler_capi.h (cef_resource_bundle_handler_t))

Public property OnWebKitInitialized : TOnWebKitInitializedEvent read FOnWebKitInitialized write FOnWebKitInitialized;

Called after WebKit has been initialized.

This event will be called on the render process main thread (TID_RENDERER)

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_render_process_handler_capi.h">CEF source file: /include/capi/cef_render_process_handler_capi.h (cef_render_process_handler_t))

Public property OnBrowserCreated : TOnBrowserCreatedEvent read FOnBrowserCreated write FOnBrowserCreated;

Called after a browser has been created. When browsing cross-origin a new browser will be created before the old browser with the same identifier is destroyed. |extra_info| is an optional read-only value originating from cef_browser_host_create_browser(), cef_browser_host_create_browser_sync(), ICefLifeSpanHandler.OnBeforePopup or cef_browser_view_create().

This event will be called on the render process main thread (TID_RENDERER)

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_render_process_handler_capi.h">CEF source file: /include/capi/cef_render_process_handler_capi.h (cef_render_process_handler_t))

Public property OnBrowserDestroyed : TOnBrowserDestroyedEvent read FOnBrowserDestroyed write FOnBrowserDestroyed;

Called before a browser is destroyed.

This event will be called on the render process main thread (TID_RENDERER)

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_render_process_handler_capi.h">CEF source file: /include/capi/cef_render_process_handler_capi.h (cef_render_process_handler_t))

Public property OnContextCreated : TOnContextCreatedEvent read FOnContextCreated write FOnContextCreated;

Called immediately after the V8 context for a frame has been created. To retrieve the JavaScript 'window' object use the ICefv8context.GetGlobal function. V8 handles can only be accessed from the thread on which they are created. A task runner for posting tasks on the associated thread can be retrieved via the ICefv8context.GetTaskRunner() function.

This event will be called on the render process main thread (TID_RENDERER)

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_render_process_handler_capi.h">CEF source file: /include/capi/cef_render_process_handler_capi.h (cef_render_process_handler_t))

Public property OnContextReleased : TOnContextReleasedEvent read FOnContextReleased write FOnContextReleased;

Called immediately before the V8 context for a frame is released. No references to the context should be kept after this function is called.

This event will be called on the render process main thread (TID_RENDERER)

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_render_process_handler_capi.h">CEF source file: /include/capi/cef_render_process_handler_capi.h (cef_render_process_handler_t))

Public property OnUncaughtException : TOnUncaughtExceptionEvent read FOnUncaughtException write FOnUncaughtException;

Called for global uncaught exceptions in a frame. Execution of this callback is disabled by default. To enable set TCefSettings.uncaught_exception_stack_size > 0.

This event will be called on the render process main thread (TID_RENDERER)

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_render_process_handler_capi.h">CEF source file: /include/capi/cef_render_process_handler_capi.h (cef_render_process_handler_t))

Public property OnFocusedNodeChanged : TOnFocusedNodeChangedEvent read FOnFocusedNodeChanged write FOnFocusedNodeChanged;

Called when a new node in the the browser gets focus. The |node| value may be NULL if no specific node has gained focus. The node object passed to this function represents a snapshot of the DOM at the time this function is executed. DOM objects are only valid for the scope of this function. Do not keep references to or attempt to access any DOM objects outside the scope of this function.

This event will be called on the render process main thread (TID_RENDERER)

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_render_process_handler_capi.h">CEF source file: /include/capi/cef_render_process_handler_capi.h (cef_render_process_handler_t))

Public property OnProcessMessageReceived : TOnProcessMessageReceivedEvent read FOnProcessMessageReceived write FOnProcessMessageReceived;

Called when a new message is received from a different process. Return true (1) if the message was handled or false (0) otherwise. It is safe to keep a reference to |message| outside of this callback.

This event will be called on the render process main thread (TID_RENDERER)

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_render_process_handler_capi.h">CEF source file: /include/capi/cef_render_process_handler_capi.h (cef_render_process_handler_t))

Public property OnLoadingStateChange : TOnRenderLoadingStateChange read FOnLoadingStateChange write FOnLoadingStateChange;

Called when the loading state has changed. This callback will be executed twice – once when loading is initiated either programmatically or by user action, and once when loading is terminated due to completion, cancellation of failure. It will be called before any calls to OnLoadStart and after all calls to OnLoadError and/or OnLoadEnd.

This event will be called on the render process main thread (TID_RENDERER)

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_load_handler_capi.h">CEF source file: /include/capi/cef_load_handler_capi.h (cef_load_handler_t))

Public property OnLoadStart : TOnRenderLoadStart read FOnLoadStart write FOnLoadStart;

Called after a navigation has been committed and before the browser begins loading contents in the frame. The |frame| value will never be NULL – call the IsMain() function to check if this frame is the main frame. |transition_type| provides information about the source of the navigation and an accurate value is only available in the browser process. Multiple frames may be loading at the same time. Sub-frames may start or continue loading after the main frame load has ended. This function will not be called for same page navigations (fragments, history state, etc.) or for navigations that fail or are canceled before commit. For notification of overall browser load status use OnLoadingStateChange instead.

This event will be called on the render process main thread (TID_RENDERER)

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_load_handler_capi.h">CEF source file: /include/capi/cef_load_handler_capi.h (cef_load_handler_t))

Public property OnLoadEnd : TOnRenderLoadEnd read FOnLoadEnd write FOnLoadEnd;

Called when the browser is done loading a frame. The |frame| value will never be NULL – call the IsMain() function to check if this frame is the main frame. Multiple frames may be loading at the same time. Sub-frames may start or continue loading after the main frame load has ended. This function will not be called for same page navigations (fragments, history state, etc.) or for navigations that fail or are canceled before commit. For notification of overall browser load status use OnLoadingStateChange instead.

This event will be called on the render process main thread (TID_RENDERER)

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_load_handler_capi.h">CEF source file: /include/capi/cef_load_handler_capi.h (cef_load_handler_t))

Public property OnLoadError : TOnRenderLoadError read FOnLoadError write FOnLoadError;

Called when a navigation fails or is canceled. This function may be called by itself if before commit or in combination with OnLoadStart/OnLoadEnd if after commit. |errorCode| is the error code number, |errorText| is the error text and |failedUrl| is the URL that failed to load. See net\base\net_error_list.h for complete descriptions of the error codes.

This event will be called on the render process main thread (TID_RENDERER)

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_load_handler_capi.h">CEF source file: /include/capi/cef_load_handler_capi.h (cef_load_handler_t))


Generated by PasDoc 0.16.0-snapshot.