Index: chrome/browser/resources/options/autofill_edit_address_overlay.js |
diff --git a/chrome/browser/resources/options/autofill_edit_address_overlay.js b/chrome/browser/resources/options/autofill_edit_address_overlay.js |
index c9e5440f7fbaf43f931683b9771dda0f604f5195..498a323fba24a0252d1432d03c3042fd196fcaa1 100644 |
--- a/chrome/browser/resources/options/autofill_edit_address_overlay.js |
+++ b/chrome/browser/resources/options/autofill_edit_address_overlay.js |
@@ -14,9 +14,10 @@ cr.define('options', function() { |
* @extends {cr.ui.pageManager.Page} |
*/ |
function AutofillEditAddressOverlay() { |
- Page.call(this, 'autofillEditAddress', |
- loadTimeData.getString('autofillEditAddressTitle'), |
- 'autofill-edit-address-overlay'); |
+ Page.call( |
+ this, 'autofillEditAddress', |
+ loadTimeData.getString('autofillEditAddressTitle'), |
+ 'autofill-edit-address-overlay'); |
} |
cr.addSingletonGetter(AutofillEditAddressOverlay); |
@@ -66,7 +67,7 @@ cr.define('options', function() { |
this.guid_ = ''; |
this.populateCountryList_(); |
- this.rebuildInputFields_(/** @type {Array<Array<Object>>} */( |
+ this.rebuildInputFields_(/** @type {Array<Array<Object>>} */ ( |
loadTimeData.getValue('autofillDefaultCountryComponents'))); |
this.languageCode_ = |
loadTimeData.getString('autofillDefaultCountryLanguageCode'); |
@@ -78,11 +79,11 @@ cr.define('options', function() { |
}, |
/** |
- * Specifically catch the situations in which the overlay is cancelled |
- * externally (e.g. by pressing <Esc>), so that the input fields and |
- * GUID can be properly cleared. |
- * @override |
- */ |
+ * Specifically catch the situations in which the overlay is cancelled |
+ * externally (e.g. by pressing <Esc>), so that the input fields and |
+ * GUID can be properly cleared. |
+ * @override |
+ */ |
handleCancel: function() { |
this.dismissOverlay_(); |
}, |
@@ -175,8 +176,8 @@ cr.define('options', function() { |
// If the GUID is empty, this form is being used to add a new address, |
// rather than edit an existing one. |
if (!this.guid_.length) { |
- chrome.send('coreOptionsUserMetricsAction', |
- ['Options_AutofillAddressAdded']); |
+ chrome.send( |
+ 'coreOptionsUserMetricsAction', ['Options_AutofillAddressAdded']); |
} |
}, |
@@ -236,8 +237,7 @@ cr.define('options', function() { |
// Add an empty option. |
countrySelect.appendChild(new Option('', '')); |
for (var i = 0; i < countryList.length; i++) { |
- var option = new Option(countryList[i].name, |
- countryList[i].value); |
+ var option = new Option(countryList[i].name, countryList[i].value); |
option.disabled = countryList[i].value == 'separator'; |
countrySelect.appendChild(option); |
} |
@@ -344,7 +344,5 @@ cr.define('options', function() { |
}; |
// Export |
- return { |
- AutofillEditAddressOverlay: AutofillEditAddressOverlay |
- }; |
+ return {AutofillEditAddressOverlay: AutofillEditAddressOverlay}; |
}); |