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

Unified Diff: chrome/browser/resources/file_manager/foreground/js/file_manager.js

Issue 215103003: [Files.app] Hide video-player related task menu according to condition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adressed the comment Created 6 years, 9 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: chrome/browser/resources/file_manager/foreground/js/file_manager.js
diff --git a/chrome/browser/resources/file_manager/foreground/js/file_manager.js b/chrome/browser/resources/file_manager/foreground/js/file_manager.js
index aa3bd7250950f1b188fd38113fbc13b5eaafa945..4367af2ff07fc91fc3418578d51e0e2c9d558f1a 100644
--- a/chrome/browser/resources/file_manager/foreground/js/file_manager.js
+++ b/chrome/browser/resources/file_manager/foreground/js/file_manager.js
@@ -1582,7 +1582,9 @@ var BOTTOM_MARGIN_FOR_PREVIEW_PANEL_PX = 52;
// Handle restoring after crash, or the gallery action.
// TODO(mtomasz): Use the gallery action instead of just the gallery
// field.
- if (this.params_.gallery || this.params_.action === 'gallery') {
+ if (this.params_.gallery ||
+ this.params_.action === 'gallery' ||
+ this.params_.action === 'gallery-video') {
if (!opt_selectionEntry) {
// Non-existent file or a directory.
// Reloading while the Gallery is open with empty or multiple
« no previous file with comments | « chrome/browser/extensions/component_loader.cc ('k') | chrome/browser/resources/file_manager/foreground/js/file_tasks.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698