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

Unified Diff: components/autofill/content/renderer/form_autofill_util.cc

Issue 1245623003: [Autofill] Copy attributes for the select elements as well. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated heuristic tests Created 5 years, 5 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 | « chrome/test/data/autofill/heuristics/output/25_checkout_m_llbean.com.out ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/content/renderer/form_autofill_util.cc
diff --git a/components/autofill/content/renderer/form_autofill_util.cc b/components/autofill/content/renderer/form_autofill_util.cc
index 51a2251258b73d0faf6bf61afbc8fec36b951d11..69529073a8a872cc7176e8846343dd80823122ca 100644
--- a/components/autofill/content/renderer/form_autofill_util.cc
+++ b/components/autofill/content/renderer/form_autofill_util.cc
@@ -1191,7 +1191,8 @@ void WebFormControlElementToFormField(const WebFormControlElement& element,
const WebInputElement* input_element = toWebInputElement(&element);
if (IsAutofillableInputElement(input_element) ||
- IsTextAreaElement(element)) {
+ IsTextAreaElement(element) ||
+ IsSelectElement(element)) {
field->is_autofilled = element.isAutofilled();
field->is_focusable = element.isFocusable();
field->should_autocomplete = element.autoComplete();
« no previous file with comments | « chrome/test/data/autofill/heuristics/output/25_checkout_m_llbean.com.out ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698