| 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 files
ystem was not recognized.', |
| 285 UNSUPPORTED_FILESYSTEM_WARNING: 'This device cannot be opened because its
filesystem is not supported.', |
| 286 FORMATTING_WARNING: 'Formatting the removable media is going to erase all
data. Do you wish to continue?', |
| 287 |
| 284 ID3_ALBUM: 'Album', // TALB | 288 ID3_ALBUM: 'Album', // TALB |
| 285 ID3_BPM: 'BPM ', // TBPM | 289 ID3_BPM: 'BPM ', // TBPM |
| 286 ID3_COMPOSER: 'Composer', // TCOM | 290 ID3_COMPOSER: 'Composer', // TCOM |
| 287 ID3_COPYRIGHT_MESSAGE: 'Copyright message', // TCOP | 291 ID3_COPYRIGHT_MESSAGE: 'Copyright message', // TCOP |
| 288 ID3_DATE: 'Date', // TDAT | 292 ID3_DATE: 'Date', // TDAT |
| 289 ID3_PLAYLIST_DELAY: 'Playlist delay', // TDLY | 293 ID3_PLAYLIST_DELAY: 'Playlist delay', // TDLY |
| 290 ID3_ENCODED_BY: 'Encoded by', // TENC | 294 ID3_ENCODED_BY: 'Encoded by', // TENC |
| 291 ID3_LYRICIST: 'Lyricist', // TEXT | 295 ID3_LYRICIST: 'Lyricist', // TEXT |
| 292 ID3_FILE_TYPE: 'File type', // TFLT | 296 ID3_FILE_TYPE: 'File type', // TFLT |
| 293 ID3_TIME: 'Time', // TIME | 297 ID3_TIME: 'Time', // TIME |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 }; | 335 }; |
| 332 | 336 |
| 333 chrome.fileBrowserHandler = { | 337 chrome.fileBrowserHandler = { |
| 334 onExecute: { | 338 onExecute: { |
| 335 listeners_: [], | 339 listeners_: [], |
| 336 addListener: function(listener) { | 340 addListener: function(listener) { |
| 337 chrome.fileBrowserHandler.onExecute.listeners_.push(listener); | 341 chrome.fileBrowserHandler.onExecute.listeners_.push(listener); |
| 338 } | 342 } |
| 339 } | 343 } |
| 340 }; | 344 }; |
| OLD | NEW |