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

Unified Diff: webkit/glue/form_field.cc

Issue 8488011: Moving AutofillAgent Logic into Browser (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Initializing form_field variables Created 9 years, 1 month 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 6c8faff9251ca2559c7cd85f6a5eb15110e9b224..d9843b9b0c62615729706db05ac6551255db232d 100644
--- a/webkit/glue/form_field.cc
+++ b/webkit/glue/form_field.cc
@@ -21,7 +21,9 @@ namespace webkit_glue {
FormField::FormField()
: max_length(0),
- is_autofilled(false) {
+ is_autofilled(false),
+ is_focusable(false),
+ should_autocomplete(false) {
}
FormField::~FormField() {
@@ -55,7 +57,11 @@ std::ostream& operator<<(std::ostream& os, const FormField& field) {
<< " "
<< field.max_length
<< " "
- << (field.is_autofilled ? "true" : "false");
+ << (field.is_autofilled ? "true" : "false")
+ << " "
+ << (field.is_focusable ? "true" : "false")
+ << " "
+ << (field.should_autocomplete ? "true" : "false");
}
} // namespace webkit_glue
« 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