[Qt][WK1] Permission request callbacks for non-legacy notifications
authorAllan Sandfeld Jensen <allan.jensen@digia.com>
Tue, 5 Feb 2013 13:14:14 +0000 (14:14 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 6 Feb 2013 16:41:22 +0000 (17:41 +0100)
commit052090690fe4006427d89e09eca8f0fd67a8e7f1
treec69d5a09bfae652a5813d39f5953e18e9c3b5b75
parentaf04e12234efbf6bba5bddf9c2cfc11f6d516ca8
[Qt][WK1] Permission request callbacks for non-legacy notifications

https://bugs.webkit.org/show_bug.cgi?id=107438

Reviewed by Jocelyn Turcotte.

Tracks the new callbacks the same way legacy callbacks are tracked.

No test affected yet as we are still lacking support for testing
feature permission callbacks.

* WebCoreSupport/NotificationPresenterClientQt.cpp:
(WebCore::NotificationPresenterClientQt::requestPermission):
(WebCore::NotificationPresenterClientQt::allowNotificationForFrame):
* WebCoreSupport/NotificationPresenterClientQt.h:
(NotificationPresenterClientQt):
(CallbacksInfo):

Change-Id: Ia01ec54c2d55fac59c6a245757f44ce507a3ef19
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140330 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Source/WebKit/qt/ChangeLog
Source/WebKit/qt/WebCoreSupport/NotificationPresenterClientQt.cpp
Source/WebKit/qt/WebCoreSupport/NotificationPresenterClientQt.h