mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	Add |extra_info| parameter for browser creation (fixes issue #1088)
The optional |extra_info| parameter provides an opportunity to specify extra information specific to the created browser that will be passed to CefRenderProcessHandler::OnBrowserCreated() in the render process.
This commit is contained in:
		
				
					committed by
					
						
						Marshall Greenblatt
					
				
			
			
				
	
			
			
			
						parent
						
							ad4ce5f441
						
					
				
				
					commit
					473c29a70d
				
			@@ -1001,6 +1001,7 @@ void BrowserWindowOsrGtk::CreateBrowser(
 | 
			
		||||
    ClientWindowHandle parent_handle,
 | 
			
		||||
    const CefRect& rect,
 | 
			
		||||
    const CefBrowserSettings& settings,
 | 
			
		||||
    CefRefPtr<CefDictionaryValue> extra_info,
 | 
			
		||||
    CefRefPtr<CefRequestContext> request_context) {
 | 
			
		||||
  REQUIRE_MAIN_THREAD();
 | 
			
		||||
 | 
			
		||||
@@ -1021,7 +1022,7 @@ void BrowserWindowOsrGtk::CreateBrowser(
 | 
			
		||||
  // Create the browser asynchronously.
 | 
			
		||||
  CefBrowserHost::CreateBrowser(window_info, client_handler_,
 | 
			
		||||
                                client_handler_->startup_url(), settings,
 | 
			
		||||
                                request_context);
 | 
			
		||||
                                extra_info, request_context);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void BrowserWindowOsrGtk::GetPopupConfig(CefWindowHandle temp_handle,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user