File download; approved by chofmann
git-svn-id: svn://10.0.0.236/trunk@26796 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -142,6 +142,9 @@ public:
|
||||
const char* aCommand,
|
||||
nsISupports* aExtraInfo);
|
||||
NS_IMETHOD GetContentViewer(nsIContentViewer** aResult);
|
||||
NS_IMETHOD HandleUnknownContentType( nsIURL* aURL,
|
||||
const char *aContentType,
|
||||
const char *aCommand );
|
||||
|
||||
// nsIWebShell
|
||||
NS_IMETHOD Init(nsNativeWidget aNativeParent,
|
||||
@@ -714,6 +717,15 @@ nsWebShell::GetContentViewer(nsIContentViewer** aResult)
|
||||
return rv;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsWebShell::HandleUnknownContentType( nsIURL* aURL,
|
||||
const char *aContentType,
|
||||
const char *aCommand ) {
|
||||
// If we have a doc loader observer, let it respond to this.
|
||||
return mDocLoaderObserver ? mDocLoaderObserver->HandleUnknownContentType( aURL, aContentType, aCommand )
|
||||
: NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsWebShell::Init(nsNativeWidget aNativeParent,
|
||||
PRInt32 x, PRInt32 y, PRInt32 w, PRInt32 h,
|
||||
|
||||
Reference in New Issue
Block a user