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

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

Issue 962673004: [Autofill/Autocomplete Feature] Substring matching instead of prefix matching. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed changes from "base/strings". Created 5 years, 8 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
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 6cf1c858891a581fa6a9921d4c891ce20281eab0..ac980ca108ff6866a7221163fddba204bcf4316a 100644
--- a/components/autofill/core/common/autofill_switches.cc
+++ b/components/autofill/core/common/autofill_switches.cc
@@ -58,6 +58,10 @@ const char kEnablePasswordSaveOnInPageNavigation[] =
// Enables/disables suggestions without typing anything (on first click).
const char kEnableSingleClickAutofill[] = "enable-single-click-autofill";
+// Enables suggestions with substring matching instead of prefix matching.
+const char kEnableSuggestionsWithSubstringMatch[] =
+ "enable-suggestions-with-substring-match";
+
// 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