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 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 PASTE_UNEXPECTED_ERROR: 'Paste failed, unexpected error: $1', | 278 PASTE_UNEXPECTED_ERROR: 'Paste failed, unexpected error: $1', |
279 | 279 |
280 DEVICE_TYPE_FLASH: 'Flash Device', | 280 DEVICE_TYPE_FLASH: 'Flash Device', |
281 DEVICE_TYPE_HDD: 'Hard Disk Device', | 281 DEVICE_TYPE_HDD: 'Hard Disk Device', |
282 DEVICE_TYPE_OPTICAL: 'Optical Device', | 282 DEVICE_TYPE_OPTICAL: 'Optical Device', |
283 DEVICE_TYPE_UNDEFINED: 'Unknown Device', | 283 DEVICE_TYPE_UNDEFINED: 'Unknown Device', |
284 | 284 |
285 CANCEL_LABEL: 'Cancel', | 285 CANCEL_LABEL: 'Cancel', |
286 OPEN_LABEL: 'Open', | 286 OPEN_LABEL: 'Open', |
287 SAVE_LABEL: 'Save', | 287 SAVE_LABEL: 'Save', |
288 OK_LABEL: 'Ok', | 288 OK_LABEL: 'OK', |
289 | 289 |
290 DEFAULT_NEW_FOLDER_NAME: 'New Folder', | 290 DEFAULT_NEW_FOLDER_NAME: 'New Folder', |
291 MORE_FILES: 'Show all files', | 291 MORE_FILES: 'Show all files', |
292 | 292 |
293 SELECT_FOLDER_TITLE: 'Select a folder to open', | 293 SELECT_FOLDER_TITLE: 'Select a folder to open', |
294 SELECT_OPEN_FILE_TITLE: 'Select a file to open', | 294 SELECT_OPEN_FILE_TITLE: 'Select a file to open', |
295 SELECT_OPEN_MULTI_FILE_TITLE: 'Select one or more files', | 295 SELECT_OPEN_MULTI_FILE_TITLE: 'Select one or more files', |
296 SELECT_SAVEAS_FILE_TITLE: 'Save file as', | 296 SELECT_SAVEAS_FILE_TITLE: 'Save file as', |
297 | 297 |
298 COMPUTING_SELECTION: 'Computing selection...', | 298 COMPUTING_SELECTION: 'Computing selection...', |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
381 }; | 381 }; |
382 | 382 |
383 chrome.experimental = { | 383 chrome.experimental = { |
384 metrics: { | 384 metrics: { |
385 recordValue: function() {}, | 385 recordValue: function() {}, |
386 recordMediumCount: function() {}, | 386 recordMediumCount: function() {}, |
387 recordTime: function() {}, | 387 recordTime: function() {}, |
388 recordUserAction: function() {} | 388 recordUserAction: function() {} |
389 } | 389 } |
390 }; | 390 }; |
OLD | NEW |