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 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 |
11 // credit card form. | 11 // credit card form. |
12 const char kDisableCreditCardScan[] = "disable-credit-card-scan"; | 12 const char kDisableCreditCardScan[] = "disable-credit-card-scan"; |
13 | 13 |
14 // Disables the experiment for the password manager to only fill on account | 14 // Disables the experiment for the password manager to only fill on account |
15 // selection, rather than autofilling on page load. | 15 // selection, rather than autofilling on page load. |
16 const char kDisableFillOnAccountSelect[] = "disable-fill-on-account-select"; | 16 const char kDisableFillOnAccountSelect[] = "disable-fill-on-account-select"; |
17 | 17 |
18 // Disables password generation when we detect that the user is going through | 18 // Disables password generation when we detect that the user is going through |
19 // account creation. | 19 // account creation. |
20 const char kDisablePasswordGeneration[] = "disable-password-generation"; | 20 const char kDisablePasswordGeneration[] = "disable-password-generation"; |
21 | 21 |
22 // The "disable" flag for kEnableSingleClickAutofill. | 22 // The "disable" flag for kEnableSingleClickAutofill. |
23 const char kDisableSingleClickAutofill[] = "disable-single-click-autofill"; | 23 const char kDisableSingleClickAutofill[] = "disable-single-click-autofill"; |
24 | 24 |
25 // Enables using device's camera to scan a new credit card when filling out a | 25 // Enables using device's camera to scan a new credit card when filling out a |
26 // credit card form. | 26 // credit card form. |
27 const char kEnableCreditCardScan[] = "enable-credit-card-scan"; | 27 const char kEnableCreditCardScan[] = "enable-credit-card-scan"; |
28 | 28 |
29 // Enables the experiment for the password manager to only fill on account | 29 // Enables the experiment for the password manager to only fill on account |
30 // selection, rather than autofilling on page load. | 30 // selection, rather than autofilling on page load, with highlighting of fields. |
31 const char kEnableFillOnAccountSelect[] = "enable-fill-on-account-select"; | 31 const char kEnableFillOnAccountSelect[] = "enable-fill-on-account-select"; |
32 | 32 |
| 33 // Enables the experiment for the password manager to only fill on account |
| 34 // selection, rather than autofilling on page load, with no highlighting of |
| 35 // fields. |
| 36 const char kEnableFillOnAccountSelectNoHighlighting[] = |
| 37 "enable-fill-on-account-select-no-highlighting"; |
| 38 |
33 // Enables password generation when we detect that the user is going through | 39 // Enables password generation when we detect that the user is going through |
34 // account creation. | 40 // account creation. |
35 const char kEnablePasswordGeneration[] = "enable-password-generation"; | 41 const char kEnablePasswordGeneration[] = "enable-password-generation"; |
36 | 42 |
37 // Enables/disables suggestions without typing anything (on first click). | 43 // Enables/disables suggestions without typing anything (on first click). |
38 const char kEnableSingleClickAutofill[] = "enable-single-click-autofill"; | 44 const char kEnableSingleClickAutofill[] = "enable-single-click-autofill"; |
39 | 45 |
40 // Enables the feature that imports Wallet cards for Chrome Autofill. | 46 // Enables the feature that imports Wallet cards for Chrome Autofill. |
41 const char kEnableWalletCardImport[] = "enable-wallet-card-import"; | 47 const char kEnableWalletCardImport[] = "enable-wallet-card-import"; |
42 | 48 |
(...skipping 19 matching lines...) Expand all Loading... |
62 | 68 |
63 // Service URL for Online Wallet service. Used as the base url for Online Wallet | 69 // Service URL for Online Wallet service. Used as the base url for Online Wallet |
64 // API calls. | 70 // API calls. |
65 const char kWalletServiceUrl[] = "wallet-service-url"; | 71 const char kWalletServiceUrl[] = "wallet-service-url"; |
66 | 72 |
67 // Use the sandbox Online Wallet service URL (for developer testing). | 73 // Use the sandbox Online Wallet service URL (for developer testing). |
68 const char kWalletServiceUseSandbox[] = "wallet-service-use-sandbox"; | 74 const char kWalletServiceUseSandbox[] = "wallet-service-use-sandbox"; |
69 | 75 |
70 } // namespace switches | 76 } // namespace switches |
71 } // namespace autofill | 77 } // namespace autofill |
OLD | NEW |