summaryrefslogtreecommitdiffstats
path: root/webkit/glue/form_data.h
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-05 01:30:49 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-05 01:30:49 +0000
commit3a60d2349854d9594b33aa119a390e39eee96f68 (patch)
tree117e6ae2250a0c222f8067573c418730163b9b97 /webkit/glue/form_data.h
parent696bdc8641a331f9260aed274387888d512a882e (diff)
downloadchromium_src-3a60d2349854d9594b33aa119a390e39eee96f68.zip
chromium_src-3a60d2349854d9594b33aa119a390e39eee96f68.tar.gz
chromium_src-3a60d2349854d9594b33aa119a390e39eee96f68.tar.bz2
Implement FormManager, a class that manages forms in a RenderView.
BUG=18201 TEST=FormManagerTest Review URL: http://codereview.chromium.org/577009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38157 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/form_data.h')
-rw-r--r--webkit/glue/form_data.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/webkit/glue/form_data.h b/webkit/glue/form_data.h
index 8c5876c..02e0096 100644
--- a/webkit/glue/form_data.h
+++ b/webkit/glue/form_data.h
@@ -11,6 +11,17 @@
// Holds information about a form to be filled and/or submitted.
struct FormData {
+ FormData() {}
+ FormData(const FormData& data)
+ : name(data.name),
+ origin(data.origin),
+ action(data.action),
+ elements(data.elements),
+ values(data.values),
+ submit(data.submit) {}
+
+ // The name of the form.
+ string16 name;
// The URL (minus query parameters) containing the form
GURL origin;
// The action target of the form