Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(294)

Side by Side Diff: chrome/browser/resources/file_manager/js/mock_chrome.js

Issue 7706028: This is UI side unreadable device support. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: style + enum + action on hitting enter key Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698