Lines Matching defs:page
433 // create our primary testing page/view.
446 // testing of cross-page frame lookup.
479 // dump results itself when the last page loaded in the test has finished loading.
512 static void clearHistory(QWebPage* page)
514 // QWebHistory::clear() leaves current page, so remove it as well by setting
517 QWebHistory* history = page->history();
882 QString DumpRenderTree::dumpBackForwardList(QWebPage* page)
884 QWebHistory* history = page->history();
963 QWebPage* page = qobject_cast<QWebPage*>(widget->findChild<QWebPage*>());
964 fprintf(stdout, "%s", dumpBackForwardList(page).toUtf8().constData());
1088 // Create a dummy container object to track the page in DRT.
1094 QWebPage* page = static_cast<QWebPage*>(new WebPage(container, this));
1098 // connect the needed signals to the page
1099 connect(page, SIGNAL(frameCreated(QWebFrame*)), this, SLOT(connectFrame(QWebFrame*)));
1100 connectFrame(page->mainFrame());
1101 connect(page, SIGNAL(loadFinished(bool)), m_controller, SLOT(maybeDump(bool)));
1102 connect(page, SIGNAL(windowCloseRequested()), this, SLOT(windowCloseRequested()));
1105 // testing of cross-page frame lookup.
1106 DumpRenderTreeSupportQt::webPageSetGroupName(page, "org.webkit.qt.DumpRenderTree");
1108 return page;
1113 QWebPage* page = qobject_cast<QWebPage*>(sender());
1114 QObject* container = page->parent();
1147 if (WebPage* page = widget->findChild<WebPage*>())
1148 pages.append(page);