[Qt] Review the setUserPermission & friends API
authorhausmann@webkit.org <hausmann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 23 Nov 2010 14:24:06 +0000 (14:24 +0000)
committerSimon Hausmann <simon.hausmann@nokia.com>
Tue, 23 Nov 2010 14:56:56 +0000 (15:56 +0100)
commitdf0e5bce1826f5ac9b62fbf7aaa45ee045f3ae33
tree9112047c21e3ea44c73600fd63a790a113617ff3
parentaa7ca33cc83a7c80003b971791126c0bfeb51984
[Qt] Review the setUserPermission & friends API
https://bugs.webkit.org/show_bug.cgi?id=46810

Reviewed by Tor Arne Vestbø.

Renamed requestPermissionFromUser to featurePermissionRequested
and cancelRequestsForPermission to featurePermissionRequestCanceled.

WebKit/qt:

* Api/qwebpage.h:
* WebCoreSupport/GeolocationPermissionClientQt.cpp:
(WebCore::GeolocationPermissionClientQt::requestGeolocationPermissionForFrame):
(WebCore::GeolocationPermissionClientQt::cancelGeolocationPermissionRequestForFrame):
* WebCoreSupport/NotificationPresenterClientQt.cpp:
(WebCore::NotificationPresenterClientQt::requestPermission):
(WebCore::NotificationPresenterClientQt::cancelRequestsForPermission):

WebKitTools:

* DumpRenderTree/qt/DumpRenderTreeQt.cpp:
(WebCore::WebPage::WebPage):
* QtTestBrowser/webpage.cpp:
(WebPage::WebPage):
(WebPage::featurePermissionRequestCanceled):
* QtTestBrowser/webpage.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72603 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/qt/Api/qwebpage.h
WebKit/qt/ChangeLog
WebKit/qt/WebCoreSupport/GeolocationPermissionClientQt.cpp
WebKit/qt/WebCoreSupport/NotificationPresenterClientQt.cpp
WebKitTools/ChangeLog
WebKitTools/DumpRenderTree/qt/DumpRenderTreeQt.cpp
WebKitTools/QtTestBrowser/webpage.cpp
WebKitTools/QtTestBrowser/webpage.h