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

Unified Diff: ui/file_manager/file_manager/common/js/volume_manager_common.js

Issue 1701163003: Hide non-native volumes when saving files from the browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tests Created 4 years, 10 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/common/js/volume_manager_common.js
diff --git a/ui/file_manager/file_manager/common/js/volume_manager_common.js b/ui/file_manager/file_manager/common/js/volume_manager_common.js
index 46a1a07bfe353f01961c84efa536d731768cf3cb..62e3c96250eb7305fa7178d6098b3402b6092d46 100644
--- a/ui/file_manager/file_manager/common/js/volume_manager_common.js
+++ b/ui/file_manager/file_manager/common/js/volume_manager_common.js
@@ -9,6 +9,17 @@
var VolumeManagerCommon = {};
/**
+ * Paths that can be handled by the dialog opener in native code.
+ * @enum {string}
+ * @const
+ */
+var AllowedPaths = {
+ NATIVE_PATH: 'nativePath',
+ NATIVE_OR_DRIVE_PATH: 'nativeOrDrivePath',
+ ANY_PATH: 'anyPath'
+};
+
+/**
* Type of a root directory.
* @enum {string}
* @const

Powered by Google App Engine
This is Rietveld 408576698