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

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

Issue 9594037: Revert 124975 - [filebrowser] Introduce "Open" action for supported file types (e.g. pdf). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 EJECT_BUTTON: 'Eject', 315 EJECT_BUTTON: 'Eject',
316 IMAGE_DIMENSIONS: 'Image Dimensions', 316 IMAGE_DIMENSIONS: 'Image Dimensions',
317 VOLUME_LABEL: 'Volume Label', 317 VOLUME_LABEL: 'Volume Label',
318 READ_ONLY: 'Read Only', 318 READ_ONLY: 'Read Only',
319 319
320 PLAY_MEDIA: 'Play', 320 PLAY_MEDIA: 'Play',
321 321
322 MOUNT_ARCHIVE: 'Open', 322 MOUNT_ARCHIVE: 'Open',
323 FORMAT_DEVICE: 'Format device', 323 FORMAT_DEVICE: 'Format device',
324 324
325 OPEN_ACTION: 'Open',
326 INSTALL_CRX: 'Open',
327
328 GALLERY: 'View and Edit', 325 GALLERY: 'View and Edit',
329 GALLERY_EDIT: 'Edit', 326 GALLERY_EDIT: 'Edit',
330 GALLERY_SHARE: 'Share', 327 GALLERY_SHARE: 'Share',
331 GALLERY_AUTOFIX: 'Auto-fix', 328 GALLERY_AUTOFIX: 'Auto-fix',
332 GALLERY_FIXED: 'Fixed', 329 GALLERY_FIXED: 'Fixed',
333 GALLERY_CROP: 'Crop', 330 GALLERY_CROP: 'Crop',
334 GALLERY_EXPOSURE: 'Brightness', 331 GALLERY_EXPOSURE: 'Brightness',
335 GALLERY_BRIGHTNESS: 'Brightness', 332 GALLERY_BRIGHTNESS: 'Brightness',
336 GALLERY_CONTRAST: 'Contrast', 333 GALLERY_CONTRAST: 'Contrast',
337 GALLERY_ROTATE_LEFT: 'Left', 334 GALLERY_ROTATE_LEFT: 'Left',
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 514
518 setWindowHeight: function(height) { 515 setWindowHeight: function(height) {
519 this.popup_.style.height = height + 'px'; 516 this.popup_.style.height = height + 'px';
520 }, 517 },
521 518
522 closeWindow: function() { 519 closeWindow: function() {
523 this.popup_.parentNode.removeChild(this.popup_); 520 this.popup_.parentNode.removeChild(this.popup_);
524 this.popup_ = null; 521 this.popup_ = null;
525 } 522 }
526 }; 523 };
OLDNEW
« no previous file with comments | « chrome/browser/resources/file_manager/js/file_manager.js ('k') | chrome/browser/resources/file_manager/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698