Lines Matching defs:MainResourceLoader
31 #include "MainResourceLoader.h"
52 MainResourceLoader::MainResourceLoader(Frame* frame)
54 , m_dataLoadTimer(this, &MainResourceLoader::handleDataLoadNow)
60 MainResourceLoader::~MainResourceLoader()
64 PassRefPtr<MainResourceLoader> MainResourceLoader::create(Frame* frame)
66 return adoptRef(new MainResourceLoader(frame));
69 void MainResourceLoader::receivedError(const ResourceError& error)
72 RefPtr<MainResourceLoader> protect(this);
91 void MainResourceLoader::didCancel(const ResourceError& error)
96 RefPtr<MainResourceLoader> protect(this);
108 ResourceError MainResourceLoader::interruptionForPolicyChangeError() const
113 void MainResourceLoader::stopLoadingForPolicyChange()
118 void MainResourceLoader::callContinueAfterNavigationPolicy(void* argument, const ResourceRequest& request, PassRefPtr<FormState>, bool shouldContinue)
120 static_cast<MainResourceLoader*>(argument)->continueAfterNavigationPolicy(request, shouldContinue);
123 void MainResourceLoader::continueAfterNavigationPolicy(const ResourceRequest&, bool shouldContinue)
130 bool MainResourceLoader::isPostOrRedirectAfterPost(const ResourceRequest& newRequest, const ResourceResponse& redirectResponse)
143 void MainResourceLoader::addData(const char* data, int length, bool allAtOnce)
149 void MainResourceLoader::willSendRequest(ResourceRequest& newRequest, const ResourceResponse& redirectResponse)
159 RefPtr<MainResourceLoader> protect(this);
201 void MainResourceLoader::continueAfterContentPolicy(PolicyAction contentPolicy, const ResourceResponse& r)
240 RefPtr<MainResourceLoader> protect(this);
271 void MainResourceLoader::callContinueAfterContentPolicy(void* argument, PolicyAction policy)
273 static_cast<MainResourceLoader*>(argument)->continueAfterContentPolicy(policy);
276 void MainResourceLoader::continueAfterContentPolicy(PolicyAction policy)
286 void MainResourceLoader::substituteMIMETypeFromPluginDatabase(const ResourceResponse& r)
308 void MainResourceLoader::didReceiveResponse(const ResourceResponse& r)
345 RefPtr<MainResourceLoader> protect(this);
375 void MainResourceLoader::didReceiveData(const char* data, int length, long long lengthReceived, bool allAtOnce)
403 RefPtr<MainResourceLoader> protect(this);
408 void MainResourceLoader::didFinishLoading()
418 RefPtr<MainResourceLoader> protect(this);
432 void MainResourceLoader::didFail(const ResourceError& error)
448 void MainResourceLoader::handleEmptyLoad(const KURL& url, bool forURLScheme)
460 void MainResourceLoader::handleDataLoadNow(MainResourceLoaderTimer*)
462 RefPtr<MainResourceLoader> protect(this);
472 void MainResourceLoader::startDataLoadTimer()
482 void MainResourceLoader::handleDataLoadSoon(ResourceRequest& r)
492 bool MainResourceLoader::loadNow(ResourceRequest& r)
525 bool MainResourceLoader::load(const ResourceRequest& r, const SubstituteData& substituteData)
556 void MainResourceLoader::setDefersLoading(bool defers)