diff options
Diffstat (limited to 'WebCore/page/GeolocationController.cpp')
-rw-r--r-- | WebCore/page/GeolocationController.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/WebCore/page/GeolocationController.cpp b/WebCore/page/GeolocationController.cpp index db4cc23..28d522d 100644 --- a/WebCore/page/GeolocationController.cpp +++ b/WebCore/page/GeolocationController.cpp @@ -78,6 +78,18 @@ void GeolocationController::removeObserver(Geolocation* observer) } } +void GeolocationController::requestPermission(Geolocation* geolocation) +{ + if (m_client) + m_client->requestPermission(geolocation); +} + +void GeolocationController::cancelPermissionRequest(Geolocation* geolocation) +{ + if (m_client) + m_client->cancelPermissionRequest(geolocation); +} + void GeolocationController::positionChanged(GeolocationPosition* position) { m_lastPosition = position; |