Lines Matching refs:HTMLFormElement
26 #include "core/html/HTMLFormElement.h"
58 HTMLFormElement::HTMLFormElement(const QualifiedName& tagName, Document* document)
67 , m_requestAutocompleteTimer(this, &HTMLFormElement::requestAutocompleteTimerFired)
73 PassRefPtr<HTMLFormElement> HTMLFormElement::create(Document* document)
76 return adoptRef(new HTMLFormElement(formTag, document));
79 PassRefPtr<HTMLFormElement> HTMLFormElement::create(const QualifiedName& tagName, Document* document)
82 return adoptRef(new HTMLFormElement(tagName, document));
85 HTMLFormElement::~HTMLFormElement()
95 bool HTMLFormElement::formWouldHaveSecureSubmission(const String& url)
100 bool HTMLFormElement::rendererIsNeeded(const NodeRenderingContext& context)
126 Node::InsertionNotificationRequest HTMLFormElement::insertedInto(ContainerNode* insertionPoint)
142 void HTMLFormElement::removedFrom(ContainerNode* insertionPoint)
151 void HTMLFormElement::handleLocalEvents(Event* event)
161 unsigned HTMLFormElement::length() const
170 Node* HTMLFormElement::item(unsigned index)
175 void HTMLFormElement::submitImplicitly(Event* event, bool fromImplicitSubmissionTrigger)
204 bool HTMLFormElement::validateInteractively(Event* event)
229 RefPtr<HTMLFormElement> protector(this);
257 bool HTMLFormElement::prepareForSubmission(Event* event)
259 RefPtr<HTMLFormElement> protector(this);
289 void HTMLFormElement::submit()
294 void HTMLFormElement::submitFromJavaScript()
299 void HTMLFormElement::getTextFieldValues(StringPairVector& fieldNamesAndValues) const
318 void HTMLFormElement::submit(Event* event, bool activateSubmitButton, bool processingUserGesture, FormSubmissionTrigger formSubmissionTrigger)
361 void HTMLFormElement::reset()
382 void HTMLFormElement::requestAutocomplete()
399 void HTMLFormElement::finishRequestAutocomplete(AutocompleteResult result)
419 void HTMLFormElement::requestAutocompleteTimerFired(Timer<HTMLFormElement>*)
427 void HTMLFormElement::parseAttribute(const QualifiedName& name, const AtomicString& value)
457 unsigned HTMLFormElement::formElementIndexWithFormAttribute(Element* element, unsigned rangeStart, unsigned rangeEnd)
490 unsigned HTMLFormElement::formElementIndex(FormAssociatedElement* associatedElement)
500 return HTMLFormElement::formElementIndexWithFormAttribute(associatedHTMLElement, 0, m_associatedElementsBeforeIndex - 1);
503 return HTMLFormElement::formElementIndexWithFormAttribute(associatedHTMLElement, m_associatedElementsAfterIndex, m_associatedElements.size());
527 void HTMLFormElement::registerFormElement(FormAssociatedElement* e)
532 void HTMLFormElement::removeFormElement(FormAssociatedElement* e)
547 bool HTMLFormElement::isURLAttribute(const Attribute& attribute) const
552 void HTMLFormElement::registerImgElement(HTMLImageElement* e)
558 void HTMLFormElement::removeImgElement(HTMLImageElement* e)
564 PassRefPtr<HTMLCollection> HTMLFormElement::elements()
569 String HTMLFormElement::name() const
574 bool HTMLFormElement::noValidate() const
582 String HTMLFormElement::action() const
587 void HTMLFormElement::setAction(const String &value)
592 void HTMLFormElement::setEnctype(const String &value)
597 String HTMLFormElement::method() const
602 void HTMLFormElement::setMethod(const String &value)
607 String HTMLFormElement::target() const
612 bool HTMLFormElement::wasUserSubmitted() const
617 HTMLFormControlElement* HTMLFormElement::defaultButton() const
630 bool HTMLFormElement::checkValidity()
636 bool HTMLFormElement::checkValidityWithoutDispatchingEvents()
641 bool HTMLFormElement::checkInvalidControlsAndCollectUnhandled(Vector<RefPtr<FormAssociatedElement> >* unhandledInvalidControls, HTMLFormControlElement::CheckValidityDispatchEvents dispatchEvents)
643 RefPtr<HTMLFormElement> protector(this);
661 Node* HTMLFormElement::elementForAlias(const AtomicString& alias)
668 void HTMLFormElement::addElementAlias(Node* element, const AtomicString& alias)
677 void HTMLFormElement::getNamedElements(const AtomicString& name, Vector<RefPtr<Node> >& namedItems)
693 bool HTMLFormElement::shouldAutocomplete() const
698 void HTMLFormElement::finishParsingChildren()
704 void HTMLFormElement::copyNonAttributePropertiesFromElement(const Element& source)
706 m_wasDemoted = static_cast<const HTMLFormElement&>(source).m_wasDemoted;
710 void HTMLFormElement::anonymousNamedGetter(const AtomicString& name, bool& returnValue0Enabled, RefPtr<NodeList>& returnValue0, bool& returnValue1Enabled, RefPtr<Node>& returnValue1)
713 // and let HTMLFormElement update its cache.
738 void HTMLFormElement::setDemoted(bool demoted)