-
weinig@apple.com authored
Give the PageClient a chance to handle geolocation permission requests if the UIClient doesn't handle it https://bugs.webkit.org/show_bug.cgi?id=124955 Reviewed by Dan Bernstein. Use the new PageClient function to remove the need for WKContentView to take over the WKPageUIClient. * UIProcess/API/ios/PageClientImplIOS.h: * UIProcess/API/ios/PageClientImplIOS.mm: (WebKit::PageClientImpl::decidePolicyForGeolocationPermissionRequest): * UIProcess/API/ios/WKContentView.mm: (-[WKContentView _decidePolicyForGeolocationRequestFromOrigin:frame:request:]): (-[WKContentView _commonInitWithProcessGroup:browsingContextGroup:]): * UIProcess/API/ios/WKContentViewInternal.h: * UIProcess/PageClient.h: (WebKit::PageClient::decidePolicyForGeolocationPermissionRequest): * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::requestGeolocationPermissionForFrame): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159833 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1b53aa12