public void Show(nsIHelperAppLauncher aLauncher, nsISupports aWindowContext, uint aReason) { if (Download != null) { Download(this, new LauncherDialogEvent(aLauncher, aWindowContext, aReason)); } else { aLauncher.Cancel(nsIHelperAppLauncherConstants.NS_BINDING_ABORTED); } }