Parameters
From nsICharsetResolver
Called to resolve the charset that should be used for parsing the
document being loaded from aChannel.
If the charset cannot be resolved, but the implementation of
nsICharsetResolver wants to be notified of the final resolved charset
when one is available, it can set wantCharset to true. If this is done,
the caller of requestCharset is responsible for calling
notifyResovedCharset and passing it the final resolved charset and the
closure that requestCharset set.
@param aWebNavigation the nsIWebNavigation the document is being loaded
in. May be null.
@param aChannel the channel the document is coming in from.
@param aWantCharset gets set to true if notifyResolvedCharset should be
called with the given closure object.
@param aClosure a resulting object which should be passed
to notifyResolvedCharset if wantCharset is set to
true.
@returns the resolved charset, or the empty string if no
charset could be determined.
ACString
requestCharset(in nsIWebNavigation aWebNavigation, in nsIChannel aChannel, out boolean aWantCharset, out nsISupports aClosure)
From nsIDragDropHandler
Attach drag handlers to receiver specified by |attachPoint| and
specify callbacks to allow overriding of the built-in behaviors.
@param attachPoint hookup listeners to this location
@param navigator loads dropped urls via this interface. If NULL,
the client must handle the drop itself, either
through the method provided via |overrideDrop| or
by letting the event bubble up through the DOM.
From nsIWebNavigationInfo
Query whether aType is supported.
@param aType the MIME type in question.
@param aWebNav the nsIWebNavigation object for which the request
is being made. This is allowed to be null. If it is non-null,
the return value of this method may depend on the exact state of
aWebNav and the values set through nsIWebBrowserSetup; otherwise
the method will assume that the caller is interested in information
about nsIWebNavigation objects in their default state.
@return an enum value indicating whether and how aType is supported.
@note This method may rescan plugins to ensure that they're properly
registered for the types they support.