| Index: webkit/glue/autofill_form.h
|
| ===================================================================
|
| --- webkit/glue/autofill_form.h (revision 11737)
|
| +++ webkit/glue/autofill_form.h (working copy)
|
| @@ -9,6 +9,7 @@
|
| #include <vector>
|
|
|
| namespace WebCore {
|
| + class HTMLInputElement;
|
| class HTMLFormElement;
|
| }
|
|
|
| @@ -30,6 +31,12 @@
|
|
|
| static AutofillForm* CreateAutofillForm(WebCore::HTMLFormElement* form);
|
|
|
| + // Returns the name that should be used for the specified |element| when
|
| + // storing autofill data. This is either the field name or its id, an empty
|
| + // string if it has no name and no id.
|
| + static std::wstring GetNameForInputElement(WebCore::HTMLInputElement*
|
| + element);
|
| +
|
| // A vector of all the input fields in the form.
|
| std::vector<Element> elements;
|
| };
|
|
|