diff options
Diffstat (limited to 'webkit/glue/form_field.h')
-rw-r--r-- | webkit/glue/form_field.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/webkit/glue/form_field.h b/webkit/glue/form_field.h index 92e8faea..9711c38 100644 --- a/webkit/glue/form_field.h +++ b/webkit/glue/form_field.h @@ -13,10 +13,12 @@ namespace webkit_glue { class FormField { public: FormField(); - FormField(const string16& name, + FormField(const string16& label, + const string16& name, const string16& html_input_type, const string16& value); + string16 label() const { return label_; } string16 name() const { return name_; } string16 html_input_type() const { return html_input_type_; } string16 value() const { return value_; } @@ -24,6 +26,7 @@ class FormField { void set_value(const string16& value) { value_ = value; } private: + string16 label_; string16 name_; string16 html_input_type_; string16 value_; |