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 // Flag used to tell Chrome the base url of the Autofill service. | 10 // Flag used to tell Chrome the base url of the Autofill service. |
11 const char kAutofillServiceUrl[] = "autofill-service-url"; | 11 const char kAutofillServiceUrl[] = "autofill-service-url"; |
12 | 12 |
13 // Forces the password manager to not ignore autocomplete='off' for password | |
14 // forms. | |
15 const char kDisableIgnoreAutocompleteOff[] = "do-not-ignore-autocomplete-off"; | |
16 | |
17 // Disables an interactive autocomplete UI. See kEnableInteractiveAutocomplete | 13 // Disables an interactive autocomplete UI. See kEnableInteractiveAutocomplete |
18 // for a description. | 14 // for a description. |
19 const char kDisableInteractiveAutocomplete[] = | 15 const char kDisableInteractiveAutocomplete[] = |
20 "disable-interactive-autocomplete"; | 16 "disable-interactive-autocomplete"; |
21 | 17 |
22 // 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 |
23 // account creation. | 19 // account creation. |
24 const char kDisablePasswordGeneration[] = "disable-password-generation"; | 20 const char kDisablePasswordGeneration[] = "disable-password-generation"; |
25 | 21 |
| 22 // Forces the password manager to ignore autocomplete='off' for password forms. |
| 23 const char kEnableIgnoreAutocompleteOff[] = "enable-ignore-autocomplete-off"; |
| 24 |
26 // Enables an interactive autocomplete UI and a way to invoke this UI from | 25 // Enables an interactive autocomplete UI and a way to invoke this UI from |
27 // WebKit by enabling HTMLFormElement#requestAutocomplete (and associated | 26 // WebKit by enabling HTMLFormElement#requestAutocomplete (and associated |
28 // autocomplete* events and logic). | 27 // autocomplete* events and logic). |
29 const char kEnableInteractiveAutocomplete[] = "enable-interactive-autocomplete"; | 28 const char kEnableInteractiveAutocomplete[] = "enable-interactive-autocomplete"; |
30 | 29 |
31 // Enables password generation when we detect that the user is going through | 30 // Enables password generation when we detect that the user is going through |
32 // account creation. | 31 // account creation. |
33 const char kEnablePasswordGeneration[] = "enable-password-generation"; | 32 const char kEnablePasswordGeneration[] = "enable-password-generation"; |
34 | 33 |
35 // Removes the requirement that we recieved a ping from the autofill servers. | 34 // Removes the requirement that we recieved a ping from the autofill servers. |
(...skipping 10 matching lines...) Expand all Loading... |
46 | 45 |
47 // Service URL for Online Wallet service. Used as the base url for Online Wallet | 46 // Service URL for Online Wallet service. Used as the base url for Online Wallet |
48 // API calls. | 47 // API calls. |
49 const char kWalletServiceUrl[] = "wallet-service-url"; | 48 const char kWalletServiceUrl[] = "wallet-service-url"; |
50 | 49 |
51 // Use the sandbox Online Wallet service URL (for developer testing). | 50 // Use the sandbox Online Wallet service URL (for developer testing). |
52 const char kWalletServiceUseSandbox[] = "wallet-service-use-sandbox"; | 51 const char kWalletServiceUseSandbox[] = "wallet-service-use-sandbox"; |
53 | 52 |
54 } // namespace switches | 53 } // namespace switches |
55 } // namespace autofill | 54 } // namespace autofill |
OLD | NEW |