diff options
Diffstat (limited to 'WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.cpp')
-rw-r--r-- | WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.cpp | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.cpp b/WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.cpp index a83e1a5..ddc9d7a 100644 --- a/WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.cpp +++ b/WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.cpp @@ -70,8 +70,6 @@ using namespace WebCore; -CheckPermissionFunctionType* checkPermissionFunction = 0; -RequestPermissionFunctionType* requestPermissionFunction = 0; QMap<int, QWebScriptWorld*> m_worldMap; DumpRenderTreeSupportQt::DumpRenderTreeSupportQt() @@ -575,20 +573,6 @@ void DumpRenderTreeSupportQt::dumpNotification(bool b) #endif } -void DumpRenderTreeSupportQt::setNotificationsReceiver(QObject* receiver) -{ -#if ENABLE(NOTIFICATIONS) - NotificationPresenterClientQt::notificationPresenter()->setReceiver(receiver); -#endif -} - -void DumpRenderTreeSupportQt::allowNotificationForOrigin(const QString& origin) -{ -#if ENABLE(NOTIFICATIONS) - NotificationPresenterClientQt::notificationPresenter()->allowNotificationForOrigin(origin); -#endif -} - void DumpRenderTreeSupportQt::setMockGeolocationPosition(double latitude, double longitude, double accuracy) { #if ENABLE(GEOLOCATION) @@ -605,16 +589,6 @@ void DumpRenderTreeSupportQt::setMockGeolocationError(int errorCode, const QStri #endif } -void DumpRenderTreeSupportQt::setCheckPermissionFunction(CheckPermissionFunctionType* f) -{ - checkPermissionFunction = f; -} - -void DumpRenderTreeSupportQt::setRequestPermissionFunction(RequestPermissionFunctionType* f) -{ - requestPermissionFunction = f; -} - bool DumpRenderTreeSupportQt::isTargetItem(const QWebHistoryItem& historyItem) { QWebHistoryItem it = historyItem; |