diff -r 4f2f89ce4247 -r 303757a437d3 WebKit/qt/Api/qwebpage.h --- a/WebKit/qt/Api/qwebpage.h Fri Sep 17 09:02:29 2010 +0300 +++ b/WebKit/qt/Api/qwebpage.h Mon Oct 04 01:32:07 2010 +0300 @@ -57,6 +57,7 @@ class InspectorClientQt; class InspectorFrontendClientQt; class NotificationPresenterClientQt; + class GeolocationPermissionClientQt; class ResourceHandle; class HitTestResult; class QNetworkReplyHandler; @@ -202,7 +203,8 @@ }; enum PermissionDomain { - NotificationsPermissionDomain + NotificationsPermissionDomain, + GeolocationPermissionDomain }; class ViewportHints { @@ -349,7 +351,6 @@ public Q_SLOTS: bool shouldInterruptJavaScript(); - bool allowGeolocationRequest(QWebFrame *frame); Q_SIGNALS: void loadStarted(); @@ -422,6 +423,7 @@ friend class WebCore::InspectorClientQt; friend class WebCore::InspectorFrontendClientQt; friend class WebCore::NotificationPresenterClientQt; + friend class WebCore::GeolocationPermissionClientQt; friend class WebCore::ResourceHandle; friend class WebCore::QNetworkReplyHandler; friend class DumpRenderTreeSupportQt;