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

Unified Diff: chrome/browser/resources/chromeos/login/apps_menu.js

Issue 2944703004: Run clang-format on .js files in c/b/r/chromeos (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/chromeos/login/apps_menu.js
diff --git a/chrome/browser/resources/chromeos/login/apps_menu.js b/chrome/browser/resources/chromeos/login/apps_menu.js
index 7fe35f5b94ed9f829197bcf832eb13dc7fa743a7..cec900dbb7b1d5bb09c94fb7c48c32ab4c92aa39 100644
--- a/chrome/browser/resources/chromeos/login/apps_menu.js
+++ b/chrome/browser/resources/chromeos/login/apps_menu.js
@@ -110,8 +110,8 @@ cr.define('login', function() {
}
this.confirmDiagnosticMode_.show(
- loadTimeData.getStringF('confirmKioskAppDiagnosticModeFormat',
- app.label),
+ loadTimeData.getStringF(
+ 'confirmKioskAppDiagnosticModeFormat', app.label),
function() {
chrome.send('launchKioskApp', [app.id, true]);
});
@@ -150,11 +150,9 @@ cr.define('login', function() {
AppsMenuButton.showError = function(message) {
/** @const */ var BUBBLE_OFFSET = 25;
/** @const */ var BUBBLE_PADDING = 12;
- $('bubble').showTextForElement($('show-apps-button'),
- message,
- cr.ui.Bubble.Attachment.TOP,
- BUBBLE_OFFSET,
- BUBBLE_PADDING);
+ $('bubble').showTextForElement(
+ $('show-apps-button'), message, cr.ui.Bubble.Attachment.TOP,
+ BUBBLE_OFFSET, BUBBLE_PADDING);
};
@@ -168,7 +166,5 @@ cr.define('login', function() {
$('show-apps-button').findAndRunAppForTesting(id, opt_diagnostic_mode);
};
- return {
- AppsMenuButton: AppsMenuButton
- };
+ return {AppsMenuButton: AppsMenuButton};
});

Powered by Google App Engine
This is Rietveld 408576698