From bde555ddfa9bf0a7c6e827b87bdb6f9f6fd557be Mon Sep 17 00:00:00 2001 From: Salvador Diaz Fau Date: Mon, 13 Feb 2017 15:54:27 +0100 Subject: [PATCH] Command line switch example. Uncomment the line in the DPR file to see an FPS counter in the browser --- demos/MiniBrowser/MiniBrowser.dpr | 3 +++ 1 file changed, 3 insertions(+) diff --git a/demos/MiniBrowser/MiniBrowser.dpr b/demos/MiniBrowser/MiniBrowser.dpr index 4a6fd5af..284e1a17 100644 --- a/demos/MiniBrowser/MiniBrowser.dpr +++ b/demos/MiniBrowser/MiniBrowser.dpr @@ -57,6 +57,9 @@ begin GlobalCEFApp.RemoteDebuggingPort := 9000; 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 begin Application.Initialize;