Lines Matching defs:loadType
720 if (loadType() == FrameLoadTypeReload && loadType() == FrameLoadTypeReloadFromOrigin) {
959 if (parentItem && parentItem->children().size() && isBackForwardLoadType(loadType())) {
962 childFrame->loader()->loadDifferentDocumentItem(childItem, loadType());
1314 FrameLoadType loadType;
1316 loadType = FrameLoadTypeReload;
1318 loadType = FrameLoadTypeRedirectWithLockedBackForwardList;
1320 loadType = FrameLoadTypeStandard;
1323 loadPostRequest(request.resourceRequest(), referrer, request.frameName(), lockHistory, loadType, event, formState.get());
1325 loadURL(request.resourceRequest().url(), referrer, request.frameName(), lockHistory, loadType, event, formState.get());
1416 // FIXME: is this the right place to reset loadType? Perhaps this should be done after loading is finished or aborted.
1513 if (shouldScrollToAnchor(isFormSubmission, httpMethod, policyChecker()->loadType(), newURL)) {
1515 NavigationAction action(newURL, policyChecker()->loadType(), isFormSubmission);
1528 loader->setTriggeringAction(NavigationAction(newURL, policyChecker()->loadType(), isFormSubmission));
1577 if (!isBackForwardLoadType(policyChecker()->loadType()))
2372 FrameLoadType FrameLoader::loadType() const
2426 if (isBackForwardLoadType(loadType()))
2699 void FrameLoader::addExtraFieldsToRequest(ResourceRequest& request, FrameLoadType loadType, bool mainResource, bool cookiePolicyURLFromRequest)
2730 } else if (loadType == FrameLoadTypeReload || loadType == FrameLoadTypeReloadFromOrigin || request.isConditional())
2732 else if (isBackForwardLoadType(loadType) && m_stateMachine.committedFirstRealDocumentLoad())
2736 if (loadType == FrameLoadTypeReload)
2738 else if (loadType == FrameLoadTypeReloadFromOrigin) {
2782 void FrameLoader::loadPostRequest(const ResourceRequest& inRequest, const String& referrer, const String& frameName, bool lockHistory, FrameLoadType loadType, PassRefPtr<Event> event, PassRefPtr<FormState> prpFormState)
2803 addExtraFieldsToRequest(workingResourceRequest, loadType, true, true);
2805 NavigationAction action(url, loadType, true, event);
2810 targetFrame->loader()->loadWithNavigationAction(workingResourceRequest, action, lockHistory, loadType, formState.release());
2814 loadWithNavigationAction(workingResourceRequest, action, lockHistory, loadType, formState.release());
2912 bool isRedirect = m_quickRedirectComing || policyChecker()->loadType() == FrameLoadTypeRedirectWithLockedBackForwardList;
2916 bool FrameLoader::shouldScrollToAnchor(bool isFormSubmission, const String& httpMethod, FrameLoadType loadType, const KURL& url)
2927 && loadType != FrameLoadTypeReload
2928 && loadType != FrameLoadTypeReloadFromOrigin
2929 && loadType != FrameLoadTypeSame
3025 if ((isTargetItem || isLoadingMainFrame()) && isBackForwardLoadType(policyChecker()->loadType())) {
3037 FrameLoadType type = policyChecker()->loadType();
3241 void FrameLoader::loadDifferentDocumentItem(HistoryItem* item, FrameLoadType loadType)
3247 loadWithDocumentLoader(cachedPage->documentLoader(), loadType, 0);
3289 action = NavigationAction(itemURL, loadType, false);
3295 switch (loadType) {
3317 action = NavigationAction(itemOriginalURL, loadType, false);
3323 loadWithNavigationAction(request, action, false, loadType, 0);
3327 void FrameLoader::loadItem(HistoryItem* item, FrameLoadType loadType)
3346 loadDifferentDocumentItem(item, loadType);