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

Unified Diff: chrome/browser/resources/extensions/chromeos/kiosk_app_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/extensions/chromeos/kiosk_app_list.js
diff --git a/chrome/browser/resources/extensions/chromeos/kiosk_app_list.js b/chrome/browser/resources/extensions/chromeos/kiosk_app_list.js
index d92784097d7546765fa95de40f79416e4e6ec9b7..63b7c1d3804af65558c93243843aac63cc9ef6d6 100644
--- a/chrome/browser/resources/extensions/chromeos/kiosk_app_list.js
+++ b/chrome/browser/resources/extensions/chromeos/kiosk_app_list.js
@@ -145,9 +145,9 @@ cr.define('extensions', function() {
}.bind(this);
this.querySelector('.enable-auto-launch-button').onclick =
- sendMessageWithId('enableKioskAutoLaunch');
+ sendMessageWithId('enableKioskAutoLaunch');
this.querySelector('.disable-auto-launch-button').onclick =
- sendMessageWithId('disableKioskAutoLaunch');
+ sendMessageWithId('disableKioskAutoLaunch');
this.querySelector('.row-delete-button').onclick =
sendMessageWithId('removeKioskApp');
},
@@ -160,8 +160,8 @@ cr.define('extensions', function() {
this.icon.style.backgroundImage = 'url(' + this.data.iconURL + ')';
this.name.textContent = this.data.name || this.data.id;
- this.status.textContent = this.data.autoLaunch ?
- loadTimeData.getString('autoLaunch') : '';
+ this.status.textContent =
+ this.data.autoLaunch ? loadTimeData.getString('autoLaunch') : '';
this.autoLaunch = this.data.autoLaunch;
}
@@ -173,7 +173,5 @@ cr.define('extensions', function() {
cr.defineProperty(KioskAppListItem, 'autoLaunch', cr.PropertyKind.BOOL_ATTR);
// Export
- return {
- KioskAppList: KioskAppList
- };
+ return {KioskAppList: KioskAppList};
});

Powered by Google App Engine
This is Rietveld 408576698