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

Unified Diff: chrome/browser/resources/file_manager/js/file_manager_commands.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_commands.js
diff --git a/chrome/browser/resources/file_manager/js/file_manager_commands.js b/chrome/browser/resources/file_manager/js/file_manager_commands.js
index 3e0cbd9c057cb089d0f16b604a6bfa2b42376520..36f8606f5afb6d265a1a4feb147cf02dc5524261 100644
--- a/chrome/browser/resources/file_manager/js/file_manager_commands.js
+++ b/chrome/browser/resources/file_manager/js/file_manager_commands.js
@@ -216,6 +216,16 @@ Commands.gdataClearCacheCommand = {
};
/**
+ * Opens drive.google.com.
+ */
+Commands.gdataGoToDriveCommand = {
+ execute: function() {
+ window.open(FileManager.GOOGLE_DRIVE_ROOT, 'gdata-root');
+ },
+ canExecute: CommandUtil.canExecuteOnGDataOnly
+};
+
+/**
* Displays open with dialog for current selection.
*/
Commands.openWithCommand = {
« no previous file with comments | « chrome/browser/resources/file_manager/js/file_manager.js ('k') | chrome/browser/resources/file_manager/js/mock_chrome.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698