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 602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
613 DRIVE_WELCOME_TEXT_SHORT: | 613 DRIVE_WELCOME_TEXT_SHORT: |
614 'All files saved in this folder are backed up online automatically', | 614 'All files saved in this folder are backed up online automatically', |
615 DRIVE_WELCOME_TEXT_LONG: | 615 DRIVE_WELCOME_TEXT_LONG: |
616 '<p><strong>Access files from everywhere, even offline.</strong> ' + | 616 '<p><strong>Access files from everywhere, even offline.</strong> ' + |
617 'Files in Google Drive are up-to-date and available from any device.</
p>' + | 617 'Files in Google Drive are up-to-date and available from any device.</
p>' + |
618 '<p><strong>Keep your files safe.</strong> ' + | 618 '<p><strong>Keep your files safe.</strong> ' + |
619 'No matter what happens to your device, your files are ' + | 619 'No matter what happens to your device, your files are ' + |
620 'safely stored in Google Drive .</p>' + | 620 'safely stored in Google Drive .</p>' + |
621 '<p><strong>Share, create and collaborate</strong> ' + | 621 '<p><strong>Share, create and collaborate</strong> ' + |
622 'on files with others all in one place .</p>', | 622 'on files with others all in one place .</p>', |
623 DRIVE_WELCOME_GET_STARTED: 'Get started', | 623 DRIVE_WELCOME_CHECK_ELIGIBILITY: 'Check eligibility', |
624 DRIVE_WELCOME_DISMISS: 'Dismiss', | 624 DRIVE_WELCOME_DISMISS: 'Dismiss', |
625 DRIVE_LOADING_PROGRESS: '$1 files fetched', | 625 DRIVE_LOADING_PROGRESS: '$1 files fetched', |
626 | 626 |
627 OFFLINE_HEADER: 'You are offline', | 627 OFFLINE_HEADER: 'You are offline', |
628 OFFLINE_MESSAGE: 'To save this file for offline use, get back online and<b
r>select the \'$1\' checkbox for this file.', | 628 OFFLINE_MESSAGE: 'To save this file for offline use, get back online and<b
r>select the \'$1\' checkbox for this file.', |
629 OFFLINE_MESSAGE_PLURAL: 'To save these files for offline use, get back onl
ine and<br>select the \'$1\' checkbox for this file.', | 629 OFFLINE_MESSAGE_PLURAL: 'To save these files for offline use, get back onl
ine and<br>select the \'$1\' checkbox for this file.', |
630 HOSTED_OFFLINE_MESSAGE: 'You must be online to access this file.', | 630 HOSTED_OFFLINE_MESSAGE: 'You must be online to access this file.', |
631 HOSTED_OFFLINE_MESSAGE_PLURAL: 'You must be online to access these files.'
, | 631 HOSTED_OFFLINE_MESSAGE_PLURAL: 'You must be online to access these files.'
, |
632 | 632 |
633 CONFIRM_MOBILE_DATA_USE: 'Fetching this file will use approximately $1 of
mobile data.', | 633 CONFIRM_MOBILE_DATA_USE: 'Fetching this file will use approximately $1 of
mobile data.', |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
874 playAudio: function(urls, position) { | 874 playAudio: function(urls, position) { |
875 this.audioPlaylist_ = { items: urls, position: position }; | 875 this.audioPlaylist_ = { items: urls, position: position }; |
876 this.onPlaylistChanged.notify(); | 876 this.onPlaylistChanged.notify(); |
877 }, | 877 }, |
878 | 878 |
879 playVideo: function(url) { | 879 playVideo: function(url) { |
880 this.videoUrl_ = url; | 880 this.videoUrl_ = url; |
881 this.onVideoLaunched.notify(); | 881 this.onVideoLaunched.notify(); |
882 } | 882 } |
883 }; | 883 }; |
OLD | NEW |