diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-20 01:04:48 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-20 01:04:48 +0000 |
commit | c8364173b3b961393748baafdce46a9bcf422879 (patch) | |
tree | c47799fe71f7e8bcf208a5918293e46aa702cb8c /chrome/common/render_messages.h | |
parent | d892b0c423cfb0cc398c85e5bff1fd9239f77f80 (diff) | |
download | chromium_src-c8364173b3b961393748baafdce46a9bcf422879.zip chromium_src-c8364173b3b961393748baafdce46a9bcf422879.tar.gz chromium_src-c8364173b3b961393748baafdce46a9bcf422879.tar.bz2 |
AutoFill forms. We do this by responding to a message from WebKit which sends the (name, label) key requested to fill out a specific field. The RenderView finds the form to AutoFill using the FormManager and requests the AutoFillManager to fill in the data for the form. At the end, the FormManager uses this data to fill out the fields in the form on the web page.
BUG=18201
TEST=none
Review URL: http://codereview.chromium.org/651002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39533 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/render_messages.h')
-rw-r--r-- | chrome/common/render_messages.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h index 41f2567..e7b0f4a 100644 --- a/chrome/common/render_messages.h +++ b/chrome/common/render_messages.h @@ -1547,6 +1547,7 @@ template <> struct ParamTraits<FormData> { typedef FormData param_type; static void Write(Message* m, const param_type& p) { + WriteParam(m, p.name); WriteParam(m, p.origin); WriteParam(m, p.action); WriteParam(m, p.elements); @@ -1555,6 +1556,7 @@ struct ParamTraits<FormData> { } static bool Read(const Message* m, void** iter, param_type* p) { return + ReadParam(m, iter, &p->name) && ReadParam(m, iter, &p->origin) && ReadParam(m, iter, &p->action) && ReadParam(m, iter, &p->elements) && |