diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-23 19:47:41 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-23 19:47:41 +0000 |
commit | 6780b3bd5805018c242cde0a9cff3f48d12e4649 (patch) | |
tree | 4d208f861eb7d181010c5b230aad39ae96807bb7 /webkit/glue/form_field.cc | |
parent | 91451171aa98b6e44238517f39fc58a86028d75d (diff) | |
download | chromium_src-6780b3bd5805018c242cde0a9cff3f48d12e4649.zip chromium_src-6780b3bd5805018c242cde0a9cff3f48d12e4649.tar.gz chromium_src-6780b3bd5805018c242cde0a9cff3f48d12e4649.tar.bz2 |
Add a label member to the FormField class. This member will hold the value of the field's label once we parse this value from the DOM.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/418032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32834 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/form_field.cc')
-rw-r--r-- | webkit/glue/form_field.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/webkit/glue/form_field.cc b/webkit/glue/form_field.cc index 6d49054..a87644f 100644 --- a/webkit/glue/form_field.cc +++ b/webkit/glue/form_field.cc @@ -9,10 +9,12 @@ namespace webkit_glue { FormField::FormField() { } -FormField::FormField(const string16& name, +FormField::FormField(const string16& label, + const string16& name, const string16& html_input_type, const string16& value) - : name_(name), + : label_(label), + name_(name), html_input_type_(html_input_type), value_(value) { } |