| 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 /** | 9 /** |
| 10 * Add a listener. | 10 * Add a listener. |
| (...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 446 // extension_file_browser_private_api.cc! | 446 // extension_file_browser_private_api.cc! |
| 447 setTimeout(callback, 0, { | 447 setTimeout(callback, 0, { |
| 448 // These two are from locale_settings*.grd | 448 // These two are from locale_settings*.grd |
| 449 WEB_FONT_FAMILY: 'Open Sans,Chrome Droid Sans,' + | 449 WEB_FONT_FAMILY: 'Open Sans,Chrome Droid Sans,' + |
| 450 'Droid Sans Fallback,sans-serif', | 450 'Droid Sans Fallback,sans-serif', |
| 451 WEB_FONT_SIZE: '84%', | 451 WEB_FONT_SIZE: '84%', |
| 452 | 452 |
| 453 FILE_IS_DIRECTORY: 'Folder', | 453 FILE_IS_DIRECTORY: 'Folder', |
| 454 | 454 |
| 455 CHROMEOS_RELEASE_BOARD: 'stumpy', | 455 CHROMEOS_RELEASE_BOARD: 'stumpy', |
| 456 BROWSER_VERSION_MODIFIER: '', | |
| 457 | 456 |
| 458 GDATA_DIRECTORY_LABEL: 'Google Drive', | 457 GDATA_DIRECTORY_LABEL: 'Google Drive', |
| 459 ENABLE_GDATA: true, | 458 ENABLE_GDATA: true, |
| 460 PDF_VIEW_ENABLED: true, | 459 PDF_VIEW_ENABLED: true, |
| 461 | 460 |
| 462 ROOT_DIRECTORY_LABEL: 'Files', | 461 ROOT_DIRECTORY_LABEL: 'Files', |
| 463 DOWNLOADS_DIRECTORY_LABEL: 'Downloads', | 462 DOWNLOADS_DIRECTORY_LABEL: 'Downloads', |
| 464 DOWNLOADS_DIRECTORY_WARNING: "<strong>Caution:</strong> These
files are temporary and may be automatically deleted to free up disk space. <
;a href='javascript://'>Learn More</a>", | 463 DOWNLOADS_DIRECTORY_WARNING: "<strong>Caution:</strong> These
files are temporary and may be automatically deleted to free up disk space. <
;a href='javascript://'>Learn More</a>", |
| 465 NAME_COLUMN_LABEL: 'Name', | 464 NAME_COLUMN_LABEL: 'Name', |
| 466 SIZE_COLUMN_LABEL: 'Size', | 465 SIZE_COLUMN_LABEL: 'Size', |
| (...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 845 | 844 |
| 846 setWindowHeight: function(height) { | 845 setWindowHeight: function(height) { |
| 847 this.popup_.style.height = height + 'px'; | 846 this.popup_.style.height = height + 'px'; |
| 848 }, | 847 }, |
| 849 | 848 |
| 850 closeWindow: function() { | 849 closeWindow: function() { |
| 851 this.popup_.parentNode.removeChild(this.popup_); | 850 this.popup_.parentNode.removeChild(this.popup_); |
| 852 this.popup_ = null; | 851 this.popup_ = null; |
| 853 } | 852 } |
| 854 }; | 853 }; |
| OLD | NEW |