Work in progress of async loading of SCRIPT and STYLE with SRC attributes. Content sinks can now return a BLOCK_PARSER return code, forcing the parser to block. nsIParser::EnableParser can be used to unblock. Also introduced nsIContentSink::SetParser.

git-svn-id: svn://10.0.0.236/trunk@16261 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
vidur%netscape.com
1998-12-11 17:02:37 +00:00
parent 7e05adc4f3
commit b0dbe3d498
30 changed files with 249 additions and 14 deletions

View File

@@ -232,6 +232,7 @@ public:
NS_IMETHOD DidBuildModel(PRInt32 aQualityLevel);
NS_IMETHOD WillInterrupt(void);
NS_IMETHOD WillResume(void);
NS_IMETHOD SetParser(nsIParser* aParser);
NS_IMETHOD OpenContainer(const nsIParserNode& aNode);
NS_IMETHOD CloseContainer(const nsIParserNode& aNode);
NS_IMETHOD AddLeaf(const nsIParserNode& aNode);
@@ -292,6 +293,12 @@ nsFrameRegressionDataSink::WillResume()
return NS_OK;
}
NS_IMETHODIMP
nsFrameRegressionDataSink::SetParser(nsIParser* aParser)
{
return NS_OK;
}
NS_IMETHODIMP
nsFrameRegressionDataSink::OpenContainer(const nsIParserNode& aNode)
{