mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
Adding support for .mailcap and .mime.types files. Bug 52441, r=jag,
sr=scc
This commit is contained in:
parent
06b7f5c656
commit
631f1e2203
File diff suppressed because it is too large
Load Diff
@ -40,6 +40,10 @@ public:
|
||||
// override nsIExternalHelperAppService methods....
|
||||
NS_IMETHOD LaunchAppWithTempFile(nsIMIMEInfo *aMIMEInfo, nsIFile * aTempFile);
|
||||
|
||||
// override nsIMIMEService methods to contain mime.types and mime.info look up steps
|
||||
NS_IMETHODIMP GetFromExtension(const char *aFileExt, nsIMIMEInfo **_retval);
|
||||
NS_IMETHODIMP GetFromMIMEType(const char *aMIMEType, nsIMIMEInfo **_retval);
|
||||
|
||||
// override nsIExternalProtocolService methods
|
||||
NS_IMETHOD ExternalProtocolHandlerExists(const char * aProtocolScheme, PRBool * aHandlerExists);
|
||||
NS_IMETHOD LoadUrl(nsIURI * aURL);
|
||||
|
Loading…
Reference in New Issue
Block a user