diff options
Diffstat (limited to 'webkit/glue/autofill_form.h')
-rw-r--r-- | webkit/glue/autofill_form.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/webkit/glue/autofill_form.h b/webkit/glue/autofill_form.h index a817137..2433e67 100644 --- a/webkit/glue/autofill_form.h +++ b/webkit/glue/autofill_form.h @@ -8,10 +8,17 @@ #include <string> #include <vector> +#include "webkit/glue/autofill_form.h" + +namespace WebCore { + class HTMLFormElement; +} + // The AutofillForm struct represents a single HTML form together with the // values entered in the fields. -struct AutofillForm { +class AutofillForm { + public: // Struct for storing name/value pairs. struct Element { Element() {} @@ -23,6 +30,8 @@ struct AutofillForm { std::wstring value; }; + static AutofillForm* CreateAutofillForm(WebCore::HTMLFormElement* form); + // A vector of all the input fields in the form. std::vector<Element> elements; }; |