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

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

Issue 2939273002: DO NOT SUBMIT: what chrome/browser/resources/ could eventually look like with clang-format (Closed)
Patch Set: Created 3 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 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 723c44b551d75926fd069718bd9710d51172992c..59516eb3c73ec7800bc4b8ee54ce0d4cdfbb7cb9 100644
--- a/chrome/browser/resources/options/autofill_options_list.js
+++ b/chrome/browser/resources/options/autofill_options_list.js
@@ -24,8 +24,8 @@ cr.define('options.autofillOptions', function() {
* @return {!HTMLButtonElement}
*/
function AutofillEditProfileButton(edit) {
- var editButtonEl = /** @type {HTMLButtonElement} */(
- document.createElement('button'));
+ var editButtonEl =
+ /** @type {HTMLButtonElement} */ (document.createElement('button'));
editButtonEl.className =
'list-inline-button hide-until-hover custom-appearance';
editButtonEl.textContent =
@@ -155,8 +155,9 @@ cr.define('options.autofillOptions', function() {
loadTimeData.getString('autofillDescribeLocalCopy');
this.contentElement.appendChild(localCopyText);
- var clearLocalCopyButton = AutofillEditProfileButton(
- function() { chrome.send('clearLocalCardCopy', [guid]); });
+ var clearLocalCopyButton = AutofillEditProfileButton(function() {
+ chrome.send('clearLocalCardCopy', [guid]);
+ });
clearLocalCopyButton.textContent =
loadTimeData.getString('autofillClearLocalCopyButton');
this.contentElement.appendChild(clearLocalCopyButton);
@@ -236,8 +237,8 @@ cr.define('options.autofillOptions', function() {
/** @override */
deleteItemAtIndex: function(index) {
- AutofillOptions.removeData(this.dataModel.item(index).guid,
- 'Options_AutofillAddressDeleted');
+ AutofillOptions.removeData(
+ this.dataModel.item(index).guid, 'Options_AutofillAddressDeleted');
},
};
@@ -270,8 +271,8 @@ cr.define('options.autofillOptions', function() {
/** @override */
deleteItemAtIndex: function(index) {
- AutofillOptions.removeData(this.dataModel.item(index).guid,
- 'Options_AutofillCreditCardDeleted');
+ AutofillOptions.removeData(
+ this.dataModel.item(index).guid, 'Options_AutofillCreditCardDeleted');
},
};

Powered by Google App Engine
This is Rietveld 408576698