| 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 "build/build_config.h" | 5 #include "build/build_config.h" |
| 6 #include "components/autofill/core/common/autofill_switches.h" | 6 #include "components/autofill/core/common/autofill_switches.h" |
| 7 | 7 |
| 8 namespace autofill { | 8 namespace autofill { |
| 9 namespace switches { | 9 namespace switches { |
| 10 | 10 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 "disable-offer-store-unmasked-wallet-cards"; | 26 "disable-offer-store-unmasked-wallet-cards"; |
| 27 | 27 |
| 28 // Disables offering to upload credit cards. | 28 // Disables offering to upload credit cards. |
| 29 const char kDisableOfferUploadCreditCards[] = | 29 const char kDisableOfferUploadCreditCards[] = |
| 30 "disable-offer-upload-credit-cards"; | 30 "disable-offer-upload-credit-cards"; |
| 31 | 31 |
| 32 // Disables password generation when we detect that the user is going through | 32 // Disables password generation when we detect that the user is going through |
| 33 // account creation. | 33 // account creation. |
| 34 const char kDisablePasswordGeneration[] = "disable-password-generation"; | 34 const char kDisablePasswordGeneration[] = "disable-password-generation"; |
| 35 | 35 |
| 36 // Disables showing bubble instead of infobar for save credit card prompt. | |
| 37 const char kDisableSaveCardBubble[] = | |
| 38 "disable-autofill-save-card-bubble"; | |
| 39 | |
| 40 // The "disable" flag for kEnableSingleClickAutofill. | 36 // The "disable" flag for kEnableSingleClickAutofill. |
| 41 const char kDisableSingleClickAutofill[] = "disable-single-click-autofill"; | 37 const char kDisableSingleClickAutofill[] = "disable-single-click-autofill"; |
| 42 | 38 |
| 43 // Enables using device's camera to scan a new credit card when filling out a | 39 // Enables using device's camera to scan a new credit card when filling out a |
| 44 // credit card form. | 40 // credit card form. |
| 45 const char kEnableCreditCardScan[] = "enable-credit-card-scan"; | 41 const char kEnableCreditCardScan[] = "enable-credit-card-scan"; |
| 46 | 42 |
| 47 // Enables the experiment for the password manager to only fill on account | 43 // Enables the experiment for the password manager to only fill on account |
| 48 // selection, rather than autofilling on page load, with highlighting of fields. | 44 // selection, rather than autofilling on page load, with highlighting of fields. |
| 49 const char kEnableFillOnAccountSelect[] = "enable-fill-on-account-select"; | 45 const char kEnableFillOnAccountSelect[] = "enable-fill-on-account-select"; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 62 const char kEnableOfferStoreUnmaskedWalletCards[] = | 58 const char kEnableOfferStoreUnmaskedWalletCards[] = |
| 63 "enable-offer-store-unmasked-wallet-cards"; | 59 "enable-offer-store-unmasked-wallet-cards"; |
| 64 | 60 |
| 65 // Enables offering to upload credit cards. | 61 // Enables offering to upload credit cards. |
| 66 const char kEnableOfferUploadCreditCards[] = "enable-offer-upload-credit-cards"; | 62 const char kEnableOfferUploadCreditCards[] = "enable-offer-upload-credit-cards"; |
| 67 | 63 |
| 68 // Enables password generation when we detect that the user is going through | 64 // Enables password generation when we detect that the user is going through |
| 69 // account creation. | 65 // account creation. |
| 70 const char kEnablePasswordGeneration[] = "enable-password-generation"; | 66 const char kEnablePasswordGeneration[] = "enable-password-generation"; |
| 71 | 67 |
| 72 // Enables showing bubble instead of infobar for save credit card prompt. | |
| 73 const char kEnableSaveCardBubble[] = | |
| 74 "enable-autofill-save-card-bubble"; | |
| 75 | |
| 76 // Enables/disables suggestions without typing anything (on first click). | 68 // Enables/disables suggestions without typing anything (on first click). |
| 77 const char kEnableSingleClickAutofill[] = "enable-single-click-autofill"; | 69 const char kEnableSingleClickAutofill[] = "enable-single-click-autofill"; |
| 78 | 70 |
| 79 // Enables suggestions with substring matching instead of prefix matching. | 71 // Enables suggestions with substring matching instead of prefix matching. |
| 80 const char kEnableSuggestionsWithSubstringMatch[] = | 72 const char kEnableSuggestionsWithSubstringMatch[] = |
| 81 "enable-suggestions-with-substring-match"; | 73 "enable-suggestions-with-substring-match"; |
| 82 | 74 |
| 83 // Ignores autocomplete="off" for Autofill data (profiles + credit cards). | 75 // Ignores autocomplete="off" for Autofill data (profiles + credit cards). |
| 84 const char kIgnoreAutocompleteOffForAutofill[] = | 76 const char kIgnoreAutocompleteOffForAutofill[] = |
| 85 "ignore-autocomplete-off-autofill"; | 77 "ignore-autocomplete-off-autofill"; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 108 const char kDisableAccessorySuggestionView[] = | 100 const char kDisableAccessorySuggestionView[] = |
| 109 "disable-autofill-keyboard-accessory-view"; | 101 "disable-autofill-keyboard-accessory-view"; |
| 110 | 102 |
| 111 // Enables showing suggestions in a keyboard accessory view. | 103 // Enables showing suggestions in a keyboard accessory view. |
| 112 const char kEnableAccessorySuggestionView[] = | 104 const char kEnableAccessorySuggestionView[] = |
| 113 "enable-autofill-keyboard-accessory-view"; | 105 "enable-autofill-keyboard-accessory-view"; |
| 114 #endif // defined(OS_ANDROID) | 106 #endif // defined(OS_ANDROID) |
| 115 | 107 |
| 116 } // namespace switches | 108 } // namespace switches |
| 117 } // namespace autofill | 109 } // namespace autofill |
| OLD | NEW |