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

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

Issue 10909095: Delete images in Photo Editor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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) 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 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 GALLERY_IMAGE_ERROR: 'This file could not be displayed', 531 GALLERY_IMAGE_ERROR: 'This file could not be displayed',
532 GALLERY_VIDEO_ERROR: 'This file could not be played', 532 GALLERY_VIDEO_ERROR: 'This file could not be played',
533 533
534 GALLERY_ITEMS_SELECTED: '$1 items selected', 534 GALLERY_ITEMS_SELECTED: '$1 items selected',
535 GALLERY_NO_IMAGES: 'No images in this directory.', 535 GALLERY_NO_IMAGES: 'No images in this directory.',
536 GALLERY_MOSAIC: 'Mosaic view', 536 GALLERY_MOSAIC: 'Mosaic view',
537 GALLERY_SLIDE: 'Slide view', 537 GALLERY_SLIDE: 'Slide view',
538 GALLERY_SLIDESHOW: 'Slide show', 538 GALLERY_SLIDESHOW: 'Slide show',
539 GALLERY_DELETE: 'Delete', 539 GALLERY_DELETE: 'Delete',
540 540
541 GALLERY_OK_LABEL: 'OK',
542 GALLERY_CANCEL_LABEL: 'Cancel',
543 GALLERY_CONFIRM_DELETE_ONE: 'Are you sure you want to delete "$1"?',
544 GALLERY_CONFIRM_DELETE_SOME: 'Are you sure you want to delete $1 items?',
545
541 AUDIO_ERROR: 'This file could not be played', 546 AUDIO_ERROR: 'This file could not be played',
542 547
543 CONFIRM_OVERWRITE_FILE: 'A file named "$1" already exists. Do you want to replace it?', 548 CONFIRM_OVERWRITE_FILE: 'A file named "$1" already exists. Do you want to replace it?',
544 FILE_ALREADY_EXISTS: 'The file named "$1" already exists. Please choose a different name.', 549 FILE_ALREADY_EXISTS: 'The file named "$1" already exists. Please choose a different name.',
545 DIRECTORY_ALREADY_EXISTS: 'The folder named "$1" already exists. Please ch oose a different name.', 550 DIRECTORY_ALREADY_EXISTS: 'The folder named "$1" already exists. Please ch oose a different name.',
546 ERROR_RENAMING: 'Unable to rename "$1". $2', 551 ERROR_RENAMING: 'Unable to rename "$1". $2',
547 RENAME_PROMPT: 'Enter a new name', 552 RENAME_PROMPT: 'Enter a new name',
548 RENAME_BUTTON_LABEL: 'Rename', 553 RENAME_BUTTON_LABEL: 'Rename',
549 554
550 ERROR_DELETING: 'Unable to delete "$1". $2', 555 ERROR_DELETING: 'Unable to delete "$1". $2',
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
840 845
841 setWindowHeight: function(height) { 846 setWindowHeight: function(height) {
842 this.popup_.style.height = height + 'px'; 847 this.popup_.style.height = height + 'px';
843 }, 848 },
844 849
845 closeWindow: function() { 850 closeWindow: function() {
846 this.popup_.parentNode.removeChild(this.popup_); 851 this.popup_.parentNode.removeChild(this.popup_);
847 this.popup_ = null; 852 this.popup_ = null;
848 } 853 }
849 }; 854 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698