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

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

Issue 13061003: Files.app: add 'search Drive' to the top of the auto-complete. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 'use strict'; 5 'use strict';
6 6
7 function MockEventSource() { 7 function MockEventSource() {
8 this.listeners_ = []; 8 this.listeners_ = [];
9 } 9 }
10 10
(...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after
782 TAR_ARCHIVE_FILE_TYPE: 'Tar archive', 782 TAR_ARCHIVE_FILE_TYPE: 'Tar archive',
783 TAR_BZIP2_ARCHIVE_FILE_TYPE: 'Bzip2 compressed tar archive', 783 TAR_BZIP2_ARCHIVE_FILE_TYPE: 'Bzip2 compressed tar archive',
784 TAR_GZIP_ARCHIVE_FILE_TYPE: 'Gzip compressed tar archive', 784 TAR_GZIP_ARCHIVE_FILE_TYPE: 'Gzip compressed tar archive',
785 PLAIN_TEXT_FILE_TYPE: 'Plain text file', 785 PLAIN_TEXT_FILE_TYPE: 'Plain text file',
786 PDF_DOCUMENT_FILE_TYPE: 'PDF document', 786 PDF_DOCUMENT_FILE_TYPE: 'PDF document',
787 WORD_DOCUMENT_FILE_TYPE: 'Word document', 787 WORD_DOCUMENT_FILE_TYPE: 'Word document',
788 POWERPOINT_PRESENTATION_FILE_TYPE: 'PowerPoint presentation', 788 POWERPOINT_PRESENTATION_FILE_TYPE: 'PowerPoint presentation',
789 EXCEL_FILE_TYPE: 'Excel spreadsheet', 789 EXCEL_FILE_TYPE: 'Excel spreadsheet',
790 790
791 SEARCH_TEXT_LABEL: 'Search', 791 SEARCH_TEXT_LABEL: 'Search',
792 SEARCH_DRIVE_HTML: '<b>\'$1\'</b> - search Drive',
792 SEARCH_NO_MATCHING_FILES_HTML: 'No files match <b>"$1"</b>', 793 SEARCH_NO_MATCHING_FILES_HTML: 'No files match <b>"$1"</b>',
793 SEARCH_SPINNER: 'Searching...', 794 SEARCH_SPINNER: 'Searching...',
794 795
795 TIME_TODAY: 'Today $1', 796 TIME_TODAY: 'Today $1',
796 TIME_YESTERDAY: 'Yesterday $1', 797 TIME_YESTERDAY: 'Yesterday $1',
797 798
798 ALL_FILES_FILTER: 'All files', 799 ALL_FILES_FILTER: 'All files',
799 800
800 SPACE_AVAILABLE: '$1 left', 801 SPACE_AVAILABLE: '$1 left',
801 WAITING_FOR_SPACE_INFO: 'Waiting for space info...', 802 WAITING_FOR_SPACE_INFO: 'Waiting for space info...',
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
1041 playAudio: function(urls, position) { 1042 playAudio: function(urls, position) {
1042 this.audioPlaylist_ = { items: urls, position: position }; 1043 this.audioPlaylist_ = { items: urls, position: position };
1043 this.onPlaylistChanged.notify(); 1044 this.onPlaylistChanged.notify();
1044 }, 1045 },
1045 1046
1046 playVideo: function(url) { 1047 playVideo: function(url) {
1047 this.videoUrl_ = url; 1048 this.videoUrl_ = url;
1048 this.onVideoLaunched.notify(); 1049 this.onVideoLaunched.notify();
1049 } 1050 }
1050 }; 1051 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698