mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 03:49:42 +00:00
Bug 671528 - Add aReason argument to nsIHelperAppLauncher.js so extensions can make use of it. r=paolo
This commit is contained in:
parent
4dd7733b2e
commit
027cd0b08a
@ -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"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user