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

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

Issue 819953005: Files.app: Remove multi-profile related fileManagerPrivate APIs that are no more used. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: ui/file_manager/audio_player/js/background.js
diff --git a/ui/file_manager/audio_player/js/background.js b/ui/file_manager/audio_player/js/background.js
index f64b9bfc4cd6a3d3e7d24b9dc81dff5991669108..073ffeb4519433eb75e7038d4affec8a623eeb03 100644
--- a/ui/file_manager/audio_player/js/background.js
+++ b/ui/file_manager/audio_player/js/background.js
@@ -156,7 +156,7 @@ function open(playlist, reopen) {
});
}).then(function() {
audioPlayer.setIcon('icons/audio-player-64.png');
- AppWindowWrapper.focusOnDesktop(audioPlayer.rawAppWindow);
+ audioPlayer.rawAppWindow.focus();
}).catch(function(error) {
console.error('Launch failed' + error.stack || error);
return Promise.reject(error);
« no previous file with comments | « tools/metrics/histograms/histograms.xml ('k') | ui/file_manager/file_manager/background/js/app_window_wrapper.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698