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

Unified Diff: webkit/glue/form_field.h

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
Index: webkit/glue/form_field.h
diff --git a/webkit/glue/form_field.h b/webkit/glue/form_field.h
index 622dabfc6fcb23e34ae06b173c7d34f8b585ef2c..bde8a53ec3d47b6ee3fae99bb61150e7dab068b1 100644
--- a/webkit/glue/form_field.h
+++ b/webkit/glue/form_field.h
@@ -28,6 +28,7 @@ struct FormField {
string16 name;
string16 value;
string16 form_control_type;
+ string16 autocomplete_type;
int max_length;
bool is_autofilled;
@@ -50,6 +51,7 @@ std::ostream& operator<<(std::ostream& os, const FormField& field);
EXPECT_EQ(expected.name, actual.name); \
EXPECT_EQ(expected.value, actual.value); \
EXPECT_EQ(expected.form_control_type, actual.form_control_type); \
+ EXPECT_EQ(expected.autocomplete_type, actual.autocomplete_type); \
EXPECT_EQ(expected.max_length, actual.max_length); \
EXPECT_EQ(expected.is_autofilled, actual.is_autofilled); \
} while (0)
« no previous file with comments | « chrome/test/data/autofill/heuristics/output/01_autocompletetype_attribute.out ('k') | webkit/glue/form_field.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698