Lines Matching refs:formState
57 #include "FormState.h"
452 bool lockHistory, PassRefPtr<Event> event, PassRefPtr<FormState> formState)
457 ASSERT(formState);
458 ASSERT(formState->sourceFrame() == m_frame);
530 targetFrame->redirectScheduler()->scheduleFormSubmission(frameRequest, lockHistory, event, formState);
1886 PassRefPtr<Event> event, PassRefPtr<FormState> formState, ReferrerPolicy referrerPolicy)
1918 loadPostRequest(request.resourceRequest(), referrer, request.frameName(), lockHistory, loadType, event, formState.get(), request.resourceRequest().getUserGesture());
1920 loadURL(request.resourceRequest().url(), referrer, request.frameName(), lockHistory, loadType, event, formState.get(), request.resourceRequest().getUserGesture());
1923 loadPostRequest(request.resourceRequest(), referrer, request.frameName(), lockHistory, loadType, event, formState.get());
1925 loadURL(request.resourceRequest().url(), referrer, request.frameName(), lockHistory, loadType, event, formState.get());
1930 Frame* sourceFrame = formState ? formState->sourceFrame() : m_frame;
1944 PassRefPtr<Event> event, PassRefPtr<FormState> prpFormState, bool userGesture)
1947 PassRefPtr<Event> event, PassRefPtr<FormState> prpFormState)
1950 RefPtr<FormState> formState = prpFormState;
1951 bool isFormSubmission = formState;
1972 targetFrame->loader()->loadURL(newURL, referrer, String(), lockHistory, newLoadType, event, formState.release(), userGesture);
1974 targetFrame->loader()->loadURL(newURL, referrer, String(), lockHistory, newLoadType, event, formState.release());
1986 request, formState.release(), frameName, this);
2001 policyChecker()->checkNavigationPolicy(request, oldDocumentLoader.get(), formState.release(),
2006 loadWithNavigationAction(request, action, lockHistory, newLoadType, formState.release());
2053 void FrameLoader::loadWithNavigationAction(const ResourceRequest& request, const NavigationAction& action, bool lockHistory, FrameLoadType type, PassRefPtr<FormState> formState)
2063 loadWithDocumentLoader(loader.get(), type, formState);
2096 void FrameLoader::loadWithDocumentLoader(DocumentLoader* loader, FrameLoadType type, PassRefPtr<FormState> prpFormState)
2109 RefPtr<FormState> formState = prpFormState;
2110 bool isFormSubmission = formState;
2120 policyChecker()->checkNavigationPolicy(loader->request(), oldDocumentLoader.get(), formState,
2133 continueLoadAfterNavigationPolicy(loader->request(), formState, false);
2138 policyChecker()->checkNavigationPolicy(loader->request(), loader, formState,
3347 void FrameLoader::loadPostRequest(const ResourceRequest& inRequest, const String& referrer, const String& frameName, bool lockHistory, FrameLoadType loadType, PassRefPtr<Event> event, PassRefPtr<FormState> prpFormState, bool userGesture)
3349 void FrameLoader::loadPostRequest(const ResourceRequest& inRequest, const String& referrer, const String& frameName, bool lockHistory, FrameLoadType loadType, PassRefPtr<Event> event, PassRefPtr<FormState> prpFormState)
3352 RefPtr<FormState> formState = prpFormState;
3386 if (Frame* targetFrame = formState ? 0 : findFrameForNavigation(frameName))
3387 targetFrame->loader()->loadWithNavigationAction(workingResourceRequest, action, lockHistory, loadType, formState.release());
3389 policyChecker()->checkNewWindowPolicy(action, FrameLoader::callContinueLoadAfterNewWindowPolicy, workingResourceRequest, formState.release(), frameName, this);
3391 loadWithNavigationAction(workingResourceRequest, action, lockHistory, loadType, formState.release());
3485 const ResourceRequest& request, PassRefPtr<FormState>, bool shouldContinue)
3523 const ResourceRequest& request, PassRefPtr<FormState> formState, bool shouldContinue)
3526 loader->continueLoadAfterNavigationPolicy(request, formState, shouldContinue);
3529 void FrameLoader::continueLoadAfterNavigationPolicy(const ResourceRequest&, PassRefPtr<FormState> formState, bool shouldContinue)
3592 if (formState)
3593 m_client->dispatchWillSubmitForm(&PolicyChecker::continueLoadAfterWillSubmitForm, formState);
3599 const ResourceRequest& request, PassRefPtr<FormState> formState, const String& frameName, bool shouldContinue)
3602 loader->continueLoadAfterNewWindowPolicy(request, formState, frameName, shouldContinue);
3606 PassRefPtr<FormState> formState, const String& frameName, bool shouldContinue)
3623 mainFrame->loader()->loadWithNavigationAction(request, NavigationAction(), false, FrameLoadTypeStandard, formState);