From 481bbe19eab224eb95d18278ee70c550773c9251 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Thu, 3 Jul 2003 16:37:44 +0000 Subject: Sync with Moz Head, small cleanup. Sync with Moz Head, small cleanup. --- embed/mozilla/ContentHandler.cpp | 8 ++++---- embed/mozilla/ContentHandler.h | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'embed') diff --git a/embed/mozilla/ContentHandler.cpp b/embed/mozilla/ContentHandler.cpp index 6206b9d9a..4a0bbbd36 100644 --- a/embed/mozilla/ContentHandler.cpp +++ b/embed/mozilla/ContentHandler.cpp @@ -231,8 +231,7 @@ NS_IMPL_ISUPPORTS1(GContentHandler, nsIHelperAppLauncherDialog) GContentHandler::GContentHandler() : mUri(nsnull), mMimeType(nsnull), - mDownloadCanceled(PR_FALSE), - mHelperProgress(PR_FALSE) + mDownloadCanceled(PR_FALSE) { NS_INIT_ISUPPORTS(); /* member initializers and constructor code */ @@ -333,12 +332,14 @@ NS_IMETHODIMP GContentHandler:: } } +#if MOZILLA_SNAPSHOT < 9 /* void showProgressDialog (in nsIHelperAppLauncher aLauncher, in nsISupports aContext); */ NS_METHOD GContentHandler::ShowProgressDialog(nsIHelperAppLauncher *aLauncher, nsISupports *aContext) { return NS_ERROR_NOT_IMPLEMENTED; } +#endif //////////////////////////////////////////////////////////////////////////////// // begin local public methods impl @@ -403,8 +404,7 @@ NS_METHOD GContentHandler::LaunchHelperApp (void) NS_METHOD GContentHandler::ShowHelperProgressDialog (void) { - mHelperProgress = PR_TRUE; - return ShowProgressDialog (mLauncher,mContext); + return NS_ERROR_NOT_IMPLEMENTED; } NS_METHOD GContentHandler::GetLauncher (nsIHelperAppLauncher * *_retval) diff --git a/embed/mozilla/ContentHandler.h b/embed/mozilla/ContentHandler.h index 4a6d816d7..9d3cfca2e 100644 --- a/embed/mozilla/ContentHandler.h +++ b/embed/mozilla/ContentHandler.h @@ -92,7 +92,6 @@ class GContentHandler : public nsIHelperAppLauncherDialog nsCString mScheme; PRBool mDownloadCanceled; - PRBool mHelperProgress; nsCOMPtr mListener; }; -- cgit v1.2.3