OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 /** | 5 /** |
6 * Mock out the chrome.fileBrowserPrivate API for use in the harness. | 6 * Mock out the chrome.fileBrowserPrivate API for use in the harness. |
7 */ | 7 */ |
8 chrome.fileBrowserPrivate = { | 8 chrome.fileBrowserPrivate = { |
9 | 9 |
10 /** | 10 /** |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 | 240 |
241 EJECT_BUTTON: 'Eject', | 241 EJECT_BUTTON: 'Eject', |
242 IMAGE_DIMENSIONS: 'Image Dimensions', | 242 IMAGE_DIMENSIONS: 'Image Dimensions', |
243 VOLUME_LABEL: 'Volume Label', | 243 VOLUME_LABEL: 'Volume Label', |
244 READ_ONLY: 'Read Only', | 244 READ_ONLY: 'Read Only', |
245 | 245 |
246 MOUNT_ARCHIVE: 'Open archive', | 246 MOUNT_ARCHIVE: 'Open archive', |
247 UNMOUNT_ARCHIVE: 'Close archive', | 247 UNMOUNT_ARCHIVE: 'Close archive', |
248 FORMAT_DEVICE: 'Format device', | 248 FORMAT_DEVICE: 'Format device', |
249 | 249 |
250 ENABLE_PHOTO_EDITOR: 'true', | |
251 GALLERY: 'View and Edit', | 250 GALLERY: 'View and Edit', |
252 GALLERY_EDIT: 'Edit', | 251 GALLERY_EDIT: 'Edit', |
253 GALLERY_SHARE: 'Share', | 252 GALLERY_SHARE: 'Share', |
254 GALLERY_AUTOFIX: 'Auto-fix', | 253 GALLERY_AUTOFIX: 'Auto-fix', |
255 GALLERY_FIXED: 'Fixed', | 254 GALLERY_FIXED: 'Fixed', |
256 GALLERY_CROP: 'Crop', | 255 GALLERY_CROP: 'Crop', |
257 GALLERY_EXPOSURE: 'Brightness', | 256 GALLERY_EXPOSURE: 'Brightness', |
258 GALLERY_BRIGHTNESS: 'Brightness', | 257 GALLERY_BRIGHTNESS: 'Brightness', |
259 GALLERY_CONTRAST: 'Contrast', | 258 GALLERY_CONTRAST: 'Contrast', |
260 GALLERY_ROTATE_LEFT: 'Left', | 259 GALLERY_ROTATE_LEFT: 'Left', |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 window.open(createOptions.url); | 394 window.open(createOptions.url); |
396 } | 395 } |
397 }; | 396 }; |
398 | 397 |
399 chrome.metricsPrivate = { | 398 chrome.metricsPrivate = { |
400 recordValue: function() {}, | 399 recordValue: function() {}, |
401 recordMediumCount: function() {}, | 400 recordMediumCount: function() {}, |
402 recordTime: function() {}, | 401 recordTime: function() {}, |
403 recordUserAction: function() {} | 402 recordUserAction: function() {} |
404 }; | 403 }; |
OLD | NEW |