diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-16 03:53:39 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-16 03:53:39 +0000 |
commit | acca2a1fc734142de039f65405ef259737d7a8fc (patch) | |
tree | 6275718b90618e1445cb824e615aeca7c21e6956 /webkit/api/public/WebViewClient.h | |
parent | 923bd8b63206d79cdfb0e5eba5b49e5a6f7eee7d (diff) | |
download | chromium_src-acca2a1fc734142de039f65405ef259737d7a8fc.zip chromium_src-acca2a1fc734142de039f65405ef259737d7a8fc.tar.gz chromium_src-acca2a1fc734142de039f65405ef259737d7a8fc.tar.bz2 |
Move autofill related WebView{Delegate} methods into the WebKit API.
This CL also changes a bunch of autofill related wstring values to string16.
R=jcampan
BUG=24595
TEST=none
Review URL: http://codereview.chromium.org/279001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29244 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/api/public/WebViewClient.h')
-rw-r--r-- | webkit/api/public/WebViewClient.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/webkit/api/public/WebViewClient.h b/webkit/api/public/WebViewClient.h index e613cac..725d785 100644 --- a/webkit/api/public/WebViewClient.h +++ b/webkit/api/public/WebViewClient.h @@ -252,6 +252,21 @@ namespace WebKit { virtual void didUpdateInspectorSettings() = 0; + // Autofill ------------------------------------------------------------ + + // Queries the browser for suggestions to be shown for the form text + // field named |name|. |value| is the text entered by the user so + // far and the WebNode corresponds to the input field. + virtual void queryAutofillSuggestions(const WebNode&, + const WebString& name, + const WebString& value) = 0; + + // Instructs the browser to remove the autofill entry specified from + // its DB. + virtual void removeAutofillSuggestions(const WebString& name, + const WebString& value) = 0; + + // FIXME need to something for: // OnPasswordFormsSeen // OnAutofillFormSubmitted |