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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/autofill/core/common/autofill_switches.h" 5 #include "components/autofill/core/common/autofill_switches.h"
6 6
7 namespace autofill { 7 namespace autofill {
8 namespace switches { 8 namespace switches {
9 9
10 // Disables using device's camera to scan a new credit card when filling out a 10 // Disables using device's camera to scan a new credit card when filling out a
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 // account creation. 51 // account creation.
52 const char kEnablePasswordGeneration[] = "enable-password-generation"; 52 const char kEnablePasswordGeneration[] = "enable-password-generation";
53 53
54 // Enable showing password save prompt on in-page navigations 54 // Enable showing password save prompt on in-page navigations
55 const char kEnablePasswordSaveOnInPageNavigation[] = 55 const char kEnablePasswordSaveOnInPageNavigation[] =
56 "enable-password-save-in-page-navigation"; 56 "enable-password-save-in-page-navigation";
57 57
58 // Enables/disables suggestions without typing anything (on first click). 58 // Enables/disables suggestions without typing anything (on first click).
59 const char kEnableSingleClickAutofill[] = "enable-single-click-autofill"; 59 const char kEnableSingleClickAutofill[] = "enable-single-click-autofill";
60 60
61 // Enables suggestions with substring matching instead of prefix matching.
62 const char kEnableSuggestionsWithSubstringMatch[] =
63 "enable-suggestions-with-substring-match";
64
61 // Ignores autocomplete="off" for Autofill data (profiles + credit cards). 65 // Ignores autocomplete="off" for Autofill data (profiles + credit cards).
62 const char kIgnoreAutocompleteOffForAutofill[] = 66 const char kIgnoreAutocompleteOffForAutofill[] =
63 "ignore-autocomplete-off-autofill"; 67 "ignore-autocomplete-off-autofill";
64 68
65 // Removes the requirement that we recieved a ping from the autofill servers 69 // Removes the requirement that we recieved a ping from the autofill servers
66 // and that the user doesn't have the given form blacklisted. Used in testing. 70 // and that the user doesn't have the given form blacklisted. Used in testing.
67 const char kLocalHeuristicsOnlyForPasswordGeneration[] = 71 const char kLocalHeuristicsOnlyForPasswordGeneration[] =
68 "local-heuristics-only-for-password-generation"; 72 "local-heuristics-only-for-password-generation";
69 73
70 // Annotates forms with Autofill field type predictions. 74 // Annotates forms with Autofill field type predictions.
71 const char kShowAutofillTypePredictions[] = "show-autofill-type-predictions"; 75 const char kShowAutofillTypePredictions[] = "show-autofill-type-predictions";
72 76
73 // Secure service URL for Online Wallet service. Used as the base url to escrow 77 // Secure service URL for Online Wallet service. Used as the base url to escrow
74 // credit card numbers. 78 // credit card numbers.
75 const char kWalletSecureServiceUrl[] = "wallet-secure-service-url"; 79 const char kWalletSecureServiceUrl[] = "wallet-secure-service-url";
76 80
77 // Service URL for Online Wallet service. Used as the base url for Online Wallet 81 // Service URL for Online Wallet service. Used as the base url for Online Wallet
78 // API calls. 82 // API calls.
79 const char kWalletServiceUrl[] = "wallet-service-url"; 83 const char kWalletServiceUrl[] = "wallet-service-url";
80 84
81 // Use the sandbox Online Wallet service URL (for developer testing). 85 // Use the sandbox Online Wallet service URL (for developer testing).
82 const char kWalletServiceUseSandbox[] = "wallet-service-use-sandbox"; 86 const char kWalletServiceUseSandbox[] = "wallet-service-use-sandbox";
83 87
84 } // namespace switches 88 } // namespace switches
85 } // namespace autofill 89 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698