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

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

Issue 867963005: Add missing comment from 354304bc08fc69 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/content/renderer/autofill_agent.cc
diff --git a/components/autofill/content/renderer/autofill_agent.cc b/components/autofill/content/renderer/autofill_agent.cc
index 8dbccfd03a7ab980f9eb9dfe9d2bad75a209789b..b0ff55a96ccd758599a314223dee9a1f1c041d61 100644
--- a/components/autofill/content/renderer/autofill_agent.cc
+++ b/components/autofill/content/renderer/autofill_agent.cc
@@ -309,6 +309,9 @@ void AutofillAgent::FormControlElementClicked(
options.display_warning_if_disabled = true;
options.show_full_suggestion_list = element.isAutofilled();
+ // On Android, default to showing the dropdown on field focus.
+ // On desktop, require an extra click after field focus.
+ // See http://crbug.com/427660
#if defined(OS_ANDROID)
bool single_click_autofill =
!base::CommandLine::ForCurrentProcess()->HasSwitch(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698