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

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

Issue 10914206: [FileBrowser] Added go to gdrive menu item. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged with master. Created 8 years, 3 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 ee31cf1f40475b75cebd1d63f8148d95fa83223d..39c79b0393e83d869847e0e020ad848ae9cfed60 100644
--- a/chrome/browser/resources/file_manager/js/file_manager.js
+++ b/chrome/browser/resources/file_manager/js/file_manager.js
@@ -74,6 +74,11 @@ FileManager.prototype = {
FileManager.GOOGLE_DRIVE_HELP =
'https://support.google.com/chromeos/?p=filemanager_drivehelp';
+ /**
+ * Location of Google Drive specific help.
+ */
+ FileManager.GOOGLE_DRIVE_ROOT = 'https://drive.google.com';
+
/**
* Maximum amount of thumbnails in the preview pane.
*/
@@ -559,6 +564,9 @@ FileManager.prototype = {
CommandUtil.registerCommand(doc, 'gdata-clear-local-cache',
Commands.gdataClearCacheCommand, this);
+ CommandUtil.registerCommand(doc, 'gdata-go-to-drive',
+ Commands.gdataGoToDriveCommand, this);
+
CommandUtil.registerCommand(doc, 'paste',
Commands.pasteFileCommand, doc, this.fileTransferController_);

Powered by Google App Engine
This is Rietveld 408576698