Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1755)

Unified Diff: WebCore/html/HTMLFormElement.h

Issue 3464001: Merge 67240 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/517/
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | WebCore/html/HTMLFormElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: WebCore/html/HTMLFormElement.h
===================================================================
--- WebCore/html/HTMLFormElement.h (revision 67715)
+++ WebCore/html/HTMLFormElement.h (working copy)
@@ -42,7 +42,7 @@
struct CollectionCache;
-class HTMLFormElement : public HTMLElement {
+class HTMLFormElement : public HTMLElement {
public:
static PassRefPtr<HTMLFormElement> create(Document*);
static PassRefPtr<HTMLFormElement> create(const QualifiedName&, Document*);
@@ -98,7 +98,7 @@
virtual String target() const;
- FormSubmissionTrigger submissionTrigger() const;
+ bool wasUserSubmitted() const;
HTMLFormControlElement* defaultButton() const;
@@ -117,7 +117,7 @@
virtual bool rendererIsNeeded(RenderStyle*);
virtual void insertedIntoDocument();
virtual void removedFromDocument();
-
+
virtual void handleLocalEvents(Event*);
virtual void parseMappedAttribute(Attribute*);
@@ -129,7 +129,7 @@
virtual void willMoveToNewOwnerDocument();
virtual void didMoveToNewOwnerDocument();
- void submit(Event*, bool activateSubmitButton, bool lockHistory, FormSubmissionTrigger);
+ void submit(Event*, bool activateSubmitButton, bool processingUserGesture, FormSubmissionTrigger);
unsigned formElementIndex(HTMLFormControlElement*);
// Returns true if the submission should be proceeded.
@@ -147,11 +147,11 @@
OwnPtr<CollectionCache> m_collectionCache;
CheckedRadioButtons m_checkedRadioButtons;
-
+
Vector<HTMLFormControlElement*> m_associatedElements;
Vector<HTMLImageElement*> m_imageElements;
- FormSubmissionTrigger m_submissionTrigger;
+ bool m_wasUserSubmitted;
bool m_autocomplete : 1;
bool m_insubmit : 1;
« no previous file with comments | « no previous file | WebCore/html/HTMLFormElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698