Lines Matching refs:mainResource
46 static const xmlChar* const mainResourceTag = BAD_CAST "mainResource";
55 PassRefPtr<WebArchiveAndroid> WebArchiveAndroid::create(PassRefPtr<ArchiveResource> mainResource,
59 if (mainResource)
60 return adoptRef(new WebArchiveAndroid(mainResource, subresources, subframeArchives));
66 PassRefPtr<ArchiveResource> mainResource = frame->loader()->documentLoader()->mainResource();
76 return create(mainResource, subresources, subframes);
79 WebArchiveAndroid::WebArchiveAndroid(PassRefPtr<ArchiveResource> mainResource,
83 setMainResource(mainResource);
210 PassRefPtr<ArchiveResource> mainResource;
226 mainResource = loadArchiveResource(resourceNode);
230 if (!mainResource) {
271 return WebArchiveAndroid::create(mainResource, subresources, subframes);
277 PassRefPtr<ArchiveResource> mainResource = ArchiveResource::create(
283 return WebArchiveAndroid::create(mainResource, subresources, subframes);
398 if (!saveArchiveResource(writer, archive->mainResource()))