diff options
author | csharp@chromium.org <csharp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-22 22:49:11 +0000 |
---|---|---|
committer | csharp@chromium.org <csharp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-22 22:49:11 +0000 |
commit | 2739e0ecdd8de58da5ea3577c22c5584951bfbb5 (patch) | |
tree | c49ee87b85e918115acbab71994006f611dc13f3 /webkit/glue/form_field.cc | |
parent | 00c794adf30fcc7d84f60a0f23d1e69e063410f3 (diff) | |
download | chromium_src-2739e0ecdd8de58da5ea3577c22c5584951bfbb5.zip chromium_src-2739e0ecdd8de58da5ea3577c22c5584951bfbb5.tar.gz chromium_src-2739e0ecdd8de58da5ea3577c22c5584951bfbb5.tar.bz2 |
Moving AutofillAgent Logic into Browser
This is the first attempt at moving some of the Autofill logic out of the
autofillagent in the renderer and into the external delegate in the browser.
I just focused on OnSuggestionsReturned, so the browser side should be able to
correcrtly create the list of suggestions to show. There are still features that
need to be moved, such as the ability to select an item, which I will address in
future cls.
BUG=51644
TEST=
Review URL: http://codereview.chromium.org/8488011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111240 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/form_field.cc')
-rw-r--r-- | webkit/glue/form_field.cc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/webkit/glue/form_field.cc b/webkit/glue/form_field.cc index 6c8faff..d9843b9 100644 --- a/webkit/glue/form_field.cc +++ b/webkit/glue/form_field.cc @@ -21,7 +21,9 @@ namespace webkit_glue { FormField::FormField() : max_length(0), - is_autofilled(false) { + is_autofilled(false), + is_focusable(false), + should_autocomplete(false) { } FormField::~FormField() { @@ -55,7 +57,11 @@ std::ostream& operator<<(std::ostream& os, const FormField& field) { << " " << field.max_length << " " - << (field.is_autofilled ? "true" : "false"); + << (field.is_autofilled ? "true" : "false") + << " " + << (field.is_focusable ? "true" : "false") + << " " + << (field.should_autocomplete ? "true" : "false"); } } // namespace webkit_glue |