diff options
author | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-20 01:28:55 +0000 |
---|---|---|
committer | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-20 01:28:55 +0000 |
commit | 2cd7eb8743299ff81a2c7054650b21c5a11dd376 (patch) | |
tree | c9001e097fa526b0488385a08b6adc9b0c9f1584 /webkit/glue/webframeloaderclient_impl.h | |
parent | 5c6f1c6b32f9da207706cf2d94560196e9d20303 (diff) | |
download | chromium_src-2cd7eb8743299ff81a2c7054650b21c5a11dd376.zip chromium_src-2cd7eb8743299ff81a2c7054650b21c5a11dd376.tar.gz chromium_src-2cd7eb8743299ff81a2c7054650b21c5a11dd376.tar.bz2 |
A new implementation of the autofill using the editor client API.
This simplifies code as we don't need to listen for events on input elements, the editor client API is only triggered when the text changes.
The only quirk we have to work around is that when the editor client API notifies us that the text has changed, the selection is not set properly, preventing us from reliably finding out if the caret is at the end of the text.
To work around that issue, we post a task that does the autofill after the text change callback.
BUG=None
TEST=Trigger the autofill behavior with form and passwords.
Review URL: http://codereview.chromium.org/11479
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5742 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webframeloaderclient_impl.h')
-rw-r--r-- | webkit/glue/webframeloaderclient_impl.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/webkit/glue/webframeloaderclient_impl.h b/webkit/glue/webframeloaderclient_impl.h index 5459f93..70c124b 100644 --- a/webkit/glue/webframeloaderclient_impl.h +++ b/webkit/glue/webframeloaderclient_impl.h @@ -209,11 +209,6 @@ class WebFrameLoaderClient : public WebCore::FrameLoaderClient { // otherwise returns NavigationGestureUnknown. NavigationGesture NavigationGestureForLastLoad(); - // Registers the text input fields in the passed form for autofill, with the - // exclusion of any field whose name is contained in |excluded_fields|. - void RegisterAutofillListeners(WebCore::HTMLFormElement* form, - const std::set<std::wstring>& excluded_fields); - // The WebFrame that owns this object and manages its lifetime. Therefore, // the web frame object is guaranteed to exist. WebFrameImpl* webframe_; |