-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=92510 Patch by Yong Li <yoli@rim.com> on 2012-07-27 Reviewed by Antonio Gomes. RIM PR# 155878. 1. Export dispatchBeforeUnloadEvent() so client can call it before going to close the page. 2. Forward runBeforeUnloadConfirmPanel() call to client so it can show a dialog. * Api/WebPage.cpp: (BlackBerry::WebKit::WebPage::dispatchBeforeUnloadEvent): (WebKit): * Api/WebPage.h: * Api/WebPageClient.h: * WebCoreSupport/ChromeClientBlackBerry.cpp: (WebCore::ChromeClientBlackBerry::canRunBeforeUnloadConfirmPanel): (WebCore::ChromeClientBlackBerry::runBeforeUnloadConfirmPanel): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123891 268f45cc-cd09-0410-ab3c-d52691b4dbfc
e7177672