Updated work for the Debug plugin. Not part of build.

git-svn-id: svn://10.0.0.236/trunk@121871 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dcone%netscape.com
2002-05-20 13:13:05 +00:00
parent 1e61698378
commit b2c7d98667
9 changed files with 399 additions and 184 deletions

View File

@@ -117,13 +117,14 @@ NS_IMETHODIMP nsScriptablePeer::GetVersion(char * *aVersion)
return NS_OK;
}
NS_IMETHODIMP nsScriptablePeer::DumpLayout(nsISupports *aWindow, const PRUnichar *aFilePath, const PRUnichar *aFileName, PRInt32 *aResult)
NS_IMETHODIMP nsScriptablePeer::DumpLayout(nsISupports *aWindow, const PRUnichar *aFilePath, const PRUnichar *aFileName,
PRUint32 aFlags, PRInt32 *aResult)
{
nsresult rv = NS_OK;
PRBool retVal;
if (mPlugin){
mPlugin->OutPutLayoutFrames(aWindow,aFilePath,aFileName,&retVal);
mPlugin->OutPutLayoutFrames(aWindow,aFilePath,aFileName,aFlags,&retVal);
if (retVal == NS_OK) {
*aResult= 0;
} else {