forked from mirrors/gecko-dev
		
	 c29896177a
			
		
	
	
		c29896177a
		
	
	
	
	
		
			
			In the previous patch, one of the files which was deleted is ShimInterfaceInfo. This is an implementor of nsIInterfaceInfo which exists for legacy reasons, in order to allow Components.interfaces.nsIDOM* to have the correct constants and IIDs associated with them. As that file was deleted, this information now has to be stored in the typelib. To do this, the information is moved to the xptshim and xptshimfile attributes on the relevant xpcom interfaces. xptshim(...) means that this xpcom interface is a shim for the WebIDL interface with the specified name. xptshimfile(...) is for use when the webidl interface is declared in another interface's .webidl file, (in our case, MessageManager.webidl). It contains the name of the parent binding, such that we can #include the correct file in our generated code. This patch does not add the code which uses these changes, only the parsing logic.
		
			
				
	
	
		
			26 lines
		
	
	
	
		
			822 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
	
		
			822 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 | |
| /* 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 nsIContent;
 | |
| 
 | |
| [shim(MessageSender), shimfile(MessageManager),
 | |
|  uuid(bb5d79e4-e73c-45e7-9651-4d718f4b994c)]
 | |
| interface nsIMessageSender : nsISupports
 | |
| {
 | |
| };
 | |
| 
 | |
| [shim(ContentFrameMessageManager), shimfile(MessageManager),
 | |
|  uuid(694e367c-aa25-4446-8499-2c527c4bd838)]
 | |
| interface nsIContentFrameMessageManager : nsIMessageSender
 | |
| {
 | |
| };
 | |
| 
 | |
| [uuid(b39a3324-b574-4f85-8cdb-274d04f807ef)]
 | |
| interface nsIInProcessContentFrameMessageManager : nsIContentFrameMessageManager
 | |
| {
 | |
|   [notxpcom] nsIContent getOwnerContent();
 | |
| };
 |