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

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

Issue 10107020: [filemanager] New visuals for file name, saved and overwrite original UI elemetns in image editor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Bubble Created 8 years, 8 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
« no previous file with comments | « chrome/browser/resources/file_manager/js/image_editor/gallery.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 MockEventSource.prototype.addListener = function(listener) { 9 MockEventSource.prototype.addListener = function(listener) {
10 this.listeners_.push(listener); 10 this.listeners_.push(listener);
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 GALLERY_CONTRAST: 'Contrast', 400 GALLERY_CONTRAST: 'Contrast',
401 GALLERY_ROTATE_LEFT: 'Left', 401 GALLERY_ROTATE_LEFT: 'Left',
402 GALLERY_ROTATE_RIGHT: 'Right', 402 GALLERY_ROTATE_RIGHT: 'Right',
403 GALLERY_ENTER_WHEN_DONE: 'Press Enter when done', 403 GALLERY_ENTER_WHEN_DONE: 'Press Enter when done',
404 GALLERY_UNDO: 'Undo', 404 GALLERY_UNDO: 'Undo',
405 GALLERY_REDO: 'Redo', 405 GALLERY_REDO: 'Redo',
406 GALLERY_FILE_EXISTS: 'File already exists', 406 GALLERY_FILE_EXISTS: 'File already exists',
407 GALLERY_FILE_HIDDEN_NAME: 'Names starting with dot are reserved ' + 407 GALLERY_FILE_HIDDEN_NAME: 'Names starting with dot are reserved ' +
408 'for the system. Please choose another name.', 408 'for the system. Please choose another name.',
409 GALLERY_SAVED: 'Saved', 409 GALLERY_SAVED: 'Saved',
410 GALLERY_KEEP_ORIGINAL: 'Keep original', 410 GALLERY_OVERWRITE_ORIGINAL: 'Overwrite original',
411 GALLERY_OVERWRITE_BUBBLE: 'Your edits are saved automatically.<br><br>' +
412 'To keep a copy of the original image, uncheck "Overwrite original"',
411 GALLERY_UNSAVED_CHANGES: 'Changes are not saved yet.', 413 GALLERY_UNSAVED_CHANGES: 'Changes are not saved yet.',
412 GALLERY_READONLY_WARNING: '$1 is read only. Edited images will be saved in the Downloads folder.', 414 GALLERY_READONLY_WARNING: '$1 is read only. Edited images will be saved in the Downloads folder.',
413 GALLERY_IMAGE_ERROR: 'This file could not be displayed', 415 GALLERY_IMAGE_ERROR: 'This file could not be displayed',
414 GALLERY_VIDEO_ERROR: 'This file could not be played', 416 GALLERY_VIDEO_ERROR: 'This file could not be played',
415 AUDIO_ERROR: 'This file could not be played', 417 AUDIO_ERROR: 'This file could not be played',
416 418
417 CONFIRM_OVERWRITE_FILE: 'A file named "$1" already exists. Do you want to replace it?', 419 CONFIRM_OVERWRITE_FILE: 'A file named "$1" already exists. Do you want to replace it?',
418 FILE_ALREADY_EXISTS: 'The file named "$1" already exists. Please choose a different name.', 420 FILE_ALREADY_EXISTS: 'The file named "$1" already exists. Please choose a different name.',
419 DIRECTORY_ALREADY_EXISTS: 'The folder named "$1" already exists. Please ch oose a different name.', 421 DIRECTORY_ALREADY_EXISTS: 'The folder named "$1" already exists. Please ch oose a different name.',
420 ERROR_RENAMING: 'Unable to rename "$1": $2', 422 ERROR_RENAMING: 'Unable to rename "$1": $2',
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 606
605 setWindowHeight: function(height) { 607 setWindowHeight: function(height) {
606 this.popup_.style.height = height + 'px'; 608 this.popup_.style.height = height + 'px';
607 }, 609 },
608 610
609 closeWindow: function() { 611 closeWindow: function() {
610 this.popup_.parentNode.removeChild(this.popup_); 612 this.popup_.parentNode.removeChild(this.popup_);
611 this.popup_ = null; 613 this.popup_ = null;
612 } 614 }
613 }; 615 };
OLDNEW
« no previous file with comments | « chrome/browser/resources/file_manager/js/image_editor/gallery.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698