Disable geolocation prompt in minimal simulator mode
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 25 Mar 2018 20:22:18 +0000 (20:22 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 25 Mar 2018 20:22:18 +0000 (20:22 +0000)
commit8a29fa104ce88ddfc8172f5cace126659beaaeb6
tree350fdec148ac17ad68181babc9c6cf567333d01a
parent82820c52579140e087a5126d9ca3ffdf91e255a3
Disable geolocation prompt in minimal simulator mode
https://bugs.webkit.org/show_bug.cgi?id=183991
<rdar://problem/38845774>

Reviewed by Dan Bernstein.

* Misc/WebGeolocationCoreLocationProvider.mm:
(-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
* Misc/WebGeolocationProviderIOS.mm:
(-[WebGeolocationProviderIOS registerWebView:]):
(-[WebGeolocationProviderIOS initializeGeolocationForWebView:listener:]):
Also clean up some unnecessary nested #ifs.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@229963 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKitLegacy/ios/ChangeLog
Source/WebKitLegacy/ios/Misc/WebGeolocationCoreLocationProvider.mm
Source/WebKitLegacy/ios/Misc/WebGeolocationProviderIOS.mm