Bug 1522694: Add a toolkit level API for determining if this is the default instance of the application. r=mconley

This also switches around a few preprocessor lines to make more sense.

Differential Revision: https://phabricator.services.mozilla.com/D17557
This commit is contained in:
Dave Townsend
2019-01-25 20:03:15 +00:00
parent 4e02b4f629
commit 776ddb35dd
12 changed files with 84 additions and 28 deletions

View File

@@ -37,7 +37,7 @@ using mozilla::dom::Element;
#define SAFARI_BUNDLE_IDENTIFIER "com.apple.Safari"
NS_IMPL_ISUPPORTS(nsMacShellService, nsIMacShellService, nsIShellService,
nsIWebProgressListener)
nsIToolkitShellService, nsIWebProgressListener)
NS_IMETHODIMP
nsMacShellService::IsDefaultBrowser(bool aForAllTypes,