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

Unified Diff: chrome/browser/resources/options/autofill_options.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.js
diff --git a/chrome/browser/resources/options/autofill_options.js b/chrome/browser/resources/options/autofill_options.js
index 7f300006b8049d31d45e99ad8f806243dafb0330..d377f49fe98fd2c4eec6383be122306c960a39b1 100644
--- a/chrome/browser/resources/options/autofill_options.js
+++ b/chrome/browser/resources/options/autofill_options.js
@@ -28,9 +28,9 @@ cr.define('options', function() {
* @extends {cr.ui.pageManager.Page}
*/
function AutofillOptions() {
- Page.call(this, 'autofill',
- loadTimeData.getString('autofillOptionsPageTabTitle'),
- 'autofill-options');
+ Page.call(
+ this, 'autofill', loadTimeData.getString('autofillOptionsPageTabTitle'),
+ 'autofill-options');
}
cr.addSingletonGetter(AutofillOptions);
@@ -71,8 +71,8 @@ cr.define('options', function() {
};
$('autofill-help').onclick = function(event) {
- chrome.send('coreOptionsUserMetricsAction',
- ['Options_AutofillShowAbout']);
+ chrome.send(
+ 'coreOptionsUserMetricsAction', ['Options_AutofillShowAbout']);
return true; // Always follow the href
};
@@ -87,8 +87,8 @@ cr.define('options', function() {
createAddressList_: function() {
var addressList = $('address-list');
options.autofillOptions.AutofillAddressList.decorate(addressList);
- this.addressList_ = assertInstanceof(addressList,
- options.DeletableItemList);
+ this.addressList_ =
+ assertInstanceof(addressList, options.DeletableItemList);
this.addressList_.autoExpands = true;
},
@@ -99,8 +99,8 @@ cr.define('options', function() {
createCreditCardList_: function() {
var creditCardList = $('creditcard-list');
options.autofillOptions.AutofillCreditCardList.decorate(creditCardList);
- this.creditCardList_ = assertInstanceof(creditCardList,
- options.DeletableItemList);
+ this.creditCardList_ =
+ assertInstanceof(creditCardList, options.DeletableItemList);
this.creditCardList_.autoExpands = true;
},
@@ -210,9 +210,6 @@ cr.define('options', function() {
};
// Export
- return {
- AutofillOptions: AutofillOptions
- };
+ return {AutofillOptions: AutofillOptions};
});
-

Powered by Google App Engine
This is Rietveld 408576698