OLD | NEW |
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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 GALLERY_CROP: 'Crop', | 250 GALLERY_CROP: 'Crop', |
251 GALLERY_EXPOSURE: 'Brightness', | 251 GALLERY_EXPOSURE: 'Brightness', |
252 GALLERY_BRIGHTNESS: 'Brightness', | 252 GALLERY_BRIGHTNESS: 'Brightness', |
253 GALLERY_CONTRAST: 'Contrast', | 253 GALLERY_CONTRAST: 'Contrast', |
254 GALLERY_ROTATE_LEFT: 'Left', | 254 GALLERY_ROTATE_LEFT: 'Left', |
255 GALLERY_ROTATE_RIGHT: 'Right', | 255 GALLERY_ROTATE_RIGHT: 'Right', |
256 GALLERY_ENTER_WHEN_DONE: 'Press Enter when done', | 256 GALLERY_ENTER_WHEN_DONE: 'Press Enter when done', |
257 GALLERY_UNDO: 'Undo', | 257 GALLERY_UNDO: 'Undo', |
258 GALLERY_REDO: 'Redo', | 258 GALLERY_REDO: 'Redo', |
259 GALLERY_FILE_EXISTS: 'File already exists', | 259 GALLERY_FILE_EXISTS: 'File already exists', |
| 260 GALLERY_FILE_HIDDEN_NAME: 'Names starting with dot are reserved ' + |
| 261 'for the system. Please choose another name.', |
260 | 262 |
261 CONFIRM_OVERWRITE_FILE: 'A file named "$1" already exists. Do you want to
replace it?', | 263 CONFIRM_OVERWRITE_FILE: 'A file named "$1" already exists. Do you want to
replace it?', |
262 FILE_ALREADY_EXISTS: 'The file named "$1" already exists. Please choose a
different name.', | 264 FILE_ALREADY_EXISTS: 'The file named "$1" already exists. Please choose a
different name.', |
263 DIRECTORY_ALREADY_EXISTS: 'The directory named "$1" already exists. Please
choose a different name.', | 265 DIRECTORY_ALREADY_EXISTS: 'The directory named "$1" already exists. Please
choose a different name.', |
264 ERROR_RENAMING: 'Unable to rename "$1": $2', | 266 ERROR_RENAMING: 'Unable to rename "$1": $2', |
265 RENAME_PROMPT: 'Enter a new name', | 267 RENAME_PROMPT: 'Enter a new name', |
266 RENAME_BUTTON_LABEL: 'Rename', | 268 RENAME_BUTTON_LABEL: 'Rename', |
267 | 269 |
268 ERROR_DELETING: 'Unable to delete "$1": $2', | 270 ERROR_DELETING: 'Unable to delete "$1": $2', |
269 DELETE_BUTTON_LABEL: 'Delete', | 271 DELETE_BUTTON_LABEL: 'Delete', |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 } | 389 } |
388 }; | 390 }; |
389 | 391 |
390 chrome.metricsPrivate = { | 392 chrome.metricsPrivate = { |
391 recordMediumCount: function() {}, | 393 recordMediumCount: function() {}, |
392 recordSmallCount: function() {}, | 394 recordSmallCount: function() {}, |
393 recordTime: function() {}, | 395 recordTime: function() {}, |
394 recordUserAction: function() {}, | 396 recordUserAction: function() {}, |
395 recordValue: function() {} | 397 recordValue: function() {} |
396 }; | 398 }; |
OLD | NEW |