Update to the debug plugin. This is not part of the build.

git-svn-id: svn://10.0.0.236/trunk@121676 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dcone%netscape.com
2002-05-16 21:04:27 +00:00
parent fd4996cb64
commit 618d37f48f
9 changed files with 397 additions and 27 deletions

View File

@@ -117,7 +117,6 @@ NS_IMETHODIMP nsScriptablePeer::GetVersion(char * *aVersion)
return NS_OK;
}
NS_IMETHODIMP nsScriptablePeer::DumpLayout(nsISupports *aWindow, const PRUnichar *aFilePath, const PRUnichar *aFileName, PRInt32 *aResult)
{
nsresult rv = NS_OK;
@@ -134,6 +133,22 @@ PRBool retVal;
return rv;
}
NS_IMETHODIMP nsScriptablePeer::CompareLayoutFiles(const PRUnichar *aBasePath, const PRUnichar *aVerPath,
const PRUnichar *aBaseFile, const PRUnichar *aVerFile, PRUint32 aFlags, PRInt32 *aResult)
{
nsresult rv = NS_OK;
PRBool retVal;
if (mPlugin){
mPlugin->CompareLayoutFrames(aBasePath,aVerPath,aBaseFile,aVerFile,aFlags, &retVal);
if (retVal == NS_OK) {
*aResult= 0;
} else {
*aResult = 1;
}
}
return rv;
}
//
// the following method will be callable from JavaScript