diff options
author | petersont@google.com <petersont@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-05 20:26:28 +0000 |
---|---|---|
committer | petersont@google.com <petersont@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-05 20:26:28 +0000 |
commit | 6f2ff8526c54090bf6afe9c80f2d63551231e997 (patch) | |
tree | 2cacbf423441a4f442e8ec01a176c519154c7112 /webkit/glue/webview_delegate.h | |
parent | 2b481f8d533c08824d3aeeeb9a0407b596077c16 (diff) | |
download | chromium_src-6f2ff8526c54090bf6afe9c80f2d63551231e997.zip chromium_src-6f2ff8526c54090bf6afe9c80f2d63551231e997.tar.gz chromium_src-6f2ff8526c54090bf6afe9c80f2d63551231e997.tar.bz2 |
Added functions to WebDatabase and WebDataService for recording frequent entries in text input elements in forms. Also added the class AutofillManager which gets instantiated once per WebContents and provides an API from which the database can be easily accessed to provide a list of possible desired values to be entered in a text field given what the user has already typed there.
Review URL: http://codereview.chromium.org/8845
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4809 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webview_delegate.h')
-rw-r--r-- | webkit/glue/webview_delegate.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/webkit/glue/webview_delegate.h b/webkit/glue/webview_delegate.h index 415510e..1ce50c5 100644 --- a/webkit/glue/webview_delegate.h +++ b/webkit/glue/webview_delegate.h @@ -43,6 +43,7 @@ namespace gfx { struct PasswordForm; struct WebDropData; struct WebPreferences; +class AutofillForm; class SkBitmap; class WebError; class WebFrame; @@ -447,6 +448,12 @@ class WebViewDelegate : virtual public WebWidgetDelegate { const std::vector<PasswordForm>& forms) { } + // Notification of the submission of a form so that its contents can be + // recorded for future autofilling. + virtual void OnAutofillFormSubmitted(WebView* webview, + const AutofillForm& form) { + } + // virtual void OnUnloadListenerChanged(WebView* webview, WebFrame* webframe) { } |