diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-16 23:15:50 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-16 23:15:50 +0000 |
commit | 726d4f5bc7d8a45c20bff74a098c18d2d9fc7886 (patch) | |
tree | f1667f75091304a84928279b8d030486df860956 /chrome/browser | |
parent | 2db32df30fcbfbd68e7299a9487925539d1fd646 (diff) | |
download | chromium_src-726d4f5bc7d8a45c20bff74a098c18d2d9fc7886.zip chromium_src-726d4f5bc7d8a45c20bff74a098c18d2d9fc7886.tar.gz chromium_src-726d4f5bc7d8a45c20bff74a098c18d2d9fc7886.tar.bz2 |
gtk: Remove the CVC from the AutoFill dialog.
BUG=46681
TEST=none
Review URL: http://codereview.chromium.org/2813015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50049 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/autofill/autofill_dialog_gtk.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/chrome/browser/autofill/autofill_dialog_gtk.cc b/chrome/browser/autofill/autofill_dialog_gtk.cc index 130c2a2..1b9307d 100644 --- a/chrome/browser/autofill/autofill_dialog_gtk.cc +++ b/chrome/browser/autofill/autofill_dialog_gtk.cc @@ -70,7 +70,6 @@ typedef struct _CreditCardWidgets { GtkWidget* card_number; GtkWidget* expiration_month; GtkWidget* expiration_year; - GtkWidget* verification_code; GtkWidget* billing_address; GtkWidget* phone; string16 original_card_number; @@ -456,8 +455,6 @@ static CreditCard CreditCardFromWidgetValues( GetEntryText(widgets.expiration_month)); credit_card.SetInfo(AutoFillType(CREDIT_CARD_EXP_4_DIGIT_YEAR), GetEntryText(widgets.expiration_year)); - credit_card.SetInfo(AutoFillType(CREDIT_CARD_VERIFICATION_CODE), - GetEntryText(widgets.verification_code)); // If the CC number starts with an asterisk, then we know that the user has // not modified the credit card number at the least, so use the original CC @@ -859,8 +856,6 @@ GtkWidget* AutoFillDialog::AddNewCreditCard(bool expand) { name_cc_table, 1, 0, 3, IDS_AUTOFILL_DIALOG_CREDIT_CARD_NUMBER); widgets.expiration_month = FormTableAddSizedEntry(name_cc_table, 1, 3, 2, 0); widgets.expiration_year = FormTableAddSizedEntry(name_cc_table, 1, 4, 4, 0); - widgets.verification_code = FormTableAddSizedEntry( - name_cc_table, 1, 5, 5, IDS_AUTOFILL_DIALOG_CVC); FormTableSetLabel(name_cc_table, 1, 3, 2, IDS_AUTOFILL_DIALOG_EXPIRATION_DATE); @@ -971,9 +966,6 @@ void AutoFillDialog::AddCreditCard(const CreditCard& credit_card) { SetEntryText( widgets.expiration_year, credit_card.GetFieldText(AutoFillType(CREDIT_CARD_EXP_4_DIGIT_YEAR))); - SetEntryText( - widgets.verification_code, - credit_card.GetFieldText(AutoFillType(CREDIT_CARD_VERIFICATION_CODE))); // Two cases to consider: // address not found - This means the address is not set and |