Bug 671528 - Add aReason argument to nsIHelperAppLauncher.js so extensions can make use of it. r=paolo

This commit is contained in:
kernp25@yahoo.com 2014-06-17 07:20:00 +02:00
parent 4dd7733b2e
commit 027cd0b08a

View File

@ -111,6 +111,7 @@ function nsUnknownContentTypeDialog() {
// Initialize data properties.
this.mLauncher = null;
this.mContext = null;
this.mReason = null;
this.chosenApp = null;
this.givenDefaultApp = false;
this.updateSelf = true;
@ -139,6 +140,7 @@ nsUnknownContentTypeDialog.prototype = {
show: function(aLauncher, aContext, aReason) {
this.mLauncher = aLauncher;
this.mContext = aContext;
this.mReason = aReason;
const nsITimer = Components.interfaces.nsITimer;
this._showTimer = Components.classes["@mozilla.org/timer;1"]