nsIContentDispatchChooser

This is used to ask a user what they would like to do with a given piece of
content.

Methods

ask(aHandler, aWindowContext, aURI, aReason)

Asks the user what to do with the content.

Parameters

aHander The interface describing the details of how this content should or can be handled.
aWindowContext The parent window context to show this chooser. This can be null, and some implementations may not care about it. Generally, you'll want to pass an nsIDOMWindow in so the chooser can be properly parented when opened.
aURI The URI of the resource that we are asking about.
aReason The reason why we are asking (see above).

Constants

REASON_CANNOT_HANDLE

This request is passed to the helper app dialog because Gecko can not
handle content of this type.