1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2025-06-22 22:17:48 +02:00

Command line switch example.

Uncomment the line in the DPR file to see an FPS counter in the browser
This commit is contained in:
Salvador Diaz Fau
2017-02-13 15:54:27 +01:00
parent 9b4bb2a27c
commit bde555ddfa

View File

@ -57,6 +57,9 @@ begin
GlobalCEFApp.RemoteDebuggingPort := 9000; GlobalCEFApp.RemoteDebuggingPort := 9000;
GlobalCEFApp.RenderProcessHandler := TCustomRenderProcessHandler.Create; GlobalCEFApp.RenderProcessHandler := TCustomRenderProcessHandler.Create;
// Example of command line switch. Uncomment the following line to see an FPS counter in the browser.
//GlobalCEFApp.AddCustomCommandLine('--show-fps-counter');
if GlobalCEFApp.StartMainProcess then if GlobalCEFApp.StartMainProcess then
begin begin
Application.Initialize; Application.Initialize;