Esempio n. 1
0
void InternalSettings::reset()
{
    page()->setPagination(Pagination());
    page()->setPageScaleFactor(1, IntPoint(0, 0));
#if ENABLE(PAGE_POPUP)
    m_pagePopupDriver.clear();
    if (page()->chrome())
        page()->chrome()->client()->resetPagePopupDriver();
#endif

    m_backup.restoreTo(page(), settings());
    m_backup = Backup(page(), settings());
}
Esempio n. 2
0
void InternalSettings::reset()
{
    TextRun::setAllowsRoundingHacks(false);
    setUserPreferredLanguages(Vector<String>());
    page()->setPagination(Pagination());
    page()->setPageScaleFactor(1, IntPoint(0, 0));
    setUsesOverlayScrollbars(false);
#if ENABLE(PAGE_POPUP)
    m_pagePopupDriver.clear();
    if (page()->chrome())
        page()->chrome()->client()->resetPagePopupDriver();
#endif

    m_backup.restoreTo(page(), settings());
    m_backup = Backup(page(), settings());
}