A helper app launcher is a small object created to handle the launching
of an external application.
Note that cancelling the load via the nsICancelable interface will release
the reference to the launcher dialog.
Saves the final destination of the file. Does not actually perform the
save.
NOTE: This will release the reference to the
nsIHelperAppLauncherDialog.
Remembers that aApplication should be used to launch this content. Does
not actually launch the application.
NOTE: This will release the reference to the nsIHelperAppLauncherDialog.
aApplication | nsIFile corresponding to the location of the application to use. |
aRememberThisPreference | TRUE if we should remember this choice. |
Callback invoked by nsIHelperAppLauncherDialog::promptForSaveToFileAsync
after the user has chosen a file through the File Picker (or dismissed it).
aFile | The file that was chosen by the user (or null if dialog was dismissed). |
The following methods are used by the progress dialog to get or set
information on the current helper app launcher download.
This reference will be released when the download is finished (after the
listener receives the STATE_STOP notification).
The mime info object associated with the content type this helper app
launcher is currently attempting to load
The source uri
The suggested name for this file
The file we are saving to
The executable-ness of the target file
Time when the download started
The download content length, or -1 if the length is not available.