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

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

Issue 2200993002: Enable Quick View by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 08768792b24f2c4bf1774257ac5c9aae707a5461..2ac4b44ea34d736e58e7865f6ff0af1cb77ce29a 100644
--- a/ui/file_manager/file_manager/foreground/js/file_manager.js
+++ b/ui/file_manager/file_manager/foreground/js/file_manager.js
@@ -555,8 +555,8 @@ FileManager.prototype = /** @struct */ {
var fileListSelectionModel = /** @type {!cr.ui.ListSelectionModel} */ (
this.directoryModel_.getFileListSelection());
chrome.commandLinePrivate.hasSwitch(
- 'enable-files-quick-view', function(enabled) {
- if (enabled) {
+ 'disable-files-quick-view', function(disabled) {
+ if (!disabled) {
this.quickViewController_ = new QuickViewController(
quickView, assert(this.metadataModel_),
assert(this.selectionHandler_),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698