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

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

Issue 22523003: Enable Google Drive in all save-file dialogs of Chrome OS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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/js/file_manager.js
diff --git a/chrome/browser/resources/file_manager/js/file_manager.js b/chrome/browser/resources/file_manager/js/file_manager.js
index 632e04c867547b92a6d71a4676494e0316d51db3..e332fe4ec69574961f707b4bbb9fef93c5f91d10 100644
--- a/chrome/browser/resources/file_manager/js/file_manager.js
+++ b/chrome/browser/resources/file_manager/js/file_manager.js
@@ -2015,10 +2015,8 @@ var BOTTOM_MARGIN_FOR_PREVIEW_PANEL_PX = 52;
FileManager.prototype.isDriveEnabled = function() {
// Auto resolving to local path does not work for folders (e.g., dialog for
- // loading unpacked extensions) and saving.
- // TODO(kinaba): make it work for the save dialog http://crbug.com/140425
+ // loading unpacked extensions).
var noLocalPathResolution =
- this.params_.type == DialogType.SELECT_SAVEAS_FILE ||
this.params_.type == DialogType.SELECT_FOLDER ||
this.params_.type == DialogType.SELECT_UPLOAD_FOLDER;
if (noLocalPathResolution && this.params_.shouldReturnLocalPath)

Powered by Google App Engine
This is Rietveld 408576698