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

Unified Diff: chrome/renderer/autofill/form_autofill_util.cc

Issue 8488011: Moving AutofillAgent Logic into Browser (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: 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
Index: chrome/renderer/autofill/form_autofill_util.cc
diff --git a/chrome/renderer/autofill/form_autofill_util.cc b/chrome/renderer/autofill/form_autofill_util.cc
index 4c25669156cff5978286efac322625c92216ade9..2a45ac7360902e07ee42173faaad8c399ea2eea3 100644
--- a/chrome/renderer/autofill/form_autofill_util.cc
+++ b/chrome/renderer/autofill/form_autofill_util.cc
@@ -611,6 +611,8 @@ void WebFormControlElementToFormField(const WebFormControlElement& element,
if (IsTextInput(input_element)) {
field->max_length = input_element->maxLength();
field->is_autofilled = input_element->isAutofilled();
+ field->is_focusable = input_element->isFocusable();
+ field->autocomplete = input_element->autoComplete();
} else if (extract_mask & EXTRACT_OPTIONS) {
// Set option strings on the field if available.
DCHECK(IsSelectElement(element));

Powered by Google App Engine
This is Rietveld 408576698