зеркало из https://github.com/mozilla/gecko-dev.git
#26893, moved GetDOMElement from nsIPluginTagInfo to nsIPluginTagInfo2.h
This commit is contained in:
Родитель
4ecd17e424
Коммит
8527043efd
|
@ -81,19 +81,6 @@ public:
|
|||
*/
|
||||
NS_IMETHOD
|
||||
GetAttribute(const char* name, const char* *result) = 0;
|
||||
|
||||
/**
|
||||
* Returns the DOM element corresponding to the tag which references
|
||||
* this plugin in the document.
|
||||
*
|
||||
* REMIND: do we need to expose as an nsISupports * to avoid
|
||||
* introducing runtime dependencies on XPCOM?
|
||||
*
|
||||
* @param result - resulting DOM element
|
||||
* @result - NS_OK if this operation was successful
|
||||
*/
|
||||
NS_IMETHOD
|
||||
GetDOMElement(nsIDOMElement* *result) = 0;
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -118,6 +118,18 @@ public:
|
|||
NS_IMETHOD
|
||||
GetUniqueID(PRUint32 *result) = 0;
|
||||
|
||||
/**
|
||||
* Returns the DOM element corresponding to the tag which references
|
||||
* this plugin in the document.
|
||||
*
|
||||
* REMIND: do we need to expose as an nsISupports * to avoid
|
||||
* introducing runtime dependencies on XPCOM?
|
||||
*
|
||||
* @param result - resulting DOM element
|
||||
* @result - NS_OK if this operation was successful
|
||||
*/
|
||||
NS_IMETHOD
|
||||
GetDOMElement(nsIDOMElement* *result) = 0;
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -371,10 +371,10 @@ NS_IMETHODIMP nsPluginInstancePeerImpl::GetDOMElement(nsIDOMElement* *result)
|
|||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
nsIPluginTagInfo *tinfo;
|
||||
nsIPluginTagInfo2 *tinfo;
|
||||
nsresult rv;
|
||||
|
||||
rv = mOwner->QueryInterface(kIPluginTagInfoIID, (void **)&tinfo);
|
||||
rv = mOwner->QueryInterface(kIPluginTagInfo2IID, (void **)&tinfo);
|
||||
|
||||
if (NS_OK == rv)
|
||||
{
|
||||
|
|
|
@ -371,10 +371,10 @@ NS_IMETHODIMP nsPluginInstancePeerImpl::GetDOMElement(nsIDOMElement* *result)
|
|||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
nsIPluginTagInfo *tinfo;
|
||||
nsIPluginTagInfo2 *tinfo;
|
||||
nsresult rv;
|
||||
|
||||
rv = mOwner->QueryInterface(kIPluginTagInfoIID, (void **)&tinfo);
|
||||
rv = mOwner->QueryInterface(kIPluginTagInfo2IID, (void **)&tinfo);
|
||||
|
||||
if (NS_OK == rv)
|
||||
{
|
||||
|
|
|
@ -81,19 +81,6 @@ public:
|
|||
*/
|
||||
NS_IMETHOD
|
||||
GetAttribute(const char* name, const char* *result) = 0;
|
||||
|
||||
/**
|
||||
* Returns the DOM element corresponding to the tag which references
|
||||
* this plugin in the document.
|
||||
*
|
||||
* REMIND: do we need to expose as an nsISupports * to avoid
|
||||
* introducing runtime dependencies on XPCOM?
|
||||
*
|
||||
* @param result - resulting DOM element
|
||||
* @result - NS_OK if this operation was successful
|
||||
*/
|
||||
NS_IMETHOD
|
||||
GetDOMElement(nsIDOMElement* *result) = 0;
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -118,6 +118,18 @@ public:
|
|||
NS_IMETHOD
|
||||
GetUniqueID(PRUint32 *result) = 0;
|
||||
|
||||
/**
|
||||
* Returns the DOM element corresponding to the tag which references
|
||||
* this plugin in the document.
|
||||
*
|
||||
* REMIND: do we need to expose as an nsISupports * to avoid
|
||||
* introducing runtime dependencies on XPCOM?
|
||||
*
|
||||
* @param result - resulting DOM element
|
||||
* @result - NS_OK if this operation was successful
|
||||
*/
|
||||
NS_IMETHOD
|
||||
GetDOMElement(nsIDOMElement* *result) = 0;
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Загрузка…
Ссылка в новой задаче