void ChromeClientBlackBerry::closePagePopup(PagePopup* popup)
{
    if (!popup)
        return;

    PagePopupBlackBerry* webPopup = m_webPagePrivate->m_webPage->popup();
    webPopup->closePopup();
    m_webPagePrivate->m_webPage->popupClosed();
}
Beispiel #2
0
void ChromeClientBlackBerry::closePagePopup(PagePopup*)
{
    if (!hasOpenedPopup())
        return;

    PagePopupBlackBerry* webPopup = m_webPagePrivate->m_webPage->popup();
    webPopup->closePopup();
    delete webPopup;
}