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>(); |