#26893, moved GetDOMElement from nsIPluginTagInfo to nsIPluginTagInfo2.h

This commit is contained in:
av%netscape.com 2000-04-18 21:44:56 +00:00
Родитель 4ecd17e424
Коммит 8527043efd
6 изменённых файлов: 28 добавлений и 30 удалений

Просмотреть файл

@ -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;
};
////////////////////////////////////////////////////////////////////////////////