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
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
I'm pretty sure these changes are correct, but please double-check my work
(especially on the test, which becomes much simpler now that there's only one
pref controlling the behavior).
MozReview-Commit-ID: JhjZeVAMxAV
This code that checks the status code is not necessary, the boolean answer is already stored in Services.appinfo.browserTabsRemoteAutostart.
MozReview-Commit-ID: HhanM9nnXBs
This code that checks the status code is not necessary, the boolean answer is already stored in Services.appinfo.browserTabsRemoteAutostart.
MozReview-Commit-ID: HlU3ypyWt1p
- Send a ping when user type in "Home page" box.
- String is longer than 4 letters and with at least one ".".
- String is not deleted after 3 seconds.
- Send a ping when "Use Current Page" is clicked.
- Send a ping when "Use Bookmark" is clicked.
- Send the number of "|" is detected in "Home page" box.
MozReview-Commit-ID: 6bYK0eCkYym
* Add third radio button to support cloud storage download preference
* Handle download preferences and UI states, while switching between three options
* Add method to check if provider is in use in Cloud Storage API
* Preferences cloud storage strings saved as resource url
* Updated old in-content with cloud storage pref UI changes
* Turn cloud storage API on/off using generic pref
MozReview-Commit-ID: AE3MlhgKp2C