Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Async invoke a save-to-file dialog instead of the full fledged helper app dialog. When the file is chosen (or the dialog is closed), the callback in aLauncher (aLauncher.saveDestinationAvailable) is called with the selected file.
A nsIHelperAppLauncher to be invoked when a file is selected.
Window associated with action.
Default file name to provide (can be null)
Sugested file extension
Set to true to force prompting the user for thet file name/location, otherwise perferences may control if the user is prompted.
Show confirmation dialog for launching application (or "save to disk") for content specified by aLauncher.
A nsIHelperAppLauncher to be invoked when a file is selected.
Window associated with action.
One of the constants from above. It indicates why the dialog is shown. Implementors should treat unknown reasons like REASON_CANTHANDLE.
Generated using TypeDoc
This interface is used to display a confirmation dialog before launching a "helper app" to handle content not handled by Mozilla.
Usage: Clients (of which there is one: the nsIExternalHelperAppService implementation in mozilla/uriloader/exthandler) create an instance of this interface (using the contract ID) and then call the show() method.
The dialog is shown non-modally. The implementation of the dialog will access methods of the nsIHelperAppLauncher passed in to show() in order to cause a "save to disk" or "open using" action.