summaryrefslogtreecommitdiffstats
path: root/webkit/glue/form_field.h
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-18 01:29:24 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-18 01:29:24 +0000
commit95056b58863ba1fc6716ef796bb847cca8919188 (patch)
tree5440761639aa7031810c7be5a817857ac596d02f /webkit/glue/form_field.h
parentf5c895f2e6660df9756fec85584bf85b598186f5 (diff)
downloadchromium_src-95056b58863ba1fc6716ef796bb847cca8919188.zip
chromium_src-95056b58863ba1fc6716ef796bb847cca8919188.tar.gz
chromium_src-95056b58863ba1fc6716ef796bb847cca8919188.tar.bz2
Send suggestions from the AutoFillManager to the AutoFillSuggestionsPopup in WebKit.
BUG=18201 TEST=none Review URL: http://codereview.chromium.org/627005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39310 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/form_field.h')
-rw-r--r--webkit/glue/form_field.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/webkit/glue/form_field.h b/webkit/glue/form_field.h
index dfaf9ce..88e3ed9 100644
--- a/webkit/glue/form_field.h
+++ b/webkit/glue/form_field.h
@@ -27,7 +27,17 @@ class FormField {
string16 form_control_type() const { return form_control_type_; }
WebKit::WebInputElement::InputType input_type() const { return input_type_; }
+ void set_label(const string16& label) { label_ = label; }
+ void set_name(const string16& name) { name_ = name; }
void set_value(const string16& value) { value_ = value; }
+ void set_form_control_type(const string16& form_control_type) {
+ form_control_type_ = form_control_type;
+ }
+ void set_input_type(WebKit::WebInputElement::InputType input_type) {
+ input_type_ = input_type;
+ }
+
+ bool operator!=(const FormField& field);
private:
string16 label_;