summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-02 20:47:56 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-02 20:47:56 +0000
commita755dc2df6712d2965b3ea2e6a0e90fe5fb3d0a3 (patch)
tree0b0c9b4f093989ee6ea2b3d7a50b92b4fc51e071 /chrome/common
parent5811d97aae3f64e740b0163d02486d2154a9c472 (diff)
downloadchromium_src-a755dc2df6712d2965b3ea2e6a0e90fe5fb3d0a3.zip
chromium_src-a755dc2df6712d2965b3ea2e6a0e90fe5fb3d0a3.tar.gz
chromium_src-a755dc2df6712d2965b3ea2e6a0e90fe5fb3d0a3.tar.bz2
Implement FormManager::LabelForElement and use this to store the field labels.
BUG=none TEST=FormManagerTest.Labels Review URL: http://codereview.chromium.org/660154 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40416 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/render_messages.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index 42b0313..8599ad0 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -1550,6 +1550,7 @@ struct ParamTraits<FormData> {
WriteParam(m, p.name);
WriteParam(m, p.origin);
WriteParam(m, p.action);
+ WriteParam(m, p.labels);
WriteParam(m, p.elements);
WriteParam(m, p.values);
WriteParam(m, p.submit);
@@ -1559,6 +1560,7 @@ struct ParamTraits<FormData> {
ReadParam(m, iter, &p->name) &&
ReadParam(m, iter, &p->origin) &&
ReadParam(m, iter, &p->action) &&
+ ReadParam(m, iter, &p->labels) &&
ReadParam(m, iter, &p->elements) &&
ReadParam(m, iter, &p->values) &&
ReadParam(m, iter, &p->submit);