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

Unified Diff: ui/file_manager/video_player/js/video_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/video_player/js/video_player.js
diff --git a/ui/file_manager/video_player/js/video_player.js b/ui/file_manager/video_player/js/video_player.js
index 48a7d1c8a5bd7f2f524354bb1388bf30c4e4da83..2409f8bef1d33d345b7439ef01821569478c6cd9 100644
--- a/ui/file_manager/video_player/js/video_player.js
+++ b/ui/file_manager/video_player/js/video_player.js
@@ -33,16 +33,20 @@ function FullWindowVideoControls(
switch (util.getKeyModifiers(e) + e.key) {
// 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