You've already forked CEF4Delphi
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:
@ -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;
|
||||||
|
Reference in New Issue
Block a user