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

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

Issue 11788026: Fixed flickering "Computing selection" label. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Polished. Created 7 years, 11 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) 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 658 matching lines...) Expand 10 before | Expand all | Expand 10 after
669 ' <a target=\'_blank\' href=\'$2\'>Learn More.</a>', 669 ' <a target=\'_blank\' href=\'$2\'>Learn More.</a>',
670 670
671 DEFAULT_NEW_FOLDER_NAME: 'New Folder', 671 DEFAULT_NEW_FOLDER_NAME: 'New Folder',
672 MORE_FILES: 'Show all files', 672 MORE_FILES: 'Show all files',
673 673
674 SELECT_FOLDER_TITLE: 'Select a folder to open', 674 SELECT_FOLDER_TITLE: 'Select a folder to open',
675 SELECT_OPEN_FILE_TITLE: 'Select a file to open', 675 SELECT_OPEN_FILE_TITLE: 'Select a file to open',
676 SELECT_OPEN_MULTI_FILE_TITLE: 'Select one or more files', 676 SELECT_OPEN_MULTI_FILE_TITLE: 'Select one or more files',
677 SELECT_SAVEAS_FILE_TITLE: 'Save file as', 677 SELECT_SAVEAS_FILE_TITLE: 'Save file as',
678 678
679 COMPUTING_SELECTION: 'Computing selection...',
680 MANY_FILES_SELECTED: '$1 files selected', 679 MANY_FILES_SELECTED: '$1 files selected',
681 MANY_DIRECTORIES_SELECTED: '$1 folders selected', 680 MANY_DIRECTORIES_SELECTED: '$1 folders selected',
682 MANY_ENTRIES_SELECTED: '$1 items selected', 681 MANY_ENTRIES_SELECTED: '$1 items selected',
683 CALCULATING_SIZE: 'Calculating size', 682 CALCULATING_SIZE: 'Calculating size',
684 683
685 DELETED_MESSAGE: 'Deleted $1', 684 DELETED_MESSAGE: 'Deleted $1',
686 DELETED_MESSAGE_PLURAL: 'Deleted $1 items', 685 DELETED_MESSAGE_PLURAL: 'Deleted $1 items',
687 UNDO_DELETE: 'Undo', 686 UNDO_DELETE: 'Undo',
688 687
689 UNKNOWN_FILESYSTEM_WARNING: 'This device cannot be opened because its' + 688 UNKNOWN_FILESYSTEM_WARNING: 'This device cannot be opened because its' +
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
873 playAudio: function(urls, position) { 872 playAudio: function(urls, position) {
874 this.audioPlaylist_ = { items: urls, position: position }; 873 this.audioPlaylist_ = { items: urls, position: position };
875 this.onPlaylistChanged.notify(); 874 this.onPlaylistChanged.notify();
876 }, 875 },
877 876
878 playVideo: function(url) { 877 playVideo: function(url) {
879 this.videoUrl_ = url; 878 this.videoUrl_ = url;
880 this.onVideoLaunched.notify(); 879 this.onVideoLaunched.notify();
881 } 880 }
882 }; 881 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698