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

Unified Diff: chrome/browser/resources/md_extensions/item.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/md_extensions/item.js
diff --git a/chrome/browser/resources/md_extensions/item.js b/chrome/browser/resources/md_extensions/item.js
index ae9df0a7c510da749d1ef8c53facb9ac990115f7..f3ec39c6e70ca245fdb77ca62068dc6caea5eb71 100644
--- a/chrome/browser/resources/md_extensions/item.js
+++ b/chrome/browser/resources/md_extensions/item.js
@@ -106,7 +106,7 @@ cr.define('extensions', function() {
*/
computeErrorsHidden_: function() {
return !this.data.manifestErrors.length &&
- !this.data.runtimeErrors.length;
+ !this.data.runtimeErrors.length;
},
/** @private */
@@ -116,8 +116,8 @@ cr.define('extensions', function() {
/** @private */
onEnableChange_: function() {
- this.delegate.setItemEnabled(this.data.id,
- this.$['enable-toggle'].checked);
+ this.delegate.setItemEnabled(
+ this.data.id, this.$['enable-toggle'].checked);
},
/** @private */
@@ -189,8 +189,9 @@ cr.define('extensions', function() {
*/
computeSourceIndicatorText_: function() {
var sourceType = extensions.getItemSource(this.data);
- return sourceType == SourceType.WEBSTORE ? '' :
- extensions.getItemSourceString(sourceType);
+ return sourceType == SourceType.WEBSTORE ?
+ '' :
+ extensions.getItemSourceString(sourceType);
},
/**
@@ -207,9 +208,8 @@ cr.define('extensions', function() {
label = this.i18n('viewBackgroundPage');
// Add any qualifiers.
label += (view.incognito ? ' ' + this.i18n('viewIncognito') : '') +
- (view.renderProcessId == -1 ?
- ' ' + this.i18n('viewInactive') : '') +
- (view.isIframe ? ' ' + this.i18n('viewIframe') : '');
+ (view.renderProcessId == -1 ? ' ' + this.i18n('viewInactive') : '') +
+ (view.isIframe ? ' ' + this.i18n('viewIframe') : '');
return label;
},
@@ -219,8 +219,8 @@ cr.define('extensions', function() {
*/
hasWarnings_: function() {
return this.data.disableReasons.corruptInstall ||
- this.data.disableReasons.suspiciousInstall ||
- !!this.data.blacklistText;
+ this.data.disableReasons.suspiciousInstall ||
+ !!this.data.blacklistText;
},
/**
@@ -237,4 +237,3 @@ cr.define('extensions', function() {
ItemDelegate: ItemDelegate,
};
});
-
« no previous file with comments | « chrome/browser/resources/md_extensions/extensions.js ('k') | chrome/browser/resources/md_extensions/item_list.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698