Fixing bug 265334. Adding API for embedders etc to listen to data fed to the parser from the network. r=darin@meer.net, sr=brendan@mozilla.org

This commit is contained in:
jst@mozilla.jstenback.com
2004-11-02 19:52:32 +00:00
parent d85e475efc
commit 2dcab226ad
26 changed files with 412 additions and 45 deletions

View File

@@ -753,6 +753,12 @@ nsXMLContentSink::SetDocumentCharset(nsACString& aCharset)
return NS_OK;
}
nsISupports *
nsXMLContentSink::GetTarget()
{
return mDocument;
}
nsresult
nsXMLContentSink::FlushText(PRBool aCreateTextNode, PRBool* aDidFlush)
{