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

Side by Side Diff: components/autofill/core/common/autofill_switches.cc

Issue 2080263002: Change fill-on-account-select to use Features API, not a custom flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unused GRD strings Created 4 years, 6 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 "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
11 // Disables using device's camera to scan a new credit card when filling out a 11 // Disables using device's camera to scan a new credit card when filling out a
12 // credit card form. 12 // credit card form.
13 const char kDisableCreditCardScan[] = "disable-credit-card-scan"; 13 const char kDisableCreditCardScan[] = "disable-credit-card-scan";
14 14
15 // Disables the experiment for the password manager to only fill on account
16 // selection, rather than autofilling on page load.
17 const char kDisableFillOnAccountSelect[] = "disable-fill-on-account-select";
18
19 // Disables the experimental Full Form Autofill on iOS feature. 15 // Disables the experimental Full Form Autofill on iOS feature.
20 const char kDisableFullFormAutofillIOS[] = "disable-full-form-autofill-ios"; 16 const char kDisableFullFormAutofillIOS[] = "disable-full-form-autofill-ios";
21 17
22 // Force hiding the local save checkbox in the autofill dialog box for getting 18 // Force hiding the local save checkbox in the autofill dialog box for getting
23 // the full credit card number for a wallet card. The card will never be stored 19 // the full credit card number for a wallet card. The card will never be stored
24 // locally. 20 // locally.
25 const char kDisableOfferStoreUnmaskedWalletCards[] = 21 const char kDisableOfferStoreUnmaskedWalletCards[] =
26 "disable-offer-store-unmasked-wallet-cards"; 22 "disable-offer-store-unmasked-wallet-cards";
27 23
28 // Disables offering to upload credit cards. 24 // Disables offering to upload credit cards.
29 const char kDisableOfferUploadCreditCards[] = 25 const char kDisableOfferUploadCreditCards[] =
30 "disable-offer-upload-credit-cards"; 26 "disable-offer-upload-credit-cards";
31 27
32 // Disables password generation when we detect that the user is going through 28 // Disables password generation when we detect that the user is going through
33 // account creation. 29 // account creation.
34 const char kDisablePasswordGeneration[] = "disable-password-generation"; 30 const char kDisablePasswordGeneration[] = "disable-password-generation";
35 31
36 // The "disable" flag for kEnableSingleClickAutofill. 32 // The "disable" flag for kEnableSingleClickAutofill.
37 const char kDisableSingleClickAutofill[] = "disable-single-click-autofill"; 33 const char kDisableSingleClickAutofill[] = "disable-single-click-autofill";
38 34
39 // Enables using device's camera to scan a new credit card when filling out a 35 // Enables using device's camera to scan a new credit card when filling out a
40 // credit card form. 36 // credit card form.
41 const char kEnableCreditCardScan[] = "enable-credit-card-scan"; 37 const char kEnableCreditCardScan[] = "enable-credit-card-scan";
42 38
43 // Enables the experiment for the password manager to only fill on account
44 // selection, rather than autofilling on page load, with highlighting of fields.
45 const char kEnableFillOnAccountSelect[] = "enable-fill-on-account-select";
46
47 // Enables the experimental Full Form Autofill on iOS feature. 39 // Enables the experimental Full Form Autofill on iOS feature.
48 const char kEnableFullFormAutofillIOS[] = "enable-full-form-autofill-ios"; 40 const char kEnableFullFormAutofillIOS[] = "enable-full-form-autofill-ios";
49 41
50 // Force showing the local save checkbox in the autofill dialog box for getting 42 // Force showing the local save checkbox in the autofill dialog box for getting
51 // the full credit card number for a wallet card. 43 // the full credit card number for a wallet card.
52 const char kEnableOfferStoreUnmaskedWalletCards[] = 44 const char kEnableOfferStoreUnmaskedWalletCards[] =
53 "enable-offer-store-unmasked-wallet-cards"; 45 "enable-offer-store-unmasked-wallet-cards";
54 46
55 // Enables offering to upload credit cards. 47 // Enables offering to upload credit cards.
56 const char kEnableOfferUploadCreditCards[] = "enable-offer-upload-credit-cards"; 48 const char kEnableOfferUploadCreditCards[] = "enable-offer-upload-credit-cards";
(...skipping 29 matching lines...) Expand all
86 const char kDisableAccessorySuggestionView[] = 78 const char kDisableAccessorySuggestionView[] =
87 "disable-autofill-keyboard-accessory-view"; 79 "disable-autofill-keyboard-accessory-view";
88 80
89 // Enables showing suggestions in a keyboard accessory view. 81 // Enables showing suggestions in a keyboard accessory view.
90 const char kEnableAccessorySuggestionView[] = 82 const char kEnableAccessorySuggestionView[] =
91 "enable-autofill-keyboard-accessory-view"; 83 "enable-autofill-keyboard-accessory-view";
92 #endif // defined(OS_ANDROID) 84 #endif // defined(OS_ANDROID)
93 85
94 } // namespace switches 86 } // namespace switches
95 } // namespace autofill 87 } // namespace autofill
OLDNEW
« no previous file with comments | « components/autofill/core/common/autofill_switches.h ('k') | components/password_manager/core/browser/password_form_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698