OLD | NEW |
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 password generation when we detect that the user is going through | 10 // Disables password generation when we detect that the user is going through |
11 // account creation. | 11 // account creation. |
12 const char kDisablePasswordGeneration[] = "disable-password-generation"; | 12 const char kDisablePasswordGeneration[] = "disable-password-generation"; |
13 | 13 |
| 14 // The "disable" flag for kEnableSingleClickAutofill. |
| 15 const char kDisableSingleClickAutofill[] = "disable-single-click-autofill"; |
| 16 |
14 // Local heuristics override server predictions for name types. | 17 // Local heuristics override server predictions for name types. |
15 const char kDisambiguateAutofillServerNameTypes[] = | 18 const char kDisambiguateAutofillServerNameTypes[] = |
16 "disambiguate-autofill-server-name-types"; | 19 "disambiguate-autofill-server-name-types"; |
17 | 20 |
18 // Enables password generation when we detect that the user is going through | 21 // Enables password generation when we detect that the user is going through |
19 // account creation. | 22 // account creation. |
20 const char kEnablePasswordGeneration[] = "enable-password-generation"; | 23 const char kEnablePasswordGeneration[] = "enable-password-generation"; |
21 | 24 |
| 25 // Enables/disables suggestions without typing anything (on first click). |
| 26 const char kEnableSingleClickAutofill[] = "enable-single-click-autofill"; |
| 27 |
22 // Ignores autocomplete="off" for Autofill data (profiles + credit cards). | 28 // Ignores autocomplete="off" for Autofill data (profiles + credit cards). |
23 const char kIgnoreAutocompleteOffForAutofill[] = | 29 const char kIgnoreAutocompleteOffForAutofill[] = |
24 "ignore-autocomplete-off-autofill"; | 30 "ignore-autocomplete-off-autofill"; |
25 | 31 |
26 // Removes the requirement that we recieved a ping from the autofill servers | 32 // Removes the requirement that we recieved a ping from the autofill servers |
27 // and that the user doesn't have the given form blacklisted. Used in testing. | 33 // and that the user doesn't have the given form blacklisted. Used in testing. |
28 const char kLocalHeuristicsOnlyForPasswordGeneration[] = | 34 const char kLocalHeuristicsOnlyForPasswordGeneration[] = |
29 "local-heuristics-only-for-password-generation"; | 35 "local-heuristics-only-for-password-generation"; |
30 | 36 |
31 // The "disable" flag for kIgnoreAutocompleteOffForAutofill. | 37 // The "disable" flag for kIgnoreAutocompleteOffForAutofill. |
(...skipping 12 matching lines...) Expand all Loading... |
44 | 50 |
45 // Service URL for Online Wallet service. Used as the base url for Online Wallet | 51 // Service URL for Online Wallet service. Used as the base url for Online Wallet |
46 // API calls. | 52 // API calls. |
47 const char kWalletServiceUrl[] = "wallet-service-url"; | 53 const char kWalletServiceUrl[] = "wallet-service-url"; |
48 | 54 |
49 // Use the sandbox Online Wallet service URL (for developer testing). | 55 // Use the sandbox Online Wallet service URL (for developer testing). |
50 const char kWalletServiceUseSandbox[] = "wallet-service-use-sandbox"; | 56 const char kWalletServiceUseSandbox[] = "wallet-service-use-sandbox"; |
51 | 57 |
52 } // namespace switches | 58 } // namespace switches |
53 } // namespace autofill | 59 } // namespace autofill |
OLD | NEW |