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

Unified Diff: chrome/browser/resources/options/autofill_options_list.js

Issue 7892048: Autofill: Remove fax number completely. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/options/autofill_options_list.js
diff --git a/chrome/browser/resources/options/autofill_options_list.js b/chrome/browser/resources/options/autofill_options_list.js
index dd80600a163e428f4852a95ce4214dbfd340d99a..e89b6b534c11556075b476d85f4067d85e6770f5 100644
--- a/chrome/browser/resources/options/autofill_options_list.js
+++ b/chrome/browser/resources/options/autofill_options_list.js
@@ -366,32 +366,6 @@ cr.define('options.autofillOptions', function() {
},
};
- /**
- * Create a new value list for fax number validation.
- * @constructor
- * @extends {options.AutofillValuesList}
- */
- var AutofillFaxValuesList = cr.ui.define('list');
-
- AutofillFaxValuesList.prototype = {
- __proto__: AutofillValuesList.prototype,
-
- decorate: function() {
- AutofillValuesList.prototype.decorate.call(this);
- },
-
- /** @inheritDoc */
- validateAndSave: function(index, remove, value) {
- var numbers = this.dataModel.slice(0, this.dataModel.length - 1);
- numbers.splice(index, remove, value);
- var info = new Array();
- info[0] = index;
- info[1] = numbers;
- info[2] = $('country').value;
- chrome.send('validateFaxNumbers', info);
- },
- };
-
return {
AddressListItem: AddressListItem,
CreditCardListItem: CreditCardListItem,
@@ -401,6 +375,5 @@ cr.define('options.autofillOptions', function() {
AutofillCreditCardList: AutofillCreditCardList,
AutofillValuesList: AutofillValuesList,
AutofillPhoneValuesList: AutofillPhoneValuesList,
- AutofillFaxValuesList: AutofillFaxValuesList,
};
});

Powered by Google App Engine
This is Rietveld 408576698