Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(234)

Unified Diff: webkit/glue/form_field.cc

Issue 7602006: Add preliminary Autofill support for the 'autocompletetype' attribute. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Prevent DOS Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/form_field.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/form_field.cc
diff --git a/webkit/glue/form_field.cc b/webkit/glue/form_field.cc
index 798c5b2f28dd317d31488da27177680aeb82351e..6c8faff9251ca2559c7cd85f6a5eb15110e9b224 100644
--- a/webkit/glue/form_field.cc
+++ b/webkit/glue/form_field.cc
@@ -33,6 +33,7 @@ bool FormField::operator==(const FormField& field) const {
return (label == field.label &&
name == field.name &&
form_control_type == field.form_control_type &&
+ autocomplete_type == field.autocomplete_type &&
max_length == field.max_length);
}
@@ -50,6 +51,8 @@ std::ostream& operator<<(std::ostream& os, const FormField& field) {
<< " "
<< UTF16ToUTF8(field.form_control_type)
<< " "
+ << UTF16ToUTF8(field.autocomplete_type)
+ << " "
<< field.max_length
<< " "
<< (field.is_autofilled ? "true" : "false");
« no previous file with comments | « webkit/glue/form_field.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698