mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-10-31 13:20:59 +00:00 
			
		
		
		
	 bc976fe7e1
			
		
	
	
		bc976fe7e1
		
	
	
	
	
		
			
			This allows main UI processes created while there is a currently running one to request a new tab or a new window with the initial urls provided on the command line. This matches (almost) the behavior of Chromium and Firefox. Add a new IPC protocol between two UI processes. The main UI process will create an IPC server socket, while secondary UI processes will connect to that socket and send over the URLs and action it wants the main process to take.
		
			
				
	
	
		
			4 lines
		
	
	
	
		
			132 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			4 lines
		
	
	
	
		
			132 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| endpoint UIProcessServer {
 | |
|     create_new_tab(Vector<ByteString> urls) => ()
 | |
|     create_new_window(Vector<ByteString> urls) => ()
 | |
| }
 |