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

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

Issue 9395077: [filebrowser] Introduce View 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
325 GALLERY: 'View and Edit', 328 GALLERY: 'View and Edit',
326 GALLERY_EDIT: 'Edit', 329 GALLERY_EDIT: 'Edit',
327 GALLERY_SHARE: 'Share', 330 GALLERY_SHARE: 'Share',
328 GALLERY_AUTOFIX: 'Auto-fix', 331 GALLERY_AUTOFIX: 'Auto-fix',
329 GALLERY_FIXED: 'Fixed', 332 GALLERY_FIXED: 'Fixed',
330 GALLERY_CROP: 'Crop', 333 GALLERY_CROP: 'Crop',
331 GALLERY_EXPOSURE: 'Brightness', 334 GALLERY_EXPOSURE: 'Brightness',
332 GALLERY_BRIGHTNESS: 'Brightness', 335 GALLERY_BRIGHTNESS: 'Brightness',
333 GALLERY_CONTRAST: 'Contrast', 336 GALLERY_CONTRAST: 'Contrast',
334 GALLERY_ROTATE_LEFT: 'Left', 337 GALLERY_ROTATE_LEFT: 'Left',
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 517
515 setWindowHeight: function(height) { 518 setWindowHeight: function(height) {
516 this.popup_.style.height = height + 'px'; 519 this.popup_.style.height = height + 'px';
517 }, 520 },
518 521
519 closeWindow: function() { 522 closeWindow: function() {
520 this.popup_.parentNode.removeChild(this.popup_); 523 this.popup_.parentNode.removeChild(this.popup_);
521 this.popup_ = null; 524 this.popup_ = null;
522 } 525 }
523 }; 526 };
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