*** empty log message ***

This commit is contained in:
harishd%netscape.com 1999-04-15 20:08:49 +00:00
parent ab9c01780b
commit 615ffe34cd
2 changed files with 54 additions and 0 deletions

View File

@ -68,6 +68,8 @@ public:
NS_IMETHOD CloseFrameset(const nsIParserNode& aNode);
NS_IMETHOD DoFragment(PRBool aFlag);
NS_IMETHOD BeginContext(PRInt32 aPosition);
NS_IMETHOD EndContext(PRInt32 aPosition);
protected:
PRInt32 mNodeStack[100];
@ -596,4 +598,29 @@ nsresult nsHTMLNullSink::DoFragment(PRBool aFlag)
return NS_OK;
}
/**
* This gets called when handling illegal contents, especially
* in dealing with tables. This method creates a new context.
*
* @update 04/04/99 harishd
* @param aPosition - The position from where the new context begins.
*/
NS_IMETHODIMP
nsHTMLNullSink::BeginContext(PRInt32 aPosition)
{
return NS_OK;
}
/**
* This method terminates any new context that got created by
* BeginContext and switches back to the main context.
*
* @update 04/04/99 harishd
* @param aPosition - Validates the end of a context.
*/
NS_IMETHODIMP
nsHTMLNullSink::EndContext(PRInt32 aPosition)
{
return NS_OK;
}

View File

@ -68,6 +68,8 @@ public:
NS_IMETHOD CloseFrameset(const nsIParserNode& aNode);
NS_IMETHOD DoFragment(PRBool aFlag);
NS_IMETHOD BeginContext(PRInt32 aPosition);
NS_IMETHOD EndContext(PRInt32 aPosition);
protected:
PRInt32 mNodeStack[100];
@ -596,4 +598,29 @@ nsresult nsHTMLNullSink::DoFragment(PRBool aFlag)
return NS_OK;
}
/**
* This gets called when handling illegal contents, especially
* in dealing with tables. This method creates a new context.
*
* @update 04/04/99 harishd
* @param aPosition - The position from where the new context begins.
*/
NS_IMETHODIMP
nsHTMLNullSink::BeginContext(PRInt32 aPosition)
{
return NS_OK;
}
/**
* This method terminates any new context that got created by
* BeginContext and switches back to the main context.
*
* @update 04/04/99 harishd
* @param aPosition - Validates the end of a context.
*/
NS_IMETHODIMP
nsHTMLNullSink::EndContext(PRInt32 aPosition)
{
return NS_OK;
}