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

Unified Diff: WebKit/chromium/src/WebFormElement.cpp

Issue 3215013: Revert 53685 - Merge 63786 - 2010-07-16 James Hawkins <jhawkins@chromium.or... (Closed) Base URL: svn://chrome-svn/chrome/branches/WebKit/472/
Patch Set: Created 10 years, 4 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 | « WebKit/chromium/public/WebFormElement.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: WebKit/chromium/src/WebFormElement.cpp
===================================================================
--- WebKit/chromium/src/WebFormElement.cpp (revision 58048)
+++ WebKit/chromium/src/WebFormElement.cpp (working copy)
@@ -31,7 +31,6 @@
#include "config.h"
#include "WebFormElement.h"
-#include "FormState.h"
#include "HTMLFormControlElement.h"
#include "HTMLFormElement.h"
#include "HTMLInputElement.h"
@@ -56,21 +55,16 @@
return constUnwrap<HTMLFormElement>()->action();
}
-WebString WebFormElement::name() const
+WebString WebFormElement::name() const
{
return constUnwrap<HTMLFormElement>()->name();
}
-WebString WebFormElement::method() const
+WebString WebFormElement::method() const
{
return constUnwrap<HTMLFormElement>()->method();
}
-
-bool WebFormElement::wasUserSubmitted() const
-{
- return constUnwrap<HTMLFormElement>()->submissionTrigger() == NotSubmittedByJavaScript;
-}
-
+
void WebFormElement::submit()
{
unwrap<HTMLFormElement>()->submit();
@@ -83,7 +77,7 @@
unwrap<HTMLFormElement>()->getNamedElements(name, tempVector);
result.assign(tempVector);
}
-
+
void WebFormElement::getFormControlElements(WebVector<WebFormControlElement>& result) const
{
const HTMLFormElement* form = constUnwrap<HTMLFormElement>();
« no previous file with comments | « WebKit/chromium/public/WebFormElement.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698