| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 /** | 5 /** |
| 6 * Mock out the chrome.fileBrowserPrivate API for use in the harness. | 6 * Mock out the chrome.fileBrowserPrivate API for use in the harness. |
| 7 */ | 7 */ |
| 8 chrome.fileBrowserPrivate = { | 8 chrome.fileBrowserPrivate = { |
| 9 | 9 |
| 10 /** | 10 /** |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 NOTHING_SELECTED: 'No files selected', | 274 NOTHING_SELECTED: 'No files selected', |
| 275 ONE_FILE_SELECTED: 'One file selected, $1', | 275 ONE_FILE_SELECTED: 'One file selected, $1', |
| 276 ONE_DIRECTORY_SELECTED: 'One directory selected', | 276 ONE_DIRECTORY_SELECTED: 'One directory selected', |
| 277 MANY_FILES_SELECTED: '$1 files selected, $2', | 277 MANY_FILES_SELECTED: '$1 files selected, $2', |
| 278 MANY_DIRECTORIES_SELECTED: '$1 directories selected', | 278 MANY_DIRECTORIES_SELECTED: '$1 directories selected', |
| 279 MANY_ENTRIES_SELECTED: '$1 items selected, $2', | 279 MANY_ENTRIES_SELECTED: '$1 items selected, $2', |
| 280 | 280 |
| 281 CONFIRM_DELETE_ONE: 'Are you sure you want to delete "$1"?', | 281 CONFIRM_DELETE_ONE: 'Are you sure you want to delete "$1"?', |
| 282 CONFIRM_DELETE_SOME: 'Are you sure you want to delete $1 items?', | 282 CONFIRM_DELETE_SOME: 'Are you sure you want to delete $1 items?', |
| 283 | 283 |
| 284 UNKNOWN_FILESYSTEM_WARNING:'This device cannot be opened because its' + |
| 285 ' filesystem was not recognized.', |
| 286 UNSUPPORTED_FILESYSTEM_WARNING: 'This device cannot be opened because' + |
| 287 ' its filesystem is not supported.', |
| 288 FORMATTING_WARNING: 'Formatting the removable media is going to erase' + |
| 289 ' all data. Do you wish to continue?', |
| 290 |
| 284 ID3_ALBUM: 'Album', // TALB | 291 ID3_ALBUM: 'Album', // TALB |
| 285 ID3_BPM: 'BPM ', // TBPM | 292 ID3_BPM: 'BPM ', // TBPM |
| 286 ID3_COMPOSER: 'Composer', // TCOM | 293 ID3_COMPOSER: 'Composer', // TCOM |
| 287 ID3_COPYRIGHT_MESSAGE: 'Copyright message', // TCOP | 294 ID3_COPYRIGHT_MESSAGE: 'Copyright message', // TCOP |
| 288 ID3_DATE: 'Date', // TDAT | 295 ID3_DATE: 'Date', // TDAT |
| 289 ID3_PLAYLIST_DELAY: 'Playlist delay', // TDLY | 296 ID3_PLAYLIST_DELAY: 'Playlist delay', // TDLY |
| 290 ID3_ENCODED_BY: 'Encoded by', // TENC | 297 ID3_ENCODED_BY: 'Encoded by', // TENC |
| 291 ID3_LYRICIST: 'Lyricist', // TEXT | 298 ID3_LYRICIST: 'Lyricist', // TEXT |
| 292 ID3_FILE_TYPE: 'File type', // TFLT | 299 ID3_FILE_TYPE: 'File type', // TFLT |
| 293 ID3_TIME: 'Time', // TIME | 300 ID3_TIME: 'Time', // TIME |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 }; | 338 }; |
| 332 | 339 |
| 333 chrome.fileBrowserHandler = { | 340 chrome.fileBrowserHandler = { |
| 334 onExecute: { | 341 onExecute: { |
| 335 listeners_: [], | 342 listeners_: [], |
| 336 addListener: function(listener) { | 343 addListener: function(listener) { |
| 337 chrome.fileBrowserHandler.onExecute.listeners_.push(listener); | 344 chrome.fileBrowserHandler.onExecute.listeners_.push(listener); |
| 338 } | 345 } |
| 339 } | 346 } |
| 340 }; | 347 }; |
| OLD | NEW |