Example #1
0
void ChromeClientBlackBerry::closePagePopup(PagePopup* popup)
{
    if (!popup)
        return;

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

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