mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
5b4fd25730
The nsGIOService now provides GetAppsForURIScheme which is used to append handlers for specific scheme in handler list dialog (toolkit/mozapps/handling/content/dialog.js) and also in Applications section in preferences. In case the default system handler or user added handler has same name as one of the GIO handlers, the GIO handler is not appended. The check for not adding handler is by using handler name. The nsGIOMimeApp class now implements nsIHandlerApp interface. Instead overloaded GetName methods (nsCString and nsString) we now use nsString variant everywhere. This require change of nsGNOMERegistry::GetFromType which if fact leads to code simplification. The implementation of nsGNOMEShellService::SetDefaultBrowser has been changed because implementation of CreateAppFromCommand has changed. The CreateAppFromCommand no longer tries to find the application, for that FindAppFromCommand has been introduced. MozReview-Commit-ID: KmfFWRPqV3 --HG-- extra : rebase_source : 36d254cbc45cbe6929cc469cd531211f7ddd6a64 |
||
---|---|---|
.. | ||
mochitest | ||
unit | ||
HandlerServiceTestUtils.jsm | ||
moz.build | ||
WriteArgument.cpp |