mirror of
				https://github.com/microsoft/playwright.git
				synced 2025-06-26 21:40:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			705 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			705 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
/* This Source Code Form is subject to the terms of the Mozilla Public
 | 
						|
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 | 
						|
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 | 
						|
 | 
						|
#include "nsISupports.idl"
 | 
						|
 | 
						|
interface nsIDocShell;
 | 
						|
 | 
						|
/**
 | 
						|
 * Service for recording window video.
 | 
						|
 */
 | 
						|
[scriptable, uuid(d8c4d9e0-9462-445e-9e43-68d3872ad1de)]
 | 
						|
interface nsIScreencastService : nsISupports
 | 
						|
{
 | 
						|
  AString startVideoRecording(in nsIDocShell docShell, in ACString fileName, in uint32_t width, in uint32_t height, in double scale, in int32_t offset_top);
 | 
						|
 | 
						|
  /**
 | 
						|
   * Will emit 'juggler-screencast-stopped' when the video file is saved.
 | 
						|
   */
 | 
						|
  void stopVideoRecording(in AString sessionId);
 | 
						|
};
 |