form             1738 Source/core/editing/FrameSelection.cpp         if (HTMLFormElement* form = associatedFormElement(*element))
form             1739 Source/core/editing/FrameSelection.cpp             return form;
form             1762 Source/core/editing/FrameSelection.cpp         if (HTMLFormElement* form = associatedFormElement(*element))
form             1763 Source/core/editing/FrameSelection.cpp             return form;
form               47 Source/core/html/DOMFormData.cpp DOMFormData::DOMFormData(HTMLFormElement* form)
form               51 Source/core/html/DOMFormData.cpp     if (!form)
form               54 Source/core/html/DOMFormData.cpp     for (unsigned i = 0; i < form->associatedElements().size(); ++i) {
form               55 Source/core/html/DOMFormData.cpp         FormAssociatedElement* element = form->associatedElements()[i];
form               51 Source/core/html/DOMFormData.h     static PassRefPtrWillBeRawPtr<DOMFormData> create(HTMLFormElement* form)
form               53 Source/core/html/DOMFormData.h         return adoptRefWillBeNoop(new DOMFormData(form));
form              128 Source/core/html/FormAssociatedElement.cpp void FormAssociatedElement::associateByParser(HTMLFormElement* form)
form              130 Source/core/html/FormAssociatedElement.cpp     if (form && form->inDocument()) {
form              132 Source/core/html/FormAssociatedElement.cpp         setForm(form);
form              133 Source/core/html/FormAssociatedElement.cpp         form->didAssociateByParser();
form               51 Source/core/html/FormAssociatedElement.h     HTMLFormElement* form() const { return m_form.get(); }
form               41 Source/core/html/HTMLButtonElement.cpp inline HTMLButtonElement::HTMLButtonElement(Document& document, HTMLFormElement* form)
form               42 Source/core/html/HTMLButtonElement.cpp     : HTMLFormControlElement(buttonTag, document, form)
form               49 Source/core/html/HTMLButtonElement.cpp PassRefPtr<HTMLButtonElement> HTMLButtonElement::create(Document& document, HTMLFormElement* form)
form               51 Source/core/html/HTMLButtonElement.cpp     return adoptRef(new HTMLButtonElement(document, form));
form              113 Source/core/html/HTMLButtonElement.cpp         if (form() && m_type == SUBMIT) {
form              115 Source/core/html/HTMLButtonElement.cpp             form()->prepareForSubmission(event);
form              119 Source/core/html/HTMLButtonElement.cpp         if (form() && m_type == RESET) {
form              120 Source/core/html/HTMLButtonElement.cpp             form()->reset();
form              156 Source/core/html/HTMLButtonElement.cpp     if (!isDisabledFormControl() && form() && (m_type == SUBMIT || m_type == RESET))
form               40 Source/core/html/HTMLFieldSetElement.cpp inline HTMLFieldSetElement::HTMLFieldSetElement(Document& document, HTMLFormElement* form)
form               41 Source/core/html/HTMLFieldSetElement.cpp     : HTMLFormControlElement(fieldsetTag, document, form)
form               47 Source/core/html/HTMLFieldSetElement.cpp PassRefPtr<HTMLFieldSetElement> HTMLFieldSetElement::create(Document& document, HTMLFormElement* form)
form               49 Source/core/html/HTMLFieldSetElement.cpp     return adoptRef(new HTMLFieldSetElement(document, form));
form               46 Source/core/html/HTMLFormControlElement.cpp HTMLFormControlElement::HTMLFormControlElement(const QualifiedName& tagName, Document& document, HTMLFormElement* form)
form               62 Source/core/html/HTMLFormControlElement.cpp     associateByParser(form);
form              280 Source/core/html/HTMLFormControlElement.cpp     return FormAssociatedElement::form();
form              477 Source/core/html/HTMLFormControlElement.cpp     return isSuccessfulSubmitButton() && form() && form()->defaultButton() == this;
form               62 Source/core/html/HTMLFormControlElementWithState.cpp     if (!form())
form               64 Source/core/html/HTMLFormControlElementWithState.cpp     return form()->shouldAutocomplete();
form              551 Source/core/html/HTMLFormElement.cpp         if (associatedElement->form()== this)
form              667 Source/core/html/HTMLFormElement.cpp         if (elements[i]->form() == this && elements[i]->isFormControlElement()) {
form               46 Source/core/html/HTMLImageElement.cpp HTMLImageElement::HTMLImageElement(Document& document, HTMLFormElement* form)
form               54 Source/core/html/HTMLImageElement.cpp     if (form && form->inDocument()) {
form               55 Source/core/html/HTMLImageElement.cpp         m_form = form->createWeakPtr();
form               67 Source/core/html/HTMLImageElement.cpp PassRefPtr<HTMLImageElement> HTMLImageElement::create(Document& document, HTMLFormElement* form)
form               69 Source/core/html/HTMLImageElement.cpp     return adoptRef(new HTMLImageElement(document, form));
form              105 Source/core/html/HTMLInputElement.cpp HTMLInputElement::HTMLInputElement(Document& document, HTMLFormElement* form, bool createdByParser)
form              106 Source/core/html/HTMLInputElement.cpp     : HTMLTextFormControlElement(inputTag, document, form)
form              132 Source/core/html/HTMLInputElement.cpp PassRefPtr<HTMLInputElement> HTMLInputElement::create(Document& document, HTMLFormElement* form, bool createdByParser)
form              134 Source/core/html/HTMLInputElement.cpp     RefPtr<HTMLInputElement> inputElement = adoptRef(new HTMLInputElement(document, form, createdByParser));
form             1429 Source/core/html/HTMLInputElement.cpp     if (insertionPoint->inDocument() && !form())
form             1437 Source/core/html/HTMLInputElement.cpp     if (insertionPoint->inDocument() && !form())
form             1740 Source/core/html/HTMLInputElement.cpp     if (HTMLFormElement* formElement = form())
form               45 Source/core/html/HTMLKeygenElement.cpp HTMLKeygenElement::HTMLKeygenElement(Document& document, HTMLFormElement* form)
form               46 Source/core/html/HTMLKeygenElement.cpp     : HTMLFormControlElementWithState(keygenTag, document, form)
form               35 Source/core/html/HTMLKeygenElement.h     static PassRefPtr<HTMLKeygenElement> create(Document& document, HTMLFormElement* form)
form               37 Source/core/html/HTMLKeygenElement.h         return adoptRef(new HTMLKeygenElement(document, form));
form               37 Source/core/html/HTMLLegendElement.h     HTMLFormElement* form() const;
form               51 Source/core/html/HTMLObjectElement.cpp inline HTMLObjectElement::HTMLObjectElement(Document& document, HTMLFormElement* form, bool createdByParser)
form               56 Source/core/html/HTMLObjectElement.cpp     associateByParser(form);
form               64 Source/core/html/HTMLObjectElement.cpp PassRefPtr<HTMLObjectElement> HTMLObjectElement::create(Document& document, HTMLFormElement* form, bool createdByParser)
form               66 Source/core/html/HTMLObjectElement.cpp     RefPtr<HTMLObjectElement> element = adoptRef(new HTMLObjectElement(document, form, createdByParser));
form              480 Source/core/html/HTMLObjectElement.cpp     return FormAssociatedElement::form();
form               67 Source/core/html/HTMLOptionElement.h     HTMLFormElement* form() const;
form               39 Source/core/html/HTMLOutputElement.cpp inline HTMLOutputElement::HTMLOutputElement(Document& document, HTMLFormElement* form)
form               40 Source/core/html/HTMLOutputElement.cpp     : HTMLFormControlElement(HTMLNames::outputTag, document, form)
form               48 Source/core/html/HTMLOutputElement.cpp PassRefPtr<HTMLOutputElement> HTMLOutputElement::create(Document& document, HTMLFormElement* form)
form               50 Source/core/html/HTMLOutputElement.cpp     return adoptRef(new HTMLOutputElement(document, form));
form               65 Source/core/html/HTMLSelectElement.cpp HTMLSelectElement::HTMLSelectElement(Document& document, HTMLFormElement* form)
form               66 Source/core/html/HTMLSelectElement.cpp     : HTMLFormControlElementWithState(selectTag, document, form)
form               86 Source/core/html/HTMLSelectElement.cpp PassRefPtr<HTMLSelectElement> HTMLSelectElement::create(Document& document, HTMLFormElement* form)
form               88 Source/core/html/HTMLSelectElement.cpp     return adoptRef(new HTMLSelectElement(document, form));
form             1243 Source/core/html/HTMLSelectElement.cpp                 if (form())
form             1244 Source/core/html/HTMLSelectElement.cpp                     form()->submitImplicitly(event, false);
form             1497 Source/core/html/HTMLSelectElement.cpp             if (form())
form             1498 Source/core/html/HTMLSelectElement.cpp                 form()->submitImplicitly(event, false);
form               80 Source/core/html/HTMLTextAreaElement.cpp HTMLTextAreaElement::HTMLTextAreaElement(Document& document, HTMLFormElement* form)
form               81 Source/core/html/HTMLTextAreaElement.cpp     : HTMLTextFormControlElement(textareaTag, document, form)
form               91 Source/core/html/HTMLTextAreaElement.cpp PassRefPtr<HTMLTextAreaElement> HTMLTextAreaElement::create(Document& document, HTMLFormElement* form)
form               93 Source/core/html/HTMLTextAreaElement.cpp     RefPtr<HTMLTextAreaElement> textArea = adoptRef(new HTMLTextAreaElement(document, form));
form               53 Source/core/html/HTMLTextFormControlElement.cpp HTMLTextFormControlElement::HTMLTextFormControlElement(const QualifiedName& tagName, Document& doc, HTMLFormElement* form)
form               54 Source/core/html/HTMLTextFormControlElement.cpp     : HTMLFormControlElementWithState(tagName, doc, form)
form               41 Source/core/html/forms/FormController.cpp     return control.fastHasAttribute(formAttr) ? 0 : control.form();
form              309 Source/core/html/forms/FormController.cpp static inline void recordFormStructure(const HTMLFormElement& form, StringBuilder& builder)
form              313 Source/core/html/forms/FormController.cpp     const Vector<FormAssociatedElement*>& controls = form.associatedElements();
form              331 Source/core/html/forms/FormController.cpp static inline String formSignature(const HTMLFormElement& form)
form              333 Source/core/html/forms/FormController.cpp     KURL actionURL = form.getURLAttribute(actionAttr);
form              341 Source/core/html/forms/FormController.cpp     recordFormStructure(form, builder);
form              347 Source/core/html/forms/FormController.cpp     HTMLFormElement* form = ownerFormForState(control);
form              348 Source/core/html/forms/FormController.cpp     if (!form) {
form              352 Source/core/html/forms/FormController.cpp     FormToKeyMap::const_iterator it = m_formToKeyMap.find(form);
form              356 Source/core/html/forms/FormController.cpp     String signature = formSignature(*form);
form              365 Source/core/html/forms/FormController.cpp     FormToKeyMap::AddResult addFormKeyresult = m_formToKeyMap.add(form, formKeyBuilder.toAtomicString());
form              369 Source/core/html/forms/FormController.cpp void FormKeyGenerator::willDeleteForm(HTMLFormElement* form)
form              371 Source/core/html/forms/FormController.cpp     ASSERT(form);
form              372 Source/core/html/forms/FormController.cpp     m_formToKeyMap.remove(form);
form              468 Source/core/html/forms/FormController.cpp void FormController::willDeleteForm(HTMLFormElement* form)
form              471 Source/core/html/forms/FormController.cpp         m_formKeyGenerator->willDeleteForm(form);
form              488 Source/core/html/forms/FormController.cpp void FormController::restoreControlStateIn(HTMLFormElement& form)
form              490 Source/core/html/forms/FormController.cpp     const Vector<FormAssociatedElement*>& elements = form.associatedElements();
form              497 Source/core/html/forms/FormController.cpp         if (ownerFormForState(*control) != &form)
form              111 Source/core/html/forms/ImageInputType.cpp     if (element->isDisabledFormControl() || !element->form())
form              115 Source/core/html/forms/ImageInputType.cpp     element->form()->prepareForSubmission(event); // Event handlers can run.
form               92 Source/core/html/forms/InputTypeView.cpp     return element().form();
form               95 Source/core/html/forms/RadioInputType.cpp         if (inputElement->form() != element().form())
form              133 Source/core/html/forms/RadioInputType.cpp         if (focusedInput.isRadioButton() && focusedInput.form() == element().form() && focusedInput.name() == element().name())
form              174 Source/core/html/forms/RadioInputType.cpp             && checkedRadioButton->form() == element().form()
form               61 Source/core/html/forms/ResetInputType.cpp     if (element().isDisabledFormControl() || !element().form())
form               63 Source/core/html/forms/ResetInputType.cpp     element().form()->reset();
form               71 Source/core/html/forms/SubmitInputType.cpp     if (element->isDisabledFormControl() || !element->form())
form               74 Source/core/html/forms/SubmitInputType.cpp     element->form()->prepareForSubmission(event); // Event handlers can run.
form              359 Source/core/html/parser/HTMLConstructionSite.cpp void HTMLConstructionSite::setForm(HTMLFormElement* form)
form              363 Source/core/html/parser/HTMLConstructionSite.cpp     m_form = form;
form              741 Source/core/html/parser/HTMLConstructionSite.cpp     HTMLFormElement* form = document.frame() ? m_form.get() : 0;
form              745 Source/core/html/parser/HTMLConstructionSite.cpp     RefPtr<Element> element = HTMLElementFactory::createHTMLElement(token->name(), document, form, true);
form              181 Source/core/html/parser/HTMLConstructionSite.h     HTMLFormElement* form() const { return m_form.get(); }
form              679 Source/core/html/parser/HTMLTreeBuilder.cpp         if (m_tree.form()) {
form             1027 Source/core/html/parser/HTMLTreeBuilder.cpp         if (m_tree.form())
form               36 Source/core/loader/FormState.cpp inline FormState::FormState(HTMLFormElement& form, FormSubmissionTrigger formSubmissionTrigger)
form               37 Source/core/loader/FormState.cpp     : m_form(form)
form               38 Source/core/loader/FormState.cpp     , m_sourceDocument(form.document())
form               43 Source/core/loader/FormState.cpp PassRefPtr<FormState> FormState::create(HTMLFormElement& form, FormSubmissionTrigger formSubmissionTrigger)
form               45 Source/core/loader/FormState.cpp     return adoptRef(new FormState(form, formSubmissionTrigger));
form               49 Source/core/loader/FormState.h         HTMLFormElement* form() const { return m_form.get(); }
form              164 Source/core/loader/FormSubmission.cpp PassRefPtr<FormSubmission> FormSubmission::create(HTMLFormElement* form, const Attributes& attributes, PassRefPtrWillBeRawPtr<Event> event, FormSubmissionTrigger trigger)
form              166 Source/core/loader/FormSubmission.cpp     ASSERT(form);
form              198 Source/core/loader/FormSubmission.cpp     Document& document = form->document();
form              215 Source/core/loader/FormSubmission.cpp     for (unsigned i = 0; i < form->associatedElements().size(); ++i) {
form              216 Source/core/loader/FormSubmission.cpp         FormAssociatedElement* control = form->associatedElements()[i];
form              246 Source/core/loader/FormSubmission.cpp     RefPtr<FormState> formState = FormState::create(*form, trigger);
form             1288 Source/core/loader/FrameLoader.cpp         m_client->dispatchWillSubmitForm(formState->form());
form              343 Source/web/ContextMenuClientImpl.cpp         HTMLFormElement* form = selectedFrame->selection().currentForm();
form              344 Source/web/ContextMenuClientImpl.cpp         if (form && isHTMLInputElement(*r.innerNonSharedNode())) {
form              346 Source/web/ContextMenuClientImpl.cpp             WebSearchableFormData ws = WebSearchableFormData(WebFormElement(form), WebInputElement(&selectedElement));
form              483 Source/web/FrameLoaderClientImpl.cpp void FrameLoaderClientImpl::dispatchWillSendSubmitEvent(HTMLFormElement* form)
form              486 Source/web/FrameLoaderClientImpl.cpp         m_webFrame->client()->willSendSubmitEvent(m_webFrame, WebFormElement(form));
form              489 Source/web/FrameLoaderClientImpl.cpp void FrameLoaderClientImpl::dispatchWillSubmitForm(HTMLFormElement* form)
form              492 Source/web/FrameLoaderClientImpl.cpp         m_webFrame->client()->willSubmitForm(m_webFrame, WebFormElement(form));
form              757 Source/web/FrameLoaderClientImpl.cpp void FrameLoaderClientImpl::didRequestAutocomplete(HTMLFormElement* form)
form              760 Source/web/FrameLoaderClientImpl.cpp         m_webFrame->viewImpl()->autofillClient()->didRequestAutocomplete(m_webFrame, WebFormElement(form));
form              183 Source/web/WebFormControlElement.cpp     return WebFormElement(constUnwrap<HTMLFormControlElement>()->form());
form               88 Source/web/WebFormElement.cpp     const HTMLFormElement* form = constUnwrap<HTMLFormElement>();
form               91 Source/web/WebFormElement.cpp     const Vector<FormAssociatedElement*>& associatedElements = form->associatedElements();
form              155 Source/web/WebPasswordFormData.cpp     RefPtr<HTMLFormElement> form = webForm.operator PassRefPtr<HTMLFormElement>();
form              157 Source/web/WebPasswordFormData.cpp     findPasswordFormFields(form.get(), &fields);
form              160 Source/web/WebPasswordFormData.cpp     KURL fullOrigin = form->document().url();
form              163 Source/web/WebPasswordFormData.cpp     String action = form->action();
form              166 Source/web/WebPasswordFormData.cpp     KURL fullAction = form->document().completeURL(action);
form               58 Source/web/WebPasswordFormUtils.cpp void findPasswordFormFields(HTMLFormElement* form, PasswordFormFields* fields)
form               60 Source/web/WebPasswordFormUtils.cpp     ASSERT(form);
form               64 Source/web/WebPasswordFormUtils.cpp     const Vector<FormAssociatedElement*>& formElements = form->associatedElements();
form               58 Source/web/WebPasswordFormUtils.h void findPasswordFormFields(WebCore::HTMLFormElement* form,
form               53 Source/web/WebSearchableFormData.cpp void GetFormEncoding(const HTMLFormElement* form, WTF::TextEncoding* encoding)
form               55 Source/web/WebSearchableFormData.cpp     String str(form->getAttribute(HTMLNames::accept_charsetAttr));
form               64 Source/web/WebSearchableFormData.cpp     if (!form->document().loader())
form               66 Source/web/WebSearchableFormData.cpp     *encoding = WTF::TextEncoding(form->document().encoding());
form               70 Source/web/WebSearchableFormData.cpp bool IsHTTPFormSubmit(const HTMLFormElement* form)
form               73 Source/web/WebSearchableFormData.cpp     String action(form->action());
form               75 Source/web/WebSearchableFormData.cpp     return form->document().completeURL(action.isNull() ? "" : action).protocolIs("http");
form               80 Source/web/WebSearchableFormData.cpp HTMLFormControlElement* GetButtonToActivate(HTMLFormElement* form)
form               83 Source/web/WebSearchableFormData.cpp     const Vector<FormAssociatedElement*>& element = form->associatedElements();
form              155 Source/web/WebSearchableFormData.cpp HTMLInputElement* findSuitableSearchInputElement(const HTMLFormElement* form)
form              158 Source/web/WebSearchableFormData.cpp     const Vector<FormAssociatedElement*>& element = form->associatedElements();
form              197 Source/web/WebSearchableFormData.cpp bool buildSearchString(const HTMLFormElement* form, Vector<char>* encodedString, WTF::TextEncoding* encoding, const HTMLInputElement* textElement)
form              201 Source/web/WebSearchableFormData.cpp     Vector<FormAssociatedElement*> elements = form->associatedElements();
form              236 Source/web/WebSearchableFormData.cpp WebSearchableFormData::WebSearchableFormData(const WebFormElement& form, const WebInputElement& selectedInputElement)
form              238 Source/web/WebSearchableFormData.cpp     RefPtr<HTMLFormElement> formElement = form.operator PassRefPtr<HTMLFormElement>();
form              113 public/web/WebFormControlElement.h     BLINK_EXPORT WebFormElement form() const;