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

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

Issue 8554003: [filebrowser] Add left panel with roots. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years 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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 // extension_file_browser_private_api.cc! 210 // extension_file_browser_private_api.cc!
211 callback({ 211 callback({
212 // These two are from locale_settings*.grd 212 // These two are from locale_settings*.grd
213 WEB_FONT_FAMILY: 'Chrome Droid Sans,Droid Sans Fallback,sans-serif', 213 WEB_FONT_FAMILY: 'Chrome Droid Sans,Droid Sans Fallback,sans-serif',
214 WEB_FONT_SIZE: '84%', 214 WEB_FONT_SIZE: '84%',
215 215
216 FILE_IS_DIRECTORY: 'Folder', 216 FILE_IS_DIRECTORY: 'Folder',
217 PARENT_DIRECTORY: 'Parent Directory', 217 PARENT_DIRECTORY: 'Parent Directory',
218 218
219 ROOT_DIRECTORY_LABEL: 'Files', 219 ROOT_DIRECTORY_LABEL: 'Files',
220 DOWNLOADS_DIRECTORY_LABEL: 'File Shelf', 220 CHROMEBOOK_DIRECTORY_LABEL: 'Chromebook',
221 DOWNLOADS_DIRECTORY_WARNING: "<strong>Caution:</strong> These files are temporary and may be automatically deleted to free up disk space. &lt ;a href='javascript://'>Learn More</a>", 221 DOWNLOADS_DIRECTORY_WARNING: "<strong>Caution:</strong> These files are temporary and may be automatically deleted to free up disk space. &lt ;a href='javascript://'>Learn More</a>",
222 MEDIA_DIRECTORY_LABEL: 'External Storage', 222 MEDIA_DIRECTORY_LABEL: 'External Storage',
223 NAME_COLUMN_LABEL: 'Name', 223 NAME_COLUMN_LABEL: 'Name',
224 SIZE_COLUMN_LABEL: 'Size', 224 SIZE_COLUMN_LABEL: 'Size',
225 TYPE_COLUMN_LABEL: 'Type', 225 TYPE_COLUMN_LABEL: 'Type',
226 DATE_COLUMN_LABEL: 'Date', 226 DATE_COLUMN_LABEL: 'Date',
227 PREVIEW_COLUMN_LABEL: 'Preview', 227 PREVIEW_COLUMN_LABEL: 'Preview',
228 228
229 ERROR_CREATING_FOLDER: 'Unable to create folder "$1": $2', 229 ERROR_CREATING_FOLDER: 'Unable to create folder "$1": $2',
230 ERROR_INVALID_CHARACTER: 'Invalid character: $1', 230 ERROR_INVALID_CHARACTER: 'Invalid character: $1',
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 } 395 }
396 }; 396 };
397 397
398 chrome.metricsPrivate = { 398 chrome.metricsPrivate = {
399 recordMediumCount: function() {}, 399 recordMediumCount: function() {},
400 recordSmallCount: function() {}, 400 recordSmallCount: function() {},
401 recordTime: function() {}, 401 recordTime: function() {},
402 recordUserAction: function() {}, 402 recordUserAction: function() {},
403 recordValue: function() {} 403 recordValue: function() {}
404 }; 404 };
OLDNEW
« no previous file with comments | « chrome/browser/resources/file_manager/js/harness.js ('k') | chrome/browser/resources/file_manager/main.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698