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

Unified Diff: chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.js

Issue 2617663002: WIP: run clang-format-js on lots of things (Closed)
Patch Set: merge Created 3 years, 11 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/settings/passwords_and_forms_page/autofill_section.js
diff --git a/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.js b/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.js
index dfd4bc7c9c47f2855e7a75e76afff08d9c84d7d2..4a92db115c9d5234b2fc0cfd91e33d8145d48b94 100644
--- a/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.js
+++ b/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.js
@@ -61,13 +61,13 @@
* @private
*/
onAddressMenuTap_: function(e) {
- var menuEvent = /** @type {!{model: !{item: !Object}}} */(e);
- this.activeAddress = /** @type {!chrome.autofillPrivate.AddressEntry} */(
+ var menuEvent = /** @type {!{model: !{item: !Object}}} */ (e);
+ this.activeAddress = /** @type {!chrome.autofillPrivate.AddressEntry} */ (
menuEvent.model.item);
var dotsButton = /** @type {!HTMLElement} */ (Polymer.dom(e).localTarget);
- /** @type {!CrActionMenuElement} */ (
- this.$.addressSharedMenu).showAt(dotsButton);
+ /** @type {!CrActionMenuElement} */ (this.$.addressSharedMenu)
+ .showAt(dotsButton);
},
/**
@@ -116,14 +116,14 @@
* @private
*/
onCreditCardMenuTap_: function(e) {
- var menuEvent = /** @type {!{model: !{item: !Object}}} */(e);
+ var menuEvent = /** @type {!{model: !{item: !Object}}} */ (e);
this.activeCreditCard =
- /** @type {!chrome.autofillPrivate.CreditCardEntry} */(
+ /** @type {!chrome.autofillPrivate.CreditCardEntry} */ (
menuEvent.model.item);
var dotsButton = /** @type {!HTMLElement} */ (Polymer.dom(e).localTarget);
- /** @type {!CrActionMenuElement} */ (
- this.$.creditCardSharedMenu).showAt(dotsButton);
+ /** @type {!CrActionMenuElement} */ (this.$.creditCardSharedMenu)
+ .showAt(dotsButton);
},
/**

Powered by Google App Engine
This is Rietveld 408576698