This commit is contained in:
harishd%netscape.com 1999-04-15 20:08:49 +00:00
Родитель ab9c01780b
Коммит 615ffe34cd
2 изменённых файлов: 54 добавлений и 0 удалений

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

@ -68,6 +68,8 @@ public:
NS_IMETHOD CloseFrameset(const nsIParserNode& aNode); NS_IMETHOD CloseFrameset(const nsIParserNode& aNode);
NS_IMETHOD DoFragment(PRBool aFlag); NS_IMETHOD DoFragment(PRBool aFlag);
NS_IMETHOD BeginContext(PRInt32 aPosition);
NS_IMETHOD EndContext(PRInt32 aPosition);
protected: protected:
PRInt32 mNodeStack[100]; PRInt32 mNodeStack[100];
@ -596,4 +598,29 @@ nsresult nsHTMLNullSink::DoFragment(PRBool aFlag)
return NS_OK; 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;
}

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

@ -68,6 +68,8 @@ public:
NS_IMETHOD CloseFrameset(const nsIParserNode& aNode); NS_IMETHOD CloseFrameset(const nsIParserNode& aNode);
NS_IMETHOD DoFragment(PRBool aFlag); NS_IMETHOD DoFragment(PRBool aFlag);
NS_IMETHOD BeginContext(PRInt32 aPosition);
NS_IMETHOD EndContext(PRInt32 aPosition);
protected: protected:
PRInt32 mNodeStack[100]; PRInt32 mNodeStack[100];
@ -596,4 +598,29 @@ nsresult nsHTMLNullSink::DoFragment(PRBool aFlag)
return NS_OK; 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;
}