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

Unified Diff: components/autofill/core/common/autofill_switches.cc

Issue 753393004: Add flag for single click autofill (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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: components/autofill/core/common/autofill_switches.cc
diff --git a/components/autofill/core/common/autofill_switches.cc b/components/autofill/core/common/autofill_switches.cc
index 7e7a16ba6e1292488c88ab83350037b110c316b2..38b8d45dc9fab6071d65a0b91ea8cb1e82c05206 100644
--- a/components/autofill/core/common/autofill_switches.cc
+++ b/components/autofill/core/common/autofill_switches.cc
@@ -11,6 +11,9 @@ namespace switches {
// account creation.
const char kDisablePasswordGeneration[] = "disable-password-generation";
+// The "disable" flag for kEnableSingleClickAutofill.
+const char kDisableSingleClickAutofill[] = "disable-single-click-autofill";
+
// Local heuristics override server predictions for name types.
const char kDisambiguateAutofillServerNameTypes[] =
"disambiguate-autofill-server-name-types";
@@ -19,6 +22,9 @@ const char kDisambiguateAutofillServerNameTypes[] =
// account creation.
const char kEnablePasswordGeneration[] = "enable-password-generation";
+// Enables/disables suggestions without typing anything (on first click).
+const char kEnableSingleClickAutofill[] = "enable-single-click-autofill";
+
// Ignores autocomplete="off" for Autofill data (profiles + credit cards).
const char kIgnoreAutocompleteOffForAutofill[] =
"ignore-autocomplete-off-autofill";

Powered by Google App Engine
This is Rietveld 408576698