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

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

Issue 7828044: [filebrowser] First step to image editor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Removed commented code. Created 9 years, 3 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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 218
219 EJECT_BUTTON: 'Eject', 219 EJECT_BUTTON: 'Eject',
220 IMAGE_DIMENSIONS: 'Image Dimensions', 220 IMAGE_DIMENSIONS: 'Image Dimensions',
221 VOLUME_LABEL: 'Volume Label', 221 VOLUME_LABEL: 'Volume Label',
222 READ_ONLY: 'Read Only', 222 READ_ONLY: 'Read Only',
223 223
224 MOUNT_ARCHIVE: 'Open archive', 224 MOUNT_ARCHIVE: 'Open archive',
225 UNMOUNT_ARCHIVE: 'Close archive', 225 UNMOUNT_ARCHIVE: 'Close archive',
226 FORMAT_DEVICE: 'Format device', 226 FORMAT_DEVICE: 'Format device',
227 227
228 GALLERY: 'Gallery',
229
228 CONFIRM_OVERWRITE_FILE: 'A file named "$1" already exists. Do you want to replace it?', 230 CONFIRM_OVERWRITE_FILE: 'A file named "$1" already exists. Do you want to replace it?',
229 FILE_ALREADY_EXISTS: 'The file named "$1" already exists. Please choose a different name.', 231 FILE_ALREADY_EXISTS: 'The file named "$1" already exists. Please choose a different name.',
230 DIRECTORY_ALREADY_EXISTS: 'The directory named "$1" already exists. Please choose a different name.', 232 DIRECTORY_ALREADY_EXISTS: 'The directory named "$1" already exists. Please choose a different name.',
231 ERROR_RENAMING: 'Unable to rename "$1": $2', 233 ERROR_RENAMING: 'Unable to rename "$1": $2',
232 RENAME_PROMPT: 'Enter a new name', 234 RENAME_PROMPT: 'Enter a new name',
233 RENAME_BUTTON_LABEL: 'Rename', 235 RENAME_BUTTON_LABEL: 'Rename',
234 236
235 ERROR_DELETING: 'Unable to delete "$1": $2', 237 ERROR_DELETING: 'Unable to delete "$1": $2',
236 DELETE_BUTTON_LABEL: 'Delete', 238 DELETE_BUTTON_LABEL: 'Delete',
237 239
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 chrome.fileBrowserHandler.onExecute.listeners_.push(listener); 348 chrome.fileBrowserHandler.onExecute.listeners_.push(listener);
347 } 349 }
348 } 350 }
349 }; 351 };
350 352
351 chrome.tabs = { 353 chrome.tabs = {
352 create: function(createOptions) { 354 create: function(createOptions) {
353 window.open(createOptions.url); 355 window.open(createOptions.url);
354 } 356 }
355 }; 357 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698