diff options
author | Steve Block <steveblock@google.com> | 2010-02-02 14:57:50 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2010-02-04 15:06:55 +0000 |
commit | d0825bca7fe65beaee391d30da42e937db621564 (patch) | |
tree | 7461c49eb5844ffd1f35d1ba2c8b7584c1620823 /WebCore/html/HTMLFormElement.h | |
parent | 3db770bd97c5a59b6c7574ca80a39e5a51c1defd (diff) | |
download | external_webkit-d0825bca7fe65beaee391d30da42e937db621564.zip external_webkit-d0825bca7fe65beaee391d30da42e937db621564.tar.gz external_webkit-d0825bca7fe65beaee391d30da42e937db621564.tar.bz2 |
Merge webkit.org at r54127 : Initial merge by git
Change-Id: Ib661abb595522f50ea406f72d3a0ce17f7193c82
Diffstat (limited to 'WebCore/html/HTMLFormElement.h')
-rw-r--r-- | WebCore/html/HTMLFormElement.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/WebCore/html/HTMLFormElement.h b/WebCore/html/HTMLFormElement.h index a2e9585..c0ce3e3 100644 --- a/WebCore/html/HTMLFormElement.h +++ b/WebCore/html/HTMLFormElement.h @@ -26,6 +26,7 @@ #include "CheckedRadioButtons.h" #include "FormDataBuilder.h" +#include "FormState.h" #include "HTMLElement.h" #include <wtf/OwnPtr.h> @@ -78,7 +79,7 @@ public: void removeImgElement(HTMLImageElement*); bool prepareSubmit(Event*); - void submit(Event* = 0, bool activateSubmitButton = false, bool lockHistory = false); + void submit(Frame* javaScriptActiveFrame = 0); void reset(); // Used to indicate a malformed state to keep from applying the bottom margin of the form. @@ -130,6 +131,8 @@ protected: virtual void didMoveToNewOwnerDocument(); private: + void submit(Event*, bool activateSubmitButton, bool lockHistory, FormSubmissionTrigger); + bool isMailtoForm() const; TextEncoding dataEncoding() const; PassRefPtr<FormData> createFormData(const CString& boundary); |