| 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 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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 }; |
| OLD | NEW |