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

Unified Diff: ui/file_manager/file_manager/background/js/background.js

Issue 571453002: Correct indentation, JSDoc, etc... to comply with closure linter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 3 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: ui/file_manager/file_manager/background/js/background.js
diff --git a/ui/file_manager/file_manager/background/js/background.js b/ui/file_manager/file_manager/background/js/background.js
index ef7a4a07fc667e4adab2ca84b6fc085bb32b3c15..47fdcc4e5330abd66b634348cf77a04dadfb8076 100644
--- a/ui/file_manager/file_manager/background/js/background.js
+++ b/ui/file_manager/file_manager/background/js/background.js
@@ -291,17 +291,17 @@ AppWindowWrapper.focusOnDesktop = function(appWindow, opt_profileId) {
if (opt_profileId) {
onFulfilled(opt_profileId);
} else {
- chrome.fileManagerPrivate.getProfiles(function(profiles,
- currentId,
- displayedId) {
- onFulfilled(currentId);
- });
+ chrome.fileManagerPrivate.getProfiles(
+ function(profiles, currentId, displayedId) {
+ onFulfilled(currentId);
+ });
}
}).then(function(profileId) {
appWindow.contentWindow.chrome.fileManagerPrivate.visitDesktop(
- profileId, function() {
- appWindow.focus();
- });
+ profileId,
+ function() {
+ appWindow.focus();
+ });
});
};
@@ -805,12 +805,12 @@ audioPlayerInitializationQueue.run(function(callback) {
* @type {Object}
*/
var audioPlayerCreateOptions = Object.freeze({
- type: 'panel',
- hidden: true,
- minHeight: 44 + 73, // 44px: track, 73px: controller
- minWidth: 292,
- height: 44 + 73, // collapsed
- width: 292
+ type: 'panel',
+ hidden: true,
+ minHeight: 44 + 73, // 44px: track, 73px: controller
+ minWidth: 292,
+ height: 44 + 73, // collapsed
+ width: 292
});
audioPlayer = new SingletonAppWindowWrapper('audio_player.html',

Powered by Google App Engine
This is Rietveld 408576698