[Blackberry] add a new Api named setAllowNotification
https://bugs.webkit.org/show_bug.cgi?id=88950
Patch by Chris Guan <chris.guan@torchmobile.com.cn> on 2012-06-14
Reviewed by Antonio Gomes.
.:
Add a new API named setAllowNotification in webpage class to
let client set those allowed domains into notifications.
Test case:
* ManualTests/blackberry/notification.html: Added.
Source/WebKit/blackberry:
* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPage::setAllowNotification):
(WebKit):
* Api/WebPage.h:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@120300 268f45cc-cd09-0410-ab3c-d52691b4dbfc
5 files changed