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

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

Issue 385263005: Gallery: Add support for Media Keys (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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
« no previous file with comments | « no previous file | ui/file_manager/gallery/js/slide_mode.js » ('j') | ui/file_manager/gallery/js/slide_mode.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/gallery/js/gallery.js
diff --git a/ui/file_manager/gallery/js/gallery.js b/ui/file_manager/gallery/js/gallery.js
index 67caf43afb4c9f60fb762fdddbb8bd702967eb1a..ddf9dc12e2511139015e06e3f9df8e9a0004acc1 100644
--- a/ui/file_manager/gallery/js/gallery.js
+++ b/ui/file_manager/gallery/js/gallery.js
@@ -690,6 +690,7 @@ Gallery.prototype.onKeyDown_ = function(event) {
break;
case 'U+0056': // 'v'
+ case 'MediaPlayPause':
this.slideMode_.startSlideshow(SlideMode.SLIDESHOW_INTERVAL_FIRST, event);
break;
« no previous file with comments | « no previous file | ui/file_manager/gallery/js/slide_mode.js » ('j') | ui/file_manager/gallery/js/slide_mode.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698