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 * This object encapsulates everything related to tasks execution. | 8 * This object encapsulates everything related to tasks execution. |
9 * | 9 * |
10 * @param {FileManager} fileManager FileManager instance. | 10 * @param {FileManager} fileManager FileManager instance. |
(...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
726 items, defaultIdx, | 726 items, defaultIdx, |
727 function(item) { | 727 function(item) { |
728 onSuccess(item.task); | 728 onSuccess(item.task); |
729 }); | 729 }); |
730 }; | 730 }; |
731 | 731 |
732 FileTasks.decorate('display'); | 732 FileTasks.decorate('display'); |
733 FileTasks.decorate('updateMenuItem'); | 733 FileTasks.decorate('updateMenuItem'); |
734 FileTasks.decorate('execute'); | 734 FileTasks.decorate('execute'); |
735 FileTasks.decorate('executeDefault'); | 735 FileTasks.decorate('executeDefault'); |
OLD | NEW |