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

Unified Diff: chrome/browser/resources/settings/site_settings/protocol_handlers.js

Issue 2946563002: Run clang-format on .js files in c/b/r/settings (Closed)
Patch Set: dschuyler@ review 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/settings/site_settings/protocol_handlers.js
diff --git a/chrome/browser/resources/settings/site_settings/protocol_handlers.js b/chrome/browser/resources/settings/site_settings/protocol_handlers.js
index 923bbabc34a57aa6770d2fcf75f69e6c44d992ad..871659b8eb88a73ebc1b419f95c5c316f2b364f9 100644
--- a/chrome/browser/resources/settings/site_settings/protocol_handlers.js
+++ b/chrome/browser/resources/settings/site_settings/protocol_handlers.js
@@ -63,11 +63,12 @@ Polymer({
/** @override */
ready: function() {
- this.addWebUIListener('setHandlersEnabled',
- this.setHandlersEnabled_.bind(this));
- this.addWebUIListener('setProtocolHandlers',
- this.setProtocolHandlers_.bind(this));
- this.addWebUIListener('setIgnoredProtocolHandlers',
+ this.addWebUIListener(
+ 'setHandlersEnabled', this.setHandlersEnabled_.bind(this));
+ this.addWebUIListener(
+ 'setProtocolHandlers', this.setProtocolHandlers_.bind(this));
+ this.addWebUIListener(
+ 'setIgnoredProtocolHandlers',
this.setIgnoredProtocolHandlers_.bind(this));
this.browserProxy.observeProtocolHandlers();
},
@@ -159,8 +160,9 @@ Polymer({
* @return {boolean} if actionMenuModel_ is default handler of its protocol.
*/
isModelDefault_: function() {
- return !!this.actionMenuModel_ && (this.actionMenuModel_.index ==
- this.actionMenuModel_.protocol.default_handler);
+ return !!this.actionMenuModel_ &&
+ (this.actionMenuModel_.index ==
+ this.actionMenuModel_.protocol.default_handler);
},
/**
@@ -171,8 +173,8 @@ Polymer({
*/
showMenu_: function(event) {
this.actionMenuModel_ = event.model;
- /** @type {!CrActionMenuElement} */ (
- this.$$('dialog[is=cr-action-menu]')).showAt(
+ /** @type {!CrActionMenuElement} */ (this.$$('dialog[is=cr-action-menu]'))
+ .showAt(
/** @type {!Element} */ (
Polymer.dom(/** @type {!Event} */ (event)).localTarget));
}

Powered by Google App Engine
This is Rietveld 408576698