OLD | NEW |
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 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
536 COPY_BUTTON_LABEL: 'Copy', | 536 COPY_BUTTON_LABEL: 'Copy', |
537 CUT_BUTTON_LABEL: 'Cut', | 537 CUT_BUTTON_LABEL: 'Cut', |
538 | 538 |
539 UNMOUNT_FAILED: 'Unable to eject: $1', | 539 UNMOUNT_FAILED: 'Unable to eject: $1', |
540 UNMOUNT_DEVICE_BUTTON_LABEL: 'Unmount', | 540 UNMOUNT_DEVICE_BUTTON_LABEL: 'Unmount', |
541 FORMAT_DEVICE_BUTTON_LABEL: 'Format', | 541 FORMAT_DEVICE_BUTTON_LABEL: 'Format', |
542 | 542 |
543 GDATA_MENU_HELP: 'Help', | 543 GDATA_MENU_HELP: 'Help', |
544 GDATA_MOBILE_CONNECTION_OPTION: 'Do not use mobile data for sync', | 544 GDATA_MOBILE_CONNECTION_OPTION: 'Do not use mobile data for sync', |
545 GDATA_SHOW_HOSTED_FILES_OPTION: 'Show Google Docs files', | 545 GDATA_SHOW_HOSTED_FILES_OPTION: 'Show Google Docs files', |
| 546 GDATA_CLEAR_LOCAL_CACHE: 'Clear local cache', |
546 GDATA_WAITING_FOR_SPACE_INFO: 'Waiting for space info...', | 547 GDATA_WAITING_FOR_SPACE_INFO: 'Waiting for space info...', |
547 GDATA_FAILED_SPACE_INFO: 'Failed to retrieve space info', | 548 GDATA_FAILED_SPACE_INFO: 'Failed to retrieve space info', |
548 GDATA_BUY_MORE_SPACE: 'Buy more storage...', | 549 GDATA_BUY_MORE_SPACE: 'Buy more storage...', |
549 GDATA_SPACE_AVAILABLE: '$1 left', | 550 GDATA_SPACE_AVAILABLE: '$1 left', |
550 | 551 |
551 OFFLINE_COLUMN_LABEL: 'Available offline', | 552 OFFLINE_COLUMN_LABEL: 'Available offline', |
552 GDATA_LOADING: 'Hang with us. We\'re fetching your files.', | 553 GDATA_LOADING: 'Hang with us. We\'re fetching your files.', |
553 GDATA_RETRY: 'Retry', | 554 GDATA_RETRY: 'Retry', |
554 GDATA_LEARN_MORE: 'Learn more', | 555 GDATA_LEARN_MORE: 'Learn more', |
555 GDATA_CANNOT_REACH: '$1 cannot be reached at this time', | 556 GDATA_CANNOT_REACH: '$1 cannot be reached at this time', |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
801 | 802 |
802 setWindowHeight: function(height) { | 803 setWindowHeight: function(height) { |
803 this.popup_.style.height = height + 'px'; | 804 this.popup_.style.height = height + 'px'; |
804 }, | 805 }, |
805 | 806 |
806 closeWindow: function() { | 807 closeWindow: function() { |
807 this.popup_.parentNode.removeChild(this.popup_); | 808 this.popup_.parentNode.removeChild(this.popup_); |
808 this.popup_ = null; | 809 this.popup_ = null; |
809 } | 810 } |
810 }; | 811 }; |
OLD | NEW |