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/file_manager/foreground/js/file_manager.js

Issue 2577123004: Export the dialog type where Quick View is opened. (Closed)
Patch Set: Created 4 years 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/file_manager.js
diff --git a/ui/file_manager/file_manager/foreground/js/file_manager.js b/ui/file_manager/file_manager/foreground/js/file_manager.js
index bc23f24a6beb8216f6cc1d1bff54678795ff116a..c2ead98156c42c858d1803c807ff96c95b2f6b1d 100644
--- a/ui/file_manager/file_manager/foreground/js/file_manager.js
+++ b/ui/file_manager/file_manager/foreground/js/file_manager.js
@@ -548,8 +548,8 @@ FileManager.prototype = /** @struct */ {
chrome.commandLinePrivate.hasSwitch(
'disable-files-quick-view', function(disabled) {
if (!disabled) {
- this.quickViewUma_ =
- new QuickViewUma(assert(this.volumeManager_));
+ this.quickViewUma_ = new QuickViewUma(
+ assert(this.volumeManager_), assert(this.dialogType));
this.quickViewController_ = new QuickViewController(
quickView, assert(this.metadataModel_),
assert(this.selectionHandler_),
« no previous file with comments | « tools/metrics/histograms/histograms.xml ('k') | ui/file_manager/file_manager/foreground/js/quick_view_uma.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698