Lines Matching defs:cachedPage
44 #include "CachedPage.h"
2481 void FrameLoader::commitProvisionalLoad(PassRefPtr<CachedPage> prpCachedPage)
2483 RefPtr<CachedPage> cachedPage = prpCachedPage;
2496 if (!cachedPage && !m_creatingInitialEmptyDocument)
2499 transitionToCommitted(cachedPage);
2508 if (cachedPage && cachedPage->document())
2509 open(*cachedPage);
2557 void FrameLoader::transitionToCommitted(PassRefPtr<CachedPage> cachedPage)
2604 if (cachedPage) {
2605 DocumentLoader* cachedDocumentLoader = cachedPage->documentLoader();
2608 m_client->transitionToCommittedFromCachedFrame(cachedPage->cachedMainFrame());
2658 else if (cachedPage) {
2726 void FrameLoader::open(CachedPage& cachedPage)
2743 cachedPage.restore(m_frame->page());
3705 RefPtr<CachedPage> cachedPage = pageCache()->get(history()->provisionalItem());
3706 if (!cachedPage || !cachedPage->document())
3710 LOG(PageCache, "WebCorePageCache: FrameLoader %p loading provisional DocumentLoader %p with URL '%s' from CachedPage %p", this, provisionalLoader, provisionalLoader->url().string().utf8().data(), cachedPage.get());
3717 commitProvisionalLoad(cachedPage);
3730 RefPtr<CachedPage> cachedPage = CachedPage::create(page);
3731 pageCache()->add(item, cachedPage.release());
3804 if (RefPtr<CachedPage> cachedPage = pageCache()->get(item)) {
3808 if (currentTime() - cachedPage->timeStamp() <= 1800) {
3809 loadWithDocumentLoader(cachedPage->documentLoader(), loadType, 0);