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

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: Addresses Vaclav's & Evan's Inputs. 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 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 29 matching lines...) Expand all
40 // account creation. 40 // account creation.
41 const char kEnablePasswordGeneration[] = "enable-password-generation"; 41 const char kEnablePasswordGeneration[] = "enable-password-generation";
42 42
43 // Enable showing password save prompt on in-page navigations 43 // Enable showing password save prompt on in-page navigations
44 const char kEnablePasswordSaveOnInPageNavigation[] = 44 const char kEnablePasswordSaveOnInPageNavigation[] =
45 "enable-password-save-in-page-navigation"; 45 "enable-password-save-in-page-navigation";
46 46
47 // Enables/disables suggestions without typing anything (on first click). 47 // Enables/disables suggestions without typing anything (on first click).
48 const char kEnableSingleClickAutofill[] = "enable-single-click-autofill"; 48 const char kEnableSingleClickAutofill[] = "enable-single-click-autofill";
49 49
50 // Enables suggestions with substring matching instead of prefix matching.
51 const char kEnableSuggestionsWithSubstringMatch[] =
52 "enable-suggestions-with-substring-match";
53
50 // Ignores autocomplete="off" for Autofill data (profiles + credit cards). 54 // Ignores autocomplete="off" for Autofill data (profiles + credit cards).
51 const char kIgnoreAutocompleteOffForAutofill[] = 55 const char kIgnoreAutocompleteOffForAutofill[] =
52 "ignore-autocomplete-off-autofill"; 56 "ignore-autocomplete-off-autofill";
53 57
54 // Removes the requirement that we recieved a ping from the autofill servers 58 // Removes the requirement that we recieved a ping from the autofill servers
55 // and that the user doesn't have the given form blacklisted. Used in testing. 59 // and that the user doesn't have the given form blacklisted. Used in testing.
56 const char kLocalHeuristicsOnlyForPasswordGeneration[] = 60 const char kLocalHeuristicsOnlyForPasswordGeneration[] =
57 "local-heuristics-only-for-password-generation"; 61 "local-heuristics-only-for-password-generation";
58 62
59 // The "disable" flag for kIgnoreAutocompleteOffForAutofill. 63 // The "disable" flag for kIgnoreAutocompleteOffForAutofill.
60 const char kRespectAutocompleteOffForAutofill[] = 64 const char kRespectAutocompleteOffForAutofill[] =
61 "respect-autocomplete-off-autofill"; 65 "respect-autocomplete-off-autofill";
62 66
63 // Annotates forms with Autofill field type predictions. 67 // Annotates forms with Autofill field type predictions.
64 const char kShowAutofillTypePredictions[] = "show-autofill-type-predictions"; 68 const char kShowAutofillTypePredictions[] = "show-autofill-type-predictions";
65 69
66 // Secure service URL for Online Wallet service. Used as the base url to escrow 70 // Secure service URL for Online Wallet service. Used as the base url to escrow
67 // credit card numbers. 71 // credit card numbers.
68 const char kWalletSecureServiceUrl[] = "wallet-secure-service-url"; 72 const char kWalletSecureServiceUrl[] = "wallet-secure-service-url";
69 73
70 // Service URL for Online Wallet service. Used as the base url for Online Wallet 74 // Service URL for Online Wallet service. Used as the base url for Online Wallet
71 // API calls. 75 // API calls.
72 const char kWalletServiceUrl[] = "wallet-service-url"; 76 const char kWalletServiceUrl[] = "wallet-service-url";
73 77
74 // Use the sandbox Online Wallet service URL (for developer testing). 78 // Use the sandbox Online Wallet service URL (for developer testing).
75 const char kWalletServiceUseSandbox[] = "wallet-service-use-sandbox"; 79 const char kWalletServiceUseSandbox[] = "wallet-service-use-sandbox";
76 80
77 } // namespace switches 81 } // namespace switches
78 } // namespace autofill 82 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698