mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
8d50dc0b07
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 : source : 9660ff09c2212cb7456e50cb166752f42e0a0669 extra : amend_source : 3c5fc61fe09b9b68bdfbb9683335cedd4d706744 |
||
---|---|---|
.. | ||
androidproxy | ||
gnome | ||
osxproxy | ||
unixproxy | ||
windowsproxy |