You've already forked CEF4Delphi
							
							
				mirror of
				https://github.com/salvadordf/CEF4Delphi.git
				synced 2025-10-30 23:07:52 +02:00 
			
		
		
		
	Added GlobalCEFApp.SitePerProcess property
This commit is contained in:
		| @@ -123,6 +123,7 @@ type | ||||
|       FShowMessageDlg                : boolean; | ||||
|       FSetCurrentDir                 : boolean; | ||||
|       FGlobalContextInitialized      : boolean; | ||||
|       FSitePerProcess                : boolean; | ||||
|       FChromeVersionInfo             : TFileVersionInfo; | ||||
|       FLibHandle                     : THandle; | ||||
|       FOnRegisterCustomSchemes       : TOnRegisterCustomSchemes; | ||||
| @@ -325,6 +326,7 @@ type | ||||
|       property LibLoaded                         : boolean                             read FLibLoaded; | ||||
|       property EnableHighDPISupport              : boolean                             read FEnableHighDPISupport              write FEnableHighDPISupport; | ||||
|       property MuteAudio                         : boolean                             read FMuteAudio                         write FMuteAudio; | ||||
|       property SitePerProcess                    : boolean                             read FSitePerProcess                    write FSitePerProcess; | ||||
|       property ReRaiseExceptions                 : boolean                             read FReRaiseExceptions                 write FReRaiseExceptions; | ||||
|       property DeviceScaleFactor                 : single                              read FDeviceScaleFactor; | ||||
|       property CheckDevToolsResources            : boolean                             read FCheckDevToolsResources            write FCheckDevToolsResources; | ||||
| @@ -440,6 +442,7 @@ begin | ||||
|   FOnRegisterCustomSchemes       := nil; | ||||
|   FEnableHighDPISupport          := False; | ||||
|   FMuteAudio                     := False; | ||||
|   FSitePerProcess                := True; | ||||
|   FReRaiseExceptions             := False; | ||||
|   FLibLoaded                     := False; | ||||
|   FShowMessageDlg                := True; | ||||
| @@ -1135,6 +1138,9 @@ begin | ||||
|       if FMuteAudio then | ||||
|         commandLine.AppendSwitch('--mute-audio'); | ||||
|  | ||||
|       if FSitePerProcess then | ||||
|         commandLine.AppendSwitch('--site-per-process'); | ||||
|  | ||||
|       if (FCustomCommandLines       <> nil) and | ||||
|          (FCustomCommandLineValues  <> nil) and | ||||
|          (FCustomCommandLines.Count =  FCustomCommandLineValues.Count) then | ||||
|   | ||||
		Reference in New Issue
	
	Block a user