| 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 'use strict'; | 5 'use strict'; |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * FileManager constructor. | 8 * FileManager constructor. |
| 9 * | 9 * |
| 10 * FileManager objects encapsulate the functionality of the file selector | 10 * FileManager objects encapsulate the functionality of the file selector |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 * be focused. | 29 * be focused. |
| 30 * @type {boolean} | 30 * @type {boolean} |
| 31 * @private | 31 * @private |
| 32 */ | 32 */ |
| 33 this.pressingTab_ = false; | 33 this.pressingTab_ = false; |
| 34 | 34 |
| 35 /** | 35 /** |
| 36 * True while a user is pressing <Ctrl>. | 36 * True while a user is pressing <Ctrl>. |
| 37 * | 37 * |
| 38 * TODO(fukino): This key is used only for controlling gear menu, so it | 38 * TODO(fukino): This key is used only for controlling gear menu, so it |
| 39 * shoudl be moved to GearMenu class. crbug.com/366032. | 39 * should be moved to GearMenu class. crbug.com/366032. |
| 40 * | 40 * |
| 41 * @type {boolean} | 41 * @type {boolean} |
| 42 * @private | 42 * @private |
| 43 */ | 43 */ |
| 44 this.pressingCtrl_ = false; | 44 this.pressingCtrl_ = false; |
| 45 | 45 |
| 46 /** | 46 /** |
| 47 * True if shown gear menu is in secret mode. | 47 * True if shown gear menu is in secret mode. |
| 48 * | 48 * |
| 49 * TODO(fukino): The state of gear menu should be moved to GearMenu class. | 49 * TODO(fukino): The state of gear menu should be moved to GearMenu class. |
| (...skipping 3755 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3805 callback(this.preferences_); | 3805 callback(this.preferences_); |
| 3806 return; | 3806 return; |
| 3807 } | 3807 } |
| 3808 | 3808 |
| 3809 chrome.fileBrowserPrivate.getPreferences(function(prefs) { | 3809 chrome.fileBrowserPrivate.getPreferences(function(prefs) { |
| 3810 this.preferences_ = prefs; | 3810 this.preferences_ = prefs; |
| 3811 callback(prefs); | 3811 callback(prefs); |
| 3812 }.bind(this)); | 3812 }.bind(this)); |
| 3813 }; | 3813 }; |
| 3814 })(); | 3814 })(); |
| OLD | NEW |