Bug 1945252 - Part 1: Use the GeckoView ExternalHelperAppService on iOS, r=glandium
This is the backend used on Android, and we plan to use the same architecture on iOS. Differential Revision: https://phabricator.services.mozilla.com/D236401
This commit is contained in:
@@ -164,7 +164,7 @@ if defined('MOZ_ENABLE_DBUS'):
|
|||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
if buildconfig.substs['MOZ_WIDGET_TOOLKIT'] == 'android':
|
if buildconfig.substs['MOZ_WIDGET_TOOLKIT'] in ('android', 'uikit'):
|
||||||
Classes += [
|
Classes += [
|
||||||
# Android has its own externel-helper-app-service, so we omit
|
# Android has its own externel-helper-app-service, so we omit
|
||||||
# that here for nsExternalHelperAppService.
|
# that here for nsExternalHelperAppService.
|
||||||
|
|||||||
@@ -53,6 +53,7 @@ NS_IMETHODIMP
|
|||||||
nsOSHelperAppService::GetProtocolHandlerInfoFromOS(const nsACString& aScheme,
|
nsOSHelperAppService::GetProtocolHandlerInfoFromOS(const nsACString& aScheme,
|
||||||
bool* found,
|
bool* found,
|
||||||
nsIHandlerInfo** _retval) {
|
nsIHandlerInfo** _retval) {
|
||||||
*found = false;
|
// We don't want to get protocol handlers from the OS in GV; the app
|
||||||
return NS_OK;
|
// should take care of that in NavigationDelegate.onLoadRequest().
|
||||||
|
return NS_ERROR_NOT_IMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user