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

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

Issue 2640673002: (WIP) Use generator to generate externs for chrome.fileManagerPrivate API.
Patch Set: Compile passes 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: ui/file_manager/audio_player/js/audio_player.js
diff --git a/ui/file_manager/audio_player/js/audio_player.js b/ui/file_manager/audio_player/js/audio_player.js
index 8781ea157bfd9e9dfa9c73c6fe97030bfcd884c0..b86c9823205fd6d47b431b6cdc52e125adc3fc45 100644
--- a/ui/file_manager/audio_player/js/audio_player.js
+++ b/ui/file_manager/audio_player/js/audio_player.js
@@ -370,16 +370,20 @@ AudioPlayer.prototype.onKeyDown_ = function(event) {
// Handle debug shortcut keys.
case 'Ctrl-Shift-I': // Ctrl+Shift+I
- chrome.fileManagerPrivate.openInspector('normal');
+ chrome.fileManagerPrivate.openInspector(
+ chrome.fileManagerPrivate.InspectionType.NORMAL);
break;
case 'Ctrl-Shift-J': // Ctrl+Shift+J
- chrome.fileManagerPrivate.openInspector('console');
+ chrome.fileManagerPrivate.openInspector(
+ chrome.fileManagerPrivate.InspectionType.CONSOLE);
break;
case 'Ctrl-Shift-C': // Ctrl+Shift+C
- chrome.fileManagerPrivate.openInspector('element');
+ chrome.fileManagerPrivate.openInspector(
+ chrome.fileManagerPrivate.InspectionType.ELEMENT);
break;
case 'Ctrl-Shift-B': // Ctrl+Shift+B
- chrome.fileManagerPrivate.openInspector('background');
+ chrome.fileManagerPrivate.openInspector(
+ chrome.fileManagerPrivate.InspectionType.BACKGROUND);
break;
case ' ': // Space

Powered by Google App Engine
This is Rietveld 408576698