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

Unified Diff: ui/file_manager/file_manager/foreground/js/quick_view_controller.js

Issue 2109563002: Quick View: Add more metadata and update UI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Increment resource ID Created 4 years, 6 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/foreground/js/quick_view_controller.js
diff --git a/ui/file_manager/file_manager/foreground/js/quick_view_controller.js b/ui/file_manager/file_manager/foreground/js/quick_view_controller.js
index 5cd58fc415f3cd8a3861841cffded62cb001fa87..0606abd69ff0795f281b5886871062cf0d0e8462 100644
--- a/ui/file_manager/file_manager/foreground/js/quick_view_controller.js
+++ b/ui/file_manager/file_manager/foreground/js/quick_view_controller.js
@@ -110,6 +110,7 @@ QuickViewController.prototype.onKeyDownToOpen_ = function(event) {
QuickViewController.prototype.onQuickViewKeyDown_ = function(event) {
switch (event.key) {
case ' ':
+ case 'Escape':
event.preventDefault();
this.quickView_.close();
this.listContainer_.focus();

Powered by Google App Engine
This is Rietveld 408576698