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

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

Issue 2146523004: Make full-form autofill the only implementation on iOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 experimental Full Form Autofill on iOS feature.
16 const char kDisableFullFormAutofillIOS[] = "disable-full-form-autofill-ios";
17
18 // Force hiding the local save checkbox in the autofill dialog box for getting 15 // Force hiding the local save checkbox in the autofill dialog box for getting
19 // the full credit card number for a wallet card. The card will never be stored 16 // the full credit card number for a wallet card. The card will never be stored
20 // locally. 17 // locally.
21 const char kDisableOfferStoreUnmaskedWalletCards[] = 18 const char kDisableOfferStoreUnmaskedWalletCards[] =
22 "disable-offer-store-unmasked-wallet-cards"; 19 "disable-offer-store-unmasked-wallet-cards";
23 20
24 // Disables offering to upload credit cards. 21 // Disables offering to upload credit cards.
25 const char kDisableOfferUploadCreditCards[] = 22 const char kDisableOfferUploadCreditCards[] =
26 "disable-offer-upload-credit-cards"; 23 "disable-offer-upload-credit-cards";
27 24
28 // Disables password generation when we detect that the user is going through 25 // Disables password generation when we detect that the user is going through
29 // account creation. 26 // account creation.
30 const char kDisablePasswordGeneration[] = "disable-password-generation"; 27 const char kDisablePasswordGeneration[] = "disable-password-generation";
31 28
32 // The "disable" flag for kEnableSingleClickAutofill. 29 // The "disable" flag for kEnableSingleClickAutofill.
33 const char kDisableSingleClickAutofill[] = "disable-single-click-autofill"; 30 const char kDisableSingleClickAutofill[] = "disable-single-click-autofill";
34 31
35 // Enables using device's camera to scan a new credit card when filling out a 32 // Enables using device's camera to scan a new credit card when filling out a
36 // credit card form. 33 // credit card form.
37 const char kEnableCreditCardScan[] = "enable-credit-card-scan"; 34 const char kEnableCreditCardScan[] = "enable-credit-card-scan";
38 35
39 // Enables the experimental Full Form Autofill on iOS feature.
40 const char kEnableFullFormAutofillIOS[] = "enable-full-form-autofill-ios";
41
42 // Force showing the local save checkbox in the autofill dialog box for getting 36 // Force showing the local save checkbox in the autofill dialog box for getting
43 // the full credit card number for a wallet card. 37 // the full credit card number for a wallet card.
44 const char kEnableOfferStoreUnmaskedWalletCards[] = 38 const char kEnableOfferStoreUnmaskedWalletCards[] =
45 "enable-offer-store-unmasked-wallet-cards"; 39 "enable-offer-store-unmasked-wallet-cards";
46 40
47 // Enables offering to upload credit cards. 41 // Enables offering to upload credit cards.
48 const char kEnableOfferUploadCreditCards[] = "enable-offer-upload-credit-cards"; 42 const char kEnableOfferUploadCreditCards[] = "enable-offer-upload-credit-cards";
49 43
50 // Enables password generation when we detect that the user is going through 44 // Enables password generation when we detect that the user is going through
51 // account creation. 45 // account creation.
(...skipping 26 matching lines...) Expand all
78 const char kDisableAccessorySuggestionView[] = 72 const char kDisableAccessorySuggestionView[] =
79 "disable-autofill-keyboard-accessory-view"; 73 "disable-autofill-keyboard-accessory-view";
80 74
81 // Enables showing suggestions in a keyboard accessory view. 75 // Enables showing suggestions in a keyboard accessory view.
82 const char kEnableAccessorySuggestionView[] = 76 const char kEnableAccessorySuggestionView[] =
83 "enable-autofill-keyboard-accessory-view"; 77 "enable-autofill-keyboard-accessory-view";
84 #endif // defined(OS_ANDROID) 78 #endif // defined(OS_ANDROID)
85 79
86 } // namespace switches 80 } // namespace switches
87 } // namespace autofill 81 } // namespace autofill
OLDNEW
« no previous file with comments | « components/autofill/core/common/autofill_switches.h ('k') | components/autofill/ios/browser/js_autofill_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698