diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-09 23:42:34 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-09 23:42:34 +0000 |
commit | e2d8667b7a2bb47a25ddd9a74cbd627bf17b5c7e (patch) | |
tree | 776a15005671831ab776df8e0deb7d2a366aa23e /chrome/browser/autofill/autofill_manager.h | |
parent | 7d01a10bbf5887f4d095f53f5a7b376aa99f4635 (diff) | |
download | chromium_src-e2d8667b7a2bb47a25ddd9a74cbd627bf17b5c7e.zip chromium_src-e2d8667b7a2bb47a25ddd9a74cbd627bf17b5c7e.tar.gz chromium_src-e2d8667b7a2bb47a25ddd9a74cbd627bf17b5c7e.tar.bz2 |
autofill: Add the FormField interface. Classes that implement the FormField interface provide heuristics for determining the type of a form field. An initial implementation, EmailField, is provided.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/469013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34201 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/autofill_manager.h')
-rw-r--r-- | chrome/browser/autofill/autofill_manager.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/autofill/autofill_manager.h b/chrome/browser/autofill/autofill_manager.h index e5b3b58..dac7ffd 100644 --- a/chrome/browser/autofill/autofill_manager.h +++ b/chrome/browser/autofill/autofill_manager.h @@ -30,6 +30,10 @@ class AutoFillManager : public RenderViewHostDelegate::AutoFill { virtual void FormFieldValuesSubmitted( const webkit_glue::FormFieldValues& form); + // Uses heuristics and existing personal data to determine the possible field + // types. + void DeterminePossibleFieldTypes(FormStructure* form_structure); + // Saves the form data to the web database. void SaveFormData(); |