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

Side by Side Diff: chrome/browser/resources/file_manager/js/mock_chrome.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 function MockEventSource() { 5 function MockEventSource() {
6 this.listeners_ = []; 6 this.listeners_ = [];
7 } 7 }
8 8
9 /** 9 /**
10 * Add a listener. 10 * Add a listener.
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 UNMOUNT_DEVICE_BUTTON_LABEL: 'Unmount', 568 UNMOUNT_DEVICE_BUTTON_LABEL: 'Unmount',
569 FORMAT_DEVICE_BUTTON_LABEL: 'Format', 569 FORMAT_DEVICE_BUTTON_LABEL: 'Format',
570 570
571 GDATA_MENU_HELP: 'Help', 571 GDATA_MENU_HELP: 'Help',
572 GDATA_MOBILE_CONNECTION_OPTION: 'Do not use mobile data for sync', 572 GDATA_MOBILE_CONNECTION_OPTION: 'Do not use mobile data for sync',
573 GDATA_SHOW_HOSTED_FILES_OPTION: 'Show Google Docs files', 573 GDATA_SHOW_HOSTED_FILES_OPTION: 'Show Google Docs files',
574 GDATA_CLEAR_LOCAL_CACHE: 'Clear local cache', 574 GDATA_CLEAR_LOCAL_CACHE: 'Clear local cache',
575 GDATA_WAITING_FOR_SPACE_INFO: 'Waiting for space info...', 575 GDATA_WAITING_FOR_SPACE_INFO: 'Waiting for space info...',
576 GDATA_FAILED_SPACE_INFO: 'Failed to retrieve space info', 576 GDATA_FAILED_SPACE_INFO: 'Failed to retrieve space info',
577 GDATA_BUY_MORE_SPACE: 'Buy more storage...', 577 GDATA_BUY_MORE_SPACE: 'Buy more storage...',
578 GDATA_VISIT_DRIVE_GOOGLE_COM: 'Go to drive.google.com...',
578 GDATA_SPACE_AVAILABLE: '$1 left', 579 GDATA_SPACE_AVAILABLE: '$1 left',
579 580
580 GDATA_BUY_MORE_SPACE_LINK: 'Buy more storage', 581 GDATA_BUY_MORE_SPACE_LINK: 'Buy more storage',
581 GDATA_SPACE_AVAILABLE_LONG: 'Google Drive space left: $1.', 582 GDATA_SPACE_AVAILABLE_LONG: 'Google Drive space left: $1.',
582 583
583 OFFLINE_COLUMN_LABEL: 'Available offline', 584 OFFLINE_COLUMN_LABEL: 'Available offline',
584 GDATA_LOADING: 'Hang with us. We\'re fetching your files.', 585 GDATA_LOADING: 'Hang with us. We\'re fetching your files.',
585 GDATA_RETRY: 'Retry', 586 GDATA_RETRY: 'Retry',
586 GDATA_LEARN_MORE: 'Learn more', 587 GDATA_LEARN_MORE: 'Learn more',
587 GDATA_CANNOT_REACH: '$1 cannot be reached at this time', 588 GDATA_CANNOT_REACH: '$1 cannot be reached at this time',
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
851 852
852 setWindowHeight: function(height) { 853 setWindowHeight: function(height) {
853 this.popup_.style.height = height + 'px'; 854 this.popup_.style.height = height + 'px';
854 }, 855 },
855 856
856 closeWindow: function() { 857 closeWindow: function() {
857 this.popup_.parentNode.removeChild(this.popup_); 858 this.popup_.parentNode.removeChild(this.popup_);
858 this.popup_ = null; 859 this.popup_ = null;
859 } 860 }
860 }; 861 };
OLDNEW
« no previous file with comments | « chrome/browser/resources/file_manager/js/file_manager_commands.js ('k') | chrome/browser/resources/file_manager/main.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698