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

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: Added unittests. Created 5 years, 9 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 00740e75d254d8157761ab63e5e74c1bd90f7b71..48a8829cae899f6119a933c6e666464ba1aebab6 100644
--- a/components/autofill/core/common/autofill_switches.cc
+++ b/components/autofill/core/common/autofill_switches.cc
@@ -47,6 +47,11 @@ const char kEnablePasswordSaveOnInPageNavigation[] =
// Enables/disables suggestions without typing anything (on first click).
const char kEnableSingleClickAutofill[] = "enable-single-click-autofill";
+// Enables suggestions with sub-string matching instead of prefix
+// matching.
+const char kEnableSuggestionsWithSubStringMatch[] =
+ "enable-suggestions-with-sub-string-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