type TCefApplicationCore = class(TInterfacedObject, IApplicationCoreEvents)
Parent class of TCefApplication used to simplify the CEF initialization and destruction.
procedure SetCache(const aValue : ustring); |
|
procedure SetRootCache(const aValue : ustring); |
|
procedure SetBrowserSubprocessPath(const aValue : ustring); |
|
procedure SetFrameworkDirPath(const aValue : ustring); |
|
procedure SetResourcesDirPath(const aValue : ustring); |
|
procedure SetLocalesDirPath(const aValue : ustring); |
|
procedure SetOsmodalLoop(aValue : boolean); |
|
procedure SetKioskPrinting(aValue : boolean); |
|
function GetChromeVersion: ustring; |
|
function GetLibCefVersion: ustring; |
|
function GetLibCefPath: ustring; |
|
function GetChromeElfPath: ustring; |
|
function GetLocalesDirPath: ustring; |
|
function GetResourcesDirPath: ustring; |
|
function GetMustCreateResourceBundleHandler: boolean; virtual; |
|
function GetMustCreateBrowserProcessHandler: boolean; virtual; |
|
function GetMustCreateRenderProcessHandler: boolean; virtual; |
|
function GetMustCreateLoadHandler: boolean; virtual; |
|
function GetGlobalContextInitialized: boolean; |
|
function GetChildProcessesCount: integer; |
|
function GetUsedMemory: uint64; |
|
function GetTotalSystemMemory: uint64; |
|
function GetAvailableSystemMemory: uint64; |
|
function GetSystemMemoryLoad: cardinal; |
|
function GetApiHashUniversal: ustring; |
|
function GetApiHashPlatform: ustring; |
|
function GetApiHashCommit: ustring; |
|
function GetExitCode: TCefResultCode; |
|
function LoadCEFlibrary: boolean; virtual; |
|
function Load_cef_api_hash_h: boolean; |
|
function Load_cef_app_capi_h: boolean; |
|
function Load_cef_app_win_h: boolean; |
|
function Load_cef_browser_capi_h: boolean; |
|
function Load_cef_command_line_capi_h: boolean; |
|
function Load_cef_cookie_capi_h: boolean; |
|
function Load_cef_crash_util_h: boolean; |
|
function Load_cef_drag_data_capi_h: boolean; |
|
function Load_cef_dump_without_crashing_internal_h: boolean; |
|
function Load_cef_file_util_capi_h: boolean; |
|
function Load_cef_i18n_util_capi_h: boolean; |
|
function Load_cef_image_capi_h: boolean; |
|
function Load_cef_menu_model_capi_h: boolean; |
|
function Load_cef_media_router_capi_h: boolean; |
|
function Load_cef_origin_whitelist_capi_h: boolean; |
|
function Load_cef_parser_capi_h: boolean; |
|
function Load_cef_path_util_capi_h: boolean; |
|
function Load_cef_preference_capi_h: boolean; |
|
function Load_cef_print_settings_capi_h: boolean; |
|
function Load_cef_process_message_capi_h: boolean; |
|
function Load_cef_process_util_capi_h: boolean; |
|
function Load_cef_request_capi_h: boolean; |
|
function Load_cef_request_context_capi_h: boolean; |
|
function Load_cef_resource_bundle_capi_h: boolean; |
|
function Load_cef_response_capi_h: boolean; |
|
function Load_cef_scheme_capi_h: boolean; |
|
function Load_cef_server_capi_h: boolean; |
|
function Load_cef_shared_process_message_builder_capi_h: boolean; |
|
function Load_cef_ssl_info_capi_h: boolean; |
|
function Load_cef_stream_capi_h: boolean; |
|
function Load_cef_task_capi_h: boolean; |
|
function Load_cef_task_manager_capi_h: boolean; |
|
function Load_cef_thread_capi_h: boolean; |
|
function Load_cef_trace_capi_h: boolean; |
|
function Load_cef_urlrequest_capi_h: boolean; |
|
function Load_cef_v8_capi_h: boolean; |
|
function Load_cef_values_capi_h: boolean; |
|
function Load_cef_waitable_event_capi_h: boolean; |
|
function Load_cef_xml_reader_capi_h: boolean; |
|
function Load_cef_zip_reader_capi_h: boolean; |
|
function Load_cef_logging_internal_h: boolean; |
|
function Load_cef_string_list_h: boolean; |
|
function Load_cef_string_map_h: boolean; |
|
function Load_cef_string_multimap_h: boolean; |
|
function Load_cef_string_types_h: boolean; |
|
function Load_cef_thread_internal_h: boolean; |
|
function Load_cef_trace_event_internal_h: boolean; |
|
function Load_cef_browser_view_capi_h: boolean; |
|
function Load_cef_display_capi_h: boolean; |
|
function Load_cef_label_button_capi_h: boolean; |
|
function Load_cef_menu_button_capi_h: boolean; |
|
function Load_cef_panel_capi_h: boolean; |
|
function Load_cef_scroll_view_capi_h: boolean; |
|
function Load_cef_textfield_capi_h: boolean; |
|
function Load_cef_window_capi_h: boolean; |
|
function Load_cef_types_linux_h: boolean; |
|
function Load_cef_time_h: boolean; |
|
procedure doOnBeforeCommandLineProcessing(const processType: ustring; const commandLine: ICefCommandLine); virtual; |
|
procedure doOnRegisterCustomSchemes(const registrar: TCefSchemeRegistrarRef); virtual; |
|
procedure doOnRegisterCustomPreferences(type_: TCefPreferencesType; registrar: PCefPreferenceRegistrar); virtual; |
|
procedure doOnContextInitialized; virtual; |
|
procedure doOnBeforeChildProcessLaunch(const commandLine: ICefCommandLine); virtual; |
|
procedure doOnAlreadyRunningAppRelaunch(const commandLine: ICefCommandLine; const current_directory: ustring; var aResult: boolean); virtual; |
|
procedure doOnScheduleMessagePumpWork(const delayMs: Int64); virtual; |
|
procedure doGetDefaultClient(var aClient : ICefClient); virtual; |
|
procedure doGetDefaultRequestContextHandler(var aRequestContextHandler : ICefRequestContextHandler); virtual; |
|
function doGetLocalizedString(stringid: Integer; var stringVal: ustring): Boolean; virtual; |
|
function doGetDataResource(resourceId: Integer; var data: Pointer; var dataSize: NativeUInt): Boolean; virtual; |
|
function doGetDataResourceForScale(resourceId: Integer; scaleFactor: TCefScaleFactor; var data: Pointer; var dataSize: NativeUInt): Boolean; virtual; |
|
procedure doOnWebKitInitialized; virtual; |
|
procedure doOnBrowserCreated(const browser: ICefBrowser; const extra_info: ICefDictionaryValue); virtual; |
|
procedure doOnBrowserDestroyed(const browser: ICefBrowser); virtual; |
|
procedure doOnContextCreated(const browser: ICefBrowser; const frame: ICefFrame; const context: ICefv8Context); virtual; |
|
procedure doOnContextReleased(const browser: ICefBrowser; const frame: ICefFrame; const context: ICefv8Context); virtual; |
|
procedure doOnUncaughtException(const browser: ICefBrowser; const frame: ICefFrame; const context: ICefv8Context; const V8Exception: ICefV8Exception; const stackTrace: ICefV8StackTrace); virtual; |
|
procedure doOnFocusedNodeChanged(const browser: ICefBrowser; const frame: ICefFrame; const node: ICefDomNode); virtual; |
|
procedure doOnProcessMessageReceived(const browser: ICefBrowser; const frame: ICefFrame; sourceProcess: TCefProcessId; const aMessage: ICefProcessMessage; var aHandled : boolean); virtual; |
|
procedure doOnLoadingStateChange(const browser: ICefBrowser; isLoading, canGoBack, canGoForward: Boolean); virtual; |
|
procedure doOnLoadStart(const browser: ICefBrowser; const frame: ICefFrame; transitionType: TCefTransitionType); virtual; |
|
procedure doOnLoadEnd(const browser: ICefBrowser; const frame: ICefFrame; httpStatusCode: Integer); virtual; |
|
procedure doOnLoadError(const browser: ICefBrowser; const frame: ICefFrame; errorCode: TCefErrorCode; const errorText, failedUrl: ustring); virtual; |
|
procedure ShutDown; |
|
procedure FreeLibcefLibrary; |
|
function ExecuteProcess(const aApp : ICefApp) : integer; |
|
procedure InitializeCefMainArgs(var aCefMainArgs : TCefMainArgs); |
|
procedure InitializeSettings(var aSettings : TCefSettings); |
|
function InitializeLibrary(const aApp : ICefApp) : boolean; |
|
procedure RenameAndDeleteDir(const aDirectory : string; aKeepCookies : boolean = False); |
|
procedure DeleteCacheContents(const aDirectory : string); |
|
procedure DeleteCookiesDB(const aDirectory : string); |
|
procedure MoveCookiesDB(const aSrcDirectory, aDstDirectory : string); |
|
function MultiExeProcessing: boolean; |
|
function SingleExeProcessing: boolean; |
|
procedure BeforeInitSubProcess; virtual; |
|
function CheckCEFResources: boolean; virtual; |
|
function CheckCEFDLL: boolean; virtual; |
|
function CheckWindowsVersion: boolean; virtual; |
|
procedure ShowErrorMessageDlg(const aError : string); virtual; |
|
function ParseProcessType: TCefProcessType; |
|
procedure AddCustomCommandLineSwitches(var aKeys, aValues : TStringList); virtual; |
|
procedure AppendSwitch(var aKeys, aValues : TStringList; const aNewKey : ustring; const aNewValue : ustring = ''); |
|
procedure ReplaceSwitch(var aKeys, aValues : TStringList; const aNewKey : ustring; const aNewValue : ustring = ''); |
|
procedure CleanupFeatures(var aKeys, aValues : TStringList; const aEnableKey, aDisableKey : string); |
|
procedure ClearSchemeHandlerFactories; |
|
constructor Create; |
|
destructor Destroy; override; |
|
procedure AfterConstruction; override; |
|
procedure AddCustomCommandLine(const aCommandLine : string; const aValue : string = ''); |
|
function CheckCEFLibrary: boolean; |
|
function StartMainProcess: boolean; |
|
function StartSubProcess: boolean; |
|
procedure DoMessageLoopWork; |
|
procedure RunMessageLoop; |
|
procedure QuitMessageLoop; |
|
procedure UpdateDeviceScaleFactor; virtual; |
|
function ValidComponentID(aComponentID : integer) : boolean; |
|
function NextComponentID: integer; |
|
procedure RemoveComponentID(aComponentID : integer); |
|
function DumpWithoutCrashing(mseconds_between_dumps: int64; const function_name, file_name: ustring; line_number: integer): boolean; |
|
function DumpWithoutCrashingUnthrottled: boolean; |
FNoSandbox: boolean; |
|
Fields used to populate TCefSettings |
FBrowserSubprocessPath: ustring; |
|
This item has no description. |
FFrameworkDirPath: ustring; |
|
This item has no description. |
FMainBundlePath: ustring; |
|
This item has no description. |
FMultiThreadedMessageLoop: boolean; |
|
Only used in macOS |
FExternalMessagePump: boolean; |
|
This item has no description. |
FWindowlessRenderingEnabled: boolean; |
|
This item has no description. |
FCommandLineArgsDisabled: boolean; |
|
This item has no description. |
FCache: ustring; |
|
This item has no description. |
FRootCache: ustring; |
|
This item has no description. |
FPersistSessionCookies: boolean; |
|
This item has no description. |
FUserAgent: ustring; |
|
This item has no description. |
FUserAgentProduct: ustring; |
|
This item has no description. |
FLocale: ustring; |
|
This item has no description. |
FLogFile: ustring; |
|
This item has no description. |
FLogSeverity: TCefLogSeverity; |
|
This item has no description. |
FLogItems: TCefLogItems; |
|
This item has no description. |
FJavaScriptFlags: ustring; |
|
This item has no description. |
FResourcesDirPath: ustring; |
|
This item has no description. |
FLocalesDirPath: ustring; |
|
This item has no description. |
FRemoteDebuggingPort: integer; |
|
This item has no description. |
FUncaughtExceptionStackSize: integer; |
|
This item has no description. |
FIgnoreCertificateErrors: boolean; |
|
This item has no description. |
FBackgroundColor: TCefColor; |
|
This item has no description. |
FAcceptLanguageList: ustring; |
|
This item has no description. |
FCookieableSchemesList: ustring; |
|
This item has no description. |
FCookieableSchemesExcludeDefaults: boolean; |
|
This item has no description. |
FChromePolicyId: ustring; |
|
This item has no description. |
FChromeAppIconId: integer; |
|
This item has no description. |
FSingleProcess: boolean; |
|
Fields used to set command line switches |
FEnableMediaStream: boolean; |
|
This item has no description. |
FEnableSpeechInput: boolean; |
|
This item has no description. |
FUseFakeUIForMediaStream: boolean; |
|
This item has no description. |
FEnableUsermediaScreenCapturing: boolean; |
|
This item has no description. |
FEnableGPU: boolean; |
|
This item has no description. |
FEnableFeatures: ustring; |
|
This item has no description. |
FDisableFeatures: ustring; |
|
This item has no description. |
FEnableBlinkFeatures: ustring; |
|
This item has no description. |
FDisableBlinkFeatures: ustring; |
|
This item has no description. |
FBlinkSettings: ustring; |
|
This item has no description. |
FForceFieldTrials: ustring; |
|
This item has no description. |
FForceFieldTrialParams: ustring; |
|
This item has no description. |
FSmoothScrolling: TCefState; |
|
This item has no description. |
FMuteAudio: boolean; |
|
This item has no description. |
FSitePerProcess: boolean; |
|
This item has no description. |
FDisableWebSecurity: boolean; |
|
This item has no description. |
FDisablePDFExtension: boolean; |
|
This item has no description. |
FDisableSiteIsolationTrials: boolean; |
|
This item has no description. |
FDisableChromeLoginPrompt: boolean; |
|
This item has no description. |
FDisableExtensions: boolean; |
|
This item has no description. |
FAutoplayPolicy: TCefAutoplayPolicy; |
|
This item has no description. |
FDisableBackgroundNetworking: boolean; |
|
This item has no description. |
FMetricsRecordingOnly: boolean; |
|
This item has no description. |
FAllowFileAccessFromFiles: boolean; |
|
This item has no description. |
FAllowRunningInsecureContent: boolean; |
|
This item has no description. |
FEnablePrintPreview: boolean; |
|
This item has no description. |
FDefaultEncoding: ustring; |
|
This item has no description. |
FDisableJavascript: boolean; |
|
This item has no description. |
FDisableJavascriptCloseWindows: boolean; |
|
This item has no description. |
FDisableJavascriptAccessClipboard: boolean; |
|
This item has no description. |
FDisableJavascriptDomPaste: boolean; |
|
This item has no description. |
FAllowUniversalAccessFromFileUrls: boolean; |
|
This item has no description. |
FDisableImageLoading: boolean; |
|
This item has no description. |
FImageShrinkStandaloneToFit: boolean; |
|
This item has no description. |
FDisableTextAreaResize: boolean; |
|
This item has no description. |
FDisableTabToLinks: boolean; |
|
This item has no description. |
FEnableProfanityFilter: boolean; |
|
This item has no description. |
FDisableSpellChecking: boolean; |
|
This item has no description. |
FOverrideSpellCheckLang: ustring; |
|
This item has no description. |
FTouchEvents: TCefState; |
|
This item has no description. |
FDisableReadingFromCanvas: boolean; |
|
This item has no description. |
FHyperlinkAuditing: boolean; |
|
This item has no description. |
FDisableNewBrowserInfoTimeout: boolean; |
|
This item has no description. |
FDevToolsProtocolLogFile: ustring; |
|
This item has no description. |
FForcedDeviceScaleFactor: single; |
|
This item has no description. |
FDisableZygote: boolean; |
|
This item has no description. |
FUseMockKeyChain: boolean; |
|
Only used in Linux |
FDisableRequestHandlingForTesting: boolean; |
|
Only used in macOS |
FDisablePopupBlocking: boolean; |
|
This item has no description. |
FDisableBackForwardCache: boolean; |
|
This item has no description. |
FDisableComponentUpdate: boolean; |
|
This item has no description. |
FAllowInsecureLocalhost: boolean; |
|
This item has no description. |
FKioskPrinting: boolean; |
|
This item has no description. |
FTreatInsecureOriginAsSecure: ustring; |
|
This item has no description. |
FNetLogEnabled: boolean; |
|
This item has no description. |
FNetLogFile: ustring; |
|
This item has no description. |
FNetLogCaptureMode: TCefNetLogCaptureMode; |
|
This item has no description. |
FRemoteAllowOrigins: ustring; |
|
This item has no description. |
FAutoAcceptCamAndMicCapture: boolean; |
|
This item has no description. |
FUIColorMode: TCefUIColorMode; |
|
This item has no description. |
FDisableHangMonitor: boolean; |
|
This item has no description. |
FHideCrashRestoreBubble: boolean; |
|
This item has no description. |
FPostQuantumKyber: TCefState; |
|
This item has no description. |
FWindowsSandboxInfo: pointer; |
|
Fields used during the CEF initialization |
FDeleteCache: boolean; |
|
Fields used by custom properties |
FDeleteCookies: boolean; |
|
This item has no description. |
FCheckCEFFiles: boolean; |
|
This item has no description. |
FShowMessageDlg: boolean; |
|
This item has no description. |
FMissingBinariesException: boolean; |
|
This item has no description. |
FSetCurrentDir: boolean; |
|
This item has no description. |
FGlobalContextInitialized: boolean; |
|
This item has no description. |
FChromeVersionInfo: TFileVersionInfo; |
|
This item has no description. |
FLibLoaded: boolean; |
|
This item has no description. |
FLogProcessInfo: boolean; |
|
This item has no description. |
FReRaiseExceptions: boolean; |
|
This item has no description. |
FDeviceScaleFactor: single; |
|
This item has no description. |
FLocalesRequired: ustring; |
|
This item has no description. |
FProcessType: TCefProcessType; |
|
This item has no description. |
FMustCreateResourceBundleHandler: boolean; |
|
This item has no description. |
FMustCreateBrowserProcessHandler: boolean; |
|
This item has no description. |
FMustCreateRenderProcessHandler: boolean; |
|
This item has no description. |
FMustCreateLoadHandler: boolean; |
|
This item has no description. |
FStatus: TCefAplicationStatus; |
|
This item has no description. |
FMissingLibFiles: string; |
|
This item has no description. |
FMustFreeLibrary: boolean; |
|
This item has no description. |
FLastErrorMessage: ustring; |
|
This item has no description. |
FLibHandle: TLibHandle; |
|
Internal fields |
FCustomCommandLines: TStringList; |
|
This item has no description. |
FCustomCommandLineValues: TStringList; |
|
This item has no description. |
FAppSettings: TCefSettings; |
|
This item has no description. |
FDisableGPUCache: boolean; |
|
This item has no description. |
FComponentIDList: TCEFComponentIdList; |
|
This item has no description. |
FOnRegisterCustomSchemes: TOnRegisterCustomSchemesEvent; |
|
ICefApp |
FOnRegisterCustomPreferences: TOnRegisterCustomPreferencesEvent; |
|
ICefBrowserProcessHandler |
FOnContextInitialized: TOnContextInitializedEvent; |
|
This item has no description. |
FOnBeforeChildProcessLaunch: TOnBeforeChildProcessLaunchEvent; |
|
This item has no description. |
FOnAlreadyRunningAppRelaunch: TOnAlreadyRunningAppRelaunchEvent; |
|
This item has no description. |
FOnScheduleMessagePumpWork: TOnScheduleMessagePumpWorkEvent; |
|
This item has no description. |
FOnGetDefaultClient: TOnGetDefaultClientEvent; |
|
This item has no description. |
FOnGetDefaultRequestContextHandler: TOnGetDefaultRequestContextHandlerEvent; |
|
This item has no description. |
FOnGetLocalizedString: TOnGetLocalizedStringEvent; |
|
ICefResourceBundleHandler |
FOnGetDataResource: TOnGetDataResourceEvent; |
|
This item has no description. |
FOnGetDataResourceForScale: TOnGetDataResourceForScaleEvent; |
|
This item has no description. |
FOnWebKitInitialized: TOnWebKitInitializedEvent; |
|
ICefRenderProcessHandler |
FOnBrowserCreated: TOnBrowserCreatedEvent; |
|
This item has no description. |
FOnBrowserDestroyed: TOnBrowserDestroyedEvent; |
|
This item has no description. |
FOnContextCreated: TOnContextCreatedEvent; |
|
This item has no description. |
FOnContextReleased: TOnContextReleasedEvent; |
|
This item has no description. |
FOnUncaughtException: TOnUncaughtExceptionEvent; |
|
This item has no description. |
FOnFocusedNodeChanged: TOnFocusedNodeChangedEvent; |
|
This item has no description. |
FOnProcessMessageReceived: TOnProcessMessageReceivedEvent; |
|
This item has no description. |
FOnLoadingStateChange: TOnRenderLoadingStateChange; |
|
ICefLoadHandler |
FOnLoadStart: TOnRenderLoadStart; |
|
This item has no description. |
FOnLoadEnd: TOnRenderLoadEnd; |
|
This item has no description. |
FOnLoadError: TOnRenderLoadError; |
|
This item has no description. |
procedure SetCache(const aValue : ustring); |
|
This item has no description. |
procedure SetRootCache(const aValue : ustring); |
|
This item has no description. |
procedure SetBrowserSubprocessPath(const aValue : ustring); |
|
This item has no description. |
procedure SetFrameworkDirPath(const aValue : ustring); |
|
This item has no description. |
procedure SetResourcesDirPath(const aValue : ustring); |
|
This item has no description. |
procedure SetLocalesDirPath(const aValue : ustring); |
|
This item has no description. |
procedure SetOsmodalLoop(aValue : boolean); |
|
This item has no description. |
procedure SetKioskPrinting(aValue : boolean); |
|
This item has no description. |
function GetChromeVersion: ustring; |
|
This item has no description. |
function GetLibCefVersion: ustring; |
|
This item has no description. |
function GetLibCefPath: ustring; |
|
This item has no description. |
function GetChromeElfPath: ustring; |
|
This item has no description. |
function GetLocalesDirPath: ustring; |
|
This item has no description. |
function GetResourcesDirPath: ustring; |
|
This item has no description. |
function GetMustCreateResourceBundleHandler: boolean; virtual; |
|
This item has no description. |
function GetMustCreateBrowserProcessHandler: boolean; virtual; |
|
This item has no description. |
function GetMustCreateRenderProcessHandler: boolean; virtual; |
|
This item has no description. |
function GetMustCreateLoadHandler: boolean; virtual; |
|
This item has no description. |
function GetGlobalContextInitialized: boolean; |
|
This item has no description. |
function GetChildProcessesCount: integer; |
|
This item has no description. |
function GetUsedMemory: uint64; |
|
This item has no description. |
function GetTotalSystemMemory: uint64; |
|
This item has no description. |
function GetAvailableSystemMemory: uint64; |
|
This item has no description. |
function GetSystemMemoryLoad: cardinal; |
|
This item has no description. |
function GetApiHashUniversal: ustring; |
|
This item has no description. |
function GetApiHashPlatform: ustring; |
|
This item has no description. |
function GetApiHashCommit: ustring; |
|
This item has no description. |
function GetExitCode: TCefResultCode; |
|
This item has no description. |
function LoadCEFlibrary: boolean; virtual; |
|
This item has no description. |
function Load_cef_api_hash_h: boolean; |
|
This item has no description. |
function Load_cef_app_capi_h: boolean; |
|
This item has no description. |
function Load_cef_app_win_h: boolean; |
|
This item has no description. |
function Load_cef_browser_capi_h: boolean; |
|
This item has no description. |
function Load_cef_command_line_capi_h: boolean; |
|
This item has no description. |
function Load_cef_cookie_capi_h: boolean; |
|
This item has no description. |
function Load_cef_crash_util_h: boolean; |
|
This item has no description. |
function Load_cef_drag_data_capi_h: boolean; |
|
This item has no description. |
function Load_cef_dump_without_crashing_internal_h: boolean; |
|
This item has no description. |
function Load_cef_file_util_capi_h: boolean; |
|
This item has no description. |
function Load_cef_i18n_util_capi_h: boolean; |
|
This item has no description. |
function Load_cef_image_capi_h: boolean; |
|
This item has no description. |
function Load_cef_menu_model_capi_h: boolean; |
|
This item has no description. |
function Load_cef_media_router_capi_h: boolean; |
|
This item has no description. |
function Load_cef_origin_whitelist_capi_h: boolean; |
|
This item has no description. |
function Load_cef_parser_capi_h: boolean; |
|
This item has no description. |
function Load_cef_path_util_capi_h: boolean; |
|
This item has no description. |
function Load_cef_preference_capi_h: boolean; |
|
This item has no description. |
function Load_cef_print_settings_capi_h: boolean; |
|
This item has no description. |
function Load_cef_process_message_capi_h: boolean; |
|
This item has no description. |
function Load_cef_process_util_capi_h: boolean; |
|
This item has no description. |
function Load_cef_request_capi_h: boolean; |
|
This item has no description. |
function Load_cef_request_context_capi_h: boolean; |
|
This item has no description. |
function Load_cef_resource_bundle_capi_h: boolean; |
|
This item has no description. |
function Load_cef_response_capi_h: boolean; |
|
This item has no description. |
function Load_cef_scheme_capi_h: boolean; |
|
This item has no description. |
function Load_cef_server_capi_h: boolean; |
|
This item has no description. |
function Load_cef_shared_process_message_builder_capi_h: boolean; |
|
This item has no description. |
function Load_cef_ssl_info_capi_h: boolean; |
|
This item has no description. |
function Load_cef_stream_capi_h: boolean; |
|
This item has no description. |
function Load_cef_task_capi_h: boolean; |
|
This item has no description. |
function Load_cef_task_manager_capi_h: boolean; |
|
This item has no description. |
function Load_cef_thread_capi_h: boolean; |
|
This item has no description. |
function Load_cef_trace_capi_h: boolean; |
|
This item has no description. |
function Load_cef_urlrequest_capi_h: boolean; |
|
This item has no description. |
function Load_cef_v8_capi_h: boolean; |
|
This item has no description. |
function Load_cef_values_capi_h: boolean; |
|
This item has no description. |
function Load_cef_waitable_event_capi_h: boolean; |
|
This item has no description. |
function Load_cef_xml_reader_capi_h: boolean; |
|
This item has no description. |
function Load_cef_zip_reader_capi_h: boolean; |
|
This item has no description. |
function Load_cef_logging_internal_h: boolean; |
|
This item has no description. |
function Load_cef_string_list_h: boolean; |
|
This item has no description. |
function Load_cef_string_map_h: boolean; |
|
This item has no description. |
function Load_cef_string_multimap_h: boolean; |
|
This item has no description. |
function Load_cef_string_types_h: boolean; |
|
This item has no description. |
function Load_cef_thread_internal_h: boolean; |
|
This item has no description. |
function Load_cef_trace_event_internal_h: boolean; |
|
This item has no description. |
function Load_cef_browser_view_capi_h: boolean; |
|
This item has no description. |
function Load_cef_display_capi_h: boolean; |
|
This item has no description. |
function Load_cef_label_button_capi_h: boolean; |
|
This item has no description. |
function Load_cef_menu_button_capi_h: boolean; |
|
This item has no description. |
function Load_cef_panel_capi_h: boolean; |
|
This item has no description. |
function Load_cef_scroll_view_capi_h: boolean; |
|
This item has no description. |
function Load_cef_textfield_capi_h: boolean; |
|
This item has no description. |
function Load_cef_window_capi_h: boolean; |
|
This item has no description. |
function Load_cef_types_linux_h: boolean; |
|
This item has no description. |
function Load_cef_time_h: boolean; |
|
This item has no description. |
procedure doOnBeforeCommandLineProcessing(const processType: ustring; const commandLine: ICefCommandLine); virtual; |
|
ICefApp |
procedure doOnRegisterCustomSchemes(const registrar: TCefSchemeRegistrarRef); virtual; |
|
This item has no description. |
procedure doOnRegisterCustomPreferences(type_: TCefPreferencesType; registrar: PCefPreferenceRegistrar); virtual; |
|
ICefBrowserProcessHandler |
procedure doOnContextInitialized; virtual; |
|
This item has no description. |
procedure doOnBeforeChildProcessLaunch(const commandLine: ICefCommandLine); virtual; |
|
This item has no description. |
procedure doOnAlreadyRunningAppRelaunch(const commandLine: ICefCommandLine; const current_directory: ustring; var aResult: boolean); virtual; |
|
This item has no description. |
procedure doOnScheduleMessagePumpWork(const delayMs: Int64); virtual; |
|
This item has no description. |
procedure doGetDefaultClient(var aClient : ICefClient); virtual; |
|
This item has no description. |
procedure doGetDefaultRequestContextHandler(var aRequestContextHandler : ICefRequestContextHandler); virtual; |
|
This item has no description. |
function doGetLocalizedString(stringid: Integer; var stringVal: ustring): Boolean; virtual; |
|
ICefResourceBundleHandler |
function doGetDataResource(resourceId: Integer; var data: Pointer; var dataSize: NativeUInt): Boolean; virtual; |
|
This item has no description. |
function doGetDataResourceForScale(resourceId: Integer; scaleFactor: TCefScaleFactor; var data: Pointer; var dataSize: NativeUInt): Boolean; virtual; |
|
This item has no description. |
procedure doOnWebKitInitialized; virtual; |
|
ICefRenderProcessHandler |
procedure doOnBrowserCreated(const browser: ICefBrowser; const extra_info: ICefDictionaryValue); virtual; |
|
This item has no description. |
procedure doOnBrowserDestroyed(const browser: ICefBrowser); virtual; |
|
This item has no description. |
procedure doOnContextCreated(const browser: ICefBrowser; const frame: ICefFrame; const context: ICefv8Context); virtual; |
|
This item has no description. |
procedure doOnContextReleased(const browser: ICefBrowser; const frame: ICefFrame; const context: ICefv8Context); virtual; |
|
This item has no description. |
procedure doOnUncaughtException(const browser: ICefBrowser; const frame: ICefFrame; const context: ICefv8Context; const V8Exception: ICefV8Exception; const stackTrace: ICefV8StackTrace); virtual; |
|
This item has no description. |
procedure doOnFocusedNodeChanged(const browser: ICefBrowser; const frame: ICefFrame; const node: ICefDomNode); virtual; |
|
This item has no description. |
procedure doOnProcessMessageReceived(const browser: ICefBrowser; const frame: ICefFrame; sourceProcess: TCefProcessId; const aMessage: ICefProcessMessage; var aHandled : boolean); virtual; |
|
This item has no description. |
procedure doOnLoadingStateChange(const browser: ICefBrowser; isLoading, canGoBack, canGoForward: Boolean); virtual; |
|
ICefLoadHandler |
procedure doOnLoadStart(const browser: ICefBrowser; const frame: ICefFrame; transitionType: TCefTransitionType); virtual; |
|
This item has no description. |
procedure doOnLoadEnd(const browser: ICefBrowser; const frame: ICefFrame; httpStatusCode: Integer); virtual; |
|
This item has no description. |
procedure doOnLoadError(const browser: ICefBrowser; const frame: ICefFrame; errorCode: TCefErrorCode; const errorText, failedUrl: ustring); virtual; |
|
This item has no description. |
procedure ShutDown; |
|
This item has no description. |
procedure FreeLibcefLibrary; |
|
This item has no description. |
function ExecuteProcess(const aApp : ICefApp) : integer; |
|
This item has no description. |
procedure InitializeCefMainArgs(var aCefMainArgs : TCefMainArgs); |
|
This item has no description. |
procedure InitializeSettings(var aSettings : TCefSettings); |
|
This item has no description. |
function InitializeLibrary(const aApp : ICefApp) : boolean; |
|
This item has no description. |
procedure RenameAndDeleteDir(const aDirectory : string; aKeepCookies : boolean = False); |
|
This item has no description. |
procedure DeleteCacheContents(const aDirectory : string); |
|
This item has no description. |
procedure DeleteCookiesDB(const aDirectory : string); |
|
This item has no description. |
procedure MoveCookiesDB(const aSrcDirectory, aDstDirectory : string); |
|
This item has no description. |
function MultiExeProcessing: boolean; |
|
This item has no description. |
function SingleExeProcessing: boolean; |
|
This item has no description. |
procedure BeforeInitSubProcess; virtual; |
|
This item has no description. |
function CheckCEFResources: boolean; virtual; |
|
This item has no description. |
function CheckCEFDLL: boolean; virtual; |
|
This item has no description. |
function CheckWindowsVersion: boolean; virtual; |
|
This item has no description. |
procedure ShowErrorMessageDlg(const aError : string); virtual; |
|
This item has no description. |
function ParseProcessType: TCefProcessType; |
|
This item has no description. |
procedure AddCustomCommandLineSwitches(var aKeys, aValues : TStringList); virtual; |
|
This item has no description. |
procedure AppendSwitch(var aKeys, aValues : TStringList; const aNewKey : ustring; const aNewValue : ustring = ''); |
|
This item has no description. |
procedure ReplaceSwitch(var aKeys, aValues : TStringList; const aNewKey : ustring; const aNewValue : ustring = ''); |
|
This item has no description. |
procedure CleanupFeatures(var aKeys, aValues : TStringList; const aEnableKey, aDisableKey : string); |
|
This item has no description. |
procedure ClearSchemeHandlerFactories; |
|
This item has no description. |
constructor Create; |
|
This item has no description. |
destructor Destroy; override; |
|
This item has no description. |
procedure AfterConstruction; override; |
|
This item has no description. |
procedure AddCustomCommandLine(const aCommandLine : string; const aValue : string = ''); |
|
Used to add any command line switch that is not available as a TCEFApplicationCore property. |
function CheckCEFLibrary: boolean; |
|
Used to check the CEF binaries manually. |
procedure UpdateDeviceScaleFactor; virtual; |
|
Update the DeviceScaleFactor value with the current monitor scale. |
function ValidComponentID(aComponentID : integer) : boolean; |
|
Returns true if a custom component ID is valid before executing a CEF task. |
function NextComponentID: integer; |
|
Returns the next component ID and adds this value to the valid ID list. |
procedure RemoveComponentID(aComponentID : integer); |
|
Removes a component ID from the valid ID list when a component is destroyed. |
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)) ReturnsReturns true if the dump was successfully generated, false otherwise |
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)) ReturnsReturns true if the dump was successfully generated, false otherwise |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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). |
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. |
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. |
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. |
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. |
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. |
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". |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
property CookieableSchemesExcludeDefaults : boolean read FCookieableSchemesExcludeDefaults write FCookieableSchemesExcludeDefaults; |
|
See the CookieableSchemesList property. |
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. |
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. |
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) |
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) |
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) |
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) |
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) |
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) |
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 |
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 |
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: |
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: |
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 |
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 |
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 |
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) |
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) |
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 |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
property TLS13HybridizedKyberSupport : TCefState read FPostQuantumKyber write FPostQuantumKyber; |
|
This option enables a combination of X25519 and Kyber in TLS 1.3. |
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) |
property WindowsSandboxInfo : Pointer read FWindowsSandboxInfo write FWindowsSandboxInfo; |
|
Pointer to the sandbox info. Currently unused in Delphi and Lazarus. |
property DeleteCache : boolean read FDeleteCache write FDeleteCache; |
|
Used to delete all the cache files before CEF is initialized. |
property DeleteCookies : boolean read FDeleteCookies write FDeleteCookies; |
|
Used to delete all the cookies before CEF is initialized. |
property CheckCEFFiles : boolean read FCheckCEFFiles write FCheckCEFFiles; |
|
Checks if the CEF binaries are present and the DLL version. |
property ShowMessageDlg : boolean read FShowMessageDlg write FShowMessageDlg; |
|
Set to true when you need to use a showmessage dialog to show the error messages. |
property MissingBinariesException : boolean read FMissingBinariesException write FMissingBinariesException; |
|
Raise an exception when the CEF binaries check fails. |
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. |
property GlobalContextInitialized : boolean read GetGlobalContextInitialized; |
|
Set to True when the global context is initialized and the application can start creating web browsers. |
property ChromeMajorVer : uint16 read FChromeVersionInfo.MajorVer; |
|
Returns the major version information from Chromium. |
property ChromeMinorVer : uint16 read FChromeVersionInfo.MinorVer; |
|
Returns the minor version information from Chromium. |
property ChromeRelease : uint16 read FChromeVersionInfo.Release; |
|
Returns the release version information from Chromium. |
property ChromeBuild : uint16 read FChromeVersionInfo.Build; |
|
Returns the build version information from Chromium. |
property ChromeVersion : ustring read GetChromeVersion; |
|
Returns the full version information from Chromium. |
property LibCefVersion : ustring read GetLibCefVersion; |
|
Complete libcef version information. |
property LibCefPath : ustring read GetLibCefPath; |
|
Path to libcef.dll or libcef.so |
property ChromeElfPath : ustring read GetChromeElfPath; |
|
Returns the path to chrome_elf.dll. |
property LibLoaded : boolean read FLibLoaded; |
|
Set to true when TCEFApplicationCore has loaded the CEF libraries. |
property LogProcessInfo : boolean read FLogProcessInfo write FLogProcessInfo; |
|
Add a debug log information line when the CEF libraries are loaded. |
property ReRaiseExceptions : boolean read FReRaiseExceptions write FReRaiseExceptions; |
|
Set to true to raise all exceptions. |
property DeviceScaleFactor : single read FDeviceScaleFactor; |
|
Returns the device scale factor used in OSR mode. |
property LocalesRequired : ustring read FLocalesRequired write FLocalesRequired; |
|
List of locale files that will be checked with CheckCEFFiles. |
property ProcessType : TCefProcessType read FProcessType; |
|
CEF process type currently running. |
property MustCreateResourceBundleHandler : boolean read GetMustCreateResourceBundleHandler write FMustCreateResourceBundleHandler; |
|
Force the creation of ICefResourceBundleHandler. |
property MustCreateBrowserProcessHandler : boolean read GetMustCreateBrowserProcessHandler write FMustCreateBrowserProcessHandler; |
|
Force the creation of ICefBrowserProcessHandler. |
property MustCreateRenderProcessHandler : boolean read GetMustCreateRenderProcessHandler write FMustCreateRenderProcessHandler; |
|
Force the creation of ICefRenderProcessHandler. |
property MustCreateLoadHandler : boolean read GetMustCreateLoadHandler write FMustCreateLoadHandler; |
|
Force the creation of ICefLoadHandler. |
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)) |
property Status : TCefAplicationStatus read FStatus; |
|
Returns the TCEFApplicationCore initialization status. |
property MissingLibFiles : string read FMissingLibFiles; |
|
List of missing CEF library files. |
property MustFreeLibrary : boolean read FMustFreeLibrary write FMustFreeLibrary; |
|
Set to true to free the library handle when TCEFApplicationCore is destroyed. |
property ChildProcessesCount : integer read GetChildProcessesCount; |
|
Returns the number of CEF subprocesses running at that moment. |
property UsedMemory : uint64 read GetUsedMemory; |
|
Total used memory by all CEF processes. |
property TotalSystemMemory : uint64 read GetTotalSystemMemory; |
|
Total system memory in Windows. |
property AvailableSystemMemory : uint64 read GetAvailableSystemMemory; |
|
Calculates the available memory in Windows. |
property SystemMemoryLoad : cardinal read GetSystemMemoryLoad; |
|
Memory load in Windows. |
property ApiHashUniversal : ustring read GetApiHashUniversal; |
|
Calls cef_api_hash to get the universal hash. |
property ApiHashPlatform : ustring read GetApiHashPlatform; |
|
Calls cef_api_hash to get the platform hash. |
property ApiHashCommit : ustring read GetApiHashCommit; |
|
Calls cef_api_hash to get the commit hash. |
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). |
property LastErrorMessage : ustring read FLastErrorMessage; |
|
Last error message that is usually shown when CEF finds a problem at initialization. |
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)) |
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)) |
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)) |
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)) |
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)) |
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)) |
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)) |
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)) |
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)) |
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)) |
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)) |
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)) |
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)) |
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)) |
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)) |
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)) |
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)) |
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)) |
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)) |
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)) |
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)) |
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)) |
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)) |