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

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: 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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 216
217 EJECT_BUTTON: 'Eject', 217 EJECT_BUTTON: 'Eject',
218 IMAGE_DIMENSIONS: 'Image Dimensions', 218 IMAGE_DIMENSIONS: 'Image Dimensions',
219 VOLUME_LABEL: 'Volume Label', 219 VOLUME_LABEL: 'Volume Label',
220 READ_ONLY: 'Read Only', 220 READ_ONLY: 'Read Only',
221 221
222 MOUNT_ARCHIVE: 'Open archive', 222 MOUNT_ARCHIVE: 'Open archive',
223 UNMOUNT_ARCHIVE: 'Close archive', 223 UNMOUNT_ARCHIVE: 'Close archive',
224 FORMAT_DEVICE: 'Format device', 224 FORMAT_DEVICE: 'Format device',
225 225
226 GALLERY: 'Gallery',
227
226 CONFIRM_OVERWRITE_FILE: 'A file named "$1" already exists. Do you want to replace it?', 228 CONFIRM_OVERWRITE_FILE: 'A file named "$1" already exists. Do you want to replace it?',
227 FILE_ALREADY_EXISTS: 'The file named "$1" already exists. Please choose a different name.', 229 FILE_ALREADY_EXISTS: 'The file named "$1" already exists. Please choose a different name.',
228 DIRECTORY_ALREADY_EXISTS: 'The directory named "$1" already exists. Please choose a different name.', 230 DIRECTORY_ALREADY_EXISTS: 'The directory named "$1" already exists. Please choose a different name.',
229 ERROR_RENAMING: 'Unable to rename "$1": $2', 231 ERROR_RENAMING: 'Unable to rename "$1": $2',
230 RENAME_PROMPT: 'Enter a new name', 232 RENAME_PROMPT: 'Enter a new name',
231 RENAME_BUTTON_LABEL: 'Rename', 233 RENAME_BUTTON_LABEL: 'Rename',
232 234
233 ERROR_DELETING: 'Unable to delete "$1": $2', 235 ERROR_DELETING: 'Unable to delete "$1": $2',
234 DELETE_BUTTON_LABEL: 'Delete', 236 DELETE_BUTTON_LABEL: 'Delete',
235 237
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 }; 340 };
339 341
340 chrome.fileBrowserHandler = { 342 chrome.fileBrowserHandler = {
341 onExecute: { 343 onExecute: {
342 listeners_: [], 344 listeners_: [],
343 addListener: function(listener) { 345 addListener: function(listener) {
344 chrome.fileBrowserHandler.onExecute.listeners_.push(listener); 346 chrome.fileBrowserHandler.onExecute.listeners_.push(listener);
345 } 347 }
346 } 348 }
347 }; 349 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698