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

Reviewed by Tor Arne Vestbø.

Rename setUserPermission to setFeaturePermission

WebKit/qt:

* Api/qwebpage.cpp:
(QWebPage::setFeaturePermission):
* Api/qwebpage.h:
* tests/qwebpage/tst_qwebpage.cpp:
(JSTestPage::requestPermission):

WebKitTools:

* DumpRenderTree/qt/DumpRenderTreeQt.cpp:
(WebCore::WebPage::requestPermission):
(WebCore::WebPage::permissionSet):
* DumpRenderTree/qt/LayoutTestControllerQt.cpp:
(LayoutTestController::grantDesktopNotificationPermission):
* QtTestBrowser/webpage.cpp:
(WebPage::requestPermission):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72602 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/qt/Api/qwebpage.cpp
WebKit/qt/Api/qwebpage.h
WebKit/qt/ChangeLog
WebKit/qt/tests/qwebpage/tst_qwebpage.cpp
WebKitTools/ChangeLog
WebKitTools/DumpRenderTree/qt/DumpRenderTreeQt.cpp
WebKitTools/DumpRenderTree/qt/LayoutTestControllerQt.cpp
WebKitTools/QtTestBrowser/webpage.cpp