diff options
Diffstat (limited to 'embed')
-rw-r--r-- | embed/mozilla/ContentHandler.cpp | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/embed/mozilla/ContentHandler.cpp b/embed/mozilla/ContentHandler.cpp index ef2e07b6b..d590905db 100644 --- a/embed/mozilla/ContentHandler.cpp +++ b/embed/mozilla/ContentHandler.cpp @@ -93,15 +93,26 @@ GContentHandler::~GContentHandler() NS_IMPL_ISUPPORTS1(GContentHandler, nsIHelperAppLauncherDialog) +#ifdef MOZ_NSIHELPERAPPLAUNCHERDIALOG_UNSIGNED +/* void show (in nsIHelperAppLauncher aLauncher, in nsISupports aContext, in unsigned long aReason); */ +NS_IMETHODIMP +GContentHandler::Show (nsIHelperAppLauncher *aLauncher, + nsISupports *aContext, + PRUint32 aReason) +#else /* void show (in nsIHelperAppLauncher aLauncher, in nsISupports aContext); */ -NS_IMETHODIMP GContentHandler::Show(nsIHelperAppLauncher *aLauncher, - nsISupports *aContext, - PRBool aForced) +NS_IMETHODIMP +GContentHandler::Show (nsIHelperAppLauncher *aLauncher, + nsISupports *aContext, + PRBool aForced) +#endif { nsresult rv; EphyEmbedSingle *single; gboolean handled = FALSE; + /* FIXME: handle aForced / aReason argument in some way? */ + mContext = aContext; mLauncher = aLauncher; rv = Init (); |