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

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: Style. 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
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_UNSAVED_CHANGES: 'Changes are not saved yet.', 411 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.', 412 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', 413 GALLERY_IMAGE_ERROR: 'This file could not be displayed',
414 GALLERY_VIDEO_ERROR: 'This file could not be played', 414 GALLERY_VIDEO_ERROR: 'This file could not be played',
415 AUDIO_ERROR: 'This file could not be played', 415 AUDIO_ERROR: 'This file could not be played',
416 416
417 CONFIRM_OVERWRITE_FILE: 'A file named "$1" already exists. Do you want to replace it?', 417 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.', 418 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.', 419 DIRECTORY_ALREADY_EXISTS: 'The folder named "$1" already exists. Please ch oose a different name.',
420 ERROR_RENAMING: 'Unable to rename "$1": $2', 420 ERROR_RENAMING: 'Unable to rename "$1": $2',
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 604
605 setWindowHeight: function(height) { 605 setWindowHeight: function(height) {
606 this.popup_.style.height = height + 'px'; 606 this.popup_.style.height = height + 'px';
607 }, 607 },
608 608
609 closeWindow: function() { 609 closeWindow: function() {
610 this.popup_.parentNode.removeChild(this.popup_); 610 this.popup_.parentNode.removeChild(this.popup_);
611 this.popup_ = null; 611 this.popup_ = null;
612 } 612 }
613 }; 613 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698